diff options
| author | user <user@node5.net> | 2024-04-07 03:03:16 +0200 |
|---|---|---|
| committer | user <user@node5.net> | 2024-04-07 03:03:16 +0200 |
| commit | 0ead8a6c32e55fb2989e932ff0d5a20f88809fd9 (patch) | |
| tree | c7832f3a2f601e2f4f57b1914dde80888bd253dc /data_extractor | |
| parent | fa360829bfe3f04f3e6d9af196dc9fd480864d4b (diff) | |
show all stores, and their respective polygons
Diffstat (limited to 'data_extractor')
| -rw-r--r-- | data_extractor/data_extractor.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
