1

I have this WFS: https://inspire-wfs.maanmittauslaitos.fi/inspire-wfs/au?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetCapabilities with different SRS available. I would like to run a URL request to select in a Bounding Box to try this function with GetFeature request.

I did this: https://inspire-wfs.maanmittauslaitos.fi/inspire-wfs/au?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&COUNT=5&TYPENAMES=au:AdministrativeUnit&SRSNAME=EPSG:4258&BBOX=59.6522,22.211,62.619,28.2755,EPSG:4258 with the definition of the SRS in the KVP and in the BBox parameter.

But it does not work: I can´t get any feature type back!

Is there a problem in the URL I did?

2

The bounding box is wrong - you mixed lat lon. This one works:

https://inspire-wfs.maanmittauslaitos.fi/inspire-wfs/au?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&COUNT=5&TYPENAMES=au:AdministrativeUnit&SRSNAME=EPSG:4258&BBOX=22.211,59.6522,28.2755,62.619,EPSG:4258

  • But if you want to use Lat-Lon axis order use long format for the srsname: https://inspire-wfs.maanmittauslaitos.fi/inspire-wfs/au?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&COUNT=5&TYPENAMES=au:AdministrativeUnit&SRSNAME=urn:ogc:def:crs:EPSG::4258&BBOX=59.6522,22.211,62.619,28.2755,urn:ogc:def:crs:EPSG::4258 – user30184 Apr 18 '18 at 21:09
  • so addind ´urn:ogc:def:crs:´ for the SRS is changing the long/lat order to lat/long? – Floni Apr 20 '18 at 12:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.