Permalink
Browse files

Note about where intl_cities.txt comes from.

  • Loading branch information...
1 parent e351307 commit 99eef7d26ac13cb8f9a9aecbfd62111b5e7af732 Schuyler Erle committed Aug 3, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 mapnik_render.py
View
@@ -9,6 +9,7 @@
city = sys.argv[1]
woe_id = None
+# intl_cities.txt is a tab-separated file mapping woe_id -> name
for line in file(base+"/intl_cities.txt"):
woe_id, name = line.strip().split(None,1)
if city == name: break

0 comments on commit 99eef7d

Please sign in to comment.