-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removal of unneeded dispute lua and additional country support (#2068)
* lua to upgrade dependencies and territories to country status for labels. * Remove unneeded disputes and add ne_id and ne:brk to way tags to allow for a dispute_id.
- Loading branch information
1 parent
5dcce22
commit 66740a3
Showing
3 changed files
with
151 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import dsl | ||
|
||
from . import FixtureTest | ||
|
||
|
||
class TestPlaceUnrecognized(FixtureTest): | ||
def test_place_unrecognized_into_kind(self): | ||
|
||
z, x, y = 16, 0, 0 | ||
self.generate_fixtures( | ||
dsl.way(1, dsl.tile_centre_shape(z, x, y), { | ||
'place': 'unrecognized', | ||
'source': 'openstreetmap.org', | ||
'name': 'Foo' | ||
}), | ||
) | ||
|
||
self.assert_has_feature( | ||
z, x, y, 'places', { | ||
'kind': 'unrecognized', | ||
'min_zoom': 6, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters