Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] IGeoResourceInfo and the CRS

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


Back to the top