[geos-devel] Union of XYZ or XYM polygons

Mateusz Loskot mateusz at loskot.net
Mon Feb 13 01:57:13 PST 2017


On 13 February 2017 at 10:36, seboricor <seboricor at gmail.com> wrote:
> Hello,
>
> I would like to know if it is planned that GEOS implements union of XYM or
> XYZ polygons ?
>
> I think it would be very interesting that the union of XYZ (or XYM) polygons
> returns an XYZ polygon and not only an XY (something as shown in the joined
> drawing)

You may read related threads about XYZ, XYM, XYZM support
https://lists.osgeo.org/pipermail/geos-devel/2012-July/005959.html
https://lists.osgeo.org/pipermail/geos-devel/2013-March/006245.html

AFAIK, GEOS has no M support.
You may try to implement coordinate interfaces, as briefely
explained here
https://trac.osgeo.org/geos/browser/trunk/include/geos/geom/CoordinateSequence.h#L46

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the geos-devel mailing list