Hi,

I'd like to know if there's a way to force the coordinate sequence to
be in long/lat if I am talking to a WFS 1.1 service.

This page (http://docs.geoserver.org/latest/en/user/services/wfs/basics.html)
talks about using either of the following formats EPSG:XXXX or
http://www.opengis.net/gml/srs/epsg.xml#xxxx. This method works if I
use this format as the value of the SRSName if I send my request
directly to the WFS service via POST or GET request. But if I use
geotools and setup my query like this...

// ... set up the other query parameters
// and now the SRS name
CoordinateReferenceSystem crs =
crsFactory.createCoordinateReferenceSystem("EPSG:4283");
query.setCoordinateSystem(crs);
featureSource.getFeatures(query);

The call to adaptQueryForSupportedCRS((Query) query) will return an
srsName in either these formats..

http://www.opengis.net/def/crs/EPSG/0/XXXX
or
urn:x-ogc:def:crs:EPSG:xxxx

If GT gives me the above two formats, I will always end up with a Y-X
(lat/long) sequence in all my feature collection. Is there a way go
around this issue?

Thanks,
Gerson

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to