1 <!-- manual page source format generated by PolyglotMan v3.0.4, -->
2 <!-- available via anonymous ftp from ftp.cs.berkeley.edu:/ucb/people/phelps/tcltk/rman.tar.Z -->
6 <TITLE>projection(n) manual page</TITLE>
9 <A HREF="#toc">Table of Contents</A><P>
12 projection \- Create and manipulate projection objects
16 \fB projection \fItype\fR ?\fIparameters\fR?<BR>
24 <H2><A NAME="sect0" HREF="#toc0">This command creates projection object, used to recalculate geographic</A></H2>
27 coordinates (latitude and longitude) into map projection coodrinates.
30 \fBprojection\fR command takes list of options and
31 returns name of newly created projection object.
33 <H2><A NAME="sect1" HREF="#toc1">Name of object can be used as Tcl command which have several subcommands</A></H2>
36 (see \fBPROJECTION SUBCOMMANDS\fR below) used for manipulation
41 <H2><A NAME="sect2" HREF="#toc2">Most important property of projection is projection type. fGIS supports</A></H2>
44 following types of projections:
46 \» list should be here
48 .SH PROJECTION OPTIONS
50 \» list should be here
52 .SH PROJECTION SUBCOMMANDS<BR>
56 \fIprojName \fBforward\fI long lat\fR<BR>
58 recieves two arguments - geographic longitude and latitude as degrees in
59 decimal format and returs list of two double values representing map
60 coordinates in meters.
64 \fIprojName \fBbackward\fI X Y \fR<BR>
66 performs backword transformation - given map coordinates in meters
67 returns longitude and latitude in decimal degrees,
70 \fIprojName \fBformat\fI X Y\fR ?\fB-format\fI formatString\fR
72 <H2><A NAME="sect3" HREF="#toc3">Returns formatted representation of latitude and longitude. String</A></H2>
75 can contain following escapes sequences:<BR>
83 unsigned latitude in DDMMSS format<BR>
89 unsigned longitude in DDMMSS format<BR>
93 \fB%-t\fR \fB%-g\fR<BR>
95 optionally signed latitude and longitude in DDMMSS format
98 \fB%+t\fR \fB%+g\fR<BR>
100 explicitely signed latitude and longitude in DDMMSS format
103 \fB%lG %lT %-G %-T %+G %+T\fR<BR>
105 same as above, but in decimal fractions of degree
110 direction indicator - letters N and S for latitude and E and W for
111 longitude (or some other national language values as defined in fgis.rc
117 <H2><A NAME="sect4" HREF="#toc4">If \fIformatString\fR omitted, default «%lt%dt %lg%dg» is used.</A></H2>
122 \fIprojName\fB dump\fR<BR>
124 returns argumets for projection command used to create this projection
129 \fIprojName\fB delete\fR<BR>
131 destroys projection object.
135 .BR proj «(1), « pj_init «(3), « transform (1)
139 <A NAME="toc"><B>Table of Contents</B></A><P>
141 <LI><A NAME="toc0" HREF="#sect0">This command creates projection object, used to recalculate geographic</A></LI>
142 <LI><A NAME="toc1" HREF="#sect1">Name of object can be used as Tcl command which have several subcommands</A></LI>
143 <LI><A NAME="toc2" HREF="#sect2">Most important property of projection is projection type. fGIS supports</A></LI>
144 <LI><A NAME="toc3" HREF="#sect3">Returns formatted representation of latitude and longitude. String</A></LI>
145 <LI><A NAME="toc4" HREF="#sect4">If \fIformatString\fR omitted, default "%lt%dt %lg%dg" is used.</A></LI>