Opened 8 years ago

Last modified 21 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


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).


Change History (6)

comment:1 Changed 5 years ago by neteler

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 5 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
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
epsg       : 5514
unit       : meter
units      : meters
meters     : 1

comment:3 Changed 5 years ago by martinl


comment:4 Changed 4 years ago by neteler


comment:5 Changed 3 years ago by neteler


comment:6 Changed 21 months ago by martinl

Note: See TracTickets for help on using tickets.