Skip to content

Commit 27a9331

Browse files
committed
nsg authority constant
1 parent 689b7b0 commit 27a9331

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

src/main/java/mil/nga/proj/ProjectionConstants.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,15 @@ public class ProjectionConstants {
1818
public static final String AUTHORITY_NONE = "NONE";
1919

2020
/**
21-
* OGC authority name
21+
* OGC (Open Geospatial Consortium) authority name
2222
*/
2323
public static final String AUTHORITY_OGC = "OGC";
2424

25+
/**
26+
* NSG (National Systems for Geospatial Intelligence) authority name
27+
*/
28+
public static final String AUTHORITY_NSG = "NSG";
29+
2530
/**
2631
* Undefined Cartesian
2732
*/

src/test/java/mil/nga/proj/ProjectionFactoryCodeTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -704,8 +704,8 @@ public void test8101() throws IOException {
704704
+ "LENGTHUNIT[\"metre\",1.0]ID[\"EPSG\",\"3855\"]],"
705705
+ "ID[“NSG”,”8101”]]";
706706

707-
projectionTestDerived("NSG", code, ProjectionConstants.AUTHORITY_EPSG,
708-
"4326", definition);
707+
projectionTestDerived(ProjectionConstants.AUTHORITY_NSG, code,
708+
ProjectionConstants.AUTHORITY_EPSG, "4326", definition);
709709

710710
}
711711

0 commit comments

Comments
 (0)