Re: [gdal-dev] Merge all features in polygon shapefile with gdal

2015-07-06 Thread Luke
atures into one. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-Merge-all-features-in-polygon-shapefile-with-gdal-tp5214520p5214533.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev mailing

Re: [gdal-dev] Merge all features in polygon shapefile with gdal

2015-07-06 Thread Roger André
Hey Steven, Are you trying to do this via a spatially enabled database? In PostGIS, the dissolve syntax looks like this: "SELECT dissolve_field, ST_UNION(geometry) FROM table GROUP BY dissolve_field;" Roger On Mon, Jul 6, 2015 at 4:13 PM, Steven Lutz wrote: > I've found some examples of ho

[gdal-dev] Merge all features in polygon shapefile with gdal

2015-07-06 Thread Steven Lutz
I've found some examples of how to dissolve features in a polygon using gdal but I'm not familiar with how to implement them. here is an example of what I've found, but I'm having trouble modifying it this is what I've come up with: |ogr2ogr output.shp input.shp -dialect sqlite -sql "SELECT ST_