Class Hierarchy
AcRxObject AcGiDrawable AcDbObject AcDbGeoData
C++
class AcDbGeoData : public AcDbObject;
File
dbGeoData.h
Description
This object identifies the geographical space a design is located in. It also provides all the information necessary to accurately map a design coordinate system to a location on earth (a latitude-longitude based system). Furthermore this object provides a simple transformation to support efforts like Google Earth and geo-tagging and enough information to initialize geo-spatial applications for accurate coordinate system transformation and place a design on the earth, relative to each other.
The minimum requirements for a valid object are:
- Type of design coordinates.
- Design point.
- Reference point.
- A "design coordinate to geodetic coordinate" mesh with at least one point.
For many applications, this minimum level of georeferencing is adequate. Positioning a house within Google Earth, for example. To the degree that additional information is provided, more precise and comprehensive transformation results become available.
Note that if the design coordinate type is coordTypGrid, most all properties related to local coordinates are unused. Nevertheless, appropriate default values are specified.
Use of scale factors for units specifications are required as the number of linear units used in mapping applications exceeds by a substantial amount the number of units supported by the AcDb::UnitsValue enumeration. Also, occasionally it is necessary to support units which have not been encountered previously.
Finally, under normal circumstances, this object is created by the original application. That is the application which actually posts this object to the database. Consuming applications should consider this object to be a constant. The design, however, does not require that.