public class TLcdProj4ReferenceParser extends Object implements ILcdModelReferenceParser, ILcdXYWorldReferenceParser
+proj=utm +zone=32 +ellps=WGS84 +datum=WGS84 +units=m +no_defs
.
For more information on PROJ.4 parameters please refer to http://trac.osgeo.org/proj/wiki/GenParms.
TLcdProj4ReferenceFormatter
Constructor and Description |
---|
TLcdProj4ReferenceParser() |
Modifier and Type | Method and Description |
---|---|
ILcdModelReference |
parseModelReference(String aDefinition)
Returns the
ILcdModelReference that corresponds to the specified string representation. |
ILcdXYWorldReference |
parseXYWorldReference(String aDefinition)
Returns the
ILcdXYWorldReference that is formatted as a String. |
public ILcdModelReference parseModelReference(String aDefinition) throws ParseException
ILcdModelReferenceParser
ILcdModelReference
that corresponds to the specified string representation.parseModelReference
in interface ILcdModelReferenceParser
aDefinition
- the String representation to be converted to an ILcdModelReference
.ILcdModelReference
that corresponds to the specified string, never null
.ParseException
- if this parser cannot convert the specified string into a model reference
(e.g. if the code is not supported or if the code was not valid)public ILcdXYWorldReference parseXYWorldReference(String aDefinition) throws ParseException
ILcdXYWorldReferenceParser
ILcdXYWorldReference
that is formatted as a String.parseXYWorldReference
in interface ILcdXYWorldReferenceParser
aDefinition
- the String representation of the ILcdXYWorldReference
.ILcdXYWorldReference
that is formatted as a String. Never null
.ParseException
- If the ILcdXYWorldReference
cannot be created from the String.