rtdeb / GeoPick

Simple uncertainty radius calc for lines and polygons
2 stars 0 forks source link

Holes in polygons #59

Open arnaldmarcer opened 1 year ago

arnaldmarcer commented 1 year ago

Allow to draw holes in polygons

arnaldmarcer commented 8 months ago

Right now, the geopick api can handle multipolygons with holes but not the client.

Example of a multipolygon with holes:

MULTIPOLYGON (((0 0, 10 0, 10 10, 0 10, 0 0), (2 2, 2 8, 8 8, 8 2, 2 2)), ((20 20, 30 20, 30 30, 20 30, 20 20), (22 22, 22 28, 28 28, 28 22, 22 22)))