Re: [gdal-dev] Missing layers with GeoPDF to MVT conversion with ogr2ogr/gdal 2.3.0

2018-06-29 Thread Max Ogden
Thank you, Even! Your fix works as described. The MVT MBTiles version of the Azusa GeoPDF rendered in WebGL looks like this now, much more complete: https://i.imgur.com/Nnq6Brp.jpg I took the layers that got skipped and did a raster render of them for reference: https://i.imgur.com/9MjQ9hk.jpg An

Re: [gdal-dev] compile gdal 2.3.0 on centos 6.9

2018-06-29 Thread Andrew C Aitchison
On Fri, 29 Jun 2018, donato.aira...@ext.ec.europa.eu wrote: Hi, on Centos 6.9 compiling gdal 2.3.0 with ./configure --with-python=yes --with-pg=/usr/pgsql-9.3/bin/pg_config --with-geos=yes --with-curl=/usr/bin/curl-config --with-mrsid=/opt/MrSID/Raster_DSDK/ --with-jp2mrsid=no --with-m

[gdal-dev] compile gdal 2.3.0 on centos 6.9

2018-06-29 Thread Donato.AIRAGHI
Hi, on Centos 6.9 compiling gdal 2.3.0 with ./configure --with-python=yes --with-pg=/usr/pgsql-9.3/bin/pg_config --with-geos=yes --with-curl=/usr/bin/curl-config --with-mrsid=/opt/MrSID/Raster_DSDK/ --with-jp2mrsid=no --with-mrsid_lidar=/opt/MrSID/Lidar_DSDK/ --with-sqlite3 --with-podofo=y

Re: [gdal-dev] ogr2ogr SQL command

2018-06-29 Thread Rousseau Lambert2, Louis-Philippe (EC)
Hi Even, Thanks for the quick answer. I tried with your example test.csv, and for me it really doesn't work with 2.2.2... There is simply nothing as output. I tried with the older version 1.10 and it works fine. I'll simply have to upgrade to 2.2.4 I guess. Thanks LP _

Re: [gdal-dev] ogr2ogr SQL command

2018-06-29 Thread Even Rouault
On vendredi 29 juin 2018 12:12:06 CEST Rousseau Lambert2, Louis-Philippe (EC) wrote: > Hi, > > > I was trying to dissolve some buffers based on a attribute in a shapefile > and faced something weird. > > > I do the dissolve with ogr2ogr command line: > > ogr2ogr coverage_dissolve.shp coverage

[gdal-dev] ogr2ogr SQL command

2018-06-29 Thread Rousseau Lambert2, Louis-Philippe (EC)
Hi, I was trying to dissolve some buffers based on a attribute in a shapefile and faced something weird. I do the dissolve with ogr2ogr command line: ogr2ogr coverage_dissolve.shp coverage.shp -dialect sqlite -sql "SELECT ST_Union(geometry), type FROM coverage GROUP BY type" This works fin

Re: [gdal-dev] Missing layers with GeoPDF to MVT conversion with ogr2ogr/gdal 2.3.0

2018-06-29 Thread Even Rouault
Max, I've pushed a fix (in master and release/2.3 branches) in the drawing instruction parser of the PDF driver that enables to read that file $ ogrinfo ~/gdal/data/pdf/340711752_Azusa_FSTopo.pdf [...] 1: Other_5 2: Quadrangle_Extent_Other_4 3: Quadrangle_Extent_State_Outline 4: Adjacent_Quadran

Re: [gdal-dev] Dissolve large amount of geometries

2018-06-29 Thread Jon Morris
We recently had a requirement to dissolve a large amount of geometries (using python) - it's not quite the same as your situation, but involved taking one postcode layer and one building layer covering the whole UK and dissolving to have one building multipolygon per postcode. Unfortunately OGR

Re: [gdal-dev] Dissolve large amount of geometries

2018-06-29 Thread Paul Meems
Thanks Even for the suggestion. We already thought about polygonizing the raster. But then I would have less control about where the vector geometry is created. The squares/rectangle need to align with the tractor tracks/path. The scenario I described is the first version: creating a fishnet. The

[gdal-dev] Missing layers with GeoPDF to MVT conversion with ogr2ogr/gdal 2.3.0

2018-06-29 Thread Max Ogden
Hi, I am trying to convert USFS FSTopo GeoPDFs into Mapbox Vector Tiles like this: $ wget https://data.fs.usda.gov/geodata/rastergateway/data/34117/fstopo/340711752_Azusa_FSTopo.pdf $ ogr2ogr -f MBTILES test.mbtiles 340711752_Azusa_FSTopo.pdf I'm using gdal git master (GDAL 2.4.0dev-1f6d597, rele