[gdal-dev] Split apart MULTI* problem

William Kyngesburye woklist at kyngchaos.com
Tue Apr 26 13:38:56 EDT 2011


On Apr 26, 2011, at 12:33 PM, Even Rouault wrote:

> Le mardi 26 avril 2011 15:27:05, William Kyngesburye a écrit :
>> I just remembered that what I've done in the past wasn't splitting multi
>> features, but dropping the z from 3D shapefiles.  So I don't know if the
>> multi splitting is possible.
>> 
>> And yes, forcing features to multi into PostGIS is different from splitting
>> multi features into a shapefile.
>> 
>> I suppose I'll have to write a python script...
> 
> Or use the -explodecollections flag of ogr2ogr ?

Oh.  I missed that, it's not described in the long help.  That works.

thanks

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"The beast is actively interested only in now, and, as it is always now and always shall be, there is an eternity of time for the accomplishment of objects."

- the wisdom of Tarzan







More information about the gdal-dev mailing list