[GRASS-user] Error with r.in.wms and UMN MapServer

thedok78 thedoktor78 at gmail.com
Sun Jun 27 11:24:44 EDT 2010


Hello everybody,
I have got some troubles with a WMS server and r.in.wms (latest 6.5-svn) and
it seems related to the request created by grass.
This is the command line:
r.in.wms -g --v --overwrite output=orto
mapserver=http://wms.pcn.minambiente.it/cgi-bin/mapserv.exe?map=/ms_ogc/service/ortofoto_colore_08_f33.map
layers=ortofoto_colore_08 srs=EPSG:32633 format=jpeg folder=/tmp/ v=3
This the error:
<HEAD><TITLE>MapServer Message</TITLE></HEAD>
<!-- MapServer version 5.0.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG
SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS
INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE -->
<BODY BGCOLOR="#FFFFFF">
msEvalRegex(): Regular expression error. String
(/ms_ogc/service/ortofoto_colore_08_f33.map?request=GetMap) failed
expression test.
</BODY></HTML>
This orto_.wget:
OUTPUT_FILE="/tmp//orto__0.jpeg";SERVER="http://wms.pcn.minambiente.it/cgi-bin/mapserv.exe?map=/ms_ogc/service/ortofoto_colore_08_f33.map";STRING="request=GetMap&layers=ortofoto_colore_08&styles=&srs=EPSG:32633&bbox=310494.15110544000000000000,4808290.38776543000000000000,310683.61730524000000000000,4808423.35258237666666666633&width=10&height=8&format=image/jpeg&transparent=TRUE&version=1.1.1"

It seems that the request url is
http://wms.pcn.minambiente.it/cgi-bin/mapserv.exe?map=/ms_ogc/service/ortofoto_colore_08_f33.map";STRING="request=GetMap&layers=ortofoto_colore_08&styles=&srs=EPSG:32633&bbox=310494.15110544000000000000,4808290.38776543000000000000,310683.61730524000000000000,4808423.35258237666666666633&width=10&height=8&format=image/jpeg&transparent=TRUE&version=1.1.1"

What do you think about?
Thx
Luca
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Error-with-r-in-wms-and-UMN-MapServer-tp5227861p5227861.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list