]> err.no Git - mapper/blob - README
Do the info update callbacks in as idle
[mapper] / README
1 Mapper
2 ------
3 Mapper is a fork of maemo-mapper, with emphasis 
4 on using and creating OpenStreetMap data.
5
6 Original maemo-mapper Copyright (C) 2006-2007 John Costigan.
7 POI and GPS-Info code originally written by Cezary Jackiewicz.
8 All code after fork Copyright (C) 2007 Kaj-Michael Lang
9
10 Major changes made:
11 * Splitting of source code
12 * Supports running on plain gtk+ and maemo
13 * Use OSM data for location information
14 * ...
15
16 Building
17 --------
18 ./autogen.sh
19 ./configure && make && make install
20
21 How to use OSM data
22 -------------------
23 Right now this needs some manual work.
24
25 1. First create a sqlite3 database with tables:
26
27         sqlite3 osm-planet.db < docs/osm-tables.sql
28         sqlite3 osm-planet.db < docs/osm-indexes.sql
29
30 2. Then import data from planet.osm (or from a .osm file saved from JOSM)
31         Run:
32         osm2db planet.osm
33
34         The full planet database can be quite large so 
35         you can limit the import to a box.
36         This require 4 parameters, min lat/lon and max lat/lon:
37
38         osm2db planet.osm 60.0 18.0 70.0 33.0
39
40 3. Start mapper and configure the database path so it points the file just created.
41