opendatateam / udata

Customizable and skinnable social platform dedicated to open data.
http://udata.readthedocs.org
GNU Affero General Public License v3.0
238 stars 87 forks source link

Merge multiple polygons during spatial coverage harvesting #3039

Closed ThibaudDauce closed 2 months ago

ThibaudDauce commented 3 months ago

Fix https://github.com/datagouv/data.gouv.fr/issues/1362

The goal of this PR is to support when there is multiple geometries. Instead of saving the first one, save a MultiPolygon merging all geometries. Deduplicates the geometries because some backends provide the same geometry in multiple formats.