[gdal-dev] layer union returns a geometry collection

Matthew Snape SnapeM at rpsgroup.com
Mon Feb 12 01:58:12 PST 2018


Hello,

I am performing a union of two layers using OGR from Python...

layerA.Union(layerB, layerC,["PROMOTE_TO_MULTI=YES",])

This returns a layer composed of multipolygon's  except for a single geometrycollection in the form...

GEOMETRYCOLLECTION (POINT (2610469.66 3325023.52),POLYGON ((2610439.3657 3325014.925899999..........

Is this expected behaviour, and if so what is it showing?

Any help appreciated
Thank you.



This e-mail message and any attached file is the property of the sender and is sent in confidence to the addressee only.

Internet communications are not secure and RPS is not responsible for their abuse by third parties, any alteration or corruption in transmission or for any loss or damage caused by a virus or by any other means.

RPS Group Plc, company number: 208 7786 (England). Registered office: 20 Western Avenue Milton Park Abingdon Oxfordshire OX14 4SH.

RPS Group Plc web link: http://www.rpsgroup.com<http://www.rpsgroup.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180212/7bd5e46d/attachment-0001.html>


More information about the gdal-dev mailing list