[Tile-serving] [openstreetmap/osm2pgsql] Save unprojected coordinates in node caches and use osmium dense file array (#668)
Sarah Hoffmann
notifications at github.com
Thu Jan 5 20:09:46 UTC 2017
lonvia commented on this pull request.
> @@ -378,8 +367,9 @@ size_t middle_pgsql_t::local_nodes_get_list(nodelist_t &out, osmium::WayNodeList
size_t wrtidx = 0;
for (size_t i = 0; i < nds.size(); ++i) {
if (std::isnan(out[i].lat)) {
- std::unordered_map<osmid_t, osmNode>::iterator found = pg_nodes.find(nds[i].ref());
- if(found != pg_nodes.end()) {
+ std::unordered_map<osmid_t, osmNode>::iterator found =
+ pg_nodes.find(nds[i].ref());
+ if (found != pg_nodes.end()) {
This is part of the code that was just formatted by clang-format. I don't want to touch it at the moment.
--
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/pull/668
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170105/dd50045c/attachment.html>
More information about the Tile-serving
mailing list