Package org.planit.utils.epsg
Class EpsgCodesByCountry
- java.lang.Object
-
- org.planit.utils.epsg.EpsgCodesByCountry
-
public class EpsgCodesByCountry extends Object
convenience method that provides a mapping from country name to a possible EPSG coordinate reference system code, e.g., "EPSG:1234". This list is currently hard coded and limited but we hope to extend it and make it more flexible over time- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static String
AUSTRALIA_LAMBERT
Area of use: Australia, EPSG:3112protected static HashMap<String,String>
countryToEpsgCodes
mapping of country names to expected most commonly used EPSG codestatic String
GERMANY_DHDN
Area of use: Germany, 3-degree Gauss-Kruger zone 4, EPSG:31468static String
NETHERLANDS_RDS
Area of use: Netherlands, Rijks Driehoek Stelsel, EPSG:28992static String
WORLD_WG84
Area of use: world, EPSG:4326, accessible via countryname: "global" as CountryNames.GLOBAL
-
Constructor Summary
Constructors Constructor Description EpsgCodesByCountry()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static void
add(String countryName, String epsgCode)
add a mapping to the registerstatic String
getEpsg(String countryName)
collect the epsg most likely applicable code based on the country name.
-
-
-
Field Detail
-
AUSTRALIA_LAMBERT
public static final String AUSTRALIA_LAMBERT
Area of use: Australia, EPSG:3112- See Also:
- Constant Field Values
-
GERMANY_DHDN
public static final String GERMANY_DHDN
Area of use: Germany, 3-degree Gauss-Kruger zone 4, EPSG:31468- See Also:
- Constant Field Values
-
NETHERLANDS_RDS
public static final String NETHERLANDS_RDS
Area of use: Netherlands, Rijks Driehoek Stelsel, EPSG:28992- See Also:
- Constant Field Values
-
WORLD_WG84
public static final String WORLD_WG84
Area of use: world, EPSG:4326, accessible via countryname: "global" as CountryNames.GLOBAL- See Also:
- Constant Field Values
-
-