x

Shape-Export


Geschrieben von Lübeck (Gast) am 02. Mai 2013 11:48:51: [flux]

hi !

ich habe kürzlich erstmals aus einem kleinen Satz OSM-Daten Shape-Dateien generiert.

Nun wollte ich 130mb-OSM konvertieren -> die entstehenden Road bzw. Highway-Dateien sind nur 1 kb groß.

Mir ist bekannt das es seine Zeit dauert diese zu Rechnen aber auf einem Win7 64 bit / 4GB-Laptop sollte das doch möglich sein.

Hat einer noch einen Tipp etc.

Das Protokoll hänge ich mal unten an.

Gruß Jan :-)

C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/osmlib-export-0.1.4/bin/osmexport:37: wa
rning: assigned but unused variable - arguments
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/osmlib-export-0.1.4/bin/osmexport:46: wa
rning: assigned but unused variable - outfilename
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/simple_featur
es/geometry.rb:198: warning: assigned but unused variable - inner_coords_element
s
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/simple_featur
es/line_string.rb:164: warning: mismatched indentations at 'end' with 'class' at
6
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/simple_featur
es/polygon.rb:104: warning: assigned but unused variable - result
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/simple_featur
es/multi_polygon.rb:36: warning: mismatched indentations at 'end' with 'class' a
t 7
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/simple_featur
es/ewkb_parser.rb:172: warning: mismatched indentations at 'end' with 'class' at
168
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/simple_featur
es/ewkt_parser.rb:240: warning: assigned but unused variable - coords
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/shp4r/shp.rb:
174: warning: shadowing outer local variable - i
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/shp4r/shp.rb:
190: warning: shadowing outer local variable - i
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/shp4r/shp.rb:
219: warning: shadowing outer local variable - i
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/shp4r/shp.rb:
222: warning: shadowing outer local variable - i
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/shp4r/shp.rb:
240: warning: shadowing outer local variable - i
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/shp4r/shp.rb:
243: warning: shadowing outer local variable - i
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/shp4r/shp.rb:
258: warning: shadowing outer local variable - i
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/shp4r/shp.rb:
276: warning: shadowing outer local variable - i
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/shp4r/shp.rb:
279: warning: shadowing outer local variable - i
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/shp4r/shp.rb:
295: warning: shadowing outer local variable - i
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/shp4r/shp.rb:
298: warning: shadowing outer local variable - i
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/shp4r/shp.rb:
311: warning: shadowing outer local variable - i
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/shp4r/shp.rb:
157: warning: assigned but unused variable - length
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/GeoRuby-1.3.4/lib/geo_ruby/shp4r/shp.rb:
393: warning: mismatched indentations at 'end' with 'def' at 370
C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/osmlib-base-0.1.4/lib/OSM/objects.rb:487

in␣`block␣in␣linestring':␣undefined␣method␣`lon'␣for␣nil:NilClass␣(NoMethodErro

r)
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/osmlib-base-0.1.4/lib/OSM/o
bjects.rb:487:in `collect'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/osmlib-base-0.1.4/lib/OSM/o
bjects.rb:487:in `linestring'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/osmlib-export-0.1.4/lib/OSM
/Export/Shp.rb:83:in `_add'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/osmlib-export-0.1.4/lib/OSM
/Export.rb:156:in `<<'
from F:\osm2shape\rule\examples\shp-transport.oxr:20:in `block in <top (
required)>'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/osmlib-export-0.1.4/lib/OSM
/Export.rb:86:in `instance_eval'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/osmlib-export-0.1.4/lib/OSM
/Export.rb:86:in `run_way'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/osmlib-export-0.1.4/lib/OSM
/Export.rb:53:in `way'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/osmlib-base-0.1.4/lib/OSM/S
treamParser.rb:152:in `_end_way'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/osmlib-base-0.1.4/lib/OSM/S
treamParser.rb:116:in `on_end_element'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/osmlib-base-0.1.4/lib/OSM/S
treamParser.rb:128:in `end_element'
from C:/Ruby200-x64/lib/ruby/2.0.0/rexml/parsers/sax2parser.rb:144:in `b
lock in parse'
from C:/Ruby200-x64/lib/ruby/2.0.0/rexml/parsers/sax2parser.rb:143:in `e
ach'
from C:/Ruby200-x64/lib/ruby/2.0.0/rexml/parsers/sax2parser.rb:143:in `p
arse'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/osmlib-base-0.1.4/lib/OSM/S
treamParser/REXML.rb:40:in `parse'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/osmlib-export-0.1.4/lib/OSM
/Export.rb:31:in `parse'
from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/osmlib-export-0.1.4/bin/osm
export:68:in `<top (required)>'
from C:/Ruby200-x64/bin/osmexport:23:in `load'
from C:/Ruby200-x64/bin/osmexport:23:in `<main>'