public class IlvWKTDatumFactory extends Object
IlvWKTCoordinateSystemFactory
to instantiate a datum from a WKT string.IlvWKTCoordinateSystemFactory| Constructor and Description |
|---|
IlvWKTDatumFactory()
Creates a new default datum factory with a default horizontal datum
collection.
|
IlvWKTDatumFactory(IlvHorizontalDatumCollection datumCollection)
Creates a new default datum factory with the specified horizontal
datum collection.
|
| Modifier and Type | Method and Description |
|---|---|
IlvHorizontalDatum |
fromName(String name,
IlvEllipsoid ellipsoid)
Returns the datum from the specified name.
|
String |
toWKT(IlvEllipsoid e)
Returns the WKT representation of the specified ellipsoid.
|
String |
toWKT(IlvHorizontalDatum datum)
Returns the WKT representation of the specified datum.
|
public IlvWKTDatumFactory()
public IlvWKTDatumFactory(IlvHorizontalDatumCollection datumCollection)
datumCollection - The datum collection to use.public IlvHorizontalDatum fromName(String name, IlvEllipsoid ellipsoid)
IlvHorizontalShiftDatum.GetRegisteredDatum(name),
then returns a new instance of IlvHorizontalShiftDatum
with the same parameters as the registered datum, but with the
ellipsoid specified.
IlvWKTCoordinateSystemFactory when the datum transformation
parameters are defined in the WKT string.name - The name of the datum to create.ellipsoid - The ellipsoid of reference for the datum.null if
the datum is unknown.IlvHorizontalDatumpublic String toWKT(IlvHorizontalDatum datum)
<datum> = DATUM["<name>", <spheroid> {, <to wgs84> } {, <authority> }]
<spheroid> = SPHEROID["<name>", <semi-major axis>, <inverse flattening>
{, <authority>}]
<to wgs84> = TOWGS84[<dx>,<dy>,<dz>,<ex>,<ey>,<ez>,<ppm>]
<authority> = AUTHORITY["<name>", "<code>"]
The representation of the null datum (no datum) is
DATUM ["", SPHEROID["None", 0.000000, 0.000000]].
IlvHorizontalDatumpublic String toWKT(IlvEllipsoid e)
<spheroid> = SPHEROID["<name>", <semi-major axis>, <inverse flattening>
{, <authority>}]
<authority> = AUTHORITY["<name>", "<code>"]
The representation of the null ellipsoid (no ellipsoid) is
SPHEROID["None", 0.000000, 0.000000].
IlvEllipsoid© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.