protomaps / basemaps

Basemap PMTiles generation and cartographic styles for OpenStreetMap data and more
https://maps.protomaps.com/
Other
347 stars 44 forks source link

hawaii state routes should not be US interstates #92

Closed nvkelso closed 1 year ago

nvkelso commented 1 year ago

Basic Java string manipulation change.

Fixes #86

bdon commented 1 year ago

@nvkelso can you link some OSM examples so I can flesh out the test suite?

nvkelso commented 1 year ago

@bdon from the linked issue:

With the following tags:

tag value
highway tertiary
lanes 2
name South Wakea Avenue
ref HI-3920

Where the ref should export as HI3920 (not HI-3920) and the network should be other (not US:I).

NOTE: A later change I'll propose will strip HI off the ref, and later more set the network to US:HI). So the test will be 3x useful :)

bdon commented 1 year ago

@nvkelso PTAL #114 - can encapsulate logic and test cases for HI-3920 -> HI3920