[Imports] ogr2osm problems
Fredy Rivera
fredyrivera at gmail.com
Mon Aug 29 10:09:43 UTC 2011
Hello
We are in the process of importing data to the Ministry of Transport
of Colombia will contribute to OSM, this is good news but when
converting files with ogr2osm get the following error:
Any ideas?
Humano
python ogr2osm/ogr2osm.py DatosNarino/Shp07_TipoTerreno.shp
/usr/lib/python2.6/dist-packages/osgeo/gdal.py:99: DeprecationWarning:
ogr.py was placed in a namespace, it is now available as osgeo.ogr
DeprecationWarning)
Preparing to convert file
'/home/fredyrivera/DatosNarino/Shp07_TipoTerreno.shp' to
'/home/fredyrivera/Shp07_TipoTerreno.osm'.
Will try to detect projection from source metadata, or fall back to EPSG:4326
Parsing features
Detected projection metadata:
GEOGCS["GCS_MAGNA",
DATUM["Marco_Geocentrico_Nacional_de_Referencia",
SPHEROID["GRS_1980",6378137.0,298.257222101]],
PRIMEM["Greenwich",0.0],
UNIT["Degree",0.0174532925199433]]
['OBJECTID', 'PRINICIAL', 'PRFINAL', 'COD_VIA', 'NOMBRE',
'DEPARTAMEN', 'OBSERVACIO', 'TPTERRENO', 'LONGITUD', 'FOTOS',
'FOTOS_2', 'FOTOS_3', 'FOTO4', 'CARPETA', 'RUTA_FOTO', 'RUTA_FOTO2',
'RUTA_FOTO3', 'RUTA_FOTO4', 'Shape_Leng']
Got layer field definitions
Nodes: 241592
Way segments: 241515
Lines: 172
Areas: 0
Joining segments
Simplifying line segments
Traceback (most recent call last):
File "ogr2osm/ogr2osm.py", line 658, in <module>
for nodeID in segmentNodes[segmentID]:
KeyError: -437711
--
Por favor, no me envíe documentos con extensiones .doc, .docx, .xls,
.xlsx, .ppt, .pptx, .mdb, mdbx
OpenOffice es libre: se puede copiar, modificar y redistribuir
libremente. Gratis y totalmente legal.
http://GaleNUx.com es el sistema de información para la salud
--------------------------------------///--------------------------------------
Teléfono USA: (347) 688-4473 (Google voice)
skype: llamarafredyrivera
More information about the Imports
mailing list