Changeset 19476 in josm


Ignore:
Timestamp:
2026-01-20T16:07:07+01:00 (3 hours ago)
Author:
stoecker
Message:

fix left hand traffic detection for new areas, add Shenzhen Bay to tests, see #24579

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/boundaries.osm

    r19474 r19476  
    5616956169    <nd ref='-10936' />
    5617056170    <nd ref='-10930' />
    56171     <tag k='driving_side' v='left' />
    5617256171    <tag k='name:en' v='Hong Kong' />
    5617356172  </way>
     
    5624056239    <nd ref='-10962' />
    5624156240    <tag k='ISO3166-2' v='CN-MO' />
    56242     <tag k='driving_side' v='left' />
    5624356241    <tag k='name:en' v='Macau' />
    5624456242  </way>
     
    8317883176    <nd ref='-25366' />
    8317983177    <nd ref='-25352' />
    83180     <tag k='driving_side' v='left' />
    8318183178    <tag k='name:en' v='Hong Kong (Shenzhen Bay)' />
    8318283179  </way>
     
    8319083187    <nd ref='-25367' />
    8319183188    <tag k='ISO3166-2' v='CN-MO' />
    83192     <tag k='driving_side' v='left' />
    8319383189    <tag k='name:en' v='Macau (Universidade de Macau)' />
    8319483190  </way>
  • trunk/test/unit/org/openstreetmap/josm/tools/RightAndLefthandTrafficTest.java

    r18799 r19476  
    8080        check(false, "East Timor", -8.833333, 125.916667);
    8181        check(false, "Hong Kong", 22.3, 114.2);
     82        check(false, "Hong Kong (Shenzhen Bay)", 22.495, 113.945);
    8283        check(false, "Indonesia", -5, 120);
    8384        check(false, "India", 21, 78);
Note: See TracChangeset for help on using the changeset viewer.