public class TLcdAUTO2ReferenceParser extends Object implements ILcdModelReferenceParser, ILcdXYWorldReferenceParser
Supported defined projections IDs are:
AUTO:auto_crs_id,factor,lon0,lat0with :
Constructor and Description |
---|
TLcdAUTO2ReferenceParser() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getSupportedCodes()
Returns the list of supported codes of projection ids by this parser.
|
ILcdModelReference |
parseModelReference(String aModelReferenceAsString)
Returns the
ILcdModelReference that corresponds to the specified string representation. |
ILcdXYWorldReference |
parseXYWorldReference(String aXYWorldReferenceAsString)
Returns the
ILcdXYWorldReference that is formatted as a String. |
public ILcdModelReference parseModelReference(String aModelReferenceAsString) throws ParseException
ILcdModelReferenceParser
ILcdModelReference
that corresponds to the specified string representation.parseModelReference
in interface ILcdModelReferenceParser
aModelReferenceAsString
- 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 aXYWorldReferenceAsString) throws ParseException
ILcdXYWorldReferenceParser
ILcdXYWorldReference
that is formatted as a String.parseXYWorldReference
in interface ILcdXYWorldReferenceParser
aXYWorldReferenceAsString
- 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.