-
Notifications
You must be signed in to change notification settings - Fork 1
SpatialReference
The SpatialReference property is used to configure a coordinate unit.
By configuring this property, the GeoDMS becomes aware of the coordinate system and how to interpret the values. With GDAL it is easy to convert coordinates between coordinate systems.
In a GeoDMS Map view only coordinates of one coordinate system can be combined. If an EPSG code is configured, it is shown in the title of the Map View in which these coordinates are used.
Since GeoDMS 20.17.0 the TreeView marks every unit that is in a coordinate reference system with a compass badge next to its name, whether the unit declares the SpatialReference itself or inherits it through its projection; hovering the item shows the CRS.
Until 8.7.0 the format property was used instead of SpatialReference.
The following example shows how to configure the Dutch coordinate system (Rijksdriehoekmeting):
unit<float32> m := baseunit('m', float32);
unit<fpoint> point_rd_base: SpatialReference = "EPSG:28992";
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.