From b04bc5ae23cfabe4d6804045c44b186aea45f5ed Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Tue, 24 Jul 2007 12:52:16 +0300 Subject: [PATCH] Add note that this is a fork of maemo-mapper and original copyrights. Add my own copyright. Add some quick documentation on how to import osm data. --- README | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/README b/README index a2ef1c4..5f682c1 100644 --- a/README +++ b/README @@ -1 +1,41 @@ Mapper +------ +Mapper is a fork of maemo-mapper, with emphasis +on using and creating OpenStreetMap data. + +Original maemo-mapper Copyright (C) 2006-2007 John Costigan. +POI and GPS-Info code originally written by Cezary Jackiewicz. +All code after fork Copyright (C) 2007 Kaj-Michael Lang + +Major changes made: +* Splitting of source code +* Supports running on plain gtk+ and maemo +* Use OSM data for location information +* ... + +Building +-------- +./autogen.sh +./configure && make && make install + +How to use OSM data +------------------- +Right now this needs some manual work. + +1. First create a sqlite3 database with tables: + + sqlite3 osm-planet.db < docs/osm-tables.sql + sqlite3 osm-planet.db < docs/osm-indexes.sql + +2. Then import data from planet.osm (or from a .osm file saved from JOSM) + Run: + osm2db planet.osm + + The full planet database can be quite large so + you can limit the import to a box. + This require 4 parameters, min lat/lon and max lat/lon: + + osm2db planet.osm 60.0 18.0 70.0 33.0 + +3. Start mapper and configure the database path so it points the file just created. + -- 2.39.5