~ubuntu-branches/ubuntu/precise/proj/precise

« back to all changes in this revision

Viewing changes to debian/README.debian

  • Committer: Bazaar Package Importer
  • Author(s): Peter S Galbraith
  • Date: 2005-11-21 20:36:24 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051121203624-ik6815z4u2b33pu9
Tags: 4.4.9d-2
Bug fix: "proj(GNU/k*BSD): FTBFS: out of date
config.sub/config.guess", thanks to Aurelien Jarno (Closes: #340013).
I copied the files from the autotools-dev package and asked upstream
to update the files as well.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
 
81
81
nad2nad and cs2cs:
82
82
~~~~~~~~~~~~~~~~~
83
 
 
84
 
The package includes the `nad2nad' and `cs2cs' binaries but not their
85
 
required input data (available separately).  These are very specialized
86
 
tools (in comparison to projection conversion to draw maps) for which the
87
 
data are available here only for the U.S. and Canada and it would add 2MB
88
 
to each binary package.
 
83
The Debian proj package includes built-in datum conversion.  (It was
 
84
compiled with proj-datumgrid-1.3.zip unpacked in the nad source directory.)
89
85
 
90
86
nad2nad is a filter to convert data between North America Datum 1927
91
87
(NAD27) and North American Datum 1983.  nad2nad can optionally process both
96
92
coordinate system transformation can include translation between projected
97
93
and geographic coordinates as well as the application of datum shifts.
98
94
 
99
 
The programs needs arch-dependent conversion data files in the directory
100
 
/usr/share/proj/.  To produce them, get the file
101
 
 
102
 
 ftp://ftp.remotesensing.org/pub/proj/proj-nad27-1.1.tar.gz
103
 
 
104
 
and run nad2bin on all the .lla files to create the binary files:
105
 
 
106
 
 nad2bin < conus.lla    /usr/share/proj/conus
107
 
 nad2bin < FL.lla       /usr/share/proj/FL      
108
 
 nad2bin < MD.lla       /usr/share/proj/MD      
109
 
 nad2bin < TN.lla       /usr/share/proj/TN      
110
 
 nad2bin < WI.lla       /usr/share/proj/WI      
111
 
 nad2bin < WO.lla       /usr/share/proj/WO      
112
 
 nad2bin < alaska.lla   /usr/share/proj/alaska  
113
 
 nad2bin < conus.lla    /usr/share/proj/conus   
114
 
 nad2bin < hawaii.lla   /usr/share/proj/hawaii  
115
 
 nad2bin < prvi.lla     /usr/share/proj/prvi    
116
 
 nad2bin < stgeorge.lla /usr/share/proj/stgeorge
117
 
 nad2bin < stlrnc.lla   /usr/share/proj/stlrnc  
118
 
 nad2bin < stpaul.lla   /usr/share/proj/stpaul   
119
 
 cp ntv1_can.dat        /usr/share/proj/
120
 
 
121
95
Test nad2nad with the following example:
122
96
 
123
97
$ nad2nad -i 83 -o 27 -r conus << EOF