[Xastir] Idea for re-org of map directories

Øyvind Hanssen oyvind at cs.uit.no
Tue Mar 18 12:21:51 EST 2003


Ive tried modifying Xastir such that it can decide to display maps or not, 
depending on the current zoom level. My approach is to allow a per-
directory file which specify the maximum zoom level for the maps in 
this directory. This seems to be sufficient since what I need is just to 
stop displaying of maps when they are scaled down below a certain 
threshold. Maps that are too much scaled up are simply overlayed by 
other maps (if the directories are named in the right order). 

In my implementation each file entry in the in-memory index is 
given a new field, which contains the zoom-level threshold. 
It is then straightforward to allow an extra keyword in each 
geo file as well.  

It seems to work well for me and my maps. I can post my changes if you 
are interested. 

73 de LA7ECA, Øyvind

On Thursday 03 October 2002 21:14, Curt Mills, WE7U wrote:
> On Thu, 3 Oct 2002, Robert Donnell wrote:
> > So taking this to the next level - set a zoom level number that automaps
> > will use where it will switch between a close-in and a wide area display
> > group of settings.
>
> As always, good ideas from Bob!
>
> I'm not sure if _I_ want to tackle that one right now.  The back-end
> coding of it is easy, but it would involve more buttons for the user
> interface code than I want to code right now.  I'm already looking
> at several more buttons and their associated callbacks just to
> implement the automaps stuff we need first.
>

-- 
Associate Professor, Computer Science dept., University of Tromsø
oyvind at cs.uit.no, http://hans.priv.no/oivindh



More information about the Xastir mailing list