El Martes 14 Junio 2011, Pau Aragó escribió:
> Hola;
> 
> He instalado el schema_info de osmosis (Cuando envié el primer correo
> utilizaba el schema the postgis)
> Tengo acceso a la tabla schema info i tengo permiso para crear tablas
> 
> Ahora el problema es el siguiente:
> 
> org.openstreetmap.osmosis.core.OsmosisRuntimeException: The database schema
> version of 5 does not match the expected version of 6.
> 
> Gracias por las preguntas, me han ayudado ha avanzar
> 
> Saludos
> 

Hola Pau,

Otra forma que tienes de avanzar es copiar ese mismo error en cualquier 
buscador (google, por ejemplo) y mirar si a alguien más le pasa.

Así en uno de los primeros resultados que me devuelve google me encuentro con:
http://www.mail-archive.com/dev@openstreetmap.org/msg14998.html

Y la respuesta que le dan:

"You are mixing two different schemata. If you initialise the database
with pgsimple_schema_0.6.sql, you need to import with '--write-pgsimp'.
For '--write-pgsql' you need to initialise the database with the
pgsnapshot_schema_0.6.sql script. See also
http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage#PostGIS_Tasks_.28Snapshot_Schema.29

The main difference is that the snapshot schema uses hstore for tags
while pgsimple uses a simple table. I'd recommend using pgsnapshot.

Sarah"

Aunque no lo creas, suele pasar que mucha gente ha andado el mismo camino que 
tú andas ahora :)

Suerte.

-- 
María Arias de Reyna Domínguez
Área de Operaciones

Emergya Consultoría 
Tfno: +34 954 51 75 77 / +34 607 43 74 27
Fax: +34 954 51 64 73 
www.emergya.es 

_______________________________________________
Talk-es mailing list
Talk-es@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-es

Responder a