| Programming with JViews Maps > Ellipsoid and Geodetic Datums > Geodetic Datums > Predefined Datums |
Predefined Datums |
INDEX
PREVIOUS
NEXT
|
The IlvHorizontalDatumCollection class manages lists of predefined horizontal datums. The list of predefined datums in the JViews Maps package, or kernel collection, can be retrieved using the GetKernelCollection() method.
Like Ellipsoid collections, horizontal datum collections are read from XML files containing the definitions. The DTD for these definition files is:
In a horizontal datum definition file, you can find:
id of the datum and the reference of the datum. When retrieving a datum alias from a collection, the datum is searched for using its id as a key, while the name of the returned datum is the one defined in the kernel collection.
The following XML file defines the Afgooye datum, while setting an alias for the NAD 27 datum
<datum-list> <datum name="Afgooye" region="Somalia" ellipsoid="krass" dx="-43" dy="-163" dz="-45" /> <datum-ref id="NAD27" ref="NAD27 (CONUS)" /> </datum-list> |
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. Legal terms. | PREVIOUS NEXT |