[GRASS-dev] [GRASS GIS] #1849: Cannot create a new GRASS Location using a custom proj4 string
GRASS GIS
trac at osgeo.org
Sun Apr 14 22:24:37 PDT 2013
#1849: Cannot create a new GRASS Location using a custom proj4 string
-------------------------------------------+--------------------------------
Reporter: voncasec | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 6.4.3
Component: Projections/Datums | Version: unspecified
Keywords: proj4, location wizard, wxgui | Platform: Linux
Cpu: x86-64 |
-------------------------------------------+--------------------------------
Comment(by hamish):
some debug:
{{{
# ok datum name, mult options:
G:g.proj > g.proj proj4='+proj=utm +zone=10 +datum=nad83' datumtrans=-1
..force=0
D0/0: set_datumtrans(): GPJ__get_datum_params() status=1
---
1
Used in whole nad83 region
towgs84=0.000,0.000,0.000
Default 3-Parameter Transformation (May not be optimum for older datums;
use this only if no more appropriate options are available.)
---
2
Used in Florida
[...]
(ok)
# bogus datum name:
G:g.proj > g.proj proj4='+proj=utm +zone=10 +datum=nad839999'
datumtrans=-1
WARNING: Datum <unknown> not recognised by GRASS and no parameters found
..force=0
D0/0: set_datumtrans(): GPJ__get_datum_params() status=-1
D0/0: set_datumtrans(): Datum name either invalid or not supplied.
ERROR: No output format specified, define one of flags -p, -g, -j, or -w
(doesn't quit when it should)
# ok datum name, single option:
G:g.proj > g.proj proj4='+proj=utm +zone=10 +datum=wgs84' datumtrans=-1
..force=0
D0/0: set_datumtrans(): GPJ__get_datum_params() status=1
ERROR: No output format specified, define one of flags -p, -g, -j, or -w
# same as above w/ -t
G:g.proj > g.proj proj4='+proj=utm +zone=10 +datum=wgs84' datumtrans=-1 -t
..force=1
D0/0: set_datumtrans(): GPJ__get_datum_params() status=1
---
1
Used in whole wgs84 region
towgs84=0.000,0.000,0.000
Default 3-Parameter Transformation (May not be optimum for older datums;
use this only if no more appropriate options are available.)
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1849#comment:3>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list