Skip to content

Commit 5d697a5

Browse files
committed
Crs constructor with authority, version, and code
1 parent 4605f19 commit 5d697a5

File tree

1 file changed

+16
-0
lines changed
  • src/main/java/mil/nga/oapi/features/json

1 file changed

+16
-0
lines changed

src/main/java/mil/nga/oapi/features/json/Crs.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,22 @@ public Crs(String crs) {
7070
setCrs(crs);
7171
}
7272

73+
/**
74+
* Constructor
75+
*
76+
* @param authority
77+
* authority
78+
* @param version
79+
* version
80+
* @param code
81+
* code
82+
*/
83+
public Crs(String authority, String version, String code) {
84+
this.authority = authority;
85+
this.version = version;
86+
this.code = code;
87+
}
88+
7389
/**
7490
* Set the CRS
7591
*

0 commit comments

Comments
 (0)