[GRASS-user] g.proj fails on winGRASS trunk with AIG/Arc/Info Binary Grid input
Markus Metz
markus.metz.giswork at gmail.com
Mon Jun 11 12:36:52 PDT 2018
[ creating a new thread because this is a different issue ]
On Mon, Jun 11, 2018 at 7:47 PM, Helmut Kudrnovsky <hellik at web.de> wrote:
>
> >strange, works for me on Linux.
> >
> >can you provide the winGRASS 7.5 output of
> >g.proj georef=D:\temp\rich\Bare_Earth\bh45122c3\hdr.adf -p
> >and
> >g.proj georef=D:\temp\rich\Bare_Earth\bh45122c3 -p
>
> ------------------------------------------------
> System Info
> GRASS version: 7.4.0
> GRASS SVN revision: r72154
> Build date: 2018-01-27
> Build platform: x86_64-w64-mingw32
> GDAL: 2.2.3
> PROJ.4: 4.9.3
> GEOS: 3.5.0
> SQLite: 3.17.0
> Python: 2.7.5
> wxPython: 2.8.12.1
> Platform: Windows-8-6.2.9200 (OSGeo4W)
>
> g.proj -p georef=D:\temp\rich\bareearth\Bare_Earth\bh45122c3
> -PROJ_INFO-------------------------------------------------
> name : unnamed
> ellps : grs80
> proj : lcc
> lat_1 : 43
> lat_2 : 45.5
> lat_0 : 41.75
> lon_0 : -120.5
> x_0 : 399999.9999999999
> y_0 : 0
> no_defs : defined
> -PROJ_UNITS------------------------------------------------
> unit : user-defined
> units : user-defineds
> meters : 0.3048
> Trying to open with OGR...
> Trying to open with GDAL...
> ...succeeded.
> WARNING: Datum <Not_specified_based_on_GRS_1980_ellipsoid> not recognised
by
> GRASS and no parameters found
>
> ----------------
>
> g.proj -p georef=D:\temp\rich\bareearth\Bare_Earth\bh45122c3\hdr.adf
> Trying to open with OGR...
> Trying to open with GDAL...
> ...succeeded.
> WARNING: Datum <Not_specified_based_on_GRS_1980_ellipsoid> not recognised
by
> GRASS and no parameters found
> -PROJ_INFO-------------------------------------------------
> name : unnamed
> ellps : grs80
> proj : lcc
> lat_1 : 43
> lat_2 : 45.5
> lat_0 : 41.75
> lon_0 : -120.5
> x_0 : 399999.9999999999
> y_0 : 0
> no_defs : defined
> -PROJ_UNITS------------------------------------------------
> unit : user-defined
> units : user-defineds
> meters : 0.3048
> ------------------------------------------------
>
> GRASS version: 7.5.svn
> GRASS SVN revision: r72772
> Build date: 2018-06-06
> Build platform: x86_64-w64-mingw32
> GDAL: 2.2.3
> PROJ.4: 4.9.3
> GEOS: 3.5.0
> SQLite: 3.17.0
> Python: 2.7.5
> wxPython: 2.8.12.1
> Platform: Windows-8-6.2.9200 (OSGeo4W)
>
> ----------------
>
> g.proj -p georef=D:\temp\rich\bareearth\Bare_Earth\bh45122c3
> (Mon Jun 11 19:39:41 2018) Command finished (2 sec)
>
> ----------------
>
> g.proj -p georef=D:\temp\rich\bareearth\Bare_Earth\bh45122c3\hdr.adf
> (Mon Jun 11 19:40:49 2018) Command finished (4 sec)
>
No information: can you please try this on the true CLI?
> ----------------
>
> now DEBUG=3 in 7.5.svn
>
> ----------------
>
> g.proj -p georef=D:\temp\rich\bareearth\Bare_Earth\bh45122c3\hdr.adf
> D1/3: G_set_program_name(): g.proj
> D1/3: Trying to open
> <D:\temp\rich\bareearth\Bare_Earth\bh45122c3\hdr.adf> with
> OGR...
> D1/3: Trying to open with GDAL...
> D1/3: ...succeeded.
> D3/3: DatumNameMassage: Raw string found
> <Not_specified_based_on_GRS_1980_ellipsoid>
> D3/3: DatumNameMassage: Search for datum equivalences of
> <Not_specified_based_on_GRS_1980_ellipsoid>
> D3/3: GPJ_osr_to_grass: pszDatumNameConst:
> <Not_specified_based_on_GRS_1980_ellipsoid>
> (Mon Jun 11 19:42:53 2018) Command finished (4 sec)
>
> ----------------
>
> g.proj -p georef=D:\temp\rich\bareearth\Bare_Earth\bh45122c3
> D1/3: G_set_program_name(): g.proj
> D1/3: Trying to open
> <D:\temp\rich\bareearth\Bare_Earth\bh45122c3> with OGR...
> D1/3: Trying to open with GDAL...
> D1/3: ...succeeded.
> D3/3: DatumNameMassage: Raw string found
> <Not_specified_based_on_GRS_1980_ellipsoid>
> D3/3: DatumNameMassage: Search for datum equivalences of
> <Not_specified_based_on_GRS_1980_ellipsoid>
> D3/3: GPJ_osr_to_grass: pszDatumNameConst:
> <Not_specified_based_on_GRS_1980_ellipsoid>
>
> ----------------
>
> not much information.
Indeed not. It seems like the process dies somewhere in GPJ_osr_to_grass(),
but only in winGRASS. This is probably worth a new ticket.
Markus M
>
>
>
> -----
> best regards
> Helmut
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20180611/1cb6a2ab/attachment.html>
More information about the grass-user
mailing list