Le 17/01/2011 21:29, Gaël a écrit :
Le 17/01/2011 20:58, yvecai a écrit :
On 17. 01. 11 20:31, Gaël wrote:
2- généré les "tiles" avec mapnik avec le style par défaut (celui
utilisé par http://www.openstreetmap.org/) la j'ai vraiment du mal.
Peux-tu nous dire où tu en es exactement?
Yves
_______________________________________________
dev-fr mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev-fr
Je suis en train de suivre un peu se qui est dit ici :
http://wiki.openstreetmap.org/wiki/FR:Mapnik mais j'ai un probléme
avec osm2pgsql, il me dit :
osm2pgsql SVN version 0.69-
Using projection SRS 900913 (Spherical Mercator)
Setting up table: planet_osm_point
NOTICE: la table « planet_osm_point » n'existe pas, poursuite du
traitement
NOTICE: la table « planet_osm_point_tmp » n'existe pas, poursuite du
traitement
SELECT AddGeometryColumn('planet_osm_point', 'way', 900913, 'POINT', 2 );
failed: ERREUR: AddGeometryColumns() - invalid SRID
CONTEXT: SQL statement "SELECT AddGeometryColumn('','', $1 , $2 , $3
, $4 , $5 )"
fonction PL/pgsql « addgeometrycolumn », ligne 4 à instruction SQL
Error occurred, cleaning up
Probablement une mauvaise projection utilisée pour l'import (900913 :
projection Google)
J'utilise la ligne de commande :
osm2pgsql -s -vl -U postgres -S
/home/vincent/Documents/cartographie/Data/styles/france.style -d gis -C
2400 /home/vincent/tmp/france.osm.bz2 --prefix france
qui importe avec une projection standard qui me va bien. L'option -l
utilise du latlon
--
FrViPofm
_______________________________________________
dev-fr mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev-fr