[gdal-dev] Multipart to singlepart

2010-12-06 Thread iomeneandrei
Hi all, is there in OGR a command that I can use to convert multipart polygons in singleparts? Thank you, a - Andrea Borruso email: aborr...@tin.it website: http://blog.spaziogis.it my 2.0 life: http://aborruso.spaziogis.it feed:

Re: [gdal-dev] Multipart to singlepart

2010-12-06 Thread Even Rouault
Le lundi 06 décembre 2010 12:54:28, iomeneandrei a écrit : Hi all, is there in OGR a command that I can use to convert multipart polygons in singleparts? None that I am aware of, but if you have some scripting/programming abilities, you could do that by using the OGR API. Thank you, a

Re: [gdal-dev] Multipart to singlepart

2010-12-06 Thread Frank Warmerdam
On 10-12-06 06:54 AM, iomeneandrei wrote: Hi all, is there in OGR a command that I can use to convert multipart polygons in singleparts? Andrea, At the API or scripting level there is the OGRGeometryFactory::forceToPolygon() method to try and convert a multipolygon to a simple polygon. I am