Osm2city.py: Difference between revisions

Jump to navigation Jump to search
→‎Install on Windows: NetworkX is also required
m (→‎get OSM data: formatting)
(→‎Install on Windows: NetworkX is also required)
Line 157: Line 157:
In general, you'll want to follow the above install section. This section lists some additional Windows particularities.  
In general, you'll want to follow the above install section. This section lists some additional Windows particularities.  


Osm2city is pure python.
Osm2city is pure python, so install Python if you have not already done so https://www.python.org/downloads/release/python-278/
 
https://www.python.org/downloads/release/python-278/


{{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.}}  
{{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.}}  
Line 165: Line 163:
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]].


http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
* http://www.lfd.uci.edu/~gohlke/pythonlibs/#networkx
 
* http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely
* http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely
 
* http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy-stack
http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy-stack
* https://pypi.python.org/pypi/Pillow/2.5.0#downloads
 
https://pypi.python.org/pypi/Pillow/2.5.0#downloads


== Workflow ==
== Workflow ==

Navigation menu