Osm2city.py: Difference between revisions

Jump to navigation Jump to search
→‎Install: Fgelevcaching
(recommend fgelevcaching)
(→‎Install: Fgelevcaching)
Line 112: Line 112:
   python-numpy python-shapely python-matplotlib python-scipy python-pil
   python-numpy python-shapely python-matplotlib python-scipy python-pil


* get [https://gitorious.org/fg-radi/osm2city osm2city] from gitorious
* get [https://gitorious.org/fg-radi/osm2city osm2city] and [https://gitorious.org/fg-radi/osm2city-data osm2city-data] from gitorious
* add the directory with osm2city modules to your [http://docs.python.org/2/using/cmdline.html#envvar-PYTHONPATH PYTHONPATH] (unless your PYTHONPATH already contains . (the dot))
* add the directory with osm2city modules to your [http://docs.python.org/2/using/cmdline.html#envvar-PYTHONPATH PYTHONPATH] (unless your PYTHONPATH already contains . (the dot))
* link osm2city-data/tex and osm2city-data/tex.src into osm2city/


* get the textures as described in the first post of the [http://forum.flightgear.org/viewtopic.php?f=5&t=22809 devel thread]. Put the folders into your osm2city folder.
If you can't use ELEV_MODE = FgelevCaching, (i.e. you're running FG < 3.2, or git older than 10 Oct 2014, or have less than 4 GB RAM) you also have to
 
* copy elev.nas to $FGDATA/Nasal/
* copy elev.nas to $FGDATA/Nasal/
* Change the in variable of elev.nas to match the elev.in file e.g. $FG_DATA/Nasal/elev.in
* Change the in variable of elev.nas to match the elev.in file e.g. $FG_DATA/Nasal/elev.in
153

edits

Navigation menu