Skip to content

dkm/OsmAnd-AddressMaps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OsmAnd-Address Maps

Script to create address maps for OsmAnd
This is based on the new functionality in OsmAndMapCreator for versions after mid June 2016.
(for previous github V1 version see here, for the previous github V2 version see here or simply toggle the "branch" button).

Requirements:

General:

  • A 64-bit Operating System with up to 7GB free memory (for Germany).
  • OsmAndMapCreator version after mid June 2016
  • a recent java version.
  • awk, grep (windows tools in the repo)

Note that you need to be on a 64bit OS and that you need a 64bit java. The memory demands are always above 1.5GB which means a 64bit java environment.

Linux users:

Download the necessary tools via your package manager and download OsmAndMapCreator from http://download.osmand.net/latest-night-build/.

Windows users:

Download OsmAndMapCreator from http://download.osmand.net/latest-night-build/.
Install python (for example from python.org)
The other tools are in the wintools folder.
(awk and grep come from GnuWin packages.)

Create full country address map for OsmAnd

  • Set the full path to your osmandmapcreator folder inside the script (OMC variable)

    • Linux:<path_to>/country_address_map.py <country>
    • Windows: python <disk>:\<path_to>\country_address_map.py <country>
      where country like Italy, Netherlands, France, Germany, Canada, Brazil, Australia, Russia or .....

After some time, depending on the beast you are running your script on, you will have in the workfiles folder a <country>_<region>.address.obf.
The <country>_<region>.address.obf only contains the full country addresses (obviously).

Copy the <country>_<region>.address.obf into the android/data/net.osmand.plus/files folder (net.osmand if you have the free version).

About

scripts to create address maps for OsmAnd

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages

  • Batchfile 45.7%
  • Python 37.8%
  • Shell 16.5%