JuraMap for OsmAnd


JuraMap ¦ OsmAnd offline map file


In using the OsmAnd JuraMap with the OsmAnd client, please note that some of the north-facing slopes of the Jura Mountains do not have GPS coverage.

The JuraMap aims to recreate the network of roads tracks and paths as it existed boefore 1900 and before heavy machinery started to be used to create the modern road network.

Except for the relatively few pre-1880 tracks, all roads, tracks and paths are marked as paths. In some cases, the original paths probably followed the modern road alignment. So in these cases the modern road corresponds to the historical path. But in most cases, sections of the modern road network are ignored completely.

Most of the paths have been checked to be accurate to about 5 metres. If you stray from a track it is recommended that you return to the track by the way you left it, especially in the many rocky, wooded forested areas that cover the Jura Mountains.


OsmAnd is a GPS navigation and map application that runs on many Android and iOS smartphones and tablets. Typically, for a smartphone, maps are downloaded beforehand and stored on the phone. Subsequent use does not require an Internet connection, which is useful if a map is used for say treking in a region where there is no internet coverage - as is the case for parts of the Jura Mountains.

JuraMap maps are made available in OsmAnd's .obf format (see below). A file is loaded and stored in a location that OsmAnd can access as a "local" file. Local files are selected by using the "Download maps" tab in the OsmAnd menu at the bottom left of the home screen.

For an Android smartphone, the simplest procedure is to create a folder in "Internal storage" using a file manager such as Files by Google that is often available by default. Using the file manager, the downloaded .obf file can be moved to the folder. The folder should be in an OsmAnd "Data storage folder" that is assigned by selecting "Data storage folder" in "Menu -> Settings -> OsmAnd settings ->Data storage folder -> Manually specified" where the path to the folder is entered. The path will typically be something like "/storage/emulated/0/mine" where "mine " is the name of the folder one created using the file manager.

I fact the simplest way to import the .obf file into OsmAnd is to click on the file once it is copied into the "mine" folder.

To avoid preloaded map tiles interfering with the JuraMap map, in "Menu -> Download maps -> Local", simply deactivate any "Standard maps" and "Clear all tiles" for "Online and cached tile maps".

An .obf file for the main JuraMap historical map is available here.

OsmAndMapCreator

OsmAndMapCreator is used to convert the .xml file (called "osm.xml") created using the OpenStreetMap Rails port Postgresql database, called "osmdatabase", and Osmosis. As discussed elsewhere, the Osmosis command is:

  • /home/usr/osm/bin/osmosis --read-apidb host="localhost:5432" database="osmdatabase" user="user" password="password" validateSchemaVersion="no" --write-xml file="/home/user/osm.xml"

For Windows10, if Java JDK is not installed, one can download and install the .exe installation file (“x64 Installer”) here. OsmAndMapCreator can be downloaded and is then extracted to any folder. Using a terminal (search Windows using "cmd"), move to the OsmAndMapCreator folder. OsmAndMapCreator can be executed by submitting:

  • OsmAndMapCreator.jar

In the OsmAndMapCreator graphic interface, deselect all "Build xxx index" except "Build map index" and under the "File" tab open the option "Build .obf from osm file ..." Use this option to select the osm.xml file. The osm.obf file takes a minute or so to build. Further details are available on the OpenStreetMap wiki.

14 June 2022

PeterBoswell.com
Vandagraf
Bricad
EFCA