KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
osm-place-ranks
★ 17
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
Regex
:
A little regex engine
projector.js
:
Inter- and Audioactive VJ Software for Chrome 23+
pwned
:
Simple C++ code for simple tasks
symbol
:
typed lisp adventure
tarsnap-backup-osx
:
A shell script and launchd config file to run daily backups on specified directories to tarsnap
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
osm-place-ranks
?
Download (.md)
# OSM Place-ranks Joins city rankings from Natural Earth into OSM data with fuzzy matching. ### Setup: - Create a PostGIS-enabled PostgreSQL database if you do not have one. By default this script assumes it is named 'osm'. - Import the Natural Earth cities information included here. Eg: `psql -U postgres -f ne_cities.sql -d osm` - Import OSM places with Imposm if you have not already. These can be from a full planet dump, a regional extract, an Overpass API query... - Make sure the Python package 'unidecode' is installed. Eg: `sudo pip install unidecode` ### Usage: python rank-places.py | psql -U <pg_user> <pg_database>