]> err.no Git - mapper/commitdiff
Add place table for storing cities, towns, villages, hamlets and suburbs
authorKaj-Michael Lang <milang@onion.tal.org>
Mon, 16 Jul 2007 09:49:44 +0000 (12:49 +0300)
committerKaj-Michael Lang <milang@onion.tal.org>
Mon, 16 Jul 2007 09:49:44 +0000 (12:49 +0300)
docs/osm-tables.sql

index 8bbe3709490c662bc163ba4e091205d7b8d66e02..7bbfeede0b1a57a98b356c6036a3c7493c8eed85 100644 (file)
@@ -47,6 +47,12 @@ create table way_ref (
        int_ref varchar(32)
 );
 
+create table places (
+       nid     int primary key,
+       type    int not null,
+       name    text
+);
+
 CREATE TABLE poi (
        poi_id integer PRIMARY KEY,
        lat     real not null,