Osm2city.py: Difference between revisions

Jump to navigation Jump to search
m
→‎Install: fix numbering (maybe there's a better way?)
m (refer win install to install)
m (→‎Install: fix numbering (maybe there's a better way?))
Line 120: Line 120:
   python-numpy python-shapely python-matplotlib python-scipy python-pil python-networkx
   python-numpy python-shapely python-matplotlib python-scipy python-pil python-networkx
2. get [https://gitorious.org/fg-radi/osm2city osm2city] and [https://gitorious.org/fg-radi/osm2city-data osm2city-data] from gitorious
2. get [https://gitorious.org/fg-radi/osm2city osm2city] and [https://gitorious.org/fg-radi/osm2city-data osm2city-data] from gitorious
3. 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))
3. 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))
4. link osm2city-data/tex and osm2city-data/tex.src into osm2city/
4. link osm2city-data/tex and osm2city-data/tex.src into osm2city/
If you're running FG < 3.2, or git older than 10 Oct 2014, or have less than 4 GB RAM, you will most likely need to use the old-fashioned way of elevation probing, which requires you to  
If you're running FG < 3.2, or git older than 10 Oct 2014, or have less than 4 GB RAM, you will most likely need to use the old-fashioned way of elevation probing, which requires you to  
5. copy elev.nas to $FGDATA/Nasal/
5. copy elev.nas to $FGDATA/Nasal/
6. Change the in variable of elev.nas to match the elev.in file e.g. $FG_DATA/Nasal/elev.in
6. Change the in variable of elev.nas to match the elev.in file e.g. $FG_DATA/Nasal/elev.in
7. Change the out variable of elev.nas to the export directory with a filename with write access (e.g. $FG_HOME/Export). See [[IORules]] and [[$FG_HOME]]
7. Change the out variable of elev.nas to the export directory with a filename with write access (e.g. $FG_HOME/Export). See [[IORules]] and [[$FG_HOME]]


153

edits

Navigation menu