GeoData¶
The GEODATA entity is associated to the Modelspace object.
Subclass of |
|
DXF type |
|
Factory function |
|
Required DXF version |
R2010 ( |
See also
Warning
Do not instantiate object classes by yourself - always use the provided factory functions!
-
class
ezdxf.entities.GeoData¶ -
dxf.version¶ 1
R2009
2
R2010
-
dxf.coordinate_type¶ 0
unknown
1
local grid
2
projected grid
3
geographic (latitude/longitude)
-
dxf.block_record_handle¶ Handle of host BLOCK_RECORD table entry, in general the
Modelspace.Changed in version 0.10: renamed from
dxf.block_record
-
dxf.reference_point¶ Reference point in geo coordinates, valid only when coordinate type is local grid. The difference between dxf.design_point and dxf.reference_point defines the translation from WCS coordinates to geo-coordinates.
-
dxf.north_direction¶ North direction as 2D vector. Defines the rotation (about the dxf.design_point) to transform from WCS coordinates to geo-coordinates
-
dxf.horizontal_unit_scale¶ Horizontal unit scale, factor which converts horizontal design coordinates to meters by multiplication.
-
dxf.vertical_unit_scale¶ Vertical unit scale, factor which converts vertical design coordinates to meters by multiplication.
-
dxf.horizontal_units¶ Horizontal units (see
BlockRecord). Will be 0 (Unitless) if units specified by horizontal unit scale is not supported by AutoCAD enumeration.
-
dxf.vertical_units¶ Vertical units (see
BlockRecord). Will be 0 (Unitless) if units specified by vertical unit scale is not supported by AutoCAD enumeration.
-
dxf.up_direction¶ Up direction as 3D vector.
-
dxf.scale_estimation_method¶ 1
none
2
user specified scale factor
3
grid scale at reference point
4
prismoidal
-
dxf.sea_level_correction¶ Bool flag specifying whether to do sea level correction.
-
dxf.user_scale_factor¶
-
dxf.sea_level_elevation¶
-
dxf.coordinate_projection_radius¶
-
dxf.geo_rss_tag¶
-
dxf.observation_from_tag¶
-
dxf.observation_to_tag¶
-
dxf.mesh_faces_count¶
-
source_vertices¶ 2D source vertices in the CRS of the GeoData as
VertexArray. Used together with target_vertices to define the transformation from the CRS of the GeoData to WGS84.
-
target_vertices¶ 2D target vertices in WGS84 (EPSG:4326) as
VertexArray. Used together with source_vertices to define the transformation from the CRS of the geoData to WGS84.
-
faces¶ List of face definition tuples, each face entry is a 3-tuple of vertex indices (0-based).
-
coordinate_system_definition¶ The coordinate system definition string. Stored as XML. Defines the CRS used by the GeoData. The EPSG number and other details like the axis-ordering of the CRS is stored.
-