[ka-Map-users] Re: scaled image\icon overlay

semerau at hotmail.com semerau at hotmail.com
Thu Oct 18 13:08:58 EDT 2007


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.



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

_________________________________________________________________
Help yourself to FREE treats served up daily at the Messenger Café. Stop by today.
http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20071018/7e882259/attachment.html


More information about the ka-Map-users mailing list