Re: [gdal-dev] Converting MULTILINESTRING to LINESTRING

2016-11-18 Thread Nelson A. de Oliveira
Hi! On Fri, Nov 18, 2016 at 6:01 AM, jratike80 wrote: > However, if you want to > explode multilinestrings into linestrings use switch -explodecollections. This one. I wasn't seeing an explanation for this in "ogr2ogr --long-usage" (it seems that I need to read more the full manual) Thank you!

Re: [gdal-dev] Converting MULTILINESTRING to LINESTRING

2016-11-18 Thread jratike80
you want to explode multilinestrings into linestrings use switch -explodecollections. Both are documented in http://www.gdal.org/ogr2ogr.html. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-Converting-MULTILINESTRING-to-LINESTRING-tp5296370p5296402.html Sent from

[gdal-dev] Converting MULTILINESTRING to LINESTRING

2016-11-17 Thread Nelson A. de Oliveira
Hi! Sorry if it's not the appropriated place to ask this, but is there a way to convert MULTILINESTRING to LINESTRING? For example: = ogr2ogr -f "SQLite" -gt 65536 -dsco SPATIALITE=YES database.sqlite shape.shp ERROR 1: Cannot insert feature with geometry of type MULTILINESTRING in column GEO