Skip to content

Commit 2547501

Browse files
committed
Corrected some critical errors [rraahh... I should be more serious about tests
1 parent 272a385 commit 2547501

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

osm4routing.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ def parse(file, output="csv", edges_name="edges", nodes_name="nodes"):
3636
metadata = MetaData()
3737
nodes_table = Table(nodes_name, metadata,
3838
Column('id', Integer, primary_key = True),
39-
Column('original_id', Text, Index = True),
40-
Column('lon', Float, Index = True),
41-
Column('lat', Float, Index = True),
39+
Column('original_id', String, index = True),
40+
Column('lon', Float, index = True),
41+
Column('lat', Float, index = True),
4242
Column('the_geom', String)
4343
)
4444

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from setuptools import setup, find_packages, Extension
1010
setup(name='Osm4routing',
11-
version='1.0.0-c',
11+
version='1.0.0-d',
1212
author= 'Tristram Graebener',
1313
author_email = '[email protected]',
1414
description = 'A simple tool to parse OpenStreetMap data to use them for routing',

0 commit comments

Comments
 (0)