Osm2city.py: Difference between revisions

Jump to navigation Jump to search
caution and note messageboxes
(caution and note messageboxes)
Line 146: Line 146:
https://www.python.org/downloads/release/python-278/
https://www.python.org/downloads/release/python-278/


{{warning|Python 2.7 is recommended unless you're an experienced Python developer willing to update the Python scripts to support Python 3. Also pay attention to versions and cpu builds of the below helper files. Make sure they match your OS build and Python version.}}  
{{caution|Python 2.7 is recommended unless you're an experienced Python developer willing to update the Python scripts to support Python 3. Also pay attention to versions and cpu builds of the below helper files. Make sure they match your OS build and Python version.}}  


Install the following packages, then proceed with [[Osm2city.py#Install|step 2. above]].
Install the following packages, then proceed with [[Osm2city.py#Install|step 2. above]].
Line 193: Line 193:
:* you also need to set up elevation probing in the parameters file, described in the next section.
:* you also need to set up elevation probing in the parameters file, described in the next section.


'''Note: Python does not recognise environment variables, please use full paths in the parameters file (no $HOME etc.)'''.
{{note|Python does not recognize environment variables, please use full paths in the parameters file (no $HOME etc).}}


=== Probe elevation ===
=== Probe elevation ===
Probe elevation for your region. Pick one of the three available modes for ELEV_MODE in params.ini. If you have enough memory (4GB should be fine, but YMMV) and run FG git later than 10 Oct 2014, try FgelevCaching. Failing that, try Manual. (portreekid, what's the 3rd mode good for?)
Probe elevation for your region. Pick one of the three available modes for ELEV_MODE in params.ini. If you have enough memory (4GB should be fine, but YMMV) and run FG git later than 10 Oct 2014, try FgelevCaching. Failing that, try Manual. (portreekid, what's the 3rd mode good for?)


'''There are a lot of problems reported currently with fgelev. I can't really test for the next month or so. See troubleshooting or use ELEV_MODE = Manual.'''
{{caution|1=There are a lot of problems reported currently with fgelev. I can't really test for the next month or so. See troubleshooting or use ELEV_MODE = Manual.}}


* ELEV_MODE = FgelevCaching
* ELEV_MODE = FgelevCaching

Navigation menu