Osm2city.py: Difference between revisions

Jump to navigation Jump to search
120 bytes removed ,  23 December 2014
→‎Run osm2city: should run directly from osm2city's dir
(clarified tex.src/ instructions)
(→‎Run osm2city: should run directly from osm2city's dir)
Line 216: Line 216:


=== 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.
* Make sure you're in osm2city's directory and run


python osm2city.py -f LOWI/params.ini.
The parsed OSM data is cached to file LOWI/buildings.osm.pkl which is used on next startup 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 or link the tex/ folder into the objects folder where these files were created
* copy or link the tex/ folder into the objects folder where these files were created
153

edits

Navigation menu