[Xastir] WMS need help

Curt, WE7U curt.we7u at gmail.com
Tue Jun 15 09:29:56 EDT 2010


On Tue, 15 Jun 2010, Kai Gunter Brandt wrote:

> 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.

It looks from the code like we're hard-coded to use png maps.  Do
you get a different error message if you use PNG?


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

If you're invoking map_WMS.c to handle it then you shouldn't need to
do either.


> 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

What happens if you try the test call with PNG format?  Does it
still work?

-- 
Curt, WE7U.                         <http://www.eskimo.com/~archer>
    APRS:  Where it's at!                    <http://www.xastir.org>
   Lotto:  A tax on people who are bad at math. - unknown
Windows:  Microsoft's tax on computer illiterates. - WE7U.
The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list