[udig-devel] IGeoResourceInfo and the CRS

Bolla Péter buci at metacortex.hu
Tue Oct 23 13:53:20 PDT 2007


Hi all,

I'm working on a plugin for the gpx datastore, and found a strange case.

The javadocs of IGeoResourceInfo.getBounds() says, that the returned 
envelope's CRS is WGS84. However, the implementation of the shapefile 
datastore's plugin uses the CRS of the shpefile featureset, which can be 
anything, not just WGS84.

So which is the right way? Should the bounds be transformed to WGS84 all 
the time (and the shapefile plugin is wrong), or should the bounds be 
given in the feature set's native CRS (and the javadoc is incorrect)?


Thank you,
Peter


More information about the udig-devel mailing list