[gdal-dev] Re: Multipart to singlepart
iomeneandrei
aborruso at tin.it
Tue Dec 7 03:43:53 EST 2010
Hi Frank,
Frank Warmerdam wrote:
>
> Reviewing the ogr2ogr code I see this does trigger a call to
> forceToPolygon()
> though *mostly* it exists to set the type of the created layer. So, yes,
> -nlt polygon with ogr2ogr may well do what you want.
>
I have used this GML file as input:
https://gist.github.com/731590
It contains a multipolygon.
Then I run this command: ogr2ogr -f GML -nlt POLYGON poly_output.gml
poly_input.gml
The output file contains the same multipolygon. Is it normal?
I'm using FWTools 2.4.7 for Windows.
Thank you very much,
Andrea
-----
Andrea Borruso
----------------------------------------------------
email: aborruso at tin.it
website: http://blog.spaziogis.it
my 2.0 life: http://aborruso.spaziogis.it
feed: http://feeds2.feedburner.com/Tanto
38° 7' 48" N, 13° 21' 9" E
----------------------------------------------------
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Multipart-to-singlepart-tp5807508p5810838.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
More information about the gdal-dev
mailing list