Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reproject metadata bounds to wgs84 #25

Open
7 tasks
pvgenuchten opened this issue Dec 19, 2024 · 1 comment
Open
7 tasks

reproject metadata bounds to wgs84 #25

pvgenuchten opened this issue Dec 19, 2024 · 1 comment
Assignees

Comments

@pvgenuchten
Copy link
Contributor

pvgenuchten commented Dec 19, 2024

in order to facilitate comparison of spatial extent of metadata records, would be good to reproject the geometries to a common coordinate system, in order to reproject, the CRS information should be parsed. Unfortunately many records use a non conventional method to describe CRS.

  • extract crs
  • match CRS to known list of CRS (epsg.io api?)
  • if no crs is provided, assume 4326
  • extract bounds
  • reproject bounds
  • if projection fails, skip geometry
  • return projected geometry

Can be set up as a script to run as a CI-CD process, input is a database column, results are written to the same column

@pvgenuchten
Copy link
Contributor Author

Also to consider is to keep as a warning on the metadata record that the bound information is not parseable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants