[Tile-serving] [openstreetmap/osm2pgsql] `way_area` in hstore instead of a separate column now? (Issue #1590)

Sarah Hoffmann notifications at github.com
Mon Dec 13 16:14:48 UTC 2021


Turns out, this is a bug. Somehow we don't properly reset column flags when reading the style file.

Style file:
```
node,way   wetland                       text      polygon,nocolumn
way        foo                           text      linear
way        way_area                      real      
```
results in columns `foo`, `way_area`.

Style file:
```
node,way   wetland                       text      polygon,nocolumn
way        foo                           text      
way        way_area                      real      linear
```
results in column `way_area` only.

Style file:
```
node,way   wetland                       text      polygon
way        foo                           text
way        way_area                      real
```
results in columns `wetland`, `foo` and `way_area`.

This could go unnoticed for so long because most people modify the default style where all columns have flags.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1590#issuecomment-992636093
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20211213/cd35c741/attachment.htm>


More information about the Tile-serving mailing list