Osm2city.py: Difference between revisions

Jump to navigation Jump to search
→‎Support and troubleshooting: included error msg, formatting
(caution and note messageboxes)
(→‎Support and troubleshooting: included error msg, formatting)
Line 239: Line 239:
We will not cover general questions like "I don't know how to install XY" -- search the Internet.
We will not cover general questions like "I don't know how to install XY" -- search the Internet.


* FGElev crashes  
=== FGElev crashes ===


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
Line 259: Line 259:
</syntaxhighlight>
</syntaxhighlight>


* Buildings are generated, but they sit below the ground. I'm using ELEV_MODE = FgelevCaching.  
=== Buildings are generated, but they sit below the ground. I'm using ELEV_MODE = FgelevCaching. ===


Try running fgelev directly:
Try running fgelev directly:
Line 271: Line 271:
where $lon and $lat are coordinates in the area you want to generate. See if it returns a sane value. If it does, double-check PATH_TO_SCENERY and $FG_ROOT.
where $lon and $lat are coordinates in the area you want to generate. See if it returns a sane value. If it does, double-check PATH_TO_SCENERY and $FG_ROOT.


* Buildings/roads have no texture.  
=== Buildings/roads have no texture. I get errors "osgDB ac3d reader: could not find texture "tex/atlas_facades.png". ===
copy or link the tex/ folder into the objects folder where the .stg files were created, such that you have $FG_SCENERY/Objects/eXXXnXX/eXXXnXX/tex/.
 
Copy or link the tex/ folder into the objects folder where the .stg files were created, such that you have $FG_SCENERY/Objects/eXXXnXX/eXXXnXX/tex/. Note that buildings might have been created in more than one folder, e.g. in e011n47 and e011n48. You must have a tex/ folder in each of them.


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

edits

Navigation menu