[gdal-dev] polygon union

ni hao ni_hao88 at hotmail.com
Thu Oct 14 07:57:38 PDT 2021


Hi list,

I know how to union two polygons using Python's ogr.
  feat = ogr.Feature(lyr.GetLayerDefn())
  feat.SetGeometry(collection1.Union(collection2))

But I need to do this in Java or use a command line exe, and I am not familiar with Java.
What is the Java function or a command line exe ?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20211014/6e9cb548/attachment.html>


More information about the gdal-dev mailing list