-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add two smaller correctness tests from mapzen data
- Loading branch information
1 parent
ad74bc3
commit 37beff6
Showing
5 changed files
with
358 additions
and
11 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/** | ||
* Copyright 2014, OpenStreetMap contributors. | ||
* Copyright 2014, Mapzen. | ||
* | ||
* This data is made available under the Open Database License: | ||
* http://opendatacommons.org/licenses/odbl/1.0/. Any rights in individual | ||
* contents of the database are licensed under the Database Contents License: | ||
* http://opendatacommons.org/licenses/dbcl/1.0/. | ||
*/ | ||
/* jshint node: true */ | ||
|
||
module.exports = { | ||
// a single building from the from the Mapzen nyc_midtown_14 benchmark data | ||
// that happens to hit some nice corner cases | ||
name: 'Mapzen single building - OSM', | ||
value: [ | ||
[ | ||
1766.3742691542516, -1401.2586967901234, 0, | ||
1795.4547768888094, -1356.2028538183904, 0, | ||
1836.465749333181, -1394.6111212094906, 0, | ||
1848.7690410664927, -1372.2063095273256, 0, | ||
1934.519256179295, -1425.1407052855038, 0, | ||
1905.2523349337682, -1478.321134954032, 0, | ||
1766.3742691542516, -1401.2586967901234, 0 | ||
], | ||
[ | ||
1885.3060892444894, -1439.4206524621932, 0, | ||
1901.151237689331, -1448.284061682003, 0, | ||
1910.0990862205217, -1431.788268456597, 0, | ||
1894.4403512897684, -1423.1710564252976, 0, | ||
1885.3060892444894, -1439.4206524621932, 0 | ||
], | ||
[ | ||
1823.91778986799, -1380.8235484254265, 0, | ||
1876.2999864892688, -1332.8131596033704, 0, | ||
1934.0881749348869, -1369.0056196450514, 0, | ||
1897.7375402662997, -1426.6179417774301, 0, | ||
1823.91778986799, -1380.8235484254265, 0 | ||
], | ||
[ | ||
1877.2320540456733, -1399.0428385611244, 0, | ||
1883.7565269342672, -1402.7359354405016, 0, | ||
1888.789691735109, -1393.380088398586, 0, | ||
1882.0788053324268, -1389.9331960377222, 0, | ||
1877.2320540456733, -1399.0428385611244, 0 | ||
] | ||
] | ||
}; |
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
Oops, something went wrong.