-
Notifications
You must be signed in to change notification settings - Fork 1
Grid 2 Point
Jip Claassens edited this page Oct 9, 2025
·
3 revisions
Configuration examples Grid 2 Point
Since GeoDMS 7.015 a value function (example) can be used to convert the index numbers of a grid domain to world coordinates.
// coordinate system
unit<fpoint> rdc_base : format = "EPSG:28992",
unit<fpoint> rdc := range(rdc_base, point(300000f,0f), point(625000f,280000f));
// configuration of grid domain, related to the rdc
unit<spoint> griddomain := range(
gridset(rdc, point(-100f, 100f, rdc), point(625000f, 10000f, rdc) ,'spoint')
,point( 0s, 0s)
,point(3250s, 2700s)
);
attribute<rdc> point_7015_and_later_rel (griddomain) := id(griddomain)[rdc];
A grid domain is configured, with rdc as coordinate unit. In the bold line the actual conversion to world coordinates is configured.
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.