Skip to content

Commit

Permalink
fix:maptool: Don't drop unrecognized relations to borders temp file
Browse files Browse the repository at this point in the history
Cleans up place to area processing
  • Loading branch information
metalstrolch authored and jkoan committed May 24, 2022
1 parent 720b4f1 commit b5c6130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion navit/maptool/osm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1715,7 +1715,7 @@ static inline void osm_end_relation_multipolygon (struct maptool_osm * osm) {
//tmp_item_bin->type=type_none;
}
if ((!g_strcmp0(relation_type, "multipolygon") || !g_strcmp0(relation_type, "boundary"))
&& (boundary || type!=type_none)) {
&& (boundary)) {
item_bin_write(tmp_item_bin, osm->boundaries);
}
}
Expand Down

0 comments on commit b5c6130

Please sign in to comment.