Re: [gdal-dev] Why are fields required in osmconf.ini file?

2016-12-03 Thread Brad Hards
> Why is that so? Why do field names need to be predefined before their > extraction from the .osm file? > > Why can't only those fields which already exist in the .osm file, be > extracted? How could ogr2ogr possibly know what fields are in the file? It would require a full parse of the file, an

[gdal-dev] Why are fields required in osmconf.ini file?

2016-12-03 Thread Djordje Spasic
Hello, When converting an .osm file to .shp files with ogr2ogr.exe, one needs to define a list of required fields (keys) in gdal-data\osmconf.ini file, for each geometry type (points, lines, multipolygons, multilinestrings).Like so (labelled in red color): [points]#common attributesosm_id=yeso

Re: [gdal-dev] compilation error: jump to label 'free_warper'

2016-12-03 Thread Martin Landa
Hi, 2016-12-03 19:55 GMT+01:00 Even Rouault : > Fixed thanks! Confirmed. Martin -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/lis

Re: [gdal-dev] compilation error: jump to label 'free_warper'

2016-12-03 Thread Even Rouault
On samedi 3 décembre 2016 19:32:33 CET Martin Landa wrote: > Hi, > > I am unable to compile GDAL trunk on my Debian (unstable) since today. > The compilation fails with: Fixed > > PS: BTW, I was surprised that GDAL uses goto statements. Was a .c file. I've replaced the gotos with exception thr

[gdal-dev] compilation error: jump to label 'free_warper'

2016-12-03 Thread Martin Landa
Hi, I am unable to compile GDAL trunk on my Debian (unstable) since today. The compilation fails with: gdalwarpkernel.cpp: In function 'CPLErr GWKOpenCLCase(GDALWarpKernel*)': gdalwarpkernel.cpp:4494:1: error: jump to label 'free_warper' [-fpermissive] free_warper: ^ gdalwarpkernel.cpp:4280:22:

Re: [gdal-dev] GRIB file error: Ran out of file reading SECT0

2016-12-03 Thread Even Rouault
On samedi 3 décembre 2016 15:24:39 CET Hannah Augustin wrote: > Hello all, > For the first time I am working with GRIB files and have stumbled across a > problem having GDAL open files. The data source is the Copernicus > Atmosphere Monitoring Service (CAMS ). > Q

[gdal-dev] GRIB file error: Ran out of file reading SECT0

2016-12-03 Thread Hannah Augustin
Hello all, For the first time I am working with GRIB files and have stumbled across a problem having GDAL open files. The data source is the Copernicus Atmosphere Monitoring Service (CAMS ). QGIS, ArcGIS and GRIB viewers have no problem opening the file for view,