Add:Core:Add nice display of pedestrian area
authoraurel_j <aurel_j@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 10 Apr 2008 20:46:37 +0000 (20:46 +0000)
committeraurel_j <aurel_j@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 10 Apr 2008 20:46:37 +0000 (20:46 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@994 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/src/navit.xml
navit/src/osm2navit.c

index cd92b2c..7408110 100644 (file)
@@ -100,6 +100,51 @@ Change to your home coordinates.
                                <polygon color="#7cc334" /> 
                                <label label_size="5" /> 
                        </item>
+                       <item type="poly_pedestrian" order="10">
+                               <polyline color="#d2d2d2" width="3" />
+                               <polyline color="#dddddd" width="1" />
+                               <polygon color="#dddddd" />
+                       </item>
+                       <item type="poly_pedestrian" order="11">
+                               <polyline color="#d2d2d2" width="5" />
+                               <polyline color="#dddddd" width="3" />
+                               <polygon color="#dddddd" />
+                       </item>
+                       <item type="poly_pedestrian" order="12">
+                               <polyline color="#d2d2d2" width="8" />
+                               <polyline color="#dddddd" width="6" />
+                               <polygon color="#dddddd" />
+                       </item>
+                       <item type="poly_pedestrian" order="13">
+                               <polyline color="#d2d2d2" width="9" />
+                               <polyline color="#dddddd" width="7" />
+                               <polygon color="#dddddd" />
+                       </item>
+                       <item type="poly_pedestrian" order="14">
+                               <polyline color="#d2d2d2" width="13" />
+                               <polyline color="#dddddd" width="9" />
+                               <polygon color="#dddddd" />
+                       </item>
+                       <item type="poly_pedestrian" order="15">
+                               <polyline color="#d2d2d2" width="18" />
+                               <polyline color="#dddddd" width="14" />
+                               <polygon color="#dddddd" />
+                       </item>
+                       <item type="poly_pedestrian" order="16">
+                               <polyline color="#d2d2d2" width="21" />
+                               <polyline color="#dddddd" width="17" />
+                               <polygon color="#dddddd" />
+                       </item>
+                       <item type="poly_pedestrian" order="17">
+                               <polyline color="#d2d2d2" width="25" />
+                               <polyline color="#dddddd" width="21" />
+                               <polygon color="#dddddd" />
+                       </item>
+                       <item type="poly_pedestrian" order="18">
+                               <polyline color="#d2d2d2" width="40" />
+                               <polyline color="#dddddd" width="34" />
+                               <polygon color="#dddddd" />
+                       </item>
                        <item type="poly_airport" order="0-">
                                <polygon color="#a0a0a0" /> 
                        </item>
index fd137ae..4d31be0 100644 (file)
@@ -140,8 +140,7 @@ static char *attrmap={
        "w      highway=service         street_service\n"
        "w      highway=construction            street_construction\n"
        "w      highway=pedestrian      street_pedestrian\n"
-       "w      highway=pedestrian,area=yes     poly_pedestrian\n"
-       "w      highway=pedestrian,area=true    poly_pedestrian\n"
+       "w      highway=pedestrian,area=1       poly_pedestrian\n"
        "w      highway=plaza   poly_plaza\n"
        "w      landuse=plaza   poly_plaza\n"
        "w      highway=residential     street_1_city\n"