proj for DEBIAN --------------- This is unusual, but let me provide some QuickStart on using this stuff. proj ~~~~ I use `proj' all the time to draw maps in various projections using graphing tools that cannot themselves handle fancy map projections by piping all my data (coastline, etc) through proj. For example, drawing Eastern Canada in Lambert Conformal Conic, I'd use: proj +proj=lcc +ellps=clrk66 +lat_o=48.5 +lon_0="-62.5" -m 1:111120 -f '%.5f' -t9 invproj +proj=lcc +ellps=clrk66 +lat_o=48.5 +lon_0="-62.5" -m 1:111120 -f '%.5f' -r : reverses the order of the expected input from longitude-latitude or x-y to latitude-longitude or y-x. -f : Format is a printf format string to control the form of the output values. -m : scale -t : specifies a character employed as the first character to denote a control line to be passed through without processing. This option applicable to ascii input only. (# is the default value). I use this to skip over the missing data parameter. I pass Lat&Lon data segment to proj like so: -65 49 -65.1 49.1 99 99 -66 49 -66 49.1 using 99 in this example to separate segments (missing data). After piping the above through proj, I get : $ proj +proj=lcc +lat_o=48.5 +lon_0="-62.5" -m 1:111120 +ellps=clrk66 -f '%.5f' l.tmp -1.66314 51.62596 -1.72676 51.72892 * * -2.32812 51.64792 -2.32423 51.74899 So, I might tell my graph-making package to use 99 as missing data parameter, and tell proj "-t9" (the first character of my missing value parameter) and get: $ proj +proj=lcc +lat_o=48.5 +lon_0="-62.5" -m 1:111120 -t9 ellps=clrk66 -f '%.5f' l.tmp -1.66314 51.62596 -1.72676 51.72892 99 99 -2.32812 51.64792 -2.32423 51.74899 geod ~~~~ geod is useful for calculating a latitude & longitude given another position, along with distance and bearing. The man page has a good example. It's also useful to calculate the distance and bearing between two locations. Let's verify that one nautical mile is (approx) equal to one minute in latitude (between 42 degN and 42 degN 1 minute): $ geod -I +ellps=clrk66 +units=kmi < Francesco P Lovergine Updated May 2009