[OSM-dev-fr] osmfr-cartocss setup incomprehensible
Ista Pouss
istaous at gmail.com
Ven 24 Mai 12:15:12 UTC 2013
Le 24 mai 2013 13:59, Arnaud Vandecasteele <arnaud.sig at gmail.com> a écrit :
> psql -d osm < /usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql
>
Merci Jeanne d'Arc ! Ceci a marché ! Merci !
Mais...
> osm2pgsql -s -U fr -d osm datas1.osm
osm2pgsql SVN version 0.80.0 (32bit id space)
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
SELECT AddGeometryColumn('planet_osm_point', 'way', 900913, 'POINT', 2 );
failed: ERROR: permission denied for relation spatial_ref_sys
CONTEXT: SQL statement "SELECT SRID FROM spatial_ref_sys WHERE
SRID = new_srid"
PL/pgSQL function "addgeometrycolumn" line 75 at SQL statement
SQL statement "SELECT AddGeometryColumn('','',$1,$2,$3,$4,$5)"
PL/pgSQL function "addgeometrycolumn" line 5 at SQL statement
Error occurred, cleaning up
Le "data1.osm" est un fichier que j'ai téléchargé par josm sur une petite
région près de chez moi.
>
> De plus quelle est ta version de Postgis?
>
>
Aucune idée. c'est la dernière pour ubuntu par apt-get je supose ? (ça ne
serait pas la 1.5 ? puisque "psql -d osm <
/usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql " comme tu m'as
dit ? )
> Avec les plus récentes il te suffit de faire en SQL:
>
> create extension postgis;
>
>
Cela n'a pas marché en tous cas.
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.openstreetmap.org/pipermail/dev-fr/attachments/20130524/b4980ab6/attachment.html>
Plus d'informations sur la liste de diffusion dev-fr