From c9fdd62c91bc30cd251c995859b306e8b6eb38f0 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Wed, 2 Mar 2016 16:37:55 -0800 Subject: [PATCH] Try to add zoom skipping to code coverage --- tests/stable/out/-z20_-Z20.json | 116 ++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 tests/stable/out/-z20_-Z20.json diff --git a/tests/stable/out/-z20_-Z20.json b/tests/stable/out/-z20_-Z20.json new file mode 100644 index 0000000..43583b6 --- /dev/null +++ b/tests/stable/out/-z20_-Z20.json @@ -0,0 +1,116 @@ +{ "type": "FeatureCollection", "properties": { +"bounds": "-122.000000,-22.268764,132.187500,37.000000", +"center": "132.187328,-22.268605,20", +"description": "tests/stable/out/-z20_-Z20.json.check.mbtiles", +"format": "pbf", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 20, \"maxzoom\": 20, \"fields\": {\"order\": \"String\"} } ] }", +"maxzoom": "20", +"minzoom": "20", +"name": "tests/stable/out/-z20_-Z20.json.check.mbtiles", +"type": "overlay", +"version": "2" +}, "features": [ +{ "type": "FeatureCollection", "properties": { "zoom": 20, "x": 168937, "y": 408137 }, "features": [ +{ "type": "FeatureCollection", "properties": { "layer": "in" }, "features": [ +{ "type": "Feature", "properties": { "order": "one" }, "geometry": { "type": "Point", "coordinates": [ -122.000000, 37.000000 ] } } +, +{ "type": "Feature", "properties": { "order": "two" }, "geometry": { "type": "Point", "coordinates": [ -122.000000, 37.000000 ] } } +, +{ "type": "Feature", "properties": { "order": "three" }, "geometry": { "type": "Point", "coordinates": [ -122.000000, 37.000000 ] } } +, +{ "type": "Feature", "properties": { "order": "four" }, "geometry": { "type": "Point", "coordinates": [ -122.000000, 37.000000 ] } } +, +{ "type": "Feature", "properties": { "order": "five" }, "geometry": { "type": "Point", "coordinates": [ -122.000000, 37.000000 ] } } +, +{ "type": "Feature", "properties": { "order": "six" }, "geometry": { "type": "Point", "coordinates": [ -122.000000, 37.000000 ] } } +] } +] } +, +{ "type": "FeatureCollection", "properties": { "zoom": 20, "x": 909311, "y": 590848 }, "features": [ +{ "type": "FeatureCollection", "properties": { "layer": "in" }, "features": [ +{ "type": "Feature", "properties": { "order": "one" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "two" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "three" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "four" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "five" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "six" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "seven" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "eight" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "nine" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +] } +] } +, +{ "type": "FeatureCollection", "properties": { "zoom": 20, "x": 909311, "y": 590847 }, "features": [ +{ "type": "FeatureCollection", "properties": { "layer": "in" }, "features": [ +{ "type": "Feature", "properties": { "order": "one" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "two" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "three" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "four" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "five" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "six" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "seven" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "eight" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "nine" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +] } +] } +, +{ "type": "FeatureCollection", "properties": { "zoom": 20, "x": 909312, "y": 590848 }, "features": [ +{ "type": "FeatureCollection", "properties": { "layer": "in" }, "features": [ +{ "type": "Feature", "properties": { "order": "one" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "two" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "three" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "four" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "five" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "six" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "seven" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "eight" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "nine" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +] } +] } +, +{ "type": "FeatureCollection", "properties": { "zoom": 20, "x": 909312, "y": 590847 }, "features": [ +{ "type": "FeatureCollection", "properties": { "layer": "in" }, "features": [ +{ "type": "Feature", "properties": { "order": "one" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "two" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "three" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "four" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "five" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "six" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "seven" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "eight" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +, +{ "type": "Feature", "properties": { "order": "nine" }, "geometry": { "type": "Point", "coordinates": [ 132.187500, -22.268764 ] } } +] } +] } +] }