Content-type: text/html Manpage of GEO2POL

GEO2POL

Section: User Commands (1)
Updated: Local
Index Return to Main Contents
 

NAME

geo2pol - Geographical to polar (distance, azimuth) coordinates, direct and inverse tranformation.  

ORIGIN

IGM - CNR Via Gobetti 101, Bologna (ITALY)  

SYNOPSIS

geo2pol [ -E ellipsoid ] [ -C format ] [ -I ]
         

AVAILABILITY

This is geo2pol, part of IGM-CNR Cartographic Software. The source code of this program together with information on how to install it is available from IGM-CNR.  

DESCRIPTION

geo2pol is a program for:

- Conversion of geographical to polar (distance, azimuth) coordinates (direct) or polar (latitude, longitude of point, distance, azimuth) to geographical;
- Running distance from start to end point.
It uses the formulae of Sodano (1965) to calculate geodetic distances and azimuths.

Program geo2pol expects on input pairs of geographical coordinates (latitude and longitude), separated by CR (direct) or, latitude, longitude of point, distance and azimuth to second point.

 

ARGUMENTS

None. Reads and write to standard input and output.

 

OPTIONS

Options may appear anywhere on the command line. No space between single option and codes. All options must be upper case.

-C
in/out

Selects the coordinate formats, where in and out are the coordinate formats separated by slash.

dms real number encoding degree_minute_seconds.decimals
dm real number encoding degree_minute.decimals
d real number whole degree.decimals

-E
code
wgs    WGS84 ellipsoid

-I
Inverse tranformation (polar to geographic)

 

DEFAULTS

 

EXAMPLES

geo2pol
-Cdms/dm -Ewgs <<EOF
 440000 120000
 450000 130000
 460000 140000
 EOF


 will give


  136651.8   35.2       0.0 440000 120000
  135874.1   34.8  136651.8 450000 130000
       0.0   34.8  272525.9 460000 140000

Distance and azimuth from point 1 to point 2, plus running distance if other points follow. Geographical latitude and longitude input data format is (realnumber encoded) degree_minute_seconds, azimuth in (realnumber encoded) degree_minute.

geo2pol -I -Cdm/d <<EOF
4400.15 1205.25 1000 30 EOF

will calculate geographical coordinates of point 2 from distance and azimuth from point 1.

geo2pol -Cdms/d <in_file >out_file

will provide azimuth and distances from pairs of records and running distance. Input from in_file, output to out_file.

 

DIAGNOSTICS

 

BUGS

 

AUTHORS

G. Bortoluzzi ( IGM CNR ).
M. Ligi ( IGM - CNR ).
phone (39)-51-639-8882
e-mail : g.bortoluzzi at ismar.bo.cnr.it,
         m.ligi at ismar.cnr.it

 

REFERENCES



Sodano (1965) - General non-iterative solution of the inverse and direct geodetic problems. Bulletin Geodesique.


 

Index

NAME
ORIGIN
SYNOPSIS
AVAILABILITY
DESCRIPTION
ARGUMENTS
OPTIONS
DEFAULTS
EXAMPLES
DIAGNOSTICS
BUGS
AUTHORS
REFERENCES

This document was created by man2html, using the manual pages.
Time: 15:06:03 GMT, December 16, 2007