Antonio Caccese a écrit :
When I load the first shapefile in mapPane I obtain the following error
message:
18-ott-2005 15.13.51 org.geotools.map.DefaultMapContext getLayerBounds
GRAVE: Data source and map context coordinate system differ, yet it was
not possible to get a projected bounds estimate...
org.opengis.referencing.operation.OperationNotFoundException: Bursa wolf
parameters required.
I'm not the shapefile datastore author (and not the MapContext author
neither), so the following is only guess:
This message sound like a warning (a severe one, while not fatal). Does
the application seems to work as before?
Reprojection support were added in shapefile datastore at some stage (I
don't remember which one, but it may be for 2.1). I would not be
surprise if 2.0 and 2.1 behave the same when a shape can't be
reprojected, but 2.0 was simply silent in this case.
In this particular case, it seems that the reprojection fails because
Bursa-Wolf parameters are missing. How is yours referencing system
defined? From a .prj file or from some EPSG authority factory? If you
are using an EPSG authority factory, epsg-access or epsg-hsql contains
more Bursa-Wolf parameter informations than epsg-wkt. If the CRS come
from a .prj file, may it be possible to add a "TOWGS84" element in the
WKT provided in the .prj file?
Martin.
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users