[Tile-serving] [openstreetmap/osm2pgsql] store all relation tags to hstore (#556)

Paul Norman notifications at github.com
Thu Apr 7 20:15:00 UTC 2016


https://github.com/openstreetmap/osm2pgsql/blob/master/tagtransform.cpp#L132-L134

```cpp
for (const auto& rel_tag: rel_tags) {
    //copy the name tag as "route_name"
    if (is_route && (rel_tag.key == "name"))
        out_tags.push_dedupe(tag_t("route_name", rel_tag.value));
    //copy all other tags except for "type"
    if (rel_tag.key != "type")
        out_tags.push_dedupe(rel_tag);
}
```

This is intentional. If you want to have this information in your database, using your own Lua tag transform is your best bet.

---
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/556#issuecomment-207071637
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160407/a4fb1365/attachment.html>


More information about the Tile-serving mailing list