WMS_client image format problems

Arnulf Christl arnulf.christl at CCGIS.DE
Mon Sep 27 02:53:13 EDT 2004


K. Lessing wrote:

> Hi Arnulf,
>
> thanx for your answer.
> If you try this:
> http://www.geoway.de/cgi-bin/mapserv3.cgi?MAP=/home/geoway/geoway.map&VERSION=1.1.0&REQUEST=GetCapabilities
>
> the Server answers with an xml file:
> Unfortunatelly I could not find any helpful information in this xml file!
>
That is the problem. In the capabilities Online Resource you find the IP
number that doesn't work, so once the capabilites have been interpreted
correctly the client will query for the IP which does not work.

As a workaround you could save the XML as a local file, change the IP to
the above given URL, and try agin, maybe then it will work. The
capabilities should be corrected anyway.

Regards, Arnulf.

> regards
> Karsten
>
> Arnulf Christl schrieb:
>
>> K. Lessing wrote:
>>
>>> Dear List,
>>>
>>> I am running MapServer 4.2.3 at least with WMS_client capabilities.
>>> I try to capture one layer "laender" out from www.geoway.de.
>>
>>
>>
>> Hi,
>> the capabilties request
>> http://192.168.23.151/mapserv.cgi?map=/home/geoway/geoway.map&WMTVER=1.0.0&REQUEST=capabilities
>>
>>
>> does not return anything but a "timed out..."
>>
>> Maybe the server you try to access is just not available.
>>
>> Cheers, Arnulf.
>>
>>> The whole bundle of layers can be seen here:
>>> http://www.geoway.de/cgi-bin/mapserv3.cgi?MAP=/home/geoway/geoway.map&VERSION=1.1.0&REQUEST=GetMap&&SRS=EPSG:32632&BBOX=280450,5236000,921400,6102500
>>>
>>>
>>>
>>>
>>> The geoway MapServer seams to produce images which are stored in my
>>> directory:
>>> /srv/www/htdocs/tmp/
>>>
>>> Unfortunally the suffix of the files which are stored in my directory
>>> and which my MapServer is trying to display are looking strange:
>>> *.img.tmp
>>>
>>> Does anybody know if  I configured something wrong?
>>> (My Mapfile in the following)
>>>
>>> best regards and
>>> many thanx beforehand
>>> Karsten
>>>
>>>
>>> MAP
>>>
>>>  NAME Testfile
>>>  SHAPEPATH "../daten"
>>>  SYMBOLSET "../docs/symbol.txt"
>>>  FONTSET "/srv/www/htdocs/fonts/fonts.txt"
>>>  EXTENT 280460 5235969 921383 6102410
>>>  STATUS ON
>>>  SIZE 400 400
>>>
>>>  WEB
>>>    TEMPLATE  "temp0.html"
>>>    IMAGEPATH "/srv/www/htdocs/tmp/"
>>>    IMAGEURL "/tmp/"
>>>  END
>>>
>>>  PROJECTION
>>>    "init=EPSG:32632"
>>>  END
>>>
>>>  OUTPUTFORMAT
>>>    NAME "Farbenfroh"
>>>    DRIVER "GD/png"
>>>    MIMETYPE "image/png"
>>>    IMAGEMODE RGB
>>>    EXTENSION "png"
>>>  END
>>>
>>>  LAYER
>>>    NAME "laender"
>>>    TYPE VECTOR
>>>    STATUS DEFAULT
>>>    CONNECTION "http://www.geoway.de/cgi-bin/geoway.map?"
>>>    CONNECTIONTYPE WMS
>>>    METADATA
>>>      "wms_srs"             "EPSG:32632"
>>>      "wms_name"            "laender"
>>>      "wms_server_version"  "1.1.0"
>>>      "wms_formatlist"      "image/png"
>>>      "wms_format"          "image/png"
>>>    END
>>>  END
>>>
>>> END
>>>
>>
>>
>> --
>> ----------------------------
>> CCGIS Christl & Stamm GbR
>> ----------------------------
>> http://www.ccgis.de
>> http://www.mapbender.org
>> ----------------------------
>> Service: +49 (0)228 90826 0
>> Direct:  +49 (0)228 90826 23
>> Fax:     +49 (0)228 90826 11
>> ----------------------------
>> CCGIS Christl & Stamm GbR
>> Siemensstraße 8
>> 53121 Bonn
>> GERMANY
>>
>


--
----------------------------
CCGIS Christl & Stamm GbR
----------------------------
http://www.ccgis.de
http://www.mapbender.org
----------------------------
Service: +49 (0)228 90826 0
Direct:  +49 (0)228 90826 23
Fax:     +49 (0)228 90826 11
----------------------------
CCGIS Christl & Stamm GbR
Siemensstraße 8
53121 Bonn
GERMANY



More information about the mapserver-users mailing list