Opened 10 years ago

Last modified 5 years ago

#1252 new defect

wx location wizard fails to create a winkel tripel location

Reported by: hamish Owned by: grass-dev@…
Priority: normal Milestone: 6.4.6
Component: wxGUI Version: svn-develbranch6
Keywords: location wizard, wintri Cc:
CPU: x86-32 Platform: Linux


hi, if I try to make a winkel tripel location from the wx location wizard it ends with an error that it can't parse the PROJ.4 string and the [Finish] button never ungreys itself.

  • choose by custom terms
  • proj: wintri
  • lon_0: 155E
  • datum: wgs84
  • summary page: Error..

It all works fine in text mode; 'wintri' is the last entry from 'proj -lp', so it's not some deep & ancient custom GRASS thing PROJ.4 doesn't know anything about.

thanks, Hamish

ps- in future release announcements we should continue to advertise how great the new loc wiz is. One of the common complaints from old triers of GRASS who were used to anything-goes-projection GISs was getting past+understanding the project (location) setup. now it's a thing of beauty..

Change History (4)

comment:1 Changed 9 years ago by hamish


still happens.

comment:2 Changed 8 years ago by hamish

Keywords: wintri added

tested with latest 6.4svn. still happens.

"ERROR: Can't parse PROJ.4-style parameter string"

adding a debug message to g.proj's input.c (where the above error msg comes from), the problematic string it is trying is:

+proj=wintri +lat_0=0.0 +lat_1=10.0 +lon_0=155 +ellps=wgs84 +a=6378137.000 \
  +rf=298.257223563 +no_defs +no_defs

(+no_defs twice?)

from within a functioning Wintri location created using the text based location creator (the daily earthquake map in adhoc), g.proj -j gives:


which isn't happy with cs2cs either.

note +proj=wintri has no inverse projection.

?, Hamish

comment:3 Changed 8 years ago by hamish

the cs2cs version of this is:

$ echo "156 1" | cs2cs +proj=longlat +datum=WGS84 +to \
  +proj=wintri +lat_0=0.0 +lat_1=10.0 +lon_0=155 +datum=WGS84 +no_defs

110468.24	111320.20 0.00

there is a chance that it wants to see +ellps=WGS84 instead of +ellps=wgs84?

no luck:

GRASS65> g.proj -c proj4='+proj=wintri +lat_0=0.0 +lat_1=10.0 +lon_0=155 \
   +ellps=WGS84 +a=6378137.000 +rf=298.257223563' loc=test_wintri
ERROR: Can't parse PROJ.4-style parameter string

?, Hamish

comment:4 Changed 5 years ago by neteler

Note: See TracTickets for help on using tickets.