On 23 June 2014 03:32, Jeremy Palmer <jpal...@linz.govt.nz> wrote: > > Is this a bug in the data from the service, or just the way the Esri defines > geometry objects (and therefor an OGR bug)?
AFAIU, this is not a bug in OGR, but OGR GeoJSON drivers works with GeoJSON format whereas JSON produced by ESRI is a different format, not GeoJSON. > I can’t see a definition for multi-polygons in Esri API docs: > > http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r3000000n1000000 Can you? There is no geometry of multipolygon specified. AFAIU, for multipolygon ESRI REST produces a hybrid: a Polygon that contains detached rings (or rings not in other rings, so they are not holes) and that is interpreted as multipolygon. Fun. Best regards, -- Mateusz Łoskot, http://mateusz.loskot.net _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev