Bugs: Browse | Submit New | Admin

[#29212] Null node properties when referenced in member, but missing in node elements

Date:
2011-05-17 09:56
Priority:
3
Submitted By:
Mercer Traieste (mercertraieste)
Assigned To:
Nobody (None)
Category:
Export
State:
Open
Summary:
Null node properties when referenced in member, but missing in node elements

Detailed description
Exact error is, as seen in the log:

`linestring': undefined method `lon' for nil:NilClass (NoMethodError)

osmexport fails on any romanian county osm taken from http://downloads.cloudmade.com/europe/eastern_europe/romania for
example this one:

http://downloads.cloudmade.com/europe/eastern_europe/romania/calarasi/calarasi.osm.bz2

I believe that the script fails when a node is referenced in the way, but not present in node elements, typical when
a map of a county was exported, but some ways (forests) covers more than one county.

All county maps found in the specified resource seem to be valid when opened with  http://josm.openstreetmap.de/

System:

>ruby --version
ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32]

Win7 64bit, 4GB ram

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
osmexport-error.log Error log Download
kml-forest.oxr Export rule set used Download

Changes:

Field Old Value Date By
File Added5272: kml-forest.oxr2011-05-17 09:57mercertraieste
File Added5271: osmexport-error.log2011-05-17 09:56mercertraieste