Other SOTA sites: SOTAwatch | SOTA Home | Database | Video | Photos | Shop | Mapping | FAQs | Facebook | Contact SOTA

SOTA Layer for OsmAnd


#1

Hello,

I am seeking opinions as to whether anyone is interested in a SOTA layer file for OsmAnd.

OsmAnd is a full-featured mapping program for Android. It uses the free OSM data to draw maps on your screen, and also provide search and navigation functions. The OSM data is downloaded to your Android device and rendered locally, i.e. once you have the data you don’t need an internet connection to draw maps or navigate.

I have been curious about how to make my own POI layer file for OsmAnd to overlay on top of everything else. The documentation is a bit sparse, but I finally got something working.

Step 1) Make an OSM XML file containing POI information. It looks a bit like this:

<?xml version='1.0' encoding='UTF-8'?> Step 2) Process this file with OsmAnd Map Creator (using the Build POI Index option only) and create an .obf file. Step 3) Copy the .obf file to the OsmAnd directory on your phone.

If you download the summits.csv file (containing all summit information) the first step can be done with a small Python script I wrote. The second step can be manual or automated.

Is anyone using OsmAnd who would like a layer file? I will deal with the first six requests (please tell me Association and Region). If there are a huge number then I’ll have to automate it. If there is a small number I’ll just keep it to myself.

Feel free to ask any questions.

73,

Andrew
HL5ZBA


#2

Hello Andrew

My solution is simple, needs no programming: OruxMaps can display map overlays in KMZ format. From the SOTAmaps website I download summit lists in KMZ format and can use them immediately in OruxMaps. Summits appear as waypoints. All summit details are visible in the waypoint properties.

73, Markus HB9BRJ


#3

I didn’t know that. It took me longer to figure out how to export the KML data from SOTAmaps website than to transfer it to my phone. Hit the “draw KML overlay”, select the downloaded file and pazooooow… the summits appear on the map.

I used Oruxmaps extensively in Germany and France last week to do general navigation never mind summit location. This makes it just so much more useful. Markus, thanks for this as it lets me use SOTAmaps for planning and Oruxmaps for navigation.


#4

I don’t have (or want) OruxMaps, but it’s good to know this is possible.

I like OsmAnd, and I am happy to have SOTA summits on it now.

73,

Andrew


#5

You could of course generate a personalized layer, for example using QGIS as outlined in this posting:

Locus maps will also happily import kml. The fact that I have a SOTA list permanently installed on my maps can make my wife nervous any time we are actually trying to get somewhere in case I spot a nearby summit!

From what I read GPX might suit OsmAnd better. No problem exporting from QGIS or indeed using gpsvisualizer.com


#6

I use osmand, can you please send me sota layer for italy?

Tnx!

73 de IZ3GME Marco


#7

Ok. I put some samples on my github, including Italy. I haven’t tested it, so let me know if it’s broken. Thanks.


#8

I think OsmAnd only imports GPX and displays them as waypoints, which is no good.

The OsmAnd “favourites” are stored internally as GPX, so it should be possible to add summits to that file, but I didn’t try it yet. It might clutter the favourites file, or be too tedious to merge in with existing favourites.

The Python script is on my github too, if anyone wants to play.

73,

Andrew


#9

You also need to find the correct place to put the file.

There are two similarly-named folders on my phone. The right one is SD card/Android/data/net.osmand.plus/files

You can see the location in OsmAnd by choosing Settings, then General Settings, then look for “Data storage folder”

73!


#10

What’s wrong with GPX? I have uploaded onto my smarthphone’s Osmand HA SOTA summits as waypoints.
Here is a schreenshot.
I am happy with it.
73 viktor HA5LV


#11

Nothing wrong with that, but my POI layer shows the SOTA ref, summit name, and number of points. It also has a note of the number of activations and the last activation. The summits are searchable and routable (and, as you probably know, OsmAnd will plan a walking route if there are hiking paths in the OSM database)

73,

Andrew


#12

OK Andrew you convinced me.
I’ll try to make OBF as you mentioned earlier.
Thanks for the hint, and your effort. GL for SOTA.
73 Viktor HA5LV


#13

Actually, you convinced me too!

I am going to prepare a GPX version of the summitslist.csv and compare the functionality.

73,

Andrew


#14

Ok, I wrote a quick Python script to make a GPX file from summitslist.csv

I used the same concatenation of fields for the name, and put the activations in a note. I also graduated the colours, from blue (1pt) to red (10pts).

I don’t know if it’s better, but it works. It has the advantage that I don’t need OsmAnd Map Creator.

Here’s what it looks like:


#15

Ok, you can find the code at my github.

It’s called sotagpx.py

There are two extra files in the examples folder, one is HA_favourites.gpx and the other is I_favourites.gpx (for IZ3GME).

You have to rename it to favourites.gpx and put it in your OsmAnd files folder.

73,

Andrew


#16

You can also try this http://www.on6zq.be/w/index.php/SOTA/SOTA , and the files generated on the www.sotamaps.org
site.


#17

Thanks. I took a look, but I prefer to add more fields into the name. Right now I make the ‘name’ field from the SOTA ref + summit name + [points], so it’s immediately visible on the map.

The ‘note’ field contains the total number of activations and the last activation (callsign + date).

I like your idea of including the SOTA summit page url. I might do that.

73,

Andrew