[GRASS-dev] Re: [GRASS GIS] #1163: wx wms import tool error
GRASS GIS
trac at osgeo.org
Sun Sep 19 06:46:38 EDT 2010
#1163: wx wms import tool error
--------------------+-------------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.1
Component: wxGUI | Version: svn-develbranch6
Keywords: wms | Platform: MSWindows XP
Cpu: x86-64 |
--------------------+-------------------------------------------------------
Comment(by hellik):
Replying to [ticket:1163 hamish]:
> Hi,
>
> [latest 6.5.svn nightly binary, r43490]
>
> running the wx GUI File > Import raster > WMS import tool on WinGrass
pops up an error (see attached screenshot) and leaves this in the gis
manager output tab:
> {{{
> Traceback (most recent..last):
> File "C:\Program Files\GRASS-65-SVN\etc\wxpython\gui_modul
> es\ogc_services.py", line 184, in OnConnect
>
> key, value = line.split(':', 1)
> ValueError
> :
> need more than 1 value to unpack
> }}}
>
> ?
>
> thanks,
> Hamish
AFAICT wget seems to be missing in the nightly WinGrass-build-environment.
see from the command line:
{{{
GRASS 6.5> r.in.wms output=elevation_meters2
mapserver=http://wms.jpl.nasa.gov
/wms.cgi layers=us_ned styles=real -o
which: wget: unknown command
which: wget: unknown command
Calculating tiles
Requesting 1 tiles.
which: wget: unknown command
which: wget: unknown command
Downloading tiles
file: could not find any magic files!
Downloading data
All tiles downloaded successfully
file: could not find any magic files!
ERROR 4: Unable to open EPSG support file gcs.csv.
Try setting the GDAL_DATA environment variable to point to the
directory containing EPSG csv files.
ERROR 1: Translating source or target SRS failed:
EPSG:4326
FEHLER: Program: gdalwarp failure.
FEHLER: r.in.gdalwarp failed
}}}
as I remember correctly some time ago I've added wget to my WinGrass-
build-environment.
if I copy wget and its dependecies from my WinGrass-build-environment to
C:\Program Files\GRASS-65-SVN\extrabin I get following message:
{{{
GRASS 6.5> r.in.wms output=elevation_meters3
mapserver=http://wms.jpl.nasa.gov
/wms.cgi layers=us_ned styles=real -o
Calculating tiles
Requesting 1 tiles.
Downloading tiles
file: could not find any magic files!
Downloading data
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = c:/progra~1/wget/etc/wgetrc
2010-09-19 12:38:07 URL:http://wms.jpl.nasa.gov/wms.cgi [935395] ->
"C:/gisdata
/grassdata/wms_download/elevation_meters3__0.geotiff" [1]
All tiles downloaded successfully
file: could not find any magic files!
ERROR 4: Unable to open EPSG support file gcs.csv.
Try setting the GDAL_DATA environment variable to point to the
directory containing EPSG csv files.
ERROR 1: Translating source or target SRS failed:
EPSG:4326
FEHLER: Program: gdalwarp failure.
FEHLER: r.in.gdalwarp failed
}}}
and thats the same message like in my own WinGrass64-build.
Helmut
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1163#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list