r-geoflow / geoflow

Tools to Orchestrate Geospatial (Meta)Data Management Workflows and Manage FAIR Services
https://github.com/r-geoflow/geoflow/wiki
Other
41 stars 14 forks source link

Add capacity to detect lon/lat CSV columns and spatialize object with sf #134

Closed eblondel closed 3 years ago

eblondel commented 3 years ago

For the timebeing we can detect a WKT/WKB column using GDAL CSV driver GEOM_POSSIBLE_NAMES. The purpose is to add the possibility to detect longitude/latitude columns for point data, by plugin GDAL CSV driver options X_POSSIBLE_NAMES and Y_POSSIBLE_NAMES. See https://gdal.org/drivers/vector/csv.html

eblondel commented 3 years ago

This works like a charm, thanks @abennici