Re: [gdal-dev] Get WFS attributes form the gml namespace as OGR fields

2017-10-20 Thread Tamas Szekeres
Hi Even, Thank you, that could indeed solve the problem. Best regards, Tamas 2017-10-20 0:10 GMT+02:00 Even Rouault : > On jeudi 19 octobre 2017 23:56:29 CEST Tamas Szekeres wrote: > > It looks like DOWNLOAD_SCHEMA=NO would do the trick, but if I use this > in a > > VRT file this way it crash

Re: [gdal-dev] Get WFS attributes form the gml namespace as OGR fields

2017-10-19 Thread Even Rouault
On jeudi 19 octobre 2017 23:56:29 CEST Tamas Szekeres wrote: > It looks like DOWNLOAD_SCHEMA=NO would do the trick, but if I use this in a > VRT file this way it crashes GDAL. Just fixed the crash (related to the HTTP driver and GDAL_OF_SHARED open flag) You can also prefix the URL with /vsicurl_

Re: [gdal-dev] Get WFS attributes form the gml namespace as OGR fields

2017-10-19 Thread Tamas Szekeres
It looks like DOWNLOAD_SCHEMA=NO would do the trick, but if I use this in a VRT file this way it crashes GDAL. http://cstest.coordinatesolutions.com/geoserver/wfs?VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=ogi:okcounties&SRSNAME=EPSG:900913 NO E

Re: [gdal-dev] Get WFS attributes form the gml namespace as OGR fields

2017-10-19 Thread Even Rouault
On jeudi 19 octobre 2017 22:55:50 CEST Tamas Szekeres wrote: > Hi all, > > It looks like whenever we have a dataset (shapefile,db table,etc...) which > has a > column with such names like "description", "name", "location" GeoServer > maps it to the elements in the gml namespace (in a 1.1 request),

[gdal-dev] Get WFS attributes form the gml namespace as OGR fields

2017-10-19 Thread Tamas Szekeres
Hi all, It looks like whenever we have a dataset (shapefile,db table,etc...) which has a column with such names like "description", "name", "location" GeoServer maps it to the elements in the gml namespace (in a 1.1 request), therefore DescribeFeatureType doesn't contain these attributes. For exa