Osm2city.py: Difference between revisions

Jump to navigation Jump to search
updated workflow
m (fixed link)
(updated workflow)
Line 124: Line 124:
(FIXED: now read from input file)
(FIXED: now read from input file)


* run osm2city.py. Parsing OSM data again takes quite looong (10 minutes or more for 50k buildings), but the result is cached to file buildings.pkl. Next startup will be much faster if you move buildings.pkl to LOWI/buildings.pkl and set USE_PKL = 1.
* run osm2city.py. Parsing OSM data <del>again takes quite looong (10 minutes or more for 50k buildings)</del> is now pretty fast, but the result is cached to file buildings.pkl. Next startup will be <del>much faster if you move buildings.pkl to LOWI/buildings.pkl and</del> even faster if you set USE_PKL = 1.
If all goes well, you should now have lots of files like LOWIcity0101.ac and their corresponding .xml files, along with .stg files.
If all goes well, files like LOWIcity0101.ac and their corresponding .xml, along with .stg files, were created and moved to the correct location in $FG_SCENERY
* adjust and run install.sh, this will install .ac, .xml, .stg files.
* <del>adjust and run install.sh, this will install .ac, .xml, .stg files.</del>


== Improve frame rate ==
== Improve frame rate ==
153

edits

Navigation menu