<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Matt (and rest),</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I think in its current implementation, you would
indeed not be able to zoom to the exact extent of a bounding box. You would have
three options:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>- infinite number of scales, as mentioned (not
really an option)</FONT></DIV>
<DIV><FONT face=Arial size=2>- approximate (zoom to nearest scale), which would
probably end up differing significantly from the actual extent of the bounding
box</FONT></DIV>
<DIV><FONT face=Arial size=2>- scaling the tiles; you'd have to use tiles which
are of the nearest higher resolution (larger scale), and apply a scaling to them
on the client side, by displaying the images at a certain percentage of their
original size. This could end up being slower and uglier, though. Internet
explorer uses nearest-neighbour resampling.... </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jacob</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>-----Original Message-----<BR>From: <A
href="mailto:ka-map-users-bounces@lists.maptools.org">ka-map-users-bounces@lists.maptools.org</A>
[mailto:ka-map-users-bounces@lists.maptools.org] On Behalf Of Matthew
Perry<BR>Sent: 31 May 2005 15:17<BR>To: Gambin Dejan<BR>Cc: <A
href="mailto:ka-map-users@lists.maptools.org">ka-map-users@lists.maptools.org</A><BR>Subject:
Re: [ka-Map-users] Panning and zooming question</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>On 5/30/05, Gambin Dejan <<A
href="mailto:Dejan.Gambin@pula.hr">Dejan.Gambin@pula.hr</A>> wrote:<BR>> I
think box zooming is not difficult to implement so it shouldn't be a<BR>>
problem to contribute. </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Box zooming will introduce major problems on the
server side as there<BR>will be a potentially inifinite number of zoom levels.
This equates to<BR>a potentially infinite number of tiles and the massive disk
space and<BR>processor time used to generate and store these tiles. As ka-map
is<BR>already **very** processor intensive, this is not an option for many<BR>of
us with a modest hardware budget ;-)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>How would you propose to solve these problems? Is
box zoom even viable<BR>given the tile model of ka-map??</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>-- <BR>Matt Perry<BR><A
href="mailto:perrygeo@gmail.com">perrygeo@gmail.com</A><BR><A
href="http://www.perrygeo.net">http://www.perrygeo.net</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>_______________________________________________<BR>ka-Map-users mailing
list<BR><A
href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</A><BR><A
href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users</A><BR></FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:jacob.delfos@maunsell.com"></A></FONT> </DIV></BODY></HTML>