From: Martin D. <mar...@no...> - 2005-10-21 00:46:23
|
Antonio Caccese a =E9crit : > When I load the first shapefile in mapPane I obtain the following error= =20 > message: >=20 > 18-ott-2005 15.13.51 org.geotools.map.DefaultMapContext getLayerBounds >=20 > GRAVE: Data source and map context coordinate system differ, yet it was= =20 > not possible to get a projected bounds estimate... >=20 > org.opengis.referencing.operation.OperationNotFoundException: Bursa wol= f=20 > parameters required. I'm not the shapefile datastore author (and not the MapContext author=20 neither), so the following is only guess: This message sound like a warning (a severe one, while not fatal). Does=20 the application seems to work as before? Reprojection support were added in shapefile datastore at some stage (I=20 don't remember which one, but it may be for 2.1). I would not be=20 surprise if 2.0 and 2.1 behave the same when a shape can't be=20 reprojected, but 2.0 was simply silent in this case. In this particular case, it seems that the reprojection fails because=20 Bursa-Wolf parameters are missing. How is yours referencing system=20 defined? From a .prj file or from some EPSG authority factory? If you=20 are using an EPSG authority factory, epsg-access or epsg-hsql contains=20 more Bursa-Wolf parameter informations than epsg-wkt. If the CRS come=20 from a .prj file, may it be possible to add a "TOWGS84" element in the=20 WKT provided in the .prj file? Martin. |