[OSM-dev-fr] [postGIS]
Vincent de Chateau-Thierry
vdct at laposte.net
Dim 19 Sep 08:56:03 BST 2010
Bonjour,
Le 19/09/2010 08:03, Vincent Pottier a écrit :
>
> On 19/09/2010 00:24, Vincent Pottier wrote:
>>
>>
>> Je purge. Je relance l'import. On verra demain ce que ça dit.
>> Merci.
>> --
>> FrViPofm
> Résultat :
> --------------
> osm2pgsql SVN version 0.66-
>
> Using projection SRS 4326 (Latlong)
> Setting up table: france_point
> SELECT AddGeometryColumn('france_point', 'way', 4326, 'POINT', 2 );
> failed: ERREUR: la relation « spatial_ref_sys » n'existe pas
> LINE 1: SELECT SRID FROM spatial_ref_sys WHERE SRID = $1
> ^
> QUERY: SELECT SRID FROM spatial_ref_sys WHERE SRID = $1
> CONTEXT: PL/pgSQL function "addgeometrycolumn" line 74 at instruction SQL
> instruction SQL « SELECT AddGeometryColumn('','', $1 , $2 , $3 , $4 , $5
> ) »
> PL/pgSQL function "addgeometrycolumn" line 4 at instruction SQL
>
> Error occurred, cleaning up
La purge aura été sévère :-( ...
On dirait bien que ta base est revenue à un état PostgreSQL et non
PostGIS. Manifestement, il lui manque une table importante
(spatial_ref_sys) pour en faire une base "spatiale". Il faudrait que tu
rejoues le script spatial_ref_sys.sql, voire plus globalement le process
décrit ici :
http://postgis.refractions.net/documentation/manual-1.5/ch02.html#id2786223
vincent
More information about the dev-fr
mailing list