Hi All,
The issue I am having is when I publish a map service in ArcGIS server (v 10.7.1), the latitude and longitude in the form of geometry are getting reversed i.e. (Latitude: should be Y and Longitude : should be X) Latitude is shown as X and Longitude as Y (snapshot of the result of the service after querying is attached)
The view definition used in the DB :
geography::STPointFromText('POINT(' + CAST(w.longitude AS VARCHAR(20)) + ' ' + CAST(w.latitude AS VARCHAR(20)) + ')', 4326) as WellLocation
but on publishing it is shown as inverted (longitude-->Y, latitude-->X).
Any help to understand the issue is appreciated.