Ticket #704: maptool-housenumber.diff
File maptool-housenumber.diff, 1.5 KB (added by tryagain, 10 years ago) |
---|
-
navit/maptool/osm.c
495 495 "n traffic_sign=city_limit traffic_sign_city_limit\n" 496 496 "n highway=speed_camera tec_common\n" 497 497 "w *=* street_unkn\n" 498 "w addr:housenumber=* house_number\n" 499 "w addr:street=* street_name\n" 498 500 "w addr:interpolation=even house_number_interpolation_even\n" 499 501 "w addr:interpolation=odd house_number_interpolation_odd\n" 500 502 "w addr:interpolation=all house_number_interpolation_all\n" … … 1531 1533 } 1532 1534 for (i = 0 ; i < count ; i++) { 1533 1535 add_flags=0; 1534 if (types[i] == type_none )1536 if (types[i] == type_none || types[i] == type_street_name) 1535 1537 continue; 1536 1538 if (ignore_unkown && (types[i] == type_street_unkn || types[i] == type_point_unkn)) 1537 1539 continue; … … 1545 1547 } 1546 1548 item_bin_add_attr_string(item_bin, def_flags ? attr_street_name : attr_label, attr_strings[attr_string_label]); 1547 1549 item_bin_add_attr_string(item_bin, attr_street_name_systematic, attr_strings[attr_string_street_name_systematic]); 1550 item_bin_add_attr_string(item_bin, attr_house_number, attr_strings[attr_string_house_number]); 1551 item_bin_add_attr_string(item_bin, attr_street_name, attr_strings[attr_string_street_name]); 1548 1552 item_bin_add_attr_longlong(item_bin, attr_osm_wayid, osmid_attr_value); 1549 1553 if (debug_attr_buffer[0]) 1550 1554 item_bin_add_attr_string(item_bin, attr_debug, debug_attr_buffer);