> Overview

For coordinate calculations GCW Script supports all functions from GC Wizard.

Therefore GCW SCript has implemented

  • CONVERTFROM – convert a given format to LAT/LON
  • CONVERTTO – convert LAT/LON to a given format
  • DECTODMM – convert a given decimal number into DEGREE° MINUTE.MILLIMINUTE’
  • DECTODMS – convert a given decimal number into DEGREE° MINUTE’ SECOND”
  • DMMTODEC – convert a DEGREE° MINUTE.MILLIMINUTE’ coordinate into a decimal number
  • DMMTODMS – convert a DEGREE° MINUTE.MILLIMINUTE’ coordinate into DEGREE° MINUTE’ SECOND”
  • DMSTODEC – convert a DEGREE° MINUTE’ SECOND” coordinate into a decimal number
  • DMSTODMM – convert a DEGREE° MINUTE’ SECOND” coordinate into DEGREE° MINUTE.MILLIMINUTE’
  • WGS84 – return a string with pattern N DD° MM,MMM E DD° MM,MMM from LAT/LON
  • GETLAT – read from the register LAT
  • GETLON – read from the register LON
  • SETLAT – write into the register LAT
  • SETLON – write into the register LON
  • DISTANCE – calculate the distance between two points
  • BEARING – calculate the bearing between two points
  • PROJECTION – calculate the projection of a point with bearing and distance
  • CENTERTHREEPOINTS – calculate the centroid of two points
  • CENTERTWOPOINTS – calculate the centroid of two points