User:Onion/Mapper

From OpenStreetMap

Jump to: navigation, search

Contents

Mapper

Mapper is a geographical mapping tool, that can be used to view maps, displaying your position with a GPS device, handle POIs, use OpenStreetMap data for geo information and can create and export GPX tracks. It runs on handhled devices like the Nokia Internet Tablets (770, N800 and N810) as well as on normal Linux desktops.

It downloads maps from map sites (OSM) and caches them localy. Maps can be panned and zoomed. With the help of a GPS devices it can be used for manual navigation (routing is coming soonish), with heading and course indicators. Street and POI information can be imported from OpenStreetMap planet files. With the help of this data the user can search for street and POIs. POIs are also displayed on the map. Also the current locations street name and place is displayed.

News

Latest release is 1.0.3.95-rc3, binary packages are available for all Nokia tablets. Desktop users can use git to download and build on their own. It's easy.

Features

  • Display map with your location using GPS
    • Using Mapnik or T@H tiles (+other tile servers)
  • Uses OSM data for:
    • Current location information (Street and place)
    • Searching:
      • Places
      • Streets
      • POIs
    • POI information dialog with name and optional description, postal code and url
    • Importer converts planet XML file to sqlite3 database
    • Reads bzip2 compressed 0.5 API planet XML files
    • Import directly from Mapper GUI
  • Mapping helpers:
    • Dedicated Quick POI add tab with large, thumb friendly, buttons.
    • Simple Audio note recording, nice with audio support
    • Track notes display
    • Quick POI add interface (Hard coded list for now)
    • Simple Track point filter (by HDOP, VDOP and angle)
    • Open and Save GPX tracks
  • Getting to your destination:
    • Setting arbitrary destination point
    • Setting destination to POI or Street
    • Display rough estimate of distance to destination
    • Periodic distance to destination announcement
    • Load pre-generated GPX routes
    • Route way point list with directions
  • Navigation helpers:
    • Show bearing to destination in heading compass
    • Show bearing to next way point in heading compass
    • Show distance to destination
    • Show destination icon
  • Misc:
    • Displays GPS satellite sky and signal information
  • Speech output for route way points and destination information
    • Uses espeak+gstreamer
  • Supports both normal Desktops and Nokia Internet Tablets (770, N800, N810)

Todo List

Work in Progress

In no particular order:

  • Add Modes
  • Exporting track with marker and notes in OSM format
  • Add POI warnings
    • Special case for speed cams
  • Display ETA
  • Display more location information
  • Routing using OSM data (not gpx download/Google)
  • Support GeoClue
  • Exporting user added/updated POIs as OSM files
    • Uploading directly to OSM using OSM API
  • Uploading GPX tracks directly to OSM
  • Import/Export POI GPX
  • Make a proper gststreamer plugin for espeak

(Crazy?) Ideas

This is just a log of some ideas that pop into my mind.

  • Add support for sending location and ETA as SMS or E-mail to someone
  • Receive location/ETA from someone using E-mail, SMS
  • Add "Where are your friends/dog/etc ?" feature
    • Some kind of simple UDP or HTTP+XML based client/server system for logging where you are
    • You can query where your friends are and Mapper displays them on the map
    • Dog tracker (For hunting?)
  • Simple fuel/expense tracking for car use

Bugs and Feature requests

Mapper has a project page on Maemo Garage, report any bugs or feature requests there.

Packages

Packages are only available for Internet Tablets. Use the source to build for other systems.

Nokia Internet Tablets

  • 1.0.3.94 for OS2006,OS2007 and OS2008 now available

ITOS2006 and ITOS2007(HE)

Packages for the Nokia 770 and N800 Internet Tablets can be found in this repository:

deb http://download.talinux.tal.org/pub/maemo scirocco free

It will upgrade your gstreamer to the latest version. It didn't brick my 770 (ITOS2006/7HE), but who knows. Don't blame me if your tablet breaks. (Oh, a restart should cure the media player not playing after the new gstreamer has been installed)

ITOS2007

For N800 running ITOS2007 the repository is:

deb http://download.talinux.tal.org/pub/maemo bora free

ITOS2008

For N800 and N810 running ITOS2008 the repository is:

deb http://download.talinux.tal.org/pub/maemo chinook free

Sources

  • gitweb: [1]
  • Git repo: git://git.tal.org/mapper.git

Other software

You need:

  • gtk+ 2
  • gstreamer 0.10.14
  • gst-plugins-bad 0.10.5
  • espeak 1.28
  • And for Nokia 770, the maemo SDK

Checkout

The first time, clone the git repository:

git clone git://git.tal.org/mapper.git

In the future, just run:

git pull

in the checked out repository to get the latest changes.

Building

Building is easy if you just follow these simple instructions.

Depends

Make sure you have all dependencies installed and make sure you have the development packages installed If you are using a silly distribution that split every packet into some xxxyyyzzz-dev.deb/rpm (Debian, Ubuntu and Fedora are these kind of idiotic distros).

Configuring

If this is the first time or if any of the sources for the generated build files are updated after a pull, run:

./autogen.sh

Then you can just run the configure script:

./configure

Or you can use the do-configure.sh script for some preset configurations. Run the script without any arguments for a short help.

After a successful configuration run:

make

For help on options (hildon, IT dbus bluetooth, gpsd, gstreamer, etc):

./configure --help

Read the README file for quick help on using OpenStreetMap data.

Using OSM data

Using CLI osm2db

Import data from planet.osm.bz2 or from a .osm file saved from JOSM. The file must be compressed with bzip2. Run:

osm2db planet.osm.bz2

The full planet database can be quite large and requires a lot of memory, so you can limit the import to a bounding box. This requires 4 parameters, min lat/lon and max lat/lon:

osm2db planet.osm.bz2 60.0 18.0 70.0 33.0

From inside Mapper

Select File -> Import OSM data and fill in the fields.

Configuring

Configure the database path so it points to the file you created, using File -> Settings -> Map info

Sample database

You can find a sample (Finland only) database here: [2]

You need to bunzip2 it before use. You can then copy it over to your tablet or use it on your desktop.

Images

POI Information

POI Information
POI Information

Misc

Mapper in Chinook beta SDK
Mapper in Chinook beta SDK
Mapper on Nokia 770
Mapper on Nokia 770
Personal tools
recent changes