From 0ead8a6c32e55fb2989e932ff0d5a20f88809fd9 Mon Sep 17 00:00:00 2001 From: user Date: Sun, 7 Apr 2024 03:03:16 +0200 Subject: show all stores, and their respective polygons --- data_extractor/data_extractor.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'data_extractor') diff --git a/data_extractor/data_extractor.lua b/data_extractor/data_extractor.lua index 8a95e6c..4732f3b 100644 --- a/data_extractor/data_extractor.lua +++ b/data_extractor/data_extractor.lua @@ -5,6 +5,7 @@ local shop = osm2pgsql.define_table({ { column = 'name' }, { column = 'class', not_null = true }, { column = 'subclass' }, + { column = 'brand' }, { column = 'geom', type = 'point', not_null = true }, }}) @@ -17,6 +18,7 @@ function process_poi(object, geom) if object.tags.shop then a.class = 'shop' a.subclass = object.tags.shop + a.brand = object.tags.brand else return end -- cgit v1.2.3