Skip to content

GetProjectionFactor

cicada edited this page Dec 7, 2022 · 6 revisions

title: GetProjectionFactor permalink: /GetProjectionFactor/

Unit functions GetProjectionFactor

syntax

  • GetProjectionFactor(gridunit)

definition

GetProjectionFactor(gridunit) results in a parameter with a dpoint value type, indicating the gridsize in both X and Y directions.

The grid size is expressed in the unit of the coordinate system'''.

description

The GetProjectionFactor function in combination with the GetProjectionFactor function was used to calculate grid relations for a set of points.

Since GeoDMS version 7.015 this is done with the value function, see Configuration examples Grid

applies to

since version

5.44

example

unit rdc_meter: range = "[{300000, 0}, {625000, 280000})";  unit rdc_100 :=     range(       gridset(           rdc_meter          ,point(     -100f,     100f), rdc_meter)          ,point(625000f, 10000f), rdc_meter)          ,'spoint'       ), point(0s,0s), point((3250s, 2700s)    );

unit projBase := GetProjectionFactor(rdc_100);

result: projFactor = [(-100.0, 100.0)].

see also

Clone this wiki locally