Opened 7 years ago

Last modified 17 months 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 Changed 5 years ago by neteler

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 Changed 4 years ago by martinl

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 Changed 4 years ago by martinl

Milestone: 7.0.47.0.5

comment:4 Changed 4 years ago by neteler

Milestone: 7.0.57.0.6

comment:5 Changed 3 years ago by neteler

Milestone: 7.0.67.0.7

comment:6 Changed 17 months ago by martinl

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