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 = "[{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.