diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2023-09-29 00:41:20 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2023-09-29 01:03:47 +0200 |
commit | 3032a4febd6242154db20ee617957b36c241948f (patch) | |
tree | f9ee4c4c513c05098e679f234cf22a1159459d6a | |
parent | 9f17020f0d821fc8005f659f1dd49b5e08804431 (diff) |
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.
-rwxr-xr-x | gis-observation-map | 2 |
1 files changed, 2 insertions, 0 deletions
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 |