Hamish
1
Richard Chirgwin wrote:
R.in.wms seems to be stumbling on parsing inputs
....
First, errors occur which it attributes to cs2cs:
<cs2cs>:
projection initialization failure
cause: no system list, errno: 2
program abnormally terminated
I have now updated r.tileset in SVN so it catches if cs2cs fails.
(for example if the epsg file can't be found, as suspected for above)
Hamish
I've never thought of this like a MacOS problem but maybe it is.
This does NOT work in grass:
r.in.wms -l mapserver=http://www.idee.es/wms/PNOA/PNOA srs=EPSG:23030 format=geotiff wmsquery=version=1.1.1 maxcols=1024 maxrows=1024 'wgetoptions=-c -t 5 -nv' 'curloptions=-C - --retry 5 -s -S' method=nearest v=1
but this work from several browsers
http://www.idee.es/wms/PNOA/PNOA?service=WMS&version=1.1.1&request=GetMap&format=image/png&width=1200&height=800&srs=EPSG:23030&layers=PNOA&bbox=726000,4285000,727320,4285948
And this also works
r.in.wms -l mapserver=wms.jpl.nasa.gov/wms.cgi srs=EPSG:23030 format=geotiff wmsquery=version=1.1.1 maxcols=1024 maxrows=1024 'wgetoptions=-c -t 5 -nv' 'curloptions=-C - --retry 5 -s -S' method=nearest v=1
El Sep 9, 2008, a las 4:13 AM, Hamish escribió:
Richard Chirgwin wrote:
R.in.wms seems to be stumbling on parsing inputs
....
First, errors occur which it attributes to cs2cs:
<cs2cs>:
projection initialization failure
cause: no system list, errno: 2
program abnormally terminated
I have now updated r.tileset in SVN so it catches if cs2cs fails.
(for example if the epsg file can't be found, as suspected for above)
Hamish
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
Hamish
3
Agustin Diez Castillo wrote:
I've never thought of this like a MacOS problem but maybe it is.
nope, generic.
This does NOT work in grass:
r.in.wms -l mapserver=http://www.idee.es/wms/PNOA/PNOA srs=EPSG:23030 \
format=geotiff wmsquery=version=1.1.1 maxcols=1024 \
maxrows=1024 'wgetoptions=-c -t 5 -nv' \
'curloptions=-C - --retry 5 -s -S' method=nearest v=1
but this work from several browsers
http://www.idee.es/wms/PNOA/PNOA?service=WMS&version=1.1.1&request=GetMap&format=image/png&width=1200&height=800&srs=EPSG:23030&layers=PNOA&bbox=726000,4285000,727320,4285948
there was a bug in the -g flag "GET" method, it didn't put a ? after the
server URL. can you update from SVN & try again please?
You need to use the -g flag with that server. Otherwise write a note to
the server maintainer asking them to support POST method.....
r.in.wms -g -l mapserver=http://www.idee.es/wms/PNOA/PNOA
r.in.wms -g mapserver=http://www.idee.es/wms/PNOA/PNOA layer=pona \
srs=EPSG:23030 out=test_
Hamish