inbo / n2khab

R package with preprocessing functions and standard reference data for Flemish Natura 2000 (N2K) habitat (HAB) analyses
https://inbo.github.io/n2khab
GNU General Public License v3.0
2 stars 1 forks source link

Set CRS of geospatial read_xxx() outputs virtually to EPSG-code 31370 #11

Closed florisvdh closed 5 years ago

florisvdh commented 5 years ago

It appears that many official Flemish data sources are in some near- epsg:31370 CRS, but not exactly epsg:31370. The difference (when transforming) is at the sub-millimeter level.

This PR solves the non-confomity with epsg:31370 for all currently handled data sources by setting the CRS of the returned data to epsg:31370 without transformations (this is handled by the read_xxx() functions). This avoids transformation overhead and problems (e.g. for rasters), given the negligible differences.

More exploration of this is to be found in a notebook.

w-jan commented 5 years ago

It's also working for me!

florisvdh commented 5 years ago

Thanks for the feedback @w-jan