Re: [gdal-dev] GetNextFeature doesn't add version and typenames in URL

2021-06-18 Thread Even Rouault
Based on information provided privately by Jens, the connection string to use should also include the namespaces parameter. I presume the server behind is Deegree which is quite pedantic about that. The QGIS WFS client automatically adds it, whereas the OGR WFS one not (it should likely) So u

Re: [gdal-dev] GetNextFeature doesn't add version and typenames in URL

2021-06-18 Thread Even Rouault
Jens, when writing a report, remember that the reader cannot see your screen. So at a minimum, provide the connection string to that WFS service that you provide to GDAL. Even Le 19/06/2021 à 00:43, Jens Søe Christiansen a écrit : Hi I'm desperately trying to read data from a Danish WFS ser

[gdal-dev] GetNextFeature doesn't add version and typenames in URL

2021-06-18 Thread Jens Søe Christiansen
Hi I'm desperately trying to read data from a Danish WFS service. Everything is working well until I try to GetNextFeature. The GDAL is returning HTTP ERROR 400 and the reason is that version and typenames are missing in the request! Am I missing something or is something wrong with the WFS servic

[gdal-dev] Transformer from & to Control Points in Map CS

2021-06-18 Thread Brendan Heberlein via gdal-dev
Hi all, I wondered if anyone may help me understand how to accomplish this with GDAL (Python API preferred): I would like to create a custom Transformer, based on control points which associate (map_x1, map_y1)​ with (map_x2, map_y2)​. The projection is the same for both sets of points. This

Re: [gdal-dev] Motion: adopt RFC 81: support for coordinate epochs in geospatial formats

2021-06-18 Thread Even Rouault
Hi, I declare this motion passed with +1 from JukkaR and myself, -0 from HowardB and +0 from KurtS I've issued a revision of my original pull request in https://github.com/OSGeo/gdal/pull/4011 that leaves out support for GML, KML, GeoJSON, Shapefile and GMLJP2 (JPEG2000 can still benefit fro

Re: [gdal-dev] Converting WFS to shapefile

2021-06-18 Thread jratike80
Hi, Run ogrinfo WFS:https://geodata.nationaalgeoregister.nl/aan/wfs and you'll see 1: aan:aan (title: aan) (Multi Surface) Use the typeName as it appears. Works for me with ogr2ogr -f "ESRI Shapefile" --debug ON -s_srs "EPSG:4326" -t_srs "EPSG:28992" "Perceel-aan.shp" "WFS:https://geodata.natio

[gdal-dev] Converting WFS to shapefile

2021-06-18 Thread Paul Meems
Hi List, I'm having trouble converting the result of a WFS request to a shapefile. I'm using two servers, one is working the other not. My command for the working server: ogr2ogr -f "ESRI Shapefile" -s_srs "EPSG:4326" -t_srs "EPSG:28992" "Perceel-bbox.shp" "WFS: https://geodata.nationaalgeoregist