[gdal-dev] layer union returns a geometry collection

jratike80 jukka.rahkonen at maanmittauslaitos.fi
Mon Feb 12 03:01:46 PST 2018


Matthew Snape wrote
> 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.
> 
> _______________________________________________
> gdal-dev mailing list

> gdal-dev at .osgeo

> https://lists.osgeo.org/mailman/listinfo/gdal-dev


Hi,

It would help a lot if you could find out and extract those source features
which make up that geometrycollection. Otherwise it is quite impossible to
answer.

-Jukka Rahkonen-



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list