[Xastir] Maps!!!

Curt, WE7U curt.we7u at gmail.com
Tue Apr 10 13:26:57 EDT 2012


On Mon, 9 Apr 2012, Ryan Collier wrote:

> 1.) The program is saving the maps but I can not get the program to find
> the cache map files. The cache map files are being saved here...
> /home/user/.xastir/map_cache

Which maps?  The OSM map tiles are saved in ~/.xastir/OSMtiles/

Others can be cached in the directory you mention.  I mostly use OSM maps these days.  Much quicker, very much up-to-date.  Entirely different caching code used in Xastir.  I don't know why it would be caching maps but not retrieving them.  You do have to match the same zoom level and map center if you expect to get a cache hit.  If you're constantly zooming/panning, you're not going to get many cache hits unless you use the OSM tiles.  If you use OSM, remember the "F4" key as it will force you to zoom levels that look best with those maps.  Immediately after I zoom in or out I hit F4 if I'm using OSM maps.


> 2.) Everytime it down loads I get these on the screen.
> DB ->get: method not permitted before handle's open method
> and
> DB ->put: method not permitted before handle's open method

Are you using an RPM-based system?  If so you might try this:

     rpm -qa | grep libdb

Mine shows this:

     $ rpm -qa | grep libdb
     libdb-4_5-4.5.20-113.1.2.i586
     libdb-4_8-devel-4.8.30-11.1.4.i586
     libdb-4_5-devel-4.5.20-113.1.2.i586
     libdbusmenu-qt2-0.9.0-2.1.2.i586
     libdb-4_8-4.8.30-11.1.4.i586

The important thing to notice is that the "-devel" package version number matches the installed libdb version number.  I'm running OpenSuSE-12.1 64-bit, fresh install here, but it looks like I might want to remove some 4.5 packages so they don't conflict with the 4.8 packages, if I can (sometimes other packages depend on them and I can't remove the library, but I should be able to remove the 4.5 -devel package).  It's when you cross version numbers between the -devel and the library that you most often run into issues.  If I remember correctly, if you only have one -devel package installed for libdb and it matches the most recent libdb package, you're probably ok.


> 3.) I downloaded the shape files but the weather map will not show up on
> the openstreetmap?

How did you download the shapefiles?  Using the script as root?  What version of Xastir are you running, and did you install it from sources or from a pre-compiled package?  We just tweaked the script a couple of weeks ago to download the latest weather Shapefiles, but that version is only in CVS.  You'd probably need the latest dbfawk files from CVS to match as well.

-- 
Curt, WE7U.        http://www.eskimo.com/~archer
   Lotto:  A tax on people who are bad at math. - unknown
Windows:  Microsoft's tax on computer illiterates. - WE7U.



More information about the Xastir mailing list