Select to view content in your preferred language

WFS in ArcGIS Online Lat/Long switched

665
3
12-01-2022 06:23 AM
geovision
Emerging Contributor

Hello,

I have a feature layer in ArcGIS Online that I published as a WFS. The CRS of the layer is EPSG:28992. Using the srsName parameter in the URL I can switch to the EPSG:4326 projection. Now I'm trying to use a bounding box to filter my features but the latitude and longitude is switched. 

Whenever I'm trying to filter using a bounding box with the EPSG:28992 format it works fine but when switching to the EPSG:4326 format I need to switch.

EPSG:28992:
<Verlichting:Shape>
<gml:Point gml:id="Verlichting.2150.pn.0" srsName="urn:ogc:def:crs:EPSG::28992">

<gml:pos>172438.52500000 578535.59900000</gml:pos>
</gml:Point>
</Verlichting:Shape>
 
EPSG:4326:
<Verlichting:Shape>
<gml:Point gml:id="Verlichting.2149.pn.0" srsName="urn:ogc:def:crs:EPSG::4326">
<gml:pos>53.19296070 5.64785603</gml:pos>
</gml:Point>
 
53.1 and 5.64 need to be the other way around, right? How can I make that happen?
0 Kudos
3 Replies
PeterHodkinson
Esri Contributor

Hi there,

Are you still looking for help with this? I've only just come across this post but would be happy to help if I can.

Best wishes,

Peter

0 Kudos
geovision
Emerging Contributor

Hi Peter,

Just saw your post just now. Problem was solved in the end and I found a solution to have it work in EPSG28992 also instead of EPSG4326.

0 Kudos
PeterHodkinson
Esri Contributor

Hi @geovision great to hear that!

0 Kudos