Make a POI layer for OsmAnd using SOTA summit data.
There are two versions of this software:
makes a .osm XML file which can be processed by OsmAnd Map Creator to produce a .obf file.
makes a favourites.gpx file which can be directly read by OsmAnd
In either case, the file contains POI nodes for SOTA summits, which can be viewed on the OsmAnd mapping screen.
You will need Python 3, and a copy of the SOTA summit data, which can be downloaded from here (13Mb CSV file)
To run the program, specify the region you want to extract. For example:
sotalayer.py G/
or
sotagpx.py G/
This will extract all the England summits. The program does a very simple character match to the beginning of the SOTA ref., so 'G' will match England ('G'), Isle of Man ('GD'), Northern Ireland ('GI'), Scotland ('GM') and Wales (GW). 'G/' will match only England, and 'G/CE' will match Central England, and so on.
In the case of sotalayer.py
the output is an OSM XML file, which is
written to sotalayer.osm. If this file exists it will be overwritten,
so please move or rename it after each extraction.
In the case of sotagpx.py
the output is an GPX XML file, which is
written to favourites.gpx. If this file exists it will be overwritten,
so please move or rename it after each extraction.
No further processing is needed for favourites.gpx, however to make the OsmAnd POI layer from sotalayer.osm you will need OsmAnd Map Creator, which is described here
Run OsmAnd Map Creator and select only Build POI index. Choose Create .obf file from osm file... from the File menu and open the .osm file you created above. OsmAnd Map Creator will make a file called Sotalayer.obf (or similar, if you renamed the .osm file). Copy this file to the OsmAnd 'files' directory on your phone.