Opened 12 years ago

Last modified 6 years ago

#1995 new defect

wxPy loc'n wiz: datum transform "0" do nothing still gets default terms set

Reported by: hamish Owned by: grass-dev@…
Priority: normal Milestone: 7.6.2
Component: Projections/Datums Version: svn-releasebranch70
Keywords: location wizard, g.proj Cc:
CPU: All Platform: All

Description

moved here from #1849 comments.

if you create a new location and specify a datum, but ask for datum transform opt "0" don't specify terms, it helpfully picks one for you without asking.

if you use +proj terms to define the location you do see the default terms in the loc'n wizard summary page, but not the final PROJ_INFO file (where it counts).

Hamish

Change History (6)

comment:1 by neteler, 9 years ago

Milestone: 6.4.47.0.4
Version: svn-trunksvn-releasebranch70

The current state is

g.proj --help
...
datum_trans   Index number of datum transform parameters
                 "0" for unspecified or "-1" to list and exit
...

comment:2 by martinl, 9 years ago

Right, the problem seems to be -j flag:

g.proj -jft epsg=5514 datum_trans=0
+proj=krovak +lat_0=49.5 +lon_0=24.83333333333333 +k=0.9999 +x_0=0 +y_0=0 +no_defs +a=6377397.155 +rf=299.1528128 +towgs84=589.000,76.000,480.000 +to_meter=1

Compared to:

g.proj -pft epsg=5514 datum_trans=0
-PROJ_INFO-------------------------------------------------
name       : S-JTSK / Krovak East North
datum      : S_JTSK
ellps      : bessel
proj       : krovak
lat_0      : 49.5
lon_0      : 24.83333333333333
alpha      : 30.28813972222222
k          : 0.9999
x_0        : 0
y_0        : 0
no_defs    : defined
-PROJ_EPSG-------------------------------------------------
epsg       : 5514
-PROJ_UNITS------------------------------------------------
unit       : meter
units      : meters
meters     : 1

comment:3 by martinl, 9 years ago

Milestone: 7.0.47.0.5

comment:4 by neteler, 8 years ago

Milestone: 7.0.57.0.6

comment:5 by neteler, 7 years ago

Milestone: 7.0.67.0.7

comment:6 by martinl, 6 years ago

Milestone: 7.0.77.6.2
Note: See TracTickets for help on using tickets.