Grid 2 Point

Configuration examples Grid 2 Point

description

The Value function (see example) converts the Index numbers of a Grid Domain to world coordinates.

since version

7.015

example

// coordinate system 
unit<fpoint> rdc_base : SpatialReference = "EPSG:28992";
unit<fpoint> rdc      := range(rdc_base, point_yx(300000f,0f), point_yx(625000f,280000f));

// configuration of grid domain, related to the rdc
unit<spoint> griddomain := range(
      gridset(rdc, point_yx(-100f, 100f, rdc), point_yx(625000f, 10000f, rdc) ,spoint)
     ,point_yx(   0s,    0s)
     ,point_yx(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 last line the actual conversion to world coordinates is configured.