int output_multi_t::way_modify(osmid_t id, const idlist_t &nodes, const taglist_t &tags) { if (m_processor->interests(geometry_processor::interest_way)) { // TODO - need to know it's a way? delete_from_output(id); // TODO: need to mark any relations using it - depends on what // type of output this is... delegate to the geometry processor?? return process_way(id, nodes, tags); } else { return 0; } }
int output_multi_t::way_add(osmid_t id, const idlist_t &nodes, const taglist_t &tags) { if (m_processor->interests(geometry_processor::interest_way) && nodes.size() > 1) { return process_way(id, nodes, tags); } return 0; }
int output_multi_t::way_add(osmid_t id, osmid_t *nodes, int node_count, struct keyval *tags) { if (m_processor->interests(geometry_processor::interest_way) && node_count > 1) { return process_way(id, nodes, node_count, tags); } return 0; }