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

Minor formatting, default source rev = 66

parent 4953b32c
...@@ -16,10 +16,10 @@ Options: ...@@ -16,10 +16,10 @@ Options:
from __future__ import print_function, division, unicode_literals from __future__ import print_function, division, unicode_literals
from lxml import etree as ET from lxml import etree as ET
from docopt import docopt from docopt import docopt
import itertools # import itertools
import os import os
import pyspatialite.dbapi2 as db import pyspatialite.dbapi2 as db
import sys # import sys
def add_tag(node, k, v): def add_tag(node, k, v):
...@@ -27,9 +27,9 @@ def add_tag(node, k, v): ...@@ -27,9 +27,9 @@ def add_tag(node, k, v):
def generate_osmchange(dbfile, outdir, def generate_osmchange(dbfile, outdir,
changeset = 1, changeset=1,
min_nodes = 1, max_nodes = 8000, min_nodes=1, max_nodes=8000,
include_location = False): include_location=False):
try: try:
os.makedirs(outdir) os.makedirs(outdir)
...@@ -51,7 +51,7 @@ def generate_osmchange(dbfile, outdir, ...@@ -51,7 +51,7 @@ def generate_osmchange(dbfile, outdir,
changeset, include_location) 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 = []
tags.append('created_by=https://git.nzoss.org.nz/ewblen/osmlinzaddr/blob/master/osmlinzaddr.py') 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') tags.append('attribution=https://wiki.openstreetmap.org/wiki/Contributors#LINZ')
......
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