This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git

commit 7020ab83271e2f23986c1dd79b2fe00bca633fe6
Author: Martin Desruisseaux <[email protected]>
AuthorDate: Thu Apr 21 17:01:10 2022 +0200

    Fix identifier to NATO metadata.
---
 .../apache/sis/referencing/gazetteer/MilitaryGridReferenceSystem.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/MilitaryGridReferenceSystem.java
 
b/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/MilitaryGridReferenceSystem.java
index 7ff04322fe..5e18072e72 100644
--- 
a/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/MilitaryGridReferenceSystem.java
+++ 
b/core/sis-referencing-by-identifiers/src/main/java/org/apache/sis/referencing/gazetteer/MilitaryGridReferenceSystem.java
@@ -135,7 +135,7 @@ import org.opengis.referencing.gazetteer.LocationType;
  * are not thread-safe; it is recommended to create a new {@code Coder} 
instance for each thread.
  *
  * @author  Martin Desruisseaux (Geomatys)
- * @version 0.8
+ * @version 1.2
  *
  * @see CommonCRS#universal(double, double)
  * @see <a 
href="https://en.wikipedia.org/wiki/Military_Grid_Reference_System";>Military 
Grid Reference System on Wikipedia</a>
@@ -274,7 +274,7 @@ public class MilitaryGridReferenceSystem extends 
ReferencingByIdentifiers {
     private static Map<String,?> properties() {
         Party party;
         try {
-            party = MetadataSource.getProvided().lookup(Party.class, "NATO");
+            party = MetadataSource.getProvided().lookup(Party.class, 
"{org}NATO");
         } catch (MetadataStoreException e) {
             party = null;
             
Logging.unexpectedException(Logging.getLogger(Modules.REFERENCING_BY_IDENTIFIERS),

Reply via email to