Skip to content

Commit

Permalink
Merge pull request #809 from mapzen/building-height-level
Browse files Browse the repository at this point in the history
Add test for building properties and height
  • Loading branch information
rmarianski committed May 10, 2016
2 parents 6a796fe + 467e5e6 commit ead4940
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v0.10.2
-------
* **Release date**: 2016-05-10.
* Add test to verify building heights and properties use the `_` separator. See [#806](https://github.com/mapzen/vector-datasource/issues/806).
* **Requires:** [tileserver v0.6.1](https://github.com/mapzen/tileserver/releases/tag/v0.6.1) and [tilequeue v0.9.0](https://github.com/mapzen/tilequeue/releases/tag/v0.9.0) and [TileStache v0.10.1](https://github.com/mapzen/TileStache/releases/tag/v0.10.1)

v0.10.1
-------
* **Release date**: 2016-05-06.
Expand Down
13 changes: 13 additions & 0 deletions test/806-building-height.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Way: R5 (161390790)
# https://www.openstreetmap.org/way/161390790
assert_has_feature(
16, 55897, 25449, 'buildings',
{ 'id': 161390790, 'height': 77.0, 'kind': 'office',
'building:levels': type(None), 'building_levels': type(None) })

# http://www.openstreetmap.org/way/336433763
assert_has_feature(
16, 19086, 24821, 'buildings',
{ 'id': 336433763, 'min_height': 3.0, 'kind': 'building',
'building_part': type(None), 'building:min_levels': type(None),
'building_min_levels': type(None) })

0 comments on commit ead4940

Please sign in to comment.