[udig-devel] CRS not recognized in customized dataStore
Theodor Foerster
foerster at itc.nl
Fri Apr 25 01:14:51 PDT 2008
Actually, the problem is, that only if the map in udig has the same crs
as the data coming from the datastore, the data gets displayed.
Otherwise not. I am not sure, what this problem could cause.
Theodor
> -----Original Message-----
> From: udig-devel-bounces at lists.refractions.net
> [mailto:udig-devel-bounces at lists.refractions.net] On Behalf
> Of Jody Garnett
> Sent: Thursday, April 24, 2008 8:52 PM
> To: User-friendly Desktop Internet GIS
> Subject: Re: [udig-devel] CRS not recognized in customized dataStore
>
> 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
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
International Institute for Geo-Information Science and Earth Observation (ITC)
Chamber of Commerce: 410 27 560
E-mail disclaimer
The information in this e-mail, including any attachments, is intended for the addressee only. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or action in relation to the content of this information is strictly prohibited. If you have received this e-mail by mistake, please delete the message and any attachment and inform the sender by return e-mail. ITC accepts no liability for any error or omission in the message content or for damage of any kind that may arise as a result of e-mail transmission.
More information about the udig-devel
mailing list