spatial-data-lab / knime-geospatial-extension

This repository is built for KNIME-CGA Geospatial Project, and the goal is to build Python-based nodes for geospatial analysis in KNIME Analytic Platform.
MIT License
20 stars 8 forks source link

Shorten auto generated projection CRS stings by using EPSG instead of WKT #314

Closed koettert closed 5 months ago

koettert commented 6 months ago

Relates to https://github.com/spatial-data-lab/knime-geospatial-extension/issues/279 We should use the to_epsg() method in the auto projection method to shorten the generated CRS string.

The problem with the current implementation is that when the proj+ CRS is converted to WKT-CRS which is only supported by the Java framework it gets inflated a lot. It would help the readability if we could prevent this by reducing it to a known epsg code.

UrbanGISer commented 5 months ago

See the Pull Request, it is a tiny update