3liz / qgis-wfsOutputExtension

QGIS Server plugin to add Output Formats to WFS GetFeature request.
GNU General Public License v2.0
10 stars 6 forks source link

Requests with SRS=EPSG:3006 returns wrong bounding box #73

Closed huggla closed 10 months ago

huggla commented 10 months ago

If I do a request with OUTPUTFORMAT=GEOJSON&BBOX=191346.62,6212573.2,191454.58,6212671.06574&SRS=EPSG:3008 I correctly get a geojson with "bbox": [ 14.16327484, 56.03422478, 14.16502169, 56.035113]

But if I reproject the bounding box to EPSG:3006: OUTPUTFORMAT=GEOJSON&BBOX=447862.11,6210205.5,447972.13,6210300.9735&SRS=EPSG:3006 Then I get a geojson with a totally different bounding box "bbox": [ 18.26650159, 55.92242813, 18.26836047, 55.92335068]

huggla commented 10 months ago

Seems to work if I change to SRSNAME.