GetProjectionBase - ObjectVision/GeoDMS GitHub Wiki
Unit functions GetProjectionBase
- GetProjectionBase(gridunit)
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).
- unit gridunit with Point value type of the group CanBeDomainUnit
5.44
unit<fpoint> rdc_meter: range = "[{300000, 0}, {625000, 280000})";
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.