OSM_Osmosis  
Suche: 

Kinder

Informatik und Computer

Elektronik

Segeln

Musik

Lego

Kochen

4x4 Wohnmobil

4x4 Wohnmobil V2.0

Bootsanhänger

Andere Basteleien

Linksammlung

Projekte

Merkzettel

Impressum


User
Password

Installationsanleitung Osmosis

Voraussetzungen

  • Ubuntu 12.04
    • Postgres 9.1
  • osmosis
    • Simple schema

Installation

Installation postgres

sudo apt–get install postgresql postgresql–contrib postgis postgresql–9.1–contrib

See the postgres documentation to configuring remote access.

Datenbank einrichten

Replace <username> by your local username (unix–login).

sudo su - postgres
createdb osm
createlang plpgsql osm
createuser <username>

psql –d osm –f /usr/local/share/postgresql/9.1/extensions/hstore--1.0.sql psql –d osm –f /usr/local/share/postgresql/9.1/contrib/postgis–1.5/postgis.sql psql –d osm –f /usr/local/share/postgresql/9.1/contrib/postgis–1.5/spatial_ref_sys.sql

psql –d osm CREATE EXTENSION hstore (Ctrl–D)

psql –d osm –f pgsql_simple_schema_0.6.sql

psql -d osm
alter user <username> with password '<passwort>';