[GRASS-dev] [GRASS GIS] #1872: r.in.wms doesn't work on Windows

#1872: r.in.wms doesn't work on Windows
-------------------------+--------------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Raster | Version: unspecified
Keywords: r.in.wms | Platform: MSWindows 2K
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Using latest WinGRASS 7 (OSGeo4w) r.in.wms refuse to work.

{{{
r.in.wms url=http://irs.gis-lab.info layers=osm output=osm format=png
ERROR: Unable to determine region, m.proj failed
}}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1872&gt;
GRASS GIS <http://grass.osgeo.org>

#1872: r.in.wms doesn't work on Windows
-------------------------+--------------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: r.in.wms | Platform: MSWindows 2K
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by martinl):

  * version: unspecified => svn-trunk

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1872#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1872: r.in.wms doesn't work on Windows
-------------------------+--------------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: r.in.wms | Platform: MSWindows 2K
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by neteler):

Is this still the case (I also wonder why a single WMS module can have a
"critical" level)?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1872#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1872: r.in.wms doesn't work on Windows
-------------------------+--------------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: r.in.wms | Platform: MSWindows 2K
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by hamish):

it is worth re-testing since the script called from within another script
winggrass bug was recently fixed. that was for .bat wrappers in grass6
though, so may not apply to trunk.

also for locations using a grid file for the datum transform note the bug
that there is no way to pass the path to a NTv2 grid filename to cs2cs if
the path has a space in it, which can cause m.proj to fail. we should
probably submit a quoting patch to proj4 to get that eventually fixed.

... and a reminder that r.in.wms2.py does not run from grass6 addons,
still needs more porting work done on it.

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1872#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1872: r.in.wms doesn't work on Windows
-------------------------+--------------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: r.in.wms | Platform: MSWindows 2K
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by mlennert):

  * priority: critical => major

Comment:

Replying to [comment:2 neteler]:
> Is this still the case (I also wonder why a single WMS module can have a
"critical" level)?

I agree. Downgrading to major.

Moritz

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1872#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#1872: r.in.wms doesn't work on Windows
-------------------------+--------------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: r.in.wms | Platform: MSWindows 2K
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by mlennert):

Is this bug still an issue ?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1872#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#1872: r.in.wms doesn't work on Windows
-------------------------+--------------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: r.in.wms | Platform: MSWindows 2K
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by hamish):

I have not tested script-within-a-script in WinGrass7 or r.in.wms.py there
to see if m.proj is working with/without a NTv2 grid file, but afaik
issues as discussed in comment:3 remain.

regards,
Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1872#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>

#1872: r.in.wms doesn't work on Windows
-------------------------+--------------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: r.in.wms | Platform: MSWindows 2K
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by wenzeslaus):

In order to keep this ticket focused:

Note that ''script-within-a-scrip'' for standalone WinGRASS trunk is
subject of #2150 but a workaround is now applied. If this was the cause,
`r.in.wms` should work now.

Note also that whether ''`m.proj` is working with/without a NTv2 grid
file'' can test only somebody who understands what it is (e.g. I cannot
not). Is this MS Windows specific as this ticket is? Is this what the
message suggests? Perhaps the message should be changed to give more
details.

For GRASS 6, there is a separate ticket for `r.in.wms2`, #2010 and ticket
#820 for `r.in.wms`.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1872#comment:7&gt;
GRASS GIS <http://grass.osgeo.org>

#1872: r.in.wms doesn't work on Windows
-------------------------+--------------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Keywords: r.in.wms | Platform: MSWindows 2K
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by turek):

r59335 should fix it.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1872#comment:8&gt;
GRASS GIS <http://grass.osgeo.org>

#1872: r.in.wms doesn't work on Windows
---------------------------+------------------------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: major | Milestone: 7.0.0
Component: Raster | Version: svn-trunk
Resolution: fixed | Keywords: r.in.wms
  Platform: MSWindows 2K | Cpu: Unspecified
---------------------------+------------------------------------------------
Changes (by martinl):

  * status: new => closed
  * resolution: => fixed

Comment:

Replying to [comment:8 turek]:
> r59335 should fix it.

confirmed, in r59352 I fixed also remaining bug related to debug messages.
Thanks, closing the ticket.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1872#comment:9&gt;
GRASS GIS <http://grass.osgeo.org>