Package org.goplanit.utils.epsg
Class EpsgCodesByCountry
- java.lang.Object
 - 
- org.goplanit.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 StringAUSTRALIA_LAMBERTArea of use: Australia, EPSG:3112protected static HashMap<String,String>countryToEpsgCodesmapping of country names to expected most commonly used EPSG codestatic StringGERMANY_DHDNArea of use: Germany, 3-degree Gauss-Kruger zone 4, EPSG:31468static StringNETHERLANDS_RDSArea of use: Netherlands, Rijks Driehoek Stelsel, EPSG:28992static StringWORLD_WG84Area 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 voidadd(String countryName, String epsgCode)add a mapping to the registerstatic StringgetEpsg(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
 
 
 - 
 
 -