From 14b89807c075bad9f62438ed4455299d4fcebbd7 Mon Sep 17 00:00:00 2001 From: Emanuela Epure <67077116+emanuelaepure10@users.noreply.github.com> Date: Mon, 5 Feb 2024 14:13:27 +0100 Subject: [PATCH] fix-adv: add code mapping EPSG:7837 Activate the code mapping EPSG:7837 for AdvCrsAuthorityFactory ING-4083 --- .../referencing/factory/adv/AdvCrsAuthorityFactory.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/common/plugins/eu.esdihumboldt.hale.common.referencing/src/eu/esdihumboldt/hale/common/referencing/factory/adv/AdvCrsAuthorityFactory.java b/common/plugins/eu.esdihumboldt.hale.common.referencing/src/eu/esdihumboldt/hale/common/referencing/factory/adv/AdvCrsAuthorityFactory.java index 6ce5ea04b3..984e584067 100644 --- a/common/plugins/eu.esdihumboldt.hale.common.referencing/src/eu/esdihumboldt/hale/common/referencing/factory/adv/AdvCrsAuthorityFactory.java +++ b/common/plugins/eu.esdihumboldt.hale.common.referencing/src/eu/esdihumboldt/hale/common/referencing/factory/adv/AdvCrsAuthorityFactory.java @@ -118,14 +118,9 @@ public AdvCrsAuthorityFactory() { addCodeMapping("ETRS89_UTM33", "EPSG:25833"); addCodeMapping("ETRS89_Lat-Lon", "EPSG:4258"); addCodeMapping("DE_DHHN92_NH", "EPSG:5783"); + addCodeMapping("DE_DHHN2016_NH", "EPSG:7837"); - // EPSG:7837 is not available in EPSG registry version 7.9.0 - // which is shipped with GeoTools 12.2. See also - // https://github.com/halestudio/hale/issues/573 - // - // addEpsgMapping("DE_DHHN2016_NH", "EPSG:7837"); - - //XXX These mappings provided by AdV don't seem to be correct + // XXX These mappings provided by AdV don't seem to be correct // It seems there is currently no matching EPSG code and the // definitions would have to be provided via WKT instead. //