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

Use st_write with postgis doesn't write srid/type geometry_columns metadata #85

Closed eblondel closed 1 year ago

eblondel commented 4 years ago

https://github.com/r-spatial/sf/issues/1429

eblondel commented 4 years ago

This needs to be consolidated. calling st_crs is not enough to inherit srid number. In some case we get NA. More code is required to inherit the srid, probably by parsing the CRS WKT definition.

eblondel commented 1 year ago

Bad ticket referencing. Solved with with https://github.com/r-geoflow/geoflow/commit/bf1384056d782e54183e3df184e3068240e56cf6 through terra R package