Post

GeoCoordinate

Overview

GeoCoordinate builds geometry as a set of geographic 3D coordinates. These are transformed into a geocentric, curved-earth representation. GeoCoordinate is only used by IndexedFaceSet, IndexedLineSet, LineSet and PointSet. GeoCoordinate can contain a GeoOrigin node.

The GeoCoordinate node belongs to the Geospatial component and requires at least level 1, its default container field is coord. It is available from X3D version 3.0 or higher.

Hierarchy

1
2
3
4
+ X3DNode
  + X3DGeometricPropertyNode
    + X3DCoordinateNode
      + GeoCoordinate

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.

Hint

SFNode [ ] geoOrigin NULL [GeoOrigin] (deprecated)

Single contained GeoOrigin node that can specify a local coordinate frame for extended precision.

Hint

Warning

  • XML validation requires placement as first child node following contained metadata nodes (if any).

MFString [ ] geoSystem [ “GD”, “WE” ]

Identifies spatial reference frame: Geodetic (GD), Geocentric (GC), Universal Transverse Mercator (UTM). Supported values: “GD” “UTM” or “GC” followed by additional quoted string parameters as appropriate for the type.

Hints

Warning

  • Deprecated values are GDC (replaced by GD) and GCC (replaced by GC).

MFVec3d [in, out] point [ ] (-∞,∞)

point contains a set of actual 3D geographic coordinates, provided in geoSystem format can split strings if desired: “x1 y1 z1 x2 y2 z2” or “x1 y1 z1”, “x2 y2 z2”

Advice

Hint

Warning

  • Requires X3D profile='Full' or else include <component name='Geospatial' level='1'/>

See Also

This post is licensed under CC BY 4.0 by the author.