#9295: Better error handling and/or error reporting when Proj.4 datum shifting
files are not found
----------------------------------+-----------------------------------------
          Reporter:  springmeyer  |         Owner:  jbronn                      
                                            
            Status:  new          |     Milestone:                              
                                            
         Component:  GIS          |       Version:  1.0                         
                                            
        Resolution:               |      Keywords:  proj4, datum shifing, 
geodjango-basic-apps, postgis, 900913, projections
             Stage:  Accepted     |     Has_patch:  0                           
                                            
        Needs_docs:  0            |   Needs_tests:  0                           
                                            
Needs_better_patch:  0            |  
----------------------------------+-----------------------------------------
Comment (by springmeyer):

 A reference for folks working around this error, here is a workaround for
 the lack of packaging of the datum files that maintains to use of debian
 packages:

 Thanks rcoup!

 {{{
 # note the lack of a complete set of proj files...
 $ ls /usr/share/proj/
 epsg  esri.extra  nad27  nad.lst      proj_def.dat
 esri  GL27        nad83  other.extra  world

 # re build the proj pkg after manually download the data files..
 apt-get install fakeroot build-essential debhelper
 cd ~/src
 apt-get source proj
 wget http://download.osgeo.org/proj/proj-datumgrid-1.4.tar.gz
 cd proj-4.6.0/nad/
 tar xzf ../../proj-datumgrid-1.4.tar.gz
 cd ../
 dpkg-buildpackage -rfakeroot -b
 cd ../
 dpkg -i proj_4.6.0-2_i386.deb

 $ ls /usr/share/proj/
 alaska  epsg  esri.extra  GL27    MD     nad83    ntf_r93.gsb   null
 other.extra   prvi      stlrnc  TN  WO
 conus   esri  FL          hawaii  nad27  nad.lst  ntv1_can.dat
 nzgd2kgrid0005.gsb  proj_def.dat  stgeorge  stpaul  WI  world
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9295#comment:7>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to