banniere

Le portail francophone de la géomatique


Toujours pas inscrit ? Mot de passe oublié ?
Nom d'utilisateur    Mot de passe              Toujours pas inscrit ?   Mot de passe oublié ?

Annonce

GEODATA DAYS 2024

#1 Sun 13 March 2011 10:59

MED86
Juste Inscrit !
Date d'inscription: 13 Mar 2011
Messages: 2

osm2pgsql

Bonjour,
j'ai essayé d'importer des données osm sur la base de données PostgresSQL (postgis), mais sa n'a pas marché. Je travail sous le windows et j'utilise PostgresSQL v 8.2.
Voici le code que j'ai saisi

Code:

osm2pgsql -c --style "C:\Program Files\osm2pgsql\default.style" -d testgis -U postgres -W -H localhost -P 5432 "C:\Documents and Settings\Administrateur\Bureau\map(2).osm"

mais j'ai cette erreur :

Code:

Warning: program compiled against libxml 207 using older 206
Using projection SRS 900913 (Spherical Mercator)
Setting up table: planet_osm_point
NOTICE:  table "planet_osm_point" does not exist, skipping
NOTICE:  table "planet_osm_point_tmp" does not exist, skipping
Setting up table: planet_osm_line
NOTICE:  table "planet_osm_line" does not exist, skipping
NOTICE:  table "planet_osm_line_tmp" does not exist, skipping
Setting up table: planet_osm_polygon
NOTICE:  table "planet_osm_polygon" does not exist, skipping
NOTICE:  table "planet_osm_polygon_tmp" does not exist, skipping
Setting up table: planet_osm_roads
NOTICE:  table "planet_osm_roads" does not exist, skipping
NOTICE:  table "planet_osm_roads_tmp" does not exist, skipping
Mid: Ram, scale=100

!! You are running this on 32bit system, so at most
!! 3GB of RAM can be used. If you encounter unexpected
!! exceptions during import, you should try running in slim
!! mode using parameter -s.

Reading in file: C:\Documenst and Settings\Administrateur\Bureau\map(2).osm
error while opening file C:\Documents and Settings\Administrateur\Bureau\map(2).osm

Merci de bien vouloir m'aide.

Dernière modification par MED86 (Sun 13 March 2011 11:18)

Hors ligne

 

Pied de page des forums

Powered by FluxBB