https://github.com/mapsforge/mapsforge-creator
New automatic creation of Mapsforge maps and pois.
https://github.com/mapsforge/mapsforge-creator
Last synced: 8 months ago
JSON representation
New automatic creation of Mapsforge maps and pois.
- Host: GitHub
- URL: https://github.com/mapsforge/mapsforge-creator
- Owner: mapsforge
- License: lgpl-3.0
- Created: 2017-10-09T11:36:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-03-22T08:32:29.000Z (11 months ago)
- Last Synced: 2025-05-01T19:38:51.099Z (9 months ago)
- Language: Shell
- Homepage: https://download.mapsforge.org
- Size: 155 KB
- Stars: 25
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- License: COPYING
Awesome Lists containing this project
README
[](http://www.gnu.org/licenses/lgpl-3.0)
# mapsforge-creator
Automatic generation for Mapsforge maps / pois (based on our [guide](https://github.com/mapsforge/mapsforge/blob/master/docs/MapCreation.md)).
- The script downloads OpenStreetMap data from [Geofabrik](https://download.geofabrik.de/) and land polygons from [OpenStreetMap Data](https://osmdata.openstreetmap.de/).
- You will need a working [Osmosis](https://wiki.openstreetmap.org/wiki/Osmosis) installation.
- Download from [Releases](https://github.com/mapsforge/mapsforge/releases) or build the snapshot **map-writer** and **poi-writer** plugins (**jar-with-dependencies**). See the Osmosis [documentation](https://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage#Plugin_Tasks) for how to properly install them.
- You could increase the Java heap space that may be allocated for Osmosis. You can do so by setting the global variable `JAVACMD_OPTIONS=-Xmx1024M`. This sets the maximum available Java heap space to 1024MB. Of course you can set this parameter to a value which fits best for your purpose.
- Requirements are working installations of: GDAL, Java, Perl, Python 3 with Zip.
- The script has some config specifications in `Configuration` section at the top. Adjust them to your environment: Osmosis, data/output paths, etc. Or can set externally the relevant variables.
- Run `./map-creator.sh` script without arguments to see its usage.