GetProjectionBase
Unit functions GetProjectionBase
syntax
- GetProjectionBase(gridunit)
definition
GetProjectionBase(gridunit) results in a reference for the gridunit towards the Unit used for the coordinate system (e.g. meters for RD and degrees for LatLong).
applies to
- unit gridunit with Point Value type of the group CanBeDomainUnit
since version
5.44
example
unit<fpoint> rdc_meter: range = "[xy(0; 300000), xy(280000; 625000))";
unit<spoint> rdc_100 :=
range(
gridset(
rdc_meter
,point( -100f, 100f, rdc_meter)
,point(625000f, 10000f, rdc_meter)
,spoint
)
,point( 0s, 0s)
,point(3250s, 2700s)
);
unit<fpoint> projBase := GetProjectionBase(rdc_100);
result: The projBase unit will refer to the rdc_meter unit.