Aaron Sedgmen ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ac7ef90dd-9bd9-454d-bb56-01406fbfb902
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMjZhYzBkNjFmNjA3NDk4NDliMDFmZTAzZjg3MDE3MWYiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10050?atlOrigin=eyJpIjoiMjZhYzBkNjFmNjA3NDk4NDliMDFmZTAzZjg3MDE3MWYiLCJwIjoiaiJ9
 ) GEOS-10050 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10050?atlOrigin=eyJpIjoiMjZhYzBkNjFmNjA3NDk4NDliMDFmZTAzZjg3MDE3MWYiLCJwIjoiaiJ9
 ) Inconsistent axis order in app-schema WFS json output ( 
https://osgeo-org.atlassian.net/browse/GEOS-10050?atlOrigin=eyJpIjoiMjZhYzBkNjFmNjA3NDk4NDliMDFmZTAzZjg3MDE3MWYiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.18.1, 2.19.0 Assignee: Unassigned 
Components: Application schema Created: 04/May/21 1:34 AM Environment:

Tested with GeoServer 2.18.1, GeoServer 2.19.0, postgres/postgis and Oracle 
operating on Ubuntu 18.04.1 and Windows 10.

Priority: Low Reporter: Aaron Sedgmen ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ac7ef90dd-9bd9-454d-bb56-01406fbfb902
 )

I have an app-schema WFS with a feature type containing a 3D LineString 
geometry. 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. The gml32 output is ok, i.e. axis order is the 
same for all features.

Following are two example features from a GeoSciML Boreholes app-schema WFS 
running on a test server that illustrate the issue. The “shape” property 
contains the LineString geometry:

*lat/lon (y,x) 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

*lon/lat (x,y) 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

The examples are from a GeoServer 2.18.1 and postgres/postgis installation. 
GeoServer 2.19.0 accessing an Oracle database gives 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.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10050#add-comment?atlOrigin=eyJpIjoiMjZhYzBkNjFmNjA3NDk4NDliMDFmZTAzZjg3MDE3MWYiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10050#add-comment?atlOrigin=eyJpIjoiMjZhYzBkNjFmNjA3NDk4NDliMDFmZTAzZjg3MDE3MWYiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100157- 
sha1:e888363 )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to