Se que es un tocho pero me sale esto:

german@colorado:~$ java -jar -Xmx2048m -jar cat2osm.jar
/home/german/utrera/Config
[2012-03-15 03:42:27.649] Iniciando Cat2Osm con el archivo de configuración.
[2012-03-15 03:42:28.081] Leyendo CONSTRU Urbano.
[2012-03-15 03:42:28.101] Ejecutando proyeccion de los shapefiles
URCONSTRU.SHP: ogr2ogr -s_srs "+init=epsg:25830 +wktext" -t_srs EPSG:4326
/home/german/utrera/URCONSTRU.SHP /home/german/ur/CONSTRU/CONSTRU.SHP
[2012-03-15 03:42:28.105] Leyendo PARCELA Urbano.
[2012-03-15 03:42:28.111] Ejecutando proyeccion de los shapefiles
URPARCELA.SHP: ogr2ogr -s_srs "+init=epsg:25830 +wktext" -t_srs EPSG:4326
/home/german/utrera/URPARCELA.SHP /home/german/ur/PARCELA/PARCELA.SHP
[2012-03-15 03:42:28.114] Leyendo ELEMPUN Urbano.
[2012-03-15 03:42:28.116] Ejecutando proyeccion de los shapefiles
URELEMPUN.SHP: ogr2ogr -s_srs "+init=epsg:25830 +wktext" -t_srs EPSG:4326
/home/german/utrera/URELEMPUN.SHP /home/german/ur/ELEMPUN/ELEMPUN.SHP
[2012-03-15 03:42:28.121] Leyendo ELEMLIN Urbano.
[2012-03-15 03:42:28.123] Ejecutando proyeccion de los shapefiles
URELEMLIN.SHP: ogr2ogr -s_srs "+init=epsg:25830 +wktext" -t_srs EPSG:4326
/home/german/utrera/URELEMLIN.SHP /home/german/ur/ELEMLIN/ELEMLIN.SHP
[2012-03-15 03:42:28.126] Leyendo ELEMTEX Urbano.
[2012-03-15 03:42:28.129] Ejecutando proyeccion de los shapefiles
URELEMTEX.SHP: ogr2ogr -s_srs "+init=epsg:25830 +wktext" -t_srs EPSG:4326
/home/german/utrera/URELEMTEX.SHP /home/german/ur/ELEMTEX/ELEMTEX.SHP
[2012-03-15 03:42:28.139] Leyendo SUBPARCE Urbano.
[2012-03-15 03:42:28.142] Ejecutando proyeccion de los shapefiles
URSUBPARCE.SHP: ogr2ogr -s_srs "+init=epsg:25830 +wktext" -t_srs EPSG:4326
/home/german/utrera/URSUBPARCE.SHP /home/german/ur/SUBPARCE/SUBPARCE.SHP
[2012-03-15 03:42:28.147] Leyendo CONSTRU Rustico.
[2012-03-15 03:42:28.148] Ejecutando proyeccion de los shapefiles
RUCONSTRU.SHP: ogr2ogr -s_srs "+init=epsg:25830 +wktext" -t_srs EPSG:4326
/home/german/utrera/RUCONSTRU.SHP /home/german/ru/CONSTRU/CONSTRU.SHP
[2012-03-15 03:42:28.152] Leyendo PARCELA Rustico.
[2012-03-15 03:42:28.154] Ejecutando proyeccion de los shapefiles
RUPARCELA.SHP: ogr2ogr -s_srs "+init=epsg:25830 +wktext" -t_srs EPSG:4326
/home/german/utrera/RUPARCELA.SHP /home/german/ru/PARCELA/PARCELA.SHP
[2012-03-15 03:42:28.157] Leyendo ELEMPUN Rustico.
[2012-03-15 03:42:28.159] Ejecutando proyeccion de los shapefiles
RUELEMPUN.SHP: ogr2ogr -s_srs "+init=epsg:25830 +wktext" -t_srs EPSG:4326
/home/german/utrera/RUELEMPUN.SHP /home/german/ru/ELEMPUN/ELEMPUN.SHP
[2012-03-15 03:42:28.162] Leyendo ELEMLIN Rustico.
[2012-03-15 03:42:28.164] Ejecutando proyeccion de los shapefiles
RUELEMLIN.SHP: ogr2ogr -s_srs "+init=epsg:25830 +wktext" -t_srs EPSG:4326
/home/german/utrera/RUELEMLIN.SHP /home/german/ru/ELEMLIN/ELEMLIN.SHP
[2012-03-15 03:42:28.167] Leyendo ELEMTEX Rustico.
[2012-03-15 03:42:28.169] Ejecutando proyeccion de los shapefiles
RUELEMTEX.SHP: ogr2ogr -s_srs "+init=epsg:25830 +wktext" -t_srs EPSG:4326
/home/german/utrera/RUELEMTEX.SHP /home/german/ru/ELEMTEX/ELEMTEX.SHP
java.io.FileNotFoundException: /home/german/utrera/RUELEMLIN.SHP (No existe
el fichero o el directorio)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:832)
at
org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:235)
at
org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:529)
at
org.geotools.data.shapefile.ShapefileDataStore.readAttributes(ShapefileDataStore.java:756)
at
org.geotools.data.shapefile.ShapefileDataStore.getSchema(ShapefileDataStore.java:714)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:366)
at ShapeParser.run(ShapeParser.java:44)
java.io.FileNotFoundException: /home/german/utrera/URELEMPUN.SHP (No existe
el fichero o el directorio)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:832)
at
org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:235)
at
org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:529)
at
org.geotools.data.shapefile.ShapefileDataStore.readAttributes(ShapefileDataStore.java:756)
at
org.geotools.data.shapefile.ShapefileDataStore.getSchema(ShapefileDataStore.java:714)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:366)
at ShapeParser.run(ShapeParser.java:44)
java.io.FileNotFoundException: /home/german/utrera/URCONSTRU.SHP (No existe
el fichero o el directorio)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:832)
at
org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:235)
at
org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:529)
at
org.geotools.data.shapefile.ShapefileDataStore.readAttributes(ShapefileDataStore.java:756)
at
org.geotools.data.shapefile.ShapefileDataStore.getSchema(ShapefileDataStore.java:714)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:366)
at ShapeParser.run(ShapeParser.java:44)
java.io.FileNotFoundException: /home/german/utrera/RUPARCELA.SHP (No existe
el fichero o el directorio)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:832)
at
org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:235)
at
org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:529)
at
org.geotools.data.shapefile.ShapefileDataStore.readAttributes(ShapefileDataStore.java:756)
at
org.geotools.data.shapefile.ShapefileDataStore.getSchema(ShapefileDataStore.java:714)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:366)
at ShapeParser.run(ShapeParser.java:44)
java.io.FileNotFoundException: /home/german/utrera/URSUBPARCE.SHP (No
existe el fichero o el directorio)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:832)
at
org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:235)
at
org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:529)
at
org.geotools.data.shapefile.ShapefileDataStore.readAttributes(ShapefileDataStore.java:756)
at
org.geotools.data.shapefile.ShapefileDataStore.getSchema(ShapefileDataStore.java:714)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:366)
at ShapeParser.run(ShapeParser.java:44)
java.io.FileNotFoundException: /home/german/utrera/URELEMLIN.SHP (No existe
el fichero o el directorio)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:832)
at
org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:235)
at
org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:529)
at
org.geotools.data.shapefile.ShapefileDataStore.readAttributes(ShapefileDataStore.java:756)
at
org.geotools.data.shapefile.ShapefileDataStore.getSchema(ShapefileDataStore.java:714)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:366)
at ShapeParser.run(ShapeParser.java:44)
java.io.FileNotFoundException: /home/german/utrera/RUCONSTRU.SHP (No existe
el fichero o el directorio)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:832)
at
org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:235)
at
org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:529)
at
org.geotools.data.shapefile.ShapefileDataStore.readAttributes(ShapefileDataStore.java:756)
at
org.geotools.data.shapefile.ShapefileDataStore.getSchema(ShapefileDataStore.java:714)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:366)
at ShapeParser.run(ShapeParser.java:44)
java.io.FileNotFoundException: /home/german/utrera/RUELEMPUN.SHP (No existe
el fichero o el directorio)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:832)
at
org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:235)
at
org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:529)
at
org.geotools.data.shapefile.ShapefileDataStore.readAttributes(ShapefileDataStore.java:756)
at
org.geotools.data.shapefile.ShapefileDataStore.getSchema(ShapefileDataStore.java:714)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:366)
at ShapeParser.run(ShapeParser.java:44)
java.io.FileNotFoundException: /home/german/utrera/URPARCELA.SHP (No existe
el fichero o el directorio)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:832)
at
org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:235)
at
org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:529)
at
org.geotools.data.shapefile.ShapefileDataStore.readAttributes(ShapefileDataStore.java:756)
at
org.geotools.data.shapefile.ShapefileDataStore.getSchema(ShapefileDataStore.java:714)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:366)
at ShapeParser.run(ShapeParser.java:44)
java.io.FileNotFoundException: /home/german/utrera/RUELEMTEX.SHP (No existe
el fichero o el directorio)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:832)
at
org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:235)
at
org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:529)
at
org.geotools.data.shapefile.ShapefileDataStore.readAttributes(ShapefileDataStore.java:756)
at
org.geotools.data.shapefile.ShapefileDataStore.getSchema(ShapefileDataStore.java:714)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:366)
at ShapeParser.run(ShapeParser.java:44)
java.io.FileNotFoundException: /home/german/utrera/URELEMTEX.SHP (No existe
el fichero o el directorio)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at org.geotools.data.shapefile.ShpFiles.getReadChannel(ShpFiles.java:832)
at
org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:235)
at
org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:529)
at
org.geotools.data.shapefile.ShapefileDataStore.readAttributes(ShapefileDataStore.java:756)
at
org.geotools.data.shapefile.ShapefileDataStore.getSchema(ShapefileDataStore.java:714)
at
org.geotools.data.shapefile.ShapefileDataStore.getFeatureReader(ShapefileDataStore.java:366)
at ShapeParser.run(ShapeParser.java:44)
[2012-03-15 03:42:29.562] Leyendo archivo Cat urbano.
[2012-03-15 03:42:29.563] Leyendo archivo Cat rústico.
[2012-03-15 03:42:30.771] Traspasando posibles tags de Elemtex a geometrías
sobre las que se sitúa.
[2012-03-15 03:42:30.771] Simplificando vias.
[2012-03-15 03:42:30.771] Escribiendo nodos
[2012-03-15 03:42:30.781] Escribiendo ways
[2012-03-15 03:42:30.781] Escribiendo relations
[2012-03-15 03:42:30.781] Escribiendo el archivo resultado
[2012-03-15 03:42:30.785] Terminado


El 15 de marzo de 2012 03:15, José Manuel Díaz Soriano
<cbu...@gmail.com>escribió:

>
>
> El 15 de marzo de 2012 03:00, Marco Fernández <marco.m...@gmail.com>escribió:
>
>
>>
>> El 15 de marzo de 2012 02:29, José Manuel Díaz Soriano <cbu...@gmail.com>
>> escribió:
>>
>> >
>> > Hola señores/as llevo bastante tiempo leyendo la lista y el tema del
>> catastro y el script, como tengo algo de experiencia en mapear me he
>> lanzado de llevo con el catastro. Ya me he descargado los rústicos y
>> urbanos, descomprimidos y todo OK, ahora lo que no se es generar un .osm
>> con los datos. Llego hasta donde pone proceder con la conversión  [1] pero
>> no se cómo avanzar.
>>
>>
>>
>> Suponiendo que te has asegurado de que la versión de java es correcta
>> (Oracle 1.7 actualmente) que FWTools está instalado, ogr2ogr funciona
>> correctamente ( si escribes en la consola ogr2ogr y te suelta las opciones
>> de programa)
>
>
> El problema lo tengo aquí, he lanzado la instalación de FWTools mediante
> el script pero no me corre en la consola.
>
>
>> y ya tienes el archivo config creado, comprueba lo siguiente:
>> -pega el archivo config en el mismo directorio que el cat2osm y teclea en
>> la consola java -Xmx2048m -jar cat2osm.jar config ¿error?->
>> -ojo a la C mayúscula o minúscula de config, si creas el archivo con la
>> opción -ui se llamará "Config"
>>
>> Parece una chorrada pero entre la letra y lo de config/config (y mi
>> zoquetismo innato) estuve un rato dando vueltas.
>>
>> Espero que te sirva :)
>> Marco.
>>
>>
>> Gracias
>
>>
>> _______________________________________________
>> Talk-es mailing list
>> Talk-es@openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/talk-es
>>
>>
>
_______________________________________________
Talk-es mailing list
Talk-es@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-es

Responder a