[Tile-serving] [osm2pgsql] route_name tag (#315)

Paul Norman notifications at github.com
Tue Mar 17 21:57:10 UTC 2015


A user on IRC was confused why names for route relations were not appearing in their osm2pgsql database. So was I, until I found 

[tagtransform.cpp:113](https://github.com/openstreetmap/osm2pgsql/blob/b81f2d992cf96aebe84e24eb57cbf4c483a3df5a/tagtransform.cpp#L113)
```cpp
if (is_route && (p->key == "name"))
  tags.addItem("route_name", p->value, true);
``

https://trac.openstreetmap.org/ticket/1703 is related, but I don't believe it is relevant anymore.

It may have been relevant if relying on catchalls with osm.xml, but isn't relevant to any recent stylesheet.

The lua transforms do not do this.

It is undocumented.

Should we still be doing this?

This does not impact openstreetmap-carto.

cc @Tommyf

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/315
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150317/5ed4d838/attachment.html>


More information about the Tile-serving mailing list