mapsforge

From OpenStreetMap Wiki
Jump to navigation Jump to search
mapsforge
Mapsforge.png
Author: mapsforge.org
License: GNU LGPL v3 (free of charge)
Platforms: Android, Windows, macOS, and Linux
Version: 0.22.0 (2024-10-10)
Website: https://mapsforge.org

map application library

Features
Feature Value
Map Display
Display map yes
Map data raster;vector
Source online;offline
Rotate map no
3D view no
Shows website
?
Shows phone number
?
Shows operation hours
?
Routing
?
Navigating
Navigate no
Find location
?
Find nearby POIs
?
Navigate to point
?
Navigation with voice / Voice guidance
?
Keep on road
?
Lane guidance
?
Works without GPS
?
Navigate along predefined route
?
Tracking
Make track no
Customizable log interval
?
Track formats
?
Geotagging
?
Fast POI buttons
?
Upload GPX to OSM
?
Monitoring
Monitoring no
Show current track
?
Open existing track
?
Altitude diagram
?
Show POD value
?
Satellite view
?
Show live NMEA data
?
Show speed
?
Send current position
?
Editing
?
Rendering
?
Accessibility
?

mapsforge (website) provides a free, open-source, offline vector map library for Android and Java-based applications. With the easy to use API you can build your own map application with just a few lines of code.

The overall goal of the mapsforge project is to provide a free and open toolbox that enables the community to easily create new OpenStreetMap-based applications. Provided tools and APIs include solutions for map rendering, map overlays, downloading maps and more. Android and Java samples are available showing the various usages of mapsforge API.

The mapsforge project was initiated in 2008 at the computer science institute of Freie Universität Berlin and is now maintained by volunteers. After a long hiatus, version 0.4.0 was released in May 2014.

Features of the mapsforge map library:

  • On-device rendering of OpenStreetMap data
  • Powerful and flexible overlay API
  • Compact file format for map data storage
  • Map rotation
  • Support for multi-touch gestures (e.g. pinch-to-zoom)
  • Very high details (support for ~ 200 OSM tags)
  • Runs on all devices with Android 2.3 and higher
  • Small library (~ 400 KB, including sources and images)
  • Easy to use API and template application.
  • 100% free and open source (LGPL license)

Processing coastline data

Processing of coastlines was part of Mapsforge rendering engine. It was removed many versions ago, now coastline processing takes place in advance as part of map creation.

Sources for osm data in mapsforge format

https://github.com/mapsforge/mapsforge/blob/master/docs/Mapsforge-Maps.md

Applications using mapsforge software

https://github.com/mapsforge/mapsforge/blob/master/docs/Mapsforge-Applications.md

Binary tile format

Mapsforge also provide a standard that can be used to create compatible tile files, and such providers can generate tiles in this format.