[Tile-serving] [openstreetmap/osm2pgsql] Refactor middle (#1371)
Jochen Topf
notifications at github.com
Tue Dec 15 19:35:57 UTC 2020
@joto commented on this pull request.
> @@ -314,6 +314,46 @@ std::size_t middle_query_pgsql_t::get_way_node_locations_db(
return count;
}
+void middle_pgsql_t::node(osmium::Node const &node)
+{
+ if (node.deleted()) {
+ node_delete(node.id());
+ } else {
+ if (m_options->append) {
+ node_delete(node.id());
+ node_set(node);
+ } else {
+ node_set(node);
Just not gotten around to that. I have added a commit now that does that.
--
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/1371#discussion_r543631280
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20201215/9fee9fc8/attachment.htm>
More information about the Tile-serving
mailing list