Move the tilestats into the "json" row of the metadata

This commit is contained in:
Eric Fischer
2017-07-26 09:54:49 -07:00
parent 5a09fcc35e
commit cc28bbab3a
80 changed files with 83 additions and 169 deletions
+1 -2
View File
@@ -3,11 +3,10 @@
"center": "-87.363281,38.685378,10",
"description": "tests/knox/out/-zg.json.check.mbtiles",
"format": "pbf",
"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 10, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} } ] }",
"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 10, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 53,\"geometry\": \"LineString\",\"attributeCount\": 4,\"attributes\": [{\"attribute\": \"FULLNAME\",\"count\": 9,\"type\": \"string\",\"values\": [\"E Old US Hwy 150\",\"E US Hwy 50\",\"E US Hwy 50-150\",\"N US Hwy 41\",\"Old US Hwy 41\",\"US Hwy 150\",\"US Hwy 41\",\"US Hwy 41 S\",\"US Hwy 50\"]},{\"attribute\": \"LINEARID\",\"count\": 53,\"type\": \"string\",\"values\": [\"110170070259\",\"110170070260\",\"110170070261\",\"110170070271\",\"110170070272\",\"110170070276\",\"110170070277\",\"110170070318\",\"110170070320\",\"110170071138\",\"110170072467\",\"1104257570399\",\"1104257599171\",\"1104257610285\",\"1104257610358\",\"1104257616296\",\"1104257622329\",\"1104257624305\",\"1104257624535\",\"1104257624536\",\"1104257624538\",\"1104257624700\",\"1104257627422\",\"1104257627423\",\"1104257640853\",\"1104257690581\",\"1104469553886\",\"1104469613150\",\"1104469613492\",\"1104471568916\",\"1104471680885\",\"1104471685645\",\"1104471685646\",\"1104471685675\",\"1104471685676\",\"1104471686635\",\"1104471686636\",\"1104472002543\",\"1104485818173\",\"1104485818174\",\"1104485838817\",\"1104485841551\",\"1104485841552\",\"1104485841553\",\"1104485841554\",\"1104485841555\",\"1104485841556\",\"1104485841662\",\"1104485841663\",\"1104485841664\",\"1104485841665\",\"1104485841666\",\"1104485841667\"]},{\"attribute\": \"MTFCC\",\"count\": 2,\"type\": \"string\",\"values\": [\"S1200\",\"S1400\"]},{\"attribute\": \"RTTYP\",\"count\": 2,\"type\": \"string\",\"values\": [\"M\",\"U\"]}]}]}}",
"maxzoom": "10",
"minzoom": "0",
"name": "tests/knox/out/-zg.json.check.mbtiles",
"tilestats": "{\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 53,\"geometry\": \"LineString\",\"attributeCount\": 4,\"attributes\": [{\"attribute\": \"FULLNAME\",\"count\": 9,\"type\": \"string\",\"values\": [\"E Old US Hwy 150\",\"E US Hwy 50\",\"E US Hwy 50-150\",\"N US Hwy 41\",\"Old US Hwy 41\",\"US Hwy 150\",\"US Hwy 41\",\"US Hwy 41 S\",\"US Hwy 50\"]},{\"attribute\": \"LINEARID\",\"count\": 53,\"type\": \"string\",\"values\": [\"110170070259\",\"110170070260\",\"110170070261\",\"110170070271\",\"110170070272\",\"110170070276\",\"110170070277\",\"110170070318\",\"110170070320\",\"110170071138\",\"110170072467\",\"1104257570399\",\"1104257599171\",\"1104257610285\",\"1104257610358\",\"1104257616296\",\"1104257622329\",\"1104257624305\",\"1104257624535\",\"1104257624536\",\"1104257624538\",\"1104257624700\",\"1104257627422\",\"1104257627423\",\"1104257640853\",\"1104257690581\",\"1104469553886\",\"1104469613150\",\"1104469613492\",\"1104471568916\",\"1104471680885\",\"1104471685645\",\"1104471685646\",\"1104471685675\",\"1104471685676\",\"1104471686635\",\"1104471686636\",\"1104472002543\",\"1104485818173\",\"1104485818174\",\"1104485838817\",\"1104485841551\",\"1104485841552\",\"1104485841553\",\"1104485841554\",\"1104485841555\",\"1104485841556\",\"1104485841662\",\"1104485841663\",\"1104485841664\",\"1104485841665\",\"1104485841666\",\"1104485841667\"]},{\"attribute\": \"MTFCC\",\"count\": 2,\"type\": \"string\",\"values\": [\"S1200\",\"S1400\"]},{\"attribute\": \"RTTYP\",\"count\": 2,\"type\": \"string\",\"values\": [\"M\",\"U\"]}]}]}",
"type": "overlay",
"version": "2"
}, "features": [
+1 -2
View File
@@ -3,11 +3,10 @@
"center": "-87.363281,38.685378,10",
"description": "tests/knox/out/-zg_-P.json.check.mbtiles",
"format": "pbf",
"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 10, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} } ] }",
"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 10, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 53,\"geometry\": \"LineString\",\"attributeCount\": 4,\"attributes\": [{\"attribute\": \"FULLNAME\",\"count\": 9,\"type\": \"string\",\"values\": [\"E Old US Hwy 150\",\"E US Hwy 50\",\"E US Hwy 50-150\",\"N US Hwy 41\",\"Old US Hwy 41\",\"US Hwy 150\",\"US Hwy 41\",\"US Hwy 41 S\",\"US Hwy 50\"]},{\"attribute\": \"LINEARID\",\"count\": 53,\"type\": \"string\",\"values\": [\"110170070259\",\"110170070260\",\"110170070261\",\"110170070271\",\"110170070272\",\"110170070276\",\"110170070277\",\"110170070318\",\"110170070320\",\"110170071138\",\"110170072467\",\"1104257570399\",\"1104257599171\",\"1104257610285\",\"1104257610358\",\"1104257616296\",\"1104257622329\",\"1104257624305\",\"1104257624535\",\"1104257624536\",\"1104257624538\",\"1104257624700\",\"1104257627422\",\"1104257627423\",\"1104257640853\",\"1104257690581\",\"1104469553886\",\"1104469613150\",\"1104469613492\",\"1104471568916\",\"1104471680885\",\"1104471685645\",\"1104471685646\",\"1104471685675\",\"1104471685676\",\"1104471686635\",\"1104471686636\",\"1104472002543\",\"1104485818173\",\"1104485818174\",\"1104485838817\",\"1104485841551\",\"1104485841552\",\"1104485841553\",\"1104485841554\",\"1104485841555\",\"1104485841556\",\"1104485841662\",\"1104485841663\",\"1104485841664\",\"1104485841665\",\"1104485841666\",\"1104485841667\"]},{\"attribute\": \"MTFCC\",\"count\": 2,\"type\": \"string\",\"values\": [\"S1200\",\"S1400\"]},{\"attribute\": \"RTTYP\",\"count\": 2,\"type\": \"string\",\"values\": [\"M\",\"U\"]}]}]}}",
"maxzoom": "10",
"minzoom": "0",
"name": "tests/knox/out/-zg_-P.json.check.mbtiles",
"tilestats": "{\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 53,\"geometry\": \"LineString\",\"attributeCount\": 4,\"attributes\": [{\"attribute\": \"FULLNAME\",\"count\": 9,\"type\": \"string\",\"values\": [\"E Old US Hwy 150\",\"E US Hwy 50\",\"E US Hwy 50-150\",\"N US Hwy 41\",\"Old US Hwy 41\",\"US Hwy 150\",\"US Hwy 41\",\"US Hwy 41 S\",\"US Hwy 50\"]},{\"attribute\": \"LINEARID\",\"count\": 53,\"type\": \"string\",\"values\": [\"110170070259\",\"110170070260\",\"110170070261\",\"110170070271\",\"110170070272\",\"110170070276\",\"110170070277\",\"110170070318\",\"110170070320\",\"110170071138\",\"110170072467\",\"1104257570399\",\"1104257599171\",\"1104257610285\",\"1104257610358\",\"1104257616296\",\"1104257622329\",\"1104257624305\",\"1104257624535\",\"1104257624536\",\"1104257624538\",\"1104257624700\",\"1104257627422\",\"1104257627423\",\"1104257640853\",\"1104257690581\",\"1104469553886\",\"1104469613150\",\"1104469613492\",\"1104471568916\",\"1104471680885\",\"1104471685645\",\"1104471685646\",\"1104471685675\",\"1104471685676\",\"1104471686635\",\"1104471686636\",\"1104472002543\",\"1104485818173\",\"1104485818174\",\"1104485838817\",\"1104485841551\",\"1104485841552\",\"1104485841553\",\"1104485841554\",\"1104485841555\",\"1104485841556\",\"1104485841662\",\"1104485841663\",\"1104485841664\",\"1104485841665\",\"1104485841666\",\"1104485841667\"]},{\"attribute\": \"MTFCC\",\"count\": 2,\"type\": \"string\",\"values\": [\"S1200\",\"S1400\"]},{\"attribute\": \"RTTYP\",\"count\": 2,\"type\": \"string\",\"values\": [\"M\",\"U\"]}]}]}",
"type": "overlay",
"version": "2"
}, "features": [