[Tile-serving] [osm2pgsql] route_name tag (#315)
Paul Norman
notifications at github.com
Thu Jul 2 06:58:33 UTC 2015
ping @gravitystorm
Would it cause problems if the `name` column was populated in *addition* to the `route_name` column?
The relevant code is
```cpp
for (keyval *p = rel_tags->firstItem(); p; p = rel_tags->nextItem(p)) {
//copy the name tag as "route_name"
if (is_route && (p->key == "name"))
tags.addItem("route_name", p->value, true);
//copy all other tags except for "type"
else if (p->key != "type")
tags.addItem(p->key, p->value, true);
}
```
I'd do this by changing the `else if` to an `if`
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/315#issuecomment-117935803
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150701/b8c99c2f/attachment.html>
More information about the Tile-serving
mailing list