Package org.locationtech.proj4j.io
Class Proj4FileReader
java.lang.Object
org.locationtech.proj4j.io.Proj4FileReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
private StreamTokenizer
createTokenizer
(BufferedReader reader) String[]
getParameters
(String crsName) Gets the list of PROJ.4 parameters which define the coordinate system specified by name.readEpsgCodeFromFile
(String[] params) private String[]
readFile
(BufferedReader reader, String name) String[]
readParametersFromFile
(String authorityCode, String name)
-
Constructor Details
-
Proj4FileReader
public Proj4FileReader()
-
-
Method Details
-
readParametersFromFile
- Throws:
IOException
-
createTokenizer
-
readFile
- Throws:
IOException
-
addParam
-
getParameters
Gets the list of PROJ.4 parameters which define the coordinate system specified by name.- Parameters:
crsName
- the name of the coordinate system- Returns:
- the PROJ.4 projection parameters which define the coordinate system
-
readEpsgCodeFromFile
- Throws:
IOException
-
parseTokenizer
- Throws:
IOException
-