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.

The definition says polygons can have any number of rings, either exterior or 
interior. Exterior rings are oriented clockwise, while holes are oriented 
counter-clockwise.

Maybe the OGR driver should be improved to check for this. If more than one 
exterior ring is found then an OGC multi-polygon geometry object should be 
returned. Could check the orientation via area or the 
http://en.wikipedia.org/wiki/Even%E2%80%93odd_rule

This message contains information, which may be in confidence and may be 
subject to legal privilege. If you are not the intended recipient, you must not 
peruse, use, disseminate, distribute or copy this message. If you have received 
this message in error, please notify us immediately (Phone 0800 665 463 or 
i...@linz.govt.nz) and destroy the original message. LINZ accepts no 
responsibility for changes to this email, or for any attachments, after its 
transmission from LINZ. Thank You.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to