[Xastir] WMS need help

Kai Gunter Brandt kai.brandt at cih.uib.no
Tue Jun 15 08:02:06 EDT 2010


I have created a file called statskart.geo with the following content:

URL 
http://openwms.statkart.no/skwms1/wms.topo2?VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&SRS=EPSG:4326&LAYERS=topo2_WMS&STYLES=&FORMAT=image/gif&BGCOLOR=0xFFFFFF&TRANSPARENT=FALSE


And in the log for xastir i get:
xastir: Improper image header 
`/home/kgb/.xastir/map_cache/map_1276600986.png' @ png.c/ReadPNGImage/2923.

I have tried GIF, TIF and PNG in the URL with no luck.
checking the map_cache directory it seems that the file is not there.

One other question. When changing a GEO file do i need to restart xastir 
or just re-index the map?

The testcall is working:

http://openwms.statkart.no/skwms1/wms.topo2?VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&SRS=EPSG:4326&BBOX=-3.00000000,60.45583726,24.45847754,74.80385862&LAYERS=topo2_WMS&STYLES=&WIDTH=1420&HEIGHT=742&FORMAT=image/jpeg&BGCOLOR=0xFFFFFF&TRANSPARENT=FALSE

Kai Gunter
LA3QMA


More information about the Xastir mailing list