Commit 083843a9 authored by Eliot Blennerhassett's avatar Eliot Blennerhassett

Minor formatting, default source rev = 66

parent 4953b32c
......@@ -16,10 +16,10 @@ Options:
from __future__ import print_function, division, unicode_literals
from lxml import etree as ET
from docopt import docopt
import itertools
# import itertools
import os
import pyspatialite.dbapi2 as db
import sys
# import sys
def add_tag(node, k, v):
......@@ -27,9 +27,9 @@ def add_tag(node, k, v):
def generate_osmchange(dbfile, outdir,
changeset = 1,
min_nodes = 1, max_nodes = 8000,
include_location = False):
changeset=1,
min_nodes=1, max_nodes=8000,
include_location=False):
try:
os.makedirs(outdir)
......@@ -51,7 +51,7 @@ def generate_osmchange(dbfile, outdir,
changeset, include_location)
def generate_josm_tags_place(place, fn, outdir='.', source_rev='53'):
def generate_josm_tags_place(place, fn, outdir='.', source_rev='66'):
tags = []
tags.append('created_by=https://git.nzoss.org.nz/ewblen/osmlinzaddr/blob/master/osmlinzaddr.py')
tags.append('attribution=https://wiki.openstreetmap.org/wiki/Contributors#LINZ')
......@@ -65,7 +65,7 @@ def generate_josm_tags_place(place, fn, outdir='.', source_rev='53'):
def generate_osmchange_place(place, dbcursor, outdir,
changeset, include_location):
changeset, include_location):
if place[0] is None:
q = '''select linz_id, housenumber, street, x, y from linz_not_osm
......
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