[OSM-dev-fr] Bonjour+un peu d'aide.

yvecai yvecai at gmail.com
Lun 17 Jan 20:37:39 GMT 2011


On 17. 01. 11 21:29, Gaël wrote:
> 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
>> dev-fr at openstreetmap.org
>> 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
>
>
> _______________________________________________
> dev-fr mailing list
> dev-fr at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev-fr
>
Tu n'a pas initialisé ta base avec la projection que tu utilise: SRS 
900913 (Spherical Mercator)
-> psql -d gis -f osm2pgsql/900913.sql

Si tu n'a pas le fichier, je te l'envoie en MP

Yves






More information about the dev-fr mailing list