Osm2city.py: Difference between revisions

Jump to navigation Jump to search
Line 175: Line 175:
=== Run osm2city ===
=== Run osm2city ===
* run osm2city.py -f LOWI/prams.ini. 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.
* run osm2city.py -f LOWI/prams.ini. 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, files like LOWIcity0101.ac and their corresponding .xml, along with .stg files, were created and moved to the correct location in $FG_SCENERY
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
* copy the tex/ folder into the objects folder where these files were created


== Improve frame rate ==
== Improve frame rate ==
18

edits

Navigation menu