Point - ObjectVision/GeoDMS GitHub Wiki

The next topics on this page describe the point data item. The functions are described on the point_xy and point_yx pages.

In the GeoDMS point data items are used for:

vector data

The feature attribute of point vector data always refers to one coordinate for each element in the domain unit.

Vector point data is often read from an ESRI Shapefile or Geopackage. X and Y attributes can also easily be read as numeric attributes from a data source and combined with point_xy to a feature attribute, as in the next example.

unit<uint32> residence
:  StorageName = "=System/DbName"
,  SqlString   = "SELECT * FROM Residences ORDER BY id"
{
   attribute<coord_rd> x;
   attribute<coord_rd> y;
   attribute<point_rd> geometry := point_xy(x, y, point_rd);
}

The x and y attributes are read from the data source with as values unit coord_rd. The geometry data item combines both x and y coordinate with point_xy to create a two dimensional data item of coordinates. The values unit of this geometry attribute is point_rd, defining the coordinate system.

Subitems of the location item can be configured to define multiple visualisation styles.

grid data

As the nature of grid data is two-dimensional, the identification of a grid cell in a Grid Domain is also two-dimensional.

see also

⚠️ **GitHub.com Fallback** ⚠️