Commit 4953b32c authored by Eliot Blennerhassett's avatar Eliot Blennerhassett

Fix duplicate filename generation

There are a few places where city==suburb,
and there is a hamlet of the same name where city=NULL.
Need to generate distinct filenames for these two situations.
parent 3acff114
......@@ -82,7 +82,7 @@ def generate_osmchange_place(place, dbcursor, outdir,
city, suburb = place[0:2]
if city is None or city == suburb:
if city is None:
fn = suburb
fn = city + '-' + suburb
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment