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... On Apr 26, 2011, at 3:50 AM, Luca Sigfrido Percich wrote: > Hi William, > > converting a single linestring or polygon into a multi- geometry simply > wraps the single geom into a collection. Like in the U.K., when you see > a single person waiting at a bus stop, it's actually a queue made of a > single person :) > > Splitting a multi geometry would result in multiple records - one per > element, probably with the same original attribute values, but with > different fids, which could be a problem if the original shape already > had valid primary key values. I'm not sure ogr2ogr can do that, but > probably there's an appropriate tool around, or you can explode the > multi geometries in PostGIS. > > Best regards > > Sig > > Da: William Kyngesburye [[email protected]], 26/04/2011 2.20 > >> I can't get ogr2ogr to split MULTI* shapefiles to non-multi features. I'm >> sure I've done this in the past (it's been a while). >> > > _____________ > PRIVACY > Le informazioni contenute in questo messaggio sono riservate e confidenziali. > Il loro utilizzo e' consentito esclusivamente al destinatario del messaggio, > per le finalità indicate nel messaggio stesso. Qualora Lei non fosse la > persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo > dal Suo Sistema e a distruggere le varie copie o stampe, dandone gentilmente > comunicazione all’indirizzo mail del mittente. Ogni utilizzo improprio e' > contrario ai principi del D.lgs 196/03 e alla legislazione europea (Direttiva > 2002/58/CE). > > PRIVACY > Le informazioni contenute in questo messaggio sono riservate e confidenziali. > Il loro utilizzo e' consentito esclusivamente al destinatario del messaggio, > per le finalità indicate nel messaggio stesso. Qualora Lei non fosse la > persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo > dal Suo Sistema e a distruggere le varie copie o stampe, dandone gentilmente > comunicazione all’indirizzo mail del mittente. Ogni utilizzo improprio e' > contrario ai principi del D.lgs 196/03 e alla legislazione europea (Direttiva > 2002/58/CE). > > -- > This email was Anti Virus checked by Astaro Security Gateway. > http://www.amat-mi.it > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev ----- William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> http://www.kyngchaos.com/ "Time is an illusion - lunchtime doubly so." - Ford Prefect _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
