[Tile-serving] [osm2pgsql] Similar tables do not function the same with multi-backend (#267)
Sarah Hoffmann
notifications at github.com
Wed Apr 1 19:45:16 UTC 2015
I'm thinking:
~~~
struct tag {
std::string key;
std::string value;
};
std::vector<tag>
~~~
I'm not a fan of `std::pair`s because the first/second accessors make the code hard to read. Also, a simple struct is much more lightwight. It would probably also be a good idea to wrap the tag list in its own type and add a couple of convenience functions (e.g. get by key).
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/267#issuecomment-88608592
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150401/bae8cc73/attachment-0001.html>
More information about the Tile-serving
mailing list