From: Kaj-Michael Lang Date: Tue, 24 Jul 2007 20:38:07 +0000 (+0300) Subject: Add speed and isin fields for ways. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c472583b575697d84fd7f07dc3857a3af623e0b7;p=mapper Add speed and isin fields for ways. --- diff --git a/docs/osm-tables.sql b/docs/osm-tables.sql index 8f0138e..fe8e133 100644 --- a/docs/osm-tables.sql +++ b/docs/osm-tables.sql @@ -10,7 +10,8 @@ create table way ( type int not null, nodes int not null, flags int not null, - len real + speed int not null default 0, + isin int not null default 0 ); create table way_seg ( @@ -28,8 +29,7 @@ create table area ( create table way_names ( wid int not null, - name varchar(256), - isin varchar(256) + name varchar(256) ); create table way_ref ( @@ -39,7 +39,7 @@ create table way_ref ( ); create table places ( - nid int primary key, + nid int primary key, type int not null, name text, isin int