-
Notifications
You must be signed in to change notification settings - Fork 1
GetProjectionOffset
mtbeek32 edited this page Jan 24, 2023
·
5 revisions
Unit functions GetProjectionOffset
- GetProjectionOffset(gridunit)
GetProjectionOffset(gridunit) results in a parameter with a dpoint value type, indicating the coordinate of the top left grid cell in the coordinate system.
The GetProjectionOffset function, in combination with GetProjectionFactor was used to calculate grid relations for a point vector domain.
Since GeoDMS version 7.015 this is done with the value function, see Configuration examples Grid.
- 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 := GetProjectionOffset(rdc_100);
result: projOffSet = [(625000.0, 10000.0)].
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.