[GRASS-dev] Re: [GRASS GIS] #1452: wx location wizard doesn't ask
for datum
transform options because proj4 4.7.1's epsg file is broken (was:
wingrass wx location wizard doesn't ask for datum transform options)
GRASS GIS
trac at osgeo.org
Tue Sep 20 23:51:35 EDT 2011
#1452: wx location wizard doesn't ask for datum transform options because proj4
4.7.1's epsg file is broken
-------------------------------------------+--------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 6.4.2
Component: Projections/Datums | Version: svn-releasebranch64
Keywords: wingrass, location wizard, wx | Platform: MSWindows XP
Cpu: x86-32 |
-------------------------------------------+--------------------------------
Comment(by hamish):
* It seems that upstream epsg file is broken. (!)
on Wingrass 6.4svn nightly build:
in the projection wizard, proj=ll datum=nad27 does give the datum
transform table menu
in the projection wizard, proj=ll datum=nad83 does '''not''' give the
datum transfotm menu.
for one NAD83 datum found in the epsg file:
{{{
g.proj epsg=4152 datumtransform=-1
}}}
gives this error:
{{{
WARNING: Datum <NAD83_High_Accuracy_Regional_Network> not recognised by
GRASS and no parameters found
}}}
however another datum=nad83 (epsg:4269) does show table.
?!
at this point I went poking around and noticed that the $PROJ_LIB/epsg
file on wingrass is '''missing''' a lot of datum= and instead had expanded
+towgs84= terms. If datum= had remained you might be able to work around
it, but that has not been preserved.
locally I have proj 4.7.0 installed: epsg file is ok.
wingrass ships proj 4.7.1: epsg file includes lots of +towgs84 terms that
are not part of the formal epsg definition! they've just been irreversibly
expanded on a random assumption.
crap.
fwiw proj 4.7.1 has not been formally released AFAIK (so why the @#$!!
heck is osgeo4w shipping it??)
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1452#comment:3>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list