[Xastir] WMS need help

Curt, WE7U curt.we7u at gmail.com
Tue Jun 15 15:07:39 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?
>
> Then i get no errors but i get StreetMap data.
> Then i flushed the map cache and checked the map_cache folder and it's empty.
> Enabling statskart.geo i get openstreetmap in xastir.
> In the map_cache i get two files:
> map_1276617728.gif
> mao_cache.db
>
> Viewing this with a hexeditor i get things like: 
> home/kgb/.xastir/map_cache/map_1276617728.gif^@^@^@???^@^Ahttp://ojw.dev.openstreetmap.org/StaticMap/?layer=osmarender&m$
>
> So i'm one step closer to some fantastic maps for No(r)way :o)

I may find some time tonight after my SAR meeting to play with this
a bit.  Probably not until then though.

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