[GRASS-dev] r.unpack: unhelpful error message when projection info does not match

Markus Neteler neteler at osgeo.org
Wed Oct 9 23:09:16 PDT 2013


Dear Anna,

thank you, a lot of work for you!

Here my test case result (certainly a bit extreme but illustrating the case):

GRASS 7.0.svn (europe_laea):~ > r.unpack landcover_1m.pack
WARNING: Difference between PROJ_INFO file of packed map and of current
         location:
         - name: Lambert Conformal Conic
         + name: Lambert Azimuthal Equal Area
         - proj: lcc
         ? ^^
         + proj: laea
         ? ^^^
         + datum: etrs89
         + ellps: grs80
         - datum: nad83
         - a: 6378137.0
         - es: 0.006694380022900787
         - lat_1: 36.16666666666666
         - lat_2: 34.33333333333334
         - lat_0: 33.75
         ? ----
         + lat_0: 52
         ? +
         - lon_0: -79
         ? ^^^
         + lon_0: 10
         ? ^^
         - x_0: 609601.22
         - y_0: 0
         + x_0: 4321000
         + y_0: 3210000
         no_defs: defined
WARNING: Difference between PROJ_UNITS file of packed map and of current
         location:
         - unit: Meter
         ? ^ -
         + unit: metre
         ? ^ +
         - units: Meters
         ? ^ -
         + units: metres
         ? ^ +
         meters: 1
ERROR: Projection information does not match. Aborting.

For other users: Anna improved v.unpack likewise.

thanks again,
Markus


More information about the grass-dev mailing list