[GRASS-dev] Re: [GRASS GIS] #631: Discrepancies between tcl/tk and wxpython PROJ_INFO files

GRASS GIS trac at osgeo.org
Sat Jan 23 19:25:49 EST 2010


#631: Discrepancies between tcl/tk and wxpython PROJ_INFO files
--------------------------+-------------------------------------------------
  Reporter:  voncasec     |       Owner:  grass-dev at lists.osgeo.org   
      Type:  defect       |      Status:  new                         
  Priority:  normal       |   Milestone:  6.4.0                       
 Component:  default      |     Version:  unspecified                 
Resolution:               |    Keywords:  Projections, wxpython, tcltk
  Platform:  Unspecified  |         Cpu:  Unspecified                 
--------------------------+-------------------------------------------------
Old description:

> I have been noticing some discrepancies in the PROJ_INFO files that are
> created using Grass6.4 RC4 between the projection values option in the
> tcltk interface and the location wizard option using the wxpython
> interface.
>
> For example, inputting the projection info:
>
> Coordinate System=UTM
> Datum=Nad27 - T04 (Transformation Parameters for Alaska)
> Ellipse: Clark66
> Zone=8
>
> I get the following PROJ_INFO files created.
>
> tcltk interface results:
>
> name: UTM
> datum: nad27
> nadgrids: alaska
> proj: utm
> ellps: clark66
> a: 6378206.4000000004
> es: 0.0067686580
> f: 294.9786982000
> zone: 8
>
> wxpython results:
>
> name: Universe Transverse Mercator
> proj: utm
> ellps: clark66
> zone: 8
> no_defs: defined
>
> The summary at the end of the wxpython location wizard method says the
> proj.4 definition is:
> +proj=utm, +zone=8, +a= 6378206.4000000004, +rf=294.9786982000, +dx=-22,
> +dy=157.0, +dz=176.0, +no_defs, +nadgrids=alaska
> but if I run g.proj -j -f, I get the following output (which matches the
> PROJ_INFO file):
> +proj=utm +no_defs +zone=8 +a=6378206.4 +rf=294.9786982 +to_meter=1

New description:

 I have been noticing some discrepancies in the PROJ_INFO files that are
 created using Grass6.4 RC4 between the projection values option in the
 tcltk interface and the location wizard option using the wxpython
 interface.

 For example, inputting the projection info:

 {{{
 Coordinate System=UTM
 Datum=Nad27 - T04 (Transformation Parameters for Alaska)
 Ellipse: Clark66
 Zone=8
 }}}

 I get the following PROJ_INFO files created.

 tcltk interface results:

 {{{
 name: UTM
 datum: nad27
 nadgrids: alaska
 proj: utm
 ellps: clark66
 a: 6378206.4000000004
 es: 0.0067686580
 f: 294.9786982000
 zone: 8
 }}}

 wxpython results:

 {{{
 name: Universe Transverse Mercator
 proj: utm
 ellps: clark66
 zone: 8
 no_defs: defined
 }}}

 The summary at the end of the wxpython location wizard method says the
 proj.4 definition is:

 {{{
 +proj=utm, +zone=8, +a= 6378206.4000000004, +rf=294.9786982000, +dx=-22,
 +dy=157.0, +dz=176.0, +no_defs, +nadgrids=alaska
 }}}

 but if I run g.proj -j -f, I get the following output (which matches the
 PROJ_INFO file):

 {{{
 +proj=utm +no_defs +zone=8 +a=6378206.4 +rf=294.9786982 +to_meter=1
 }}}

Comment (by neteler):

 (prettified original report)

 I just wonder if it is a problem what "nad27" isn't in the  wxpython
 PROJ_INFO file

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/631#comment:1>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list