2 .TH projection n 1.0 Fgis "user Tcl commands"
5 projection \- Create and manipulate projection objects
8 \fB projection \fItype\fR ?\fIparameters\fR?
15 This command creates projection object, used to recalculate geographic
16 coordinates (latitude and longitude) into map projection coodrinates.
18 \fBprojection\fR command takes list of options and
19 returns name of newly created projection object.
20 Name of object can be used as Tcl command which have several subcommands
21 (see \fBPROJECTION SUBCOMMANDS\fR below) used for manipulation
26 Most important property of projection is projection type. fGIS supports
27 following types of projections:
29 \" list should be here
31 .SH PROJECTION OPTIONS
33 \" list should be here
35 .SH PROJECTION SUBCOMMANDS
37 \fIprojName \fBforward\fI long lat\fR
38 recieves two arguments - geographic longitude and latitude as degrees in
39 decimal format and returs list of two double values representing map
40 coordinates in meters.
43 \fIprojName \fBbackward\fI X Y \fR
44 performs backword transformation - given map coordinates in meters
45 returns longitude and latitude in decimal degrees,
47 \fIprojName \fBformat\fI X Y\fR ?\fB-format\fI formatString\fR
48 Returns formatted representation of latitude and longitude. String
49 can contain following escapes sequences:
53 unsigned latitude in DDMMSS format
56 unsigned longitude in DDMMSS format
59 optionally signed latitude and longitude in DDMMSS format
62 explicitely signed latitude and longitude in DDMMSS format
64 \fB%lG %lT %-G %-T %+G %+T\fR
65 same as above, but in decimal fractions of degree
68 direction indicator - letters N and S for latitude and E and W for
69 longitude (or some other national language values as defined in fgis.rc
72 If \fIformatString\fR omitted, default "%lt%dt %lg%dg" is used.
74 \fIprojName\fB dump\fR
75 returns argumets for projection command used to create this projection
78 \fIprojName\fB delete\fR
79 destroys projection object.
83 .BR proj "(1), " pj_init "(3), " transform (1)