Ticket #840: parking_lanes.patch

File parking_lanes.patch, 3.7 KB (added by ziaou, 9 years ago)

Add street_parking_lane to item.c and to vehicle profiles (navit.xml)

  • navit_shipped.xml

     
    120120                <tracking cdf_histsize="0"/>
    121121
    122122                <vehicleprofile name="car" flags="0x4000000" flags_forward_mask="0x4000002" flags_reverse_mask="0x4000001" maxspeed_handling="0" route_mode="0" static_speed="5" static_distance="25">
    123                         <roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved" speed="10" route_weight="10">
     123                        <roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved,street_parking_lane" speed="10" route_weight="10">
    124124                                        <announcement level="0" distance_metric="25"/>
    125125                                        <announcement level="1" distance_metric="100"/>
    126126                                        <announcement level="2" distance_metric="200"/>
     
    185185                </vehicleprofile>
    186186
    187187                <vehicleprofile name="car_avoid_tolls" flags="0x4000000" flags_forward_mask="0x4000402" flags_reverse_mask="0x4000001" maxspeed_handling="0" route_mode="0" static_speed="5" static_distance="25">
    188                         <roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved" speed="10" route_weight="10">
     188                        <roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved,street_parking_lane" speed="10" route_weight="10">
    189189                                        <announcement level="0" distance_metric="25"/>
    190190                                        <announcement level="1" distance_metric="100"/>
    191191                                        <announcement level="2" distance_metric="200"/>
     
    341341                                        <announcement level="1" distance_metric="100"/>
    342342                                        <announcement level="2" distance_metric="200"/>
    343343                        </roadprofile>
    344                         <roadprofile item_types="street_3_city,street_4_city,street_service" speed="5" route_weight="5">
     344                        <roadprofile item_types="street_3_city,street_4_city,street_service,street_parking_lane" speed="5" route_weight="5">
    345345                                        <announcement level="0" distance_metric="25"/>
    346346                                        <announcement level="1" distance_metric="100"/>
    347347                                        <announcement level="2" distance_metric="200"/>
     
    395395                                        <announcement level="1" distance_metric="100"/>
    396396                                        <announcement level="2" distance_metric="200"/>
    397397                        </roadprofile>
    398                         <roadprofile item_types="street_3_city,street_4_city,street_service" speed="5" route_weight="4">
     398                        <roadprofile item_types="street_3_city,street_4_city,street_service,street_parking_lane" speed="5" route_weight="4">
    399399                                        <announcement level="0" distance_metric="25"/>
    400400                                        <announcement level="1" distance_metric="100"/>
    401401                                        <announcement level="2" distance_metric="200"/>
     
    440440 static_distance="25"
    441441                                vehicle_width="274" vehicle_height="411" vehicle_length="2134"
    442442                                vehicle_weight="36287" vehicle_axle_weight="15422">
    443                         <roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved" speed="5" route_weight="5">
     443                        <roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved,street_parking_lane" speed="5" route_weight="5">
    444444                                        <announcement level="0" distance_metric="25"/>
    445445                                        <announcement level="1" distance_metric="100"/>
    446446                                        <announcement level="2" distance_metric="200"/>
  • item.c

     
    6666        {type_footway, AF_PBH},
    6767        {type_living_street, AF_ALL},
    6868        {type_street_service, AF_ALL},
     69        {type_street_parking_lane, AF_ALL},
    6970        {type_bridleway, AF_PBH},
    7071        {type_path, AF_PBH},
    7172        {type_steps, AF_PBH},