<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Thanks, Brad. But won't ka-Map cache the image if its coming from mapserver? I need to be able to change it at any time and have the browser show the new image.<br></div><br><br><br><hr id="stopSpelling">> Date: Thu, 18 Oct 2007 11:51:14 -0500<br>> From: neuhausr@bitstream.net<br>> To: ka-map-users@lists.maptools.org<br>> Subject: [ka-Map-users] Re: scaled image\icon overlay<br>> <br>> If your image is georeferenced, you can just make it a layer in mapserver<br>> and it will automatically scale and be in the right place. The most<br>> common way to do this is with a TIFF, and an accompanying World (.wld)<br>> file. There's a brief explanation here:<br>> http://mapserver.gis.umn.edu/docs/howto/raster_data<br>> <br>> GDAL is an open source library which may help you get info on and modify<br>> your images. It's website is http://www.gdal.org/index.html, and it's<br>> easily available with FWTools http://fwtools.maptools.org/<br>> <br>> You could also set up the airport image as a WMS you serve yourself from a<br>> separate mapfile, and overlay it in kamap as a WMS layer.<br>> <br>> Hope this may help!<br>> Brad<br>> <br>> ><br>> > Message: 7<br>> > Date: Thu, 18 Oct 2007 09:10:36 -0600<br>> > From: "semerau@hotmail.com" <semerau@hotmail.com><br>> > Subject: RE: [ka-Map-users] scaled image\icon overlay<br>> > To: <ka-map-users@lists.maptools.org><br>> > Message-ID: <BAY104-W6FC8721BFE4035AA16DA6B79E0@phx.gbl><br>> > Content-Type: text/plain; charset="iso-8859-1"<br>> ><br>> > I guess I could create separate sized images, one for each zoom level, and<br>> > overlay a particular once based on the zoom level. That would kind of be a<br>> > lot of work but I suppose that would work.<br>> ><br>> > Or maybe I can just use javascript to stretch or shrink the image based on<br>> > zoom level.<br>> ><br>> ><br>> ><br>> > From: semerau@hotmail.com<br>> > To: ka-map-users@lists.maptools.org<br>> > Date: Wed, 17 Oct 2007 09:45:05 -0600<br>> > Subject: [ka-Map-users] scaled image\icon overlay<br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> > I see from the docs that only line and polygon overlays are scaled to the<br>> > map. Is there a way to scale an image or an icon overlay to the map? I<br>> > realize this is basically what mapserver does, but I would like to do this<br>> > through ka-map so I can have better control over when\whether the image is<br>> > displayed.<br>> ><br>> > For example, I would like to put an overlay image of an airport over the<br>> > place on the map where the airport is, and then when you zoom in and out,<br>> > the image of the airport overlays also zooms in and out. The image of the<br>> > airport will change often and often won't even be displayed. I don't want<br>> > to put the airport image on the map tile itself because then I would have<br>> > to set the caching of ka-Map so some low duration, but I still wouldn't be<br>> > able to control exactly when the airport image changes in the browser.<br>> ><br>> > Any suggestions would be appreciated.<br>> <br>> <br>> _______________________________________________<br>> ka-Map-users mailing list<br>> ka-Map-users@lists.maptools.org<br>> http://lists.maptools.org/mailman/listinfo/ka-map-users<br><br /><hr />Help yourself to FREE treats served up daily at the Messenger Café. <a href='http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline' target='_new'>Stop by today!</a></body>
</html>