Package com.luciad.reference
Class TLcdSwissGridReference
java.lang.Object
com.luciad.reference.ALcdGeoReference
com.luciad.reference.TLcdGridReference
com.luciad.reference.TLcdSwissGridReference
- All Implemented Interfaces:
ILcdExtendedModelReference
,ILcdModelReference
,ILcdGeoReference
,ILcdGridReference
,ILcdCloneable
,ILcdXYWorldReference
,ILcdXYZWorldReference
,Serializable
,Cloneable
public final class TLcdSwissGridReference
extends TLcdGridReference
implements ILcdGridReference, ILcdModelReference
This class contains all information about the Swiss grid system.
- Swiss Oblique Mercator projection (with specific properties)
- based on international Bessel ellipsoid
- Swiss geodetic datum relation with WGS-1984
- world2grid/grid2world transformation parameters
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Constant indicating the Swiss grid system of 1903.static final String
Constant indicating the Swiss grid system of 1995.Fields inherited from interface com.luciad.reference.ILcdGeoReference
CARTESIAN, GEODETIC
-
Constructor Summary
ConstructorDescriptionCreates the Swiss grid system with 1903 parameters.TLcdSwissGridReference
(String aType) Creates the Swiss grid system. -
Method Summary
Modifier and TypeMethodDescriptiongetType()
Returns the Swiss grid system type (LV03 or LV95).void
loadProperties
(String aPrefix, Properties aProperties) Performs no operation.void
Sets the type of the Swiss grid system.void
writePropertiesSFCT
(String aPrefix, Properties aPropertiesSFCT) Performs no operation.Methods inherited from class com.luciad.reference.TLcdGridReference
clone, equals, get2DEditableBounds, getCoordinateType, getCosRotation, getFalseEasting, getFalseNorthing, getProjection, getRotation, getScale, getSinRotation, getUnitOfMeasure, hashCode, isBoundsAvailable, makeModelPoint, setFalseEasting, setFalseNorthing, setProjection, setRotation, setScale, setUnitOfMeasure, toString
Methods inherited from class com.luciad.reference.ALcdGeoReference
getGeodeticDatum, getModelReferenceMetadata, getName, setGeodeticDatum, setModelReferenceMetadata, setName
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.reference.ILcdGeoReference
getCoordinateType, getGeodeticDatum
Methods inherited from interface com.luciad.reference.ILcdGridReference
getCosRotation, getFalseEasting, getFalseNorthing, getProjection, getRotation, getScale, getSinRotation, getUnitOfMeasure
Methods inherited from interface com.luciad.model.ILcdModelReference
makeModelPoint
-
Field Details
-
sTYPE_LV03
Constant indicating the Swiss grid system of 1903.- See Also:
-
sTYPE_LV95
Constant indicating the Swiss grid system of 1995.- See Also:
-
-
Constructor Details
-
TLcdSwissGridReference
public TLcdSwissGridReference()Creates the Swiss grid system with 1903 parameters. -
TLcdSwissGridReference
Creates the Swiss grid system.- Parameters:
aType
- the type of the Swiss grid system. Only the values LV03 and LV95 are valid.
-
-
Method Details
-
getType
Returns the Swiss grid system type (LV03 or LV95).- Returns:
- the Swiss grid system type (LV03 or LV95).
- See Also:
-
setType
Sets the type of the Swiss grid system.- Parameters:
aType
- the type of the Swiss grid system. Only accepts the values LV03 and LV95.- See Also:
-
loadProperties
Performs no operation. The Swiss grid system parameters are fixed.- Specified by:
loadProperties
in interfaceILcdModelReference
- Overrides:
loadProperties
in classTLcdGridReference
- Parameters:
aPrefix
- a common prefix for all property names that are read.aProperties
- the properties to be parsed.- Throws:
IllegalArgumentException
- if the model reference cannot be constructed from the properties.- See Also:
-
writePropertiesSFCT
public void writePropertiesSFCT(String aPrefix, Properties aPropertiesSFCT) throws IllegalArgumentException Performs no operation. The Swiss grid system parameters are fixed. Knowing the class instance is enough.- Specified by:
writePropertiesSFCT
in interfaceILcdModelReference
- Overrides:
writePropertiesSFCT
in classTLcdGridReference
- Parameters:
aPrefix
- a common prefix for all property names written.aPropertiesSFCT
- the properties that will contain the serialized properties for this model reference, as a side effect.- Throws:
IllegalArgumentException
- if the model reference cannot be serialized into properties.- See Also:
-