From 3032a4febd6242154db20ee617957b36c241948f Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 29 Sep 2023 00:41:20 +0200 Subject: Observations: Set point geometry in the output. Where expecting points only, and that way we get a warning if there is a geometry of another type. --- gis-observation-map | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gis-observation-map b/gis-observation-map index 966d438..8f3f999 100755 --- a/gis-observation-map +++ b/gis-observation-map @@ -518,6 +518,8 @@ def getObservations(taxonLists, taxonRedlistCategories, searchFilter): gdal.VectorTranslate( path.as_posix(), fp.name, format=drv.name, + layerName='Fynd', + geometryType='POINT', accessMode='overwrite', reproject=True, dstSRS=target_srs) obs = None -- cgit v1.2.3