[gdal-dev] Re: Multipart to singlepart

iomeneandrei aborruso at tin.it
Tue Dec 7 14:48:48 EST 2010


Dear Frank,

Frank Warmerdam wrote:
> 
> I tried it with a trunk build and the multipolygon is converted to a
> polygon.
> I suspect the feature of the forcing support is new and if you want it you
> would need a reasonably recent development build - more recent than
> FWTools.
> 

I have downloaded GDAL 1.7.3 from here http://vbkto.dyndns.org/sdk/, and I
have made a test. The output file now does not contain ever MultiPolygon,
but it has only Polygon. And I have made this test using two output formats:
SQLite and GML. This is a GML output:
https://gist.github.com/732281

But I have a question for you: is it a real multpart to singlepart
transformation? The output file is without any MultiPolygon, but the two
polygons that constitute the former MultiPolygon remain in some way
geometrically related. I was thinking of getting two separate polygons, but
if I will select one of them in a desktop GIS, also the other one is
selected.
Probably it's correct, but it's not what I want.

It's really a pleasure to "talk" with you.

Thank you,

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-tp5807508p5812969.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list