iobis / quality-taskteam

OBIS data quality task team
1 stars 0 forks source link

centroid of footprintWKT outside polygon boundaries #26

Closed ymgan closed 1 year ago

ymgan commented 1 year ago

Question from Sachit (OBIS Australia)

When decimalLongitude, decimalLatitude derived from footprintWKT polygonstring as centroid.

• How to handle when the centroid is calculated outside of polygon boundaries? • Example - https://www.gbif.org/occurrence/2983392481

ymgan commented 1 year ago

For "centroid" within polygon: https://postgis.net/docs/ST_PointOnSurface.html

Will be added to manual