summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormetalstrolch <stefan.wildemann@metalstrolche.de>2022-05-24 13:12:33 +0200
committerjkoan <jkoan@users.noreply.github.com>2022-05-24 15:10:42 +0200
commitb5c61306bfe15743bbdb9e8bc62a1d9e3123bcd1 (patch)
treee92008ed4e937055fb4682e351a3f500b377d076
parent720b4f17c063cbdb76a03f30b591952e2bcf52de (diff)
downloadnavit-b5c61306bfe15743bbdb9e8bc62a1d9e3123bcd1.tar.gz
fix:maptool: Don't drop unrecognized relations to borders temp file
Cleans up place to area processing
-rw-r--r--navit/maptool/osm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/maptool/osm.c b/navit/maptool/osm.c
index 73984853e..f76120e3e 100644
--- a/navit/maptool/osm.c
+++ b/navit/maptool/osm.c
@@ -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);
}
}