Re: [gdal-dev] Split apart MULTI* problem

2011-04-26 Thread William Kyngesburye
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.

Re: [gdal-dev] Split apart MULTI* problem

2011-04-26 Thread Even Rouault
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

Re: [gdal-dev] Split apart MULTI* problem

2011-04-26 Thread William Kyngesburye
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

Re: [gdal-dev] Split apart MULTI* problem

2011-04-26 Thread Luca Sigfrido Percich
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 r

[gdal-dev] Split apart MULTI* problem

2011-04-25 Thread William Kyngesburye
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). ie, the Natural Earth shapefiles, coastline file - has a mix of LINESTRING and MULTILINESTRING. I run: ogr2ogr . 50m_coastline.shp -nln 50m_coastline-l -nlt LINESTRIN