Re: [gdal-dev] GDAL, ESRI Shapefiles and nested polygons

2014-08-08 Thread Even Rouault
ile, OGR does some topological analysis to figure out the spatial relationship between rings and determine if they must be outer or inner rings. > All suggestions are welcome. > > ____________ > From: Even Rouault > To: Graeme Wilkie > Cc: "gdal

Re: [gdal-dev] GDAL, ESRI Shapefiles and nested polygons

2014-08-08 Thread Graeme Wilkie
Even Rouault To: Graeme Wilkie Cc: "gdal-dev@lists.osgeo.org" Sent: Friday, August 8, 2014 2:27 PM Subject: Re: [gdal-dev] GDAL, ESRI Shapefiles and nested polygons Le vendredi 08 août 2014 15:19:38, Graeme Wilkie a écrit : > Hi, >  > You were correct, it is returning mu

Re: [gdal-dev] GDAL, ESRI Shapefiles and nested polygons

2014-08-08 Thread Even Rouault
That's the way polygons are modelised in SFS specification. > If anybody has a small piece of example could it would be a great help. > > Regards > > Graeme > > > From: Even Rouault > To: gdal-dev@lists.osgeo.org > Cc: Gr

Re: [gdal-dev] GDAL, ESRI Shapefiles and nested polygons

2014-08-08 Thread Graeme Wilkie
ilkie Sent: Thursday, August 7, 2014 9:26 PM Subject: Re: [gdal-dev] GDAL, ESRI Shapefiles and nested polygons Le jeudi 07 août 2014 22:20:34, Graeme Wilkie a écrit : > Hi, > > I'm trying to use GDAL to read ESRI shapefiles. I've got it working for > points, lin

Re: [gdal-dev] GDAL, ESRI Shapefiles and nested polygons

2014-08-07 Thread Even Rouault
Le jeudi 07 août 2014 22:20:34, Graeme Wilkie a écrit : > Hi, > > I'm trying to use GDAL to read ESRI shapefiles. I've got it working for > points, lines, polygons, polylines and multipoint but I'm having problems > with polygons that contain polygons in the same feature. > > > > The following

[gdal-dev] GDAL, ESRI Shapefiles and nested polygons

2014-08-07 Thread Graeme Wilkie
Hi, I'm trying to use GDAL to read ESRI shapefiles. I've got it working for points, lines, polygons, polylines and multipoint but I'm having problems with polygons that contain polygons in the same feature. The following is a cut down code sample of the code I'm using. The problem I have is th