Problem/Motivation

Adding Terra Draw as drawing tool seems like a great enhancement. That's awesome!

Is there a chance we might use it with the universal field type "Geolocation Geometry - Geometry" as well? Just looking at the demo of their homepage looks like it supports any-type GeoJSON well.

Also the closing of this issue suggests me that Terra Draw supports multi-type drawing:
https://www.drupal.org/project/geolocation/issues/3607223

Am I missing something or is it not there yet?

Comments

janc48 created an issue. See original summary.

christianadamski’s picture

Status: Active » Closed (won't fix)

Because you can't usefully distinguish multiple from multi- types. A geometry is by definition allowed to contain

- a multi-polygon consisting of 3 polygons
- 3 additional individual polygons

Which is very common. Many countries are represented by polygons, even more by multi-polygons. So the simple set of international borders already fits that.

How to get that in one formatter? If one where to exclude multi-, it would work, but that is not valid Geometry support and would lead to all sorts of pain.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.