Wiki » History » Version 18

Stefan Keller, 06/05/2011 01:07 AM

1 1 Anonymous
!http://a.tile.openstreetmap.org/14/8593/5747.png!
2 1 Anonymous
3 1 Anonymous
h1. OpenStreetMap-in-a-Box - Wiki
4 1 Anonymous
5 2 Anonymous
A ready-made map and geodata server including a highly configurable converter which synchronizes OpenStreetMap data (pure Java open source).  
6 1 Anonymous
 
7 1 Anonymous
Quick links:
8 12 Stefan Keller
* Interactive Map: *>> http://geometa.hsr.ch/map 'Switzerland delivered by OpenStreetMap-in-a-Box' <<* ("Map Compare":http://sinv-56029.edu.hsr.ch/mapcompare, "WMS":http://geometa.hsr.ch/geoserver/wms?request=GetCapabilities, "WFS":http://geometa.hsr.ch/geoserver/wfs?request=GetCapabilities, "GWC/WMTS":http://geometa.hsr.ch/geoserver/gwc/service/wms?request=GetCapabilities)
9 1 Anonymous
* For feature requests and feedback see *>> [[Discussion]] <<*
10 2 Anonymous
* [[Performance Improvment]]
11 7 Anonymous
* [[What is tested]]
12 1 Anonymous
13 1 Anonymous
h2. About
14 3 Anonymous
15 1 Anonymous
OpenStreetMap-in-a-Box (short *OSM-in-a-Box* or osminabox) is a dedicated server software which imports semi-structured OpenStreetMap (OSM) data and stores it as geographic features (entities). In addition, it keeps its base data in sync with the original OSM hosts. It is scalable, offers well-known geographic web services and is based on proven software components. As of now this is a read-only database (see [[Discussion]]). Updates need to be fed through the usual OSM software and hosts. 
16 1 Anonymous
17 1 Anonymous
Often it’s important to have an own map server either because one needs reliable and fast webservices or because one wants to have individual map graphics (e.g. no buildings) and regionalized contents (e.g. local names). OpenStreetMap-in-a-Box (OSM-in-a-Box) delivers a software bundle which does this 'out-of-the-box' with an easy installer. Using OSM-in-a-box users get their map mashups with personalized styling which includes nice loooking background topographic maps which is something which you don't get with Google Maps & Co. Its written in Java and based on PostgreSQL/PostGIS and !GeoServer.
18 1 Anonymous
19 18 Stefan Keller
Features:
20 18 Stefan Keller
# Configures PostgreSQL/PostGIS server 
21 18 Stefan Keller
# Creates an empty database with geospatial features - keeps all attributes in hstore
22 18 Stefan Keller
# Configures GeoServer and tries to keep osm2gis-configuration consistent with GeoServer styling rules
23 18 Stefan Keller
# Loads OSM data into the database
24 18 Stefan Keller
# Incrementally updates the database
25 18 Stefan Keller
# Does nice maps (tiles and cached through GeoWebCache)
26 18 Stefan Keller
27 1 Anonymous
The OpenStreetMap-in-a-Box software consists of following parts:
28 14 Stefan Keller
* A converter (Java) called *osm2gis* which imports OSM data and stores the relevant part of it in the database (PostgreSQL/PostGIS) in a geospatial, relational database schema.
29 1 Anonymous
* A spatial information server with geographic web services (!GeoServer), like WMS, Tiling/Caching and WFS (read-only). 
30 1 Anonymous
* A web site to demonstrate the project (see showcase below).
31 1 Anonymous
32 17 Stefan Keller
h2. Similar software
33 17 Stefan Keller
34 17 Stefan Keller
...as we are aware of (as of Mai 2011) besides "osmosis":http://wiki.openstreetmap.org/wiki/Osmosis (Java, Open Source) which is the robust software directly used by OSM database. Therefore it's tied to the OSM schema (nodes, ways, relations, tags). Can create linestrings but no polygons. Can do bbox and some filtering.
35 16 Stefan Keller
36 1 Anonymous
* "osm2gis/OpenStreetMap-in-a-Box":http://wiki.openstreetmap.org/wiki/OpenStreetMap-in-a-Box (Java, Open Source) - Outputs relational geospatial entities (as opposed to OSM schema), like roads, railways, pois, buildings, etc. for regions (i.e. smaller than planet). Uses PostGIS and hstore. Can do differential update.
37 14 Stefan Keller
* "osm2pgsql":http://wiki.openstreetmap.org/wiki/Osm2pgsql (C++, Open Source) - mostly used by Mapnik renderer. Outputs a schema with osm_point, osm_line, osm_road and osm_polygon. Usage of hstore gives flexible tag access. Produces still osm_nodes, osm_ways and osm_rels which comes close to OSM schema. Does 'heavy' filtering (unless parametrized otherwise). Can do differential update.
38 16 Stefan Keller
* "Osm2postgresql":http://wiki.openstreetmap.org/wiki/Osm2postgresql (Bash, Open Source) - Extends osmosis and outputs polygons(?).
39 14 Stefan Keller
* "imposm":http://wiki.openstreetmap.org/wiki/Imposm (Python/C++, Open Source) - Import tool similar to osm2pgsql (but younger project with less functionality).
40 14 Stefan Keller
* Not maintained anymore? 
41 14 Stefan Keller
** "OSM2PostGIS":http://osm2postgis.sourceforge.net/ (Java, Open Source) - a rather young project (from Finland? Schema conversion?)
42 1 Anonymous
43 14 Stefan Keller
44 1 Anonymous
h2. Current and Past Activities
45 3 Anonymous
46 1 Anonymous
Team leader: Prof. Stefan Keller, Institue for Software, Computer Science Department, "HSR Hochschule Rapperswil":http://www.hsr.ch/informatik  (Switzerland)
47 1 Anonymous
* Migration to new server; maintenance... -- SK, 15. Oct. 2010
48 1 Anonymous
49 1 Anonymous
h2. Presentations
50 1 Anonymous
51 3 Anonymous
* Talk at GIScience Group Uni Heidelberg, December 2010 by S. Keller.
52 14 Stefan Keller
* [http://www.youtube.com/watch?v=GDTyRQrX_bQ OSM-in-a-Box 1.0 Differential Update Demo]
53 1 Anonymous
* Talk about "OpenStreetMap-in-a-box - A Ready-Made Highly Configurable Map Server" at "FOSS4G 2010":http://2010.foss4g.org/presentations_show.php?id=3877 Barcelona, Sep. 6th-9th by S. Keller.
54 1 Anonymous
* Vortrag "PostGIS/PostgreSQL für interaktive Karten" am "FrOSCamp 2010":http://wiki.froscamp.org/2010:Call_for_Talks#PostGIS.2FPostgreSQL_f.C3.BCr_interaktive_Karten , ETH Zürich, 17.-18. September 2010 von S. Keller.
55 1 Anonymous
56 1 Anonymous
h2. Project History
57 3 Anonymous
58 1 Anonymous
* "OpenStreetMapInABox Version 1.0 - freie Karten-Webservices" (Version Server 1.0, Mobile 0.2) - Bachelor Thesis of Andreas Meier and Joram Zimmermann, Autumn 2010 => "Bachelor Thesis' Vision":http://wiki.hsr.ch/StefanKeller/wiki.cgi?OpenStreetMapInABox2
59 1 Anonymous
* Project 2 (Version Server_0.3) - Semester Thesis of Andreas Meier and Joram Zimmermann, Fall 2009
60 1 Anonymous
* Project Teil B (Version Mobile_0.1)" - Diploma Thesis of Marco Busarello, Fall 2009 => "Diploma Thesis' Vision":http://wiki.hsr.ch/StefanKeller/wiki.cgi?OpenStreetMapInABoxTeilB => [[OpenIssues]]
61 1 Anonymous
* Project 1 (Version Server_0.2) - Bachelor Thesis from Roland Hof, Michael Huber and Fabio Renggli, Spring 2009 => "Bachelor Thesis' Vision":http://wiki.hsr.ch/StefanKeller/wiki.cgi?OpenStreetMapInABox ([[ emails]])
62 1 Anonymous
63 1 Anonymous
h2. Project Pages
64 3 Anonymous
65 1 Anonymous
* [[Discussion]] about OpenStreetMap-in-a-Box.
66 1 Anonymous
* Hardware/Deployment: [[Virtual Server Info]] ("Build Server (Intranet)":http://geometa.hsr.ch/hudson/job/OSM-in-a-box_1.0/)
67 1 Anonymous
* Documentation Version 1: see 'Download'
68 5 Anonymous
* Documentation Version 2: see source:Dokumentation/09_Installation_Usermanual
69 1 Anonymous
70 1 Anonymous
h2. Download/Releases/Code
71 3 Anonymous
72 4 Anonymous
* Browse the source source:/Code/
73 4 Anonymous
** Check out the code with GIT "GIT-Repository":http://dev.ifs.hsr.ch/git/OSMInABox.git
74 13 Anonymous
* Download/Releases  (Windows/Linux): 
75 13 Anonymous
** "Windows":http://geometa.hsr.ch/hudson/job/OSM-in-a-box_1.0/lastSuccessfulBuild/artifact/Code/osm2gis/release/osminabox1.0_win.zip
76 13 Anonymous
** "Linux":http://geometa.hsr.ch/hudson/job/OSM-in-a-box_1.0/lastSuccessfulBuild/artifact/Code/osm2gis/release/osminabox1.0_unix.zip
77 1 Anonymous
78 1 Anonymous
The software is released under the "New BSD License" (also known as "Modified BSD License" or "3-clause BSD license").
79 1 Anonymous
80 1 Anonymous
h2. Weblinks
81 3 Anonymous
82 1 Anonymous
* "GISpunkt HSR-Wiki":http://gis.hsr.ch/wiki/
83 1 Anonymous
* Used Technologies:
84 1 Anonymous
** "Openstreetmap":http://www.openstreetmap.org, "Openstreetmap Wiki":http://wiki.openstreetmap.org/wiki/Main_Page
85 1 Anonymous
** "Geoserver":http://geoserver.org/display/GEOS/Welcome, "GeoServer Styling/Rendering/Graphic Model Configuration/Portrayal":http://docs.geoserver.org/1.7.x/en/user/styling/
86 1 Anonymous
** "PostgreSQL/PostGIS":http://www.postgis.org
87 1 Anonymous
* Demo Videos:
88 1 Anonymous
** "OSM-in-a-Box 1.0 Differential Update Demo":http://www.youtube.com/watch?v=GDTyRQrX_bQ
89 1 Anonymous
90 1 Anonymous
h2. Notes
91 3 Anonymous
92 1 Anonymous
 * [[SQL_Statements]]