[udig-devel] CRS not recognized in customized dataStore
Jody Garnett
jgarnett at refractions.net
Thu Apr 24 11:52:00 PDT 2008
Theodor Foerster wrote:
> Thanks, the error message is gone. I set the IGeoResourceInfo.getCRS()
> to the CRS of the supplied FeatureType, that works now well, if the
> FeatureType CRS is the same as the CRS of the map
So it works fine if there is no reprojection occurring.
> But if the map CRS is different, I do not see any data (somewhat it seems to be plotted
> outside the map).
You may want to check the Query that is getting sent to your DataStore?
The Query object has the ability to ask your data store to do
reprojection ... are you handling that case?
> IGeoResourceInfo.getBounds() returns always the CRS, which describes the extent of the features in its origin CRS.
>
> So one of the two parameters, should be dynamic, but which one?
>
I am not sure what you mean; both the info CRS and the featureType crs
should be same, both are dynamic (in that they come from your live data).
Jody
More information about the udig-devel
mailing list