Tag Info

New answers tagged


If you have MySQL 5.7.5 or later, you can use MySQL's ST_Union function from ogr2ogr: ogr2ogr -sql "SELECT ST_Union(geo) FROM counties" -f KML counties.kml MySQL:"..." If you have GDAL/OGR built with SpatiaLite support, then you can let GDAL/OGR do the unions with the SQLite dialect. As a special case, "Union" is called GUnion: ogr2ogr -dialect SQLITE ...

Top 50 recent answers are included