Postgis et OSM
quelques notes sur l’installation des données france osm (openstreetmap) dans une base postgres. apt-get install postgresql-8.4-postgis osm2pgsql apt-get install postgresql-9.1-postgis osm2pgsql vi /etc/postgresql/8.4/main/postgresql.conf shared_buffers = 128MB checkpoint_segments = 20 vi /etc/sysctl.conf kernel.shmmax = 268435456 su - postgres createuser osm createdb -E UTF8 -O osm osm createlang plpgsql osm psql -d osm -f /usr/share/postgresql/8.4/contrib/postgis-1.5/postgis.sql psql -d osm -f /usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql echo "ALTER TABLE geometry_columns OWNER TO osm; ALTER TABLE spatial_ref_sys OWNER TO osm;" | psql -d osm wget http://svn.