Hi GeoServer Users,

I have an app-schema WFS with a feature type containing a 3D LineString 
geometry.  I'm finding that the axis order of the x,y coordinates is 
inconsistent in the json output, i.e. some features are returned with latitude 
first and longitude second and others the reverse.

Following are two example features from our test server to illustrate the 
issue.  The "shape" property contains the LineString geometry:

Correct axis order - 
https://boreholes.gs.cloud.ga.gov.au/wfs?service=WFS&version=1.1.0&request=GetFeature&typeName=gsmlbh:Borehole&outputFormat=json&featureid=ga.borehole.466607

Incorrect axis order - 
https://boreholes.gs.cloud.ga.gov.au/wfs?service=WFS&version=1.1.0&request=GetFeature&typeName=gsmlbh:Borehole&outputFormat=json&featureid=ga.borehole.10093

gml32 output is ok, i.e. x,y axis order is the same for all features.

The examples are from a GeoServer 2.18.1 and postgres/postgis installation.  
I've also tested with GeoServer 2.19.0 and an Oracle database, with the same 
results.  There are no differences in geometry type, srid and ordering of the 
coordinates in the database geometries (both postgis and Oracle) where axis 
order differs in the WFS json output.

Any suggestions or advice on what may be causing the inconsistent axis order 
would be much appreciated.

Regards,

Aaron Sedgmen.


Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is 
intended only for the person or entity to which it is addressed. If you are not 
the intended recipient, then you have received this e-mail by mistake and any 
use, dissemination, forwarding, printing or copying of this e-mail and its file 
attachments is prohibited. The security of emails transmitted cannot be 
guaranteed; by forwarding or replying to this email, you acknowledge and accept 
these risks.
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to