diff --git a/CHANGELOG.md b/CHANGELOG.md index 17089b4e..e5e72aa0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## 1.21.0 + +* Generate layer, feature, and attribute statistics as part of tileset metadata + +## 1.20.1 + +* Close mbtiles file properly when there are no valid features in the input + +## 1.20.0 + +* Add long options to tippecanoe-decode and tile-join. Add --quiet to tile-join. + ## 1.19.3 * Upgrade protozero to version 1.5.2 diff --git a/Makefile b/Makefile index 964e1439..4a5bc4d9 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ tippecanoe-enumerate: enumerate.o tippecanoe-decode: decode.o projection.o mvt.o write_json.o $(CXX) $(PG) $(LIBS) $(FINAL_FLAGS) $(CXXFLAGS) -o $@ $^ $(LDFLAGS) -lm -lz -lsqlite3 -tile-join: tile-join.o projection.o pool.o mbtiles.o mvt.o memfile.o dirtiles.o jsonpull/jsonpull.o +tile-join: tile-join.o projection.o pool.o mbtiles.o mvt.o memfile.o dirtiles.o jsonpull/jsonpull.o text.o $(CXX) $(PG) $(LIBS) $(FINAL_FLAGS) $(CXXFLAGS) -o $@ $^ $(LDFLAGS) -lm -lz -lsqlite3 -lpthread unit: unit.o text.o @@ -85,7 +85,7 @@ test: tippecanoe tippecanoe-decode $(addsuffix .check,$(TESTS)) raw-tiles-test p %.json.check: ./tippecanoe -aD -f -o $@.mbtiles $(subst @,:,$(subst %,/,$(subst _, ,$(patsubst %.json.check,%,$(word 4,$(subst /, ,$@)))))) $(wildcard $(subst $(SPACE),/,$(wordlist 1,2,$(subst /, ,$@)))/*.json) < /dev/null ./tippecanoe-decode $@.mbtiles > $@.out - cmp $(patsubst %.check,%,$@) $@.out + cmp $@.out $(patsubst %.check,%,$@) rm $@.out $@.mbtiles parallel-test: @@ -116,7 +116,7 @@ parallel-test: rm tests/parallel/*.mbtiles tests/parallel/*.json raw-tiles-test: - ./tippecanoe -e tests/raw-tiles/raw-tiles tests/raw-tiles/hackspots.geojson -pC + ./tippecanoe -f -e tests/raw-tiles/raw-tiles tests/raw-tiles/hackspots.geojson -pC diff -x '*.DS_Store' -rq tests/raw-tiles/raw-tiles tests/raw-tiles/compare rm -rf tests/raw-tiles/raw-tiles @@ -133,7 +133,7 @@ pbf-test: ./tippecanoe-decode tests/pbf/11-328-791.vector.pbf 11 328 791 > tests/pbf/11-328-791.vector.pbf.out cmp tests/pbf/11-328-791.json tests/pbf/11-328-791.vector.pbf.out rm tests/pbf/11-328-791.vector.pbf.out - ./tippecanoe-decode -t EPSG:3857 tests/pbf/11-328-791.vector.pbf 11 328 791 > tests/pbf/11-328-791.3857.vector.pbf.out + ./tippecanoe-decode -s EPSG:3857 tests/pbf/11-328-791.vector.pbf 11 328 791 > tests/pbf/11-328-791.3857.vector.pbf.out cmp tests/pbf/11-328-791.3857.json tests/pbf/11-328-791.3857.vector.pbf.out rm tests/pbf/11-328-791.3857.vector.pbf.out @@ -148,11 +148,11 @@ join-test: ./tippecanoe -f -z12 -o tests/join-population/tabblock_06001420.mbtiles tests/join-population/tabblock_06001420.json ./tippecanoe -f -Z5 -z10 -o tests/join-population/macarthur.mbtiles -l macarthur tests/join-population/macarthur.json ./tippecanoe -f -d10 -D10 -Z9 -z11 -o tests/join-population/macarthur2.mbtiles -l macarthur tests/join-population/macarthur2.json - ./tile-join -f -o tests/join-population/joined.mbtiles -x GEOID10 -c tests/join-population/population.csv tests/join-population/tabblock_06001420.mbtiles + ./tile-join --quiet --force -o tests/join-population/joined.mbtiles -x GEOID10 -c tests/join-population/population.csv tests/join-population/tabblock_06001420.mbtiles ./tile-join -f -i -o tests/join-population/joined-i.mbtiles -x GEOID10 -c tests/join-population/population.csv tests/join-population/tabblock_06001420.mbtiles ./tile-join -f -o tests/join-population/merged.mbtiles tests/join-population/tabblock_06001420.mbtiles tests/join-population/macarthur.mbtiles tests/join-population/macarthur2.mbtiles ./tile-join -f -c tests/join-population/windows.csv -o tests/join-population/windows.mbtiles tests/join-population/macarthur.mbtiles - ./tippecanoe-decode -z11 -Z4 tests/join-population/joined.mbtiles > tests/join-population/joined.mbtiles.json.check + ./tippecanoe-decode --maximum-zoom=11 --minimum-zoom=4 tests/join-population/joined.mbtiles > tests/join-population/joined.mbtiles.json.check ./tippecanoe-decode tests/join-population/joined-i.mbtiles > tests/join-population/joined-i.mbtiles.json.check ./tippecanoe-decode tests/join-population/merged.mbtiles > tests/join-population/merged.mbtiles.json.check ./tippecanoe-decode tests/join-population/windows.mbtiles > tests/join-population/windows.mbtiles.json.check @@ -166,25 +166,25 @@ join-test: ./tippecanoe-decode tests/join-population/no-macarthur.mbtiles > tests/join-population/no-macarthur.mbtiles.json.check cmp tests/join-population/just-macarthur.mbtiles.json.check tests/join-population/just-macarthur.mbtiles.json cmp tests/join-population/no-macarthur.mbtiles.json.check tests/join-population/no-macarthur.mbtiles.json - ./tile-join -pC -e tests/join-population/raw-merged-folder tests/join-population/tabblock_06001420.mbtiles tests/join-population/macarthur.mbtiles tests/join-population/macarthur2.mbtiles + ./tile-join --no-tile-compression -f -e tests/join-population/raw-merged-folder tests/join-population/tabblock_06001420.mbtiles tests/join-population/macarthur.mbtiles tests/join-population/macarthur2.mbtiles diff -x '*.DS_Store' -rq tests/join-population/raw-merged-folder tests/join-population/raw-merged-folder-compare - ./tippecanoe -z12 -e tests/join-population/tabblock_06001420-folder tests/join-population/tabblock_06001420.json - ./tippecanoe -Z5 -z10 -e tests/join-population/macarthur-folder -l macarthur tests/join-population/macarthur.json - ./tippecanoe -d10 -D10 -Z9 -z11 -e tests/join-population/macarthur2-folder -l macarthur tests/join-population/macarthur2.json + ./tippecanoe -z12 -f -e tests/join-population/tabblock_06001420-folder tests/join-population/tabblock_06001420.json + ./tippecanoe -Z5 -z10 -f -e tests/join-population/macarthur-folder -l macarthur tests/join-population/macarthur.json + ./tippecanoe -d10 -D10 -Z9 -z11 -f -e tests/join-population/macarthur2-folder -l macarthur tests/join-population/macarthur2.json ./tile-join -f -o tests/join-population/merged-folder.mbtiles tests/join-population/tabblock_06001420-folder tests/join-population/macarthur-folder tests/join-population/macarthur2-folder ./tippecanoe-decode tests/join-population/merged-folder.mbtiles > tests/join-population/merged-folder.mbtiles.json.check cmp tests/join-population/merged-folder.mbtiles.json.check tests/join-population/merged-folder.mbtiles.json - ./tile-join -n "merged name" -N "merged description" -e tests/join-population/merged-mbtiles-to-folder tests/join-population/tabblock_06001420.mbtiles tests/join-population/macarthur.mbtiles tests/join-population/macarthur2.mbtiles - ./tile-join -n "merged name" -N "merged description" -e tests/join-population/merged-folders-to-folder tests/join-population/tabblock_06001420-folder tests/join-population/macarthur-folder tests/join-population/macarthur2-folder + ./tile-join -n "merged name" -N "merged description" -f -e tests/join-population/merged-mbtiles-to-folder tests/join-population/tabblock_06001420.mbtiles tests/join-population/macarthur.mbtiles tests/join-population/macarthur2.mbtiles + ./tile-join -n "merged name" -N "merged description" -f -e tests/join-population/merged-folders-to-folder tests/join-population/tabblock_06001420-folder tests/join-population/macarthur-folder tests/join-population/macarthur2-folder diff -x '*.DS_Store' -rq tests/join-population/merged-mbtiles-to-folder tests/join-population/merged-folders-to-folder ./tile-join -f -c tests/join-population/windows.csv -o tests/join-population/windows-merged.mbtiles tests/join-population/macarthur.mbtiles tests/join-population/macarthur2-folder - ./tile-join -c tests/join-population/windows.csv -e tests/join-population/windows-merged-folder tests/join-population/macarthur.mbtiles tests/join-population/macarthur2-folder + ./tile-join -c tests/join-population/windows.csv -f -e tests/join-population/windows-merged-folder tests/join-population/macarthur.mbtiles tests/join-population/macarthur2-folder ./tile-join -f -o tests/join-population/windows-merged2.mbtiles tests/join-population/windows-merged-folder ./tippecanoe-decode tests/join-population/windows-merged.mbtiles > tests/join-population/windows-merged.mbtiles.json.check ./tippecanoe-decode tests/join-population/windows-merged2.mbtiles > tests/join-population/windows-merged2.mbtiles.json.check cmp tests/join-population/windows-merged.mbtiles.json.check tests/join-population/windows-merged2.mbtiles.json.check ./tile-join -f -o tests/join-population/macarthur-and-macarthur2-merged.mbtiles tests/join-population/macarthur.mbtiles tests/join-population/macarthur2-folder - ./tile-join -e tests/join-population/macarthur-and-macarthur2-folder tests/join-population/macarthur.mbtiles tests/join-population/macarthur2-folder + ./tile-join -f -e tests/join-population/macarthur-and-macarthur2-folder tests/join-population/macarthur.mbtiles tests/join-population/macarthur2-folder ./tile-join -f -o tests/join-population/macarthur-and-macarthur2-merged2.mbtiles tests/join-population/macarthur-and-macarthur2-folder ./tippecanoe-decode tests/join-population/macarthur-and-macarthur2-merged.mbtiles > tests/join-population/macarthur-and-macarthur2-merged.mbtiles.json.check ./tippecanoe-decode tests/join-population/macarthur-and-macarthur2-merged2.mbtiles > tests/join-population/macarthur-and-macarthur2-merged2.mbtiles.json.check diff --git a/README.md b/README.md index f86b5ba7..d79135bf 100644 --- a/README.md +++ b/README.md @@ -455,19 +455,19 @@ You can use the `-e` flag to output a directory of tiles rather than a The options are: - * `-o` *out.mbtiles*: Write the new tiles to the specified .mbtiles file. - * `-e` *directory*: Write the new tiles to the specified directory instead of to an mbtiles file. - * `-f`: Remove *out.mbtiles* if it already exists. - * `-c` *match*`.csv`: Use *match*`.csv` as the source for new attributes to join to the features. The first line of the file should be the key names; the other lines are values. The first column is the one to match against the existing features; the other columns are the new data to add. - * `-x` *key*: Remove attributes of type *key* from the output. You can use this to remove the field you are matching against if you no longer need it after joining, or to remove any other attributes you don't want. - * `-i`: Only include features that matched the CSV. - * `-pk`: Don't skip tiles larger than 500K. - * `-pC`: Don't compress the PBF vector tile data. - * `-l` *layer*: Include the named layer in the output. You can specify multiple `-l` options to keep multiple layers. If you don't specify, they will all be retained. - * `-L` *layer*: Remove the named layer from the output. You can specify multiple `-L` options to remove multiple layers. - * `-A` *attribution*: Set the attribution string. - * `-n` *name*: Set the tileset name. - * `-N` *description*: Set the tileset description. + * `-o` *out.mbtiles* or `--output=`*out.mbtiles*: Write the new tiles to the specified .mbtiles file. + * `-e` *directory* or `--output-to-directory=`*directory*: Write the new tiles to the specified directory instead of to an mbtiles file. + * `-f` or `--force`: Remove *out.mbtiles* if it already exists. + * `-c` *match*`.csv` or `--csv=`*match*`.csv`: Use *match*`.csv` as the source for new attributes to join to the features. The first line of the file should be the key names; the other lines are values. The first column is the one to match against the existing features; the other columns are the new data to add. + * `-x` *key* or `--exclude=`*key*: Remove attributes of type *key* from the output. You can use this to remove the field you are matching against if you no longer need it after joining, or to remove any other attributes you don't want. + * `-i` or `--if-matched`: Only include features that matched the CSV. + * `-pk` or `--no-tile-size-limit`: Don't skip tiles larger than 500K. + * `-pC` or `--no-tile-compression`: Don't compress the PBF vector tile data. + * `-l` *layer* or `--layer=`*layer*: Include the named layer in the output. You can specify multiple `-l` options to keep multiple layers. If you don't specify, they will all be retained. + * `-L` *layer* or `--exclude-layer=`*layer*: Remove the named layer from the output. You can specify multiple `-L` options to remove multiple layers. + * `-A` *attribution* or `--attribution=`*attribution*: Set the attribution string. + * `-n` *name* or `--name=`*name*: Set the tileset name. + * `-N` *description* or `--description=`*description*: Set the tileset description. Because tile-join just copies the geometries to the new .mbtiles without processing them (except to rescale the extents if necessary), @@ -551,9 +551,9 @@ resolutions. ### Options - * `-t` _projection_: Specify the projection of the output data. Currently supported are EPSG:4326 (WGS84, the default) and EPSG:3857 (Web Mercator). - * `-z` _maxzoom_: Specify the highest zoom level to decode from the tileset - * `-Z` _minzoom_: Specify the lowest zoom level to decode from the tileset - * `-l` _layer_: Decode only layers with the specified names. (Multiple `-l` options can be specified.) - * `-c`: Include each feature's layer and zoom level as part of its `tippecanoe` object rather than as a FeatureCollection wrapper - * `-f`: Decode tiles even if polygon ring order or closure problems are detected + * `-s` _projection_ or `--projection=`*projection*: Specify the projection of the output data. Currently supported are EPSG:4326 (WGS84, the default) and EPSG:3857 (Web Mercator). + * `-z` _maxzoom_ or `--maximum-zoom=`*maxzoom*: Specify the highest zoom level to decode from the tileset + * `-Z` _minzoom_ or `--minimum-zoom=`*minzoom*: Specify the lowest zoom level to decode from the tileset + * `-l` _layer_ or `--layer=`*layer*: Decode only layers with the specified names. (Multiple `-l` options can be specified.) + * `-c` or `--tag-layer-and-zoom`: Include each feature's layer and zoom level as part of its `tippecanoe` object rather than as a FeatureCollection wrapper + * `-f` or `--force`: Decode tiles even if polygon ring order or closure problems are detected diff --git a/decode.cpp b/decode.cpp index 30d67d41..1871dd2a 100644 --- a/decode.cpp +++ b/decode.cpp @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include @@ -248,7 +249,7 @@ void decode(char *fname, int z, unsigned x, unsigned y, std::set co } void usage(char **argv) { - fprintf(stderr, "Usage: %s [-t projection] [-Z minzoom] [-z maxzoom] [-l layer ...] file.mbtiles [zoom x y]\n", argv[0]); + fprintf(stderr, "Usage: %s [-s projection] [-Z minzoom] [-z maxzoom] [-l layer ...] file.mbtiles [zoom x y]\n", argv[0]); exit(EXIT_FAILURE); } @@ -259,9 +260,33 @@ int main(int argc, char **argv) { std::set to_decode; bool pipeline = false; - while ((i = getopt(argc, argv, "t:Z:z:l:cf")) != -1) { + struct option long_options[] = { + {"projection", required_argument, 0, 's'}, + {"maximum-zoom", required_argument, 0, 'z'}, + {"minimum-zoom", required_argument, 0, 'Z'}, + {"layer", required_argument, 0, 'l'}, + {"tag-layer-and-zoom", no_argument, 0, 'c'}, + {"force", no_argument, 0, 'f'}, + {0, 0, 0, 0}, + }; + + std::string getopt_str; + for (size_t lo = 0; long_options[lo].name != NULL; lo++) { + if (long_options[lo].val > ' ') { + getopt_str.push_back(long_options[lo].val); + + if (long_options[lo].has_arg == required_argument) { + getopt_str.push_back(':'); + } + } + } + + while ((i = getopt_long(argc, argv, getopt_str.c_str(), long_options, NULL)) != -1) { switch (i) { - case 't': + case 0: + break; + + case 's': set_projection_or_exit(optarg); break; diff --git a/dirtiles.cpp b/dirtiles.cpp index 5e48907d..9da46397 100644 --- a/dirtiles.cpp +++ b/dirtiles.cpp @@ -2,6 +2,10 @@ #include #include #include +#include +#include +#include +#include #include #include "dirtiles.hpp" @@ -24,7 +28,99 @@ void dir_write_tile(const char *outdir, int z, int tx, int ty, std::string const mkdir(newdir.c_str(), S_IRWXU | S_IRWXG | S_IRWXO); newdir = newdir + "/" + std::to_string(ty) + ".pbf"; + struct stat st; + if (stat(newdir.c_str(), &st) == 0) { + fprintf(stderr, "Can't write tile to already existing %s\n", newdir.c_str()); + exit(EXIT_FAILURE); + } + std::ofstream pbfFile(newdir, std::ios::out | std::ios::binary); pbfFile.write(pbf.data(), pbf.size()); pbfFile.close(); } + +bool numeric(const char *s) { + if (*s == '\0') { + return false; + } + for (; *s != 0; s++) { + if (*s < '0' || *s > '9') { + return false; + } + } + return true; +} + +bool pbfname(const char *s) { + while (*s >= '0' && *s <= '9') { + s++; + } + + return strcmp(s, ".pbf") == 0; +} + +void check_dir(const char *dir, bool rm) { + struct stat st; + + std::string meta = std::string(dir) + "/" + "metadata.json"; + if (rm) { + unlink(meta.c_str()); // error OK since it may not exist; + } else { + if (stat(meta.c_str(), &st) == 0) { + fprintf(stderr, "%s: file exists\n", meta.c_str()); + exit(EXIT_FAILURE); + } + } + + DIR *d1 = opendir(dir); + if (d1 != NULL) { + struct dirent *dp; + while ((dp = readdir(d1)) != NULL) { + if (numeric(dp->d_name)) { + std::string z = std::string(dir) + "/" + dp->d_name; + + DIR *d2 = opendir(z.c_str()); + if (d2 == NULL) { + perror(z.c_str()); + exit(EXIT_FAILURE); + } + + struct dirent *dp2; + while ((dp2 = readdir(d2)) != NULL) { + if (numeric(dp2->d_name)) { + std::string x = z + "/" + dp2->d_name; + + DIR *d3 = opendir(x.c_str()); + if (d3 == NULL) { + perror(x.c_str()); + exit(EXIT_FAILURE); + } + + struct dirent *dp3; + while ((dp3 = readdir(d3)) != NULL) { + if (pbfname(dp3->d_name)) { + std::string y = x + "/" + dp3->d_name; + + if (rm) { + if (unlink(y.c_str()) != 0) { + perror(y.c_str()); + exit(EXIT_FAILURE); + } + } else { + fprintf(stderr, "%s: file exists\n", y.c_str()); + exit(EXIT_FAILURE); + } + } + } + + closedir(d3); + } + } + + closedir(d2); + } + } + + closedir(d1); + } +} diff --git a/dirtiles.hpp b/dirtiles.hpp index a78ff836..a3de88c0 100644 --- a/dirtiles.hpp +++ b/dirtiles.hpp @@ -1,3 +1,12 @@ +#include + +#ifndef DIRTILES_HPP +#define DIRTILES_HPP + std::string dir_read_tile(std::string pbfPath); void dir_write_tile(const char *outdir, int z, int tx, int ty, std::string const &pbf); + +void check_dir(const char *d, bool rm); + +#endif diff --git a/geojson.cpp b/geojson.cpp index 2253875d..77724fbb 100644 --- a/geojson.cpp +++ b/geojson.cpp @@ -24,11 +24,7 @@ #include #include #include - -extern "C" { #include "jsonpull/jsonpull.h" -} - #include "pool.hpp" #include "projection.hpp" #include "memfile.hpp" @@ -213,10 +209,29 @@ int serialize_geometry(json_object *geometry, json_object *properties, json_obje if (ai != layermap->end()) { layer = ai->second.id; layername = tippecanoe_layername; + + if (mb_geometry[t] == VT_POINT) { + ai->second.points++; + } else if (mb_geometry[t] == VT_LINE) { + ai->second.lines++; + } else if (mb_geometry[t] == VT_POLYGON) { + ai->second.polygons++; + } } else { fprintf(stderr, "Internal error: can't find layer name %s\n", tippecanoe_layername.c_str()); exit(EXIT_FAILURE); } + } else { + auto fk = layermap->find(layername); + if (fk != layermap->end()) { + if (mb_geometry[t] == VT_POINT) { + fk->second.points++; + } else if (mb_geometry[t] == VT_LINE) { + fk->second.lines++; + } else if (mb_geometry[t] == VT_POLYGON) { + fk->second.polygons++; + } + } } size_t nprop = 0; @@ -252,12 +267,12 @@ int serialize_geometry(json_object *geometry, json_object *properties, json_obje metaval[m] = val; m++; - type_and_string tas; - tas.string = s; - tas.type = type; + type_and_string attrib; + attrib.type = metatype[m - 1]; + attrib.string = metaval[m - 1]; auto fk = layermap->find(layername); - fk->second.file_keys.insert(tas); + add_to_file_keys(fk->second.file_keys, metakey[m - 1], attrib); } } } diff --git a/geojson.hpp b/geojson.hpp index d108fdb2..288aaef2 100644 --- a/geojson.hpp +++ b/geojson.hpp @@ -1,3 +1,13 @@ +#ifndef GEOJSON_HPP +#define GEOJSON_HPP + +#include +#include +#include +#include +#include "mbtiles.hpp" +#include "jsonpull/jsonpull.h" + struct parse_json_args { json_pull *jp; const char *reading; @@ -39,3 +49,5 @@ void json_end_map(struct json_pull *jp); void parse_json(json_pull *jp, const char *reading, volatile long long *layer_seq, volatile long long *progress_seq, long long *metapos, long long *geompos, long long *indexpos, std::set *exclude, std::set *include, int exclude_all, FILE *metafile, FILE *geomfile, FILE *indexfile, struct memfile *poolfile, struct memfile *treefile, char *fname, int basezoom, int layer, double droprate, long long *file_bbox, int segment, int *initialized, unsigned *initial_x, unsigned *initial_y, struct reader *readers, int maxzoom, std::map *layermap, std::string layername, bool uses_gamma, std::map const *attribute_types, double *dist_sum, size_t *dist_count, bool want_dist); void *run_parse_json(void *v); + +#endif diff --git a/geometry.hpp b/geometry.hpp index 08210ad7..bb1bcd02 100644 --- a/geometry.hpp +++ b/geometry.hpp @@ -1,3 +1,9 @@ +#ifndef GEOMETRY_HPP +#define GEOMETRY_HPP + +#include +#include + #define VT_POINT 1 #define VT_LINE 2 #define VT_POLYGON 3 @@ -68,3 +74,5 @@ std::vector chop_polygon(std::vector &geoms); void check_polygon(drawvec &geom, drawvec &before); double get_area(drawvec &geom, size_t i, size_t j); double get_mp_area(drawvec &geom); + +#endif diff --git a/jsonpull/jsonpull.h b/jsonpull/jsonpull.h index ef3e06b2..dabeb306 100644 --- a/jsonpull/jsonpull.h +++ b/jsonpull/jsonpull.h @@ -1,3 +1,10 @@ +#ifndef JSONPULL_H +#define JSONPULL_H + +#ifdef __cplusplus +extern "C" { +#endif + typedef enum json_type { // These types can be returned by json_read() JSON_HASH, @@ -65,3 +72,9 @@ void json_disconnect(json_object *j); json_object *json_hash_get(json_object *o, const char *s); char *json_stringify(json_object *o); + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/main.cpp b/main.cpp index eb579e30..3aecd8ab 100644 --- a/main.cpp +++ b/main.cpp @@ -41,10 +41,7 @@ #include #endif -extern "C" { #include "jsonpull/jsonpull.h" -} - #include "mbtiles.hpp" #include "tile.hpp" #include "pool.hpp" @@ -57,6 +54,7 @@ extern "C" { #include "serial.hpp" #include "options.hpp" #include "mvt.hpp" +#include "dirtiles.hpp" static int low_detail = 12; static int full_detail = -1; @@ -1030,7 +1028,7 @@ void choose_first_zoom(long long *file_bbox, struct reader *reader, unsigned *iz } } -int read_input(std::vector &sources, char *fname, int maxzoom, int minzoom, int basezoom, double basezoom_marker_width, sqlite3 *outdb, const char *outdir, std::set *exclude, std::set *include, int exclude_all, double droprate, int buffer, const char *tmpdir, double gamma, int read_parallel, int forcetable, const char *attribution, bool uses_gamma, long long *file_bbox, const char *prefilter, const char *postfilter, const char *description, bool guess_maxzoom, std::map const *attribute_types) { +int read_input(std::vector &sources, char *fname, int maxzoom, int minzoom, int basezoom, double basezoom_marker_width, sqlite3 *outdb, const char *outdir, std::set *exclude, std::set *include, int exclude_all, double droprate, int buffer, const char *tmpdir, double gamma, int read_parallel, int forcetable, const char *attribution, bool uses_gamma, long long *file_bbox, const char *prefilter, const char *postfilter, const char *description, bool guess_maxzoom, std::map const *attribute_types, const char *pgm) { int ret = EXIT_SUCCESS; struct reader reader[CPUS]; @@ -1185,8 +1183,10 @@ int read_input(std::vector &sources, char *fname, int maxzoom, int minzo std::map layermap; for (size_t l = 0; l < nlayers; l++) { - layermap.insert(std::pair(sources[l].layer, layermap_entry(l))); + layermap_entry e = layermap_entry(l); + layermap.insert(std::pair(sources[l].layer, e)); } + std::vector > layermaps; for (size_t l = 0; l < CPUS; l++) { layermaps.push_back(layermap); @@ -1610,6 +1610,9 @@ int read_input(std::vector &sources, char *fname, int maxzoom, int minzo if (indexpos == 0) { fprintf(stderr, "Did not read any valid geometries\n"); + if (outdb != NULL) { + mbtiles_close(outdb, pgm); + } exit(EXIT_FAILURE); } @@ -1646,6 +1649,9 @@ int read_input(std::vector &sources, char *fname, int maxzoom, int minzo if (count == 0 && dist_count == 0) { fprintf(stderr, "Can't guess maxzoom (-zg) without at least two distinct feature locations\n"); + if (outdb != NULL) { + mbtiles_close(outdb, pgm); + } exit(EXIT_FAILURE); } @@ -1975,18 +1981,20 @@ int read_input(std::vector &sources, char *fname, int maxzoom, int minzo } std::map merged_lm = merge_layermaps(layermaps); - if (additional[A_CALCULATE_FEATURE_DENSITY]) { - for (auto ai = merged_lm.begin(); ai != merged_lm.end(); ++ai) { - type_and_string tas; - tas.type = mvt_double; - tas.string = "tippecanoe_feature_density"; - ai->second.file_keys.insert(tas); - } - } for (auto ai = merged_lm.begin(); ai != merged_lm.end(); ++ai) { ai->second.minzoom = minzoom; ai->second.maxzoom = maxzoom; + + if (additional[A_CALCULATE_FEATURE_DENSITY]) { + for (size_t i = 0; i < 256; i++) { + type_and_string tas; + tas.type = mvt_double; + tas.string = std::to_string(i); + + add_to_file_keys(ai->second.file_keys, "tippecanoe_feature_density", tas); + } + } } mbtiles_write_metadata(outdb, outdir, fname, minzoom, maxzoom, minlat, minlon, maxlat, maxlon, midlat, midlon, forcetable, attribution, merged_lm, true, description); @@ -2046,7 +2054,7 @@ int main(int argc, char **argv) { char *description = NULL; char *layername = NULL; char *out_mbtiles = NULL; - char *out_directory = NULL; + char *out_dir = NULL; sqlite3 *outdb = NULL; int maxzoom = 14; int minzoom = 0; @@ -2304,11 +2312,27 @@ int main(int argc, char **argv) { break; case 'o': + if (out_mbtiles != NULL) { + fprintf(stderr, "%s: Can't specify both %s and %s as output\n", argv[0], out_mbtiles, optarg); + exit(EXIT_FAILURE); + } + if (out_dir != NULL) { + fprintf(stderr, "%s: Can't specify both %s and %s as output\n", argv[0], out_dir, optarg); + exit(EXIT_FAILURE); + } out_mbtiles = optarg; break; case 'e': - out_directory = optarg; + if (out_mbtiles != NULL) { + fprintf(stderr, "%s: Can't specify both %s and %s as output\n", argv[0], out_mbtiles, optarg); + exit(EXIT_FAILURE); + } + if (out_dir != NULL) { + fprintf(stderr, "%s: Can't specify both %s and %s as output\n", argv[0], out_dir, optarg); + exit(EXIT_FAILURE); + } + out_dir = optarg; break; case 'x': @@ -2524,12 +2548,12 @@ int main(int argc, char **argv) { fprintf(stderr, "Forcing -g0 since -B or -r is not known\n"); } - if (out_mbtiles == NULL && out_directory == NULL) { + if (out_mbtiles == NULL && out_dir == NULL) { fprintf(stderr, "%s: must specify -o out.mbtiles or -e directory\n", argv[0]); exit(EXIT_FAILURE); } - if (out_mbtiles != NULL && out_directory != NULL) { + if (out_mbtiles != NULL && out_dir != NULL) { fprintf(stderr, "%s: Options -o and -e cannot be used together\n", argv[0]); exit(EXIT_FAILURE); } @@ -2541,6 +2565,12 @@ int main(int argc, char **argv) { outdb = mbtiles_open(out_mbtiles, argv, forcetable); } + if (out_dir != NULL) { + if (force) { + check_dir(out_dir, true); + } + check_dir(out_dir, false); + } int ret = EXIT_SUCCESS; @@ -2566,10 +2596,10 @@ int main(int argc, char **argv) { long long file_bbox[4] = {UINT_MAX, UINT_MAX, 0, 0}; - ret = read_input(sources, name ? name : out_mbtiles ? out_mbtiles : out_directory, maxzoom, minzoom, basezoom, basezoom_marker_width, outdb, out_directory, &exclude, &include, exclude_all, droprate, buffer, tmpdir, gamma, read_parallel, forcetable, attribution, gamma != 0, file_bbox, prefilter, postfilter, description, guess_maxzoom, &attribute_types); + ret = read_input(sources, name ? name : out_mbtiles ? out_mbtiles : out_dir, maxzoom, minzoom, basezoom, basezoom_marker_width, outdb, out_dir, &exclude, &include, exclude_all, droprate, buffer, tmpdir, gamma, read_parallel, forcetable, attribution, gamma != 0, file_bbox, prefilter, postfilter, description, guess_maxzoom, &attribute_types, argv[0]); if (outdb != NULL) { - mbtiles_close(outdb, argv); + mbtiles_close(outdb, argv[0]); } #ifdef MTRACE diff --git a/main.hpp b/main.hpp index dc85ed11..bcad3618 100644 --- a/main.hpp +++ b/main.hpp @@ -1,3 +1,8 @@ +#ifndef MAIN_HPP +#define MAIN_HPP + +#include + struct index { long long start; long long end; @@ -21,3 +26,5 @@ int mkstemp_cloexec(char *name); FILE *fopen_oflag(const char *name, const char *mode, int oflag); #define MAX_ZOOM 24 + +#endif diff --git a/man/tippecanoe.1 b/man/tippecanoe.1 index 690a99df..cbc72e6c 100644 --- a/man/tippecanoe.1 +++ b/man/tippecanoe.1 @@ -333,6 +333,16 @@ intersect the bounding box of Germany \[la]https://www.flickr.com/places/info/23 tippecanoe \-o countries.mbtiles \-z5 \-C './filters/limit\-tiles\-to\-bbox 5.8662 47.2702 15.0421 55.0581 $*' ne_10m_admin_0_countries.json .fi .RE +.RS +.IP \(bu 2 +Make a tileset of TIGER roads in Tippecanoe County, leaving out all but primary and secondary roads (as classified by TIGER \[la]https://www.census.gov/geo/reference/mtfcc.html\[ra]) below zoom level 11. +.RE +.PP +.RS +.nf +tippecanoe \-o roads.mbtiles \-c 'if [ $1 \-lt 11 ]; then grep "\\"MTFCC\\": \\"S1[12]00\\""; else cat; fi' tl_2016_18157_roads.json +.fi +.RE .SH Environment .PP Tippecanoe ordinarily uses as many parallel threads as the operating system claims that CPUs are available. @@ -517,31 +527,31 @@ You can use the \fB\fC\-e\fR flag to output a directory of tiles rather than a The options are: .RS .IP \(bu 2 -\fB\fC\-o\fR \fIout.mbtiles\fP: Write the new tiles to the specified .mbtiles file. +\fB\fC\-o\fR \fIout.mbtiles\fP or \fB\fC\-\-output=\fR\fIout.mbtiles\fP: Write the new tiles to the specified .mbtiles file. .IP \(bu 2 -\fB\fC\-e\fR \fIdirectory\fP: Write the new tiles to the specified directory instead of to an mbtiles file. +\fB\fC\-e\fR \fIdirectory\fP or \fB\fC\-\-output\-to\-directory=\fR\fIdirectory\fP: Write the new tiles to the specified directory instead of to an mbtiles file. .IP \(bu 2 -\fB\fC\-f\fR: Remove \fIout.mbtiles\fP if it already exists. +\fB\fC\-f\fR or \fB\fC\-\-force\fR: Remove \fIout.mbtiles\fP if it already exists. .IP \(bu 2 -\fB\fC\-c\fR \fImatch\fP\fB\fC\&.csv\fR: Use \fImatch\fP\fB\fC\&.csv\fR as the source for new attributes to join to the features. The first line of the file should be the key names; the other lines are values. The first column is the one to match against the existing features; the other columns are the new data to add. +\fB\fC\-c\fR \fImatch\fP\fB\fC\&.csv\fR or \fB\fC\-\-csv=\fR\fImatch\fP\fB\fC\&.csv\fR: Use \fImatch\fP\fB\fC\&.csv\fR as the source for new attributes to join to the features. The first line of the file should be the key names; the other lines are values. The first column is the one to match against the existing features; the other columns are the new data to add. .IP \(bu 2 -\fB\fC\-x\fR \fIkey\fP: Remove attributes of type \fIkey\fP from the output. You can use this to remove the field you are matching against if you no longer need it after joining, or to remove any other attributes you don't want. +\fB\fC\-x\fR \fIkey\fP or \fB\fC\-\-exclude=\fR\fIkey\fP: Remove attributes of type \fIkey\fP from the output. You can use this to remove the field you are matching against if you no longer need it after joining, or to remove any other attributes you don't want. .IP \(bu 2 -\fB\fC\-i\fR: Only include features that matched the CSV. +\fB\fC\-i\fR or \fB\fC\-\-if\-matched\fR: Only include features that matched the CSV. .IP \(bu 2 -\fB\fC\-pk\fR: Don't skip tiles larger than 500K. +\fB\fC\-pk\fR or \fB\fC\-\-no\-tile\-size\-limit\fR: Don't skip tiles larger than 500K. .IP \(bu 2 -\fB\fC\-pC\fR: Don't compress the PBF vector tile data. +\fB\fC\-pC\fR or \fB\fC\-\-no\-tile\-compression\fR: Don't compress the PBF vector tile data. .IP \(bu 2 -\fB\fC\-l\fR \fIlayer\fP: Include the named layer in the output. You can specify multiple \fB\fC\-l\fR options to keep multiple layers. If you don't specify, they will all be retained. +\fB\fC\-l\fR \fIlayer\fP or \fB\fC\-\-layer=\fR\fIlayer\fP: Include the named layer in the output. You can specify multiple \fB\fC\-l\fR options to keep multiple layers. If you don't specify, they will all be retained. .IP \(bu 2 -\fB\fC\-L\fR \fIlayer\fP: Remove the named layer from the output. You can specify multiple \fB\fC\-L\fR options to remove multiple layers. +\fB\fC\-L\fR \fIlayer\fP or \fB\fC\-\-exclude\-layer=\fR\fIlayer\fP: Remove the named layer from the output. You can specify multiple \fB\fC\-L\fR options to remove multiple layers. .IP \(bu 2 -\fB\fC\-A\fR \fIattribution\fP: Set the attribution string. +\fB\fC\-A\fR \fIattribution\fP or \fB\fC\-\-attribution=\fR\fIattribution\fP: Set the attribution string. .IP \(bu 2 -\fB\fC\-n\fR \fIname\fP: Set the tileset name. +\fB\fC\-n\fR \fIname\fP or \fB\fC\-\-name=\fR\fIname\fP: Set the tileset name. .IP \(bu 2 -\fB\fC\-N\fR \fIdescription\fP: Set the tileset description. +\fB\fC\-N\fR \fIdescription\fP or \fB\fC\-\-description=\fR\fIdescription\fP: Set the tileset description. .RE .PP Because tile\-join just copies the geometries to the new .mbtiles without processing them @@ -640,15 +650,15 @@ resolutions. .SS Options .RS .IP \(bu 2 -\fB\fC\-t\fR \fIprojection\fP: Specify the projection of the output data. Currently supported are EPSG:4326 (WGS84, the default) and EPSG:3857 (Web Mercator). +\fB\fC\-s\fR \fIprojection\fP or \fB\fC\-\-projection=\fR\fIprojection\fP: Specify the projection of the output data. Currently supported are EPSG:4326 (WGS84, the default) and EPSG:3857 (Web Mercator). .IP \(bu 2 -\fB\fC\-z\fR \fImaxzoom\fP: Specify the highest zoom level to decode from the tileset +\fB\fC\-z\fR \fImaxzoom\fP or \fB\fC\-\-maximum\-zoom=\fR\fImaxzoom\fP: Specify the highest zoom level to decode from the tileset .IP \(bu 2 -\fB\fC\-Z\fR \fIminzoom\fP: Specify the lowest zoom level to decode from the tileset +\fB\fC\-Z\fR \fIminzoom\fP or \fB\fC\-\-minimum\-zoom=\fR\fIminzoom\fP: Specify the lowest zoom level to decode from the tileset .IP \(bu 2 -\fB\fC\-l\fR \fIlayer\fP: Decode only layers with the specified names. (Multiple \fB\fC\-l\fR options can be specified.) +\fB\fC\-l\fR \fIlayer\fP or \fB\fC\-\-layer=\fR\fIlayer\fP: Decode only layers with the specified names. (Multiple \fB\fC\-l\fR options can be specified.) .IP \(bu 2 -\fB\fC\-c\fR: Include each feature's layer and zoom level as part of its \fB\fCtippecanoe\fR object rather than as a FeatureCollection wrapper +\fB\fC\-c\fR or \fB\fC\-\-tag\-layer\-and\-zoom\fR: Include each feature's layer and zoom level as part of its \fB\fCtippecanoe\fR object rather than as a FeatureCollection wrapper .IP \(bu 2 -\fB\fC\-f\fR: Decode tiles even if polygon ring order or closure problems are detected +\fB\fC\-f\fR or \fB\fC\-\-force\fR: Decode tiles even if polygon ring order or closure problems are detected .RE diff --git a/mbtiles.cpp b/mbtiles.cpp index d5291cfc..ca547e67 100644 --- a/mbtiles.cpp +++ b/mbtiles.cpp @@ -13,6 +13,7 @@ #include #include "mvt.hpp" #include "mbtiles.hpp" +#include "text.hpp" sqlite3 *mbtiles_open(char *dbname, char **argv, int forcetable) { sqlite3 *outdb; @@ -126,6 +127,178 @@ bool type_and_string::operator<(const type_and_string &o) const { return false; } +bool type_and_string::operator!=(const type_and_string &o) const { + if (type != o.type) { + return true; + } + if (string != o.string) { + return true; + } + return false; +} + +std::string tilestats(std::map const &layermap1) { + // Consolidate layers/attributes whose names are truncated + std::vector> lmv; + lmv.push_back(layermap1); + std::map layermap = merge_layermaps(lmv, true); + + std::string out = "{\n"; + + out.append("\t\"layerCount\": "); + out.append(std::to_string(layermap.size())); + out.append(",\n"); + + out.append("\t\"layers\": [\n"); + + bool first = true; + for (auto layer : layermap) { + if (!first) { + out.append(",\n"); + } + first = false; + + out.append("\t\t{\n"); + + out.append("\t\t\t\"layer\": \""); + quote(out, layer.first.c_str()); + out.append("\",\n"); + + out.append("\t\t\t\"count\": "); + out.append(std::to_string(layer.second.points + layer.second.lines + layer.second.polygons)); + out.append(",\n"); + + std::string geomtype = "Polygon"; + if (layer.second.points >= layer.second.lines && layer.second.points >= layer.second.polygons) { + geomtype = "Point"; + } else if (layer.second.lines >= layer.second.polygons && layer.second.lines >= layer.second.points) { + geomtype = "LineString"; + } + + out.append("\t\t\t\"geometry\": \""); + quote(out, geomtype.c_str()); + out.append("\",\n"); + + size_t attrib_count = layer.second.file_keys.size(); + if (attrib_count > 1000) { + attrib_count = 1000; + } + + out.append("\t\t\t\"attributeCount\": "); + out.append(std::to_string(attrib_count)); + out.append(",\n"); + + out.append("\t\t\t\"attributes\": [\n"); + + size_t attrs = 0; + for (auto attribute : layer.second.file_keys) { + if (attrs == 100) { + break; + } + if (attrs != 0) { + out.append(",\n"); + } + attrs++; + + out.append("\t\t\t\t{\n"); + + out.append("\t\t\t\t\t\"attribute\": \""); + quote(out, attribute.first.c_str()); + out.append("\",\n"); + + size_t val_count = attribute.second.sample_values.size(); + if (val_count > 1000) { + val_count = 1000; + } + + out.append("\t\t\t\t\t\"count\": "); + out.append(std::to_string(val_count)); + out.append(",\n"); + + int type = 0; + for (auto s : attribute.second.sample_values) { + type |= (1 << s.type); + } + + std::string type_str; + // No "null" because null attributes are dropped + if (type == (1 << mvt_double)) { + type_str = "number"; + } else if (type == (1 << mvt_bool)) { + type_str = "boolean"; + } else if (type == (1 << mvt_string)) { + type_str = "string"; + } else { + type_str = "mixed"; + } + + out.append("\t\t\t\t\t\"type\": \""); + quote(out, type_str.c_str()); + out.append("\",\n"); + + out.append("\t\t\t\t\t\"values\": [\n"); + + size_t vals = 0; + for (auto value : attribute.second.sample_values) { + if (vals == 100) { + break; + } + if (vals != 0) { + out.append(",\n"); + } + vals++; + + if (value.type == mvt_double || value.type == mvt_bool) { + out.append("\t\t\t\t\t\t"); + out.append(value.string); + } else { + std::string trunc = truncate16(value.string, 256); + + if (trunc.size() == value.string.size()) { + out.append("\t\t\t\t\t\t\""); + quote(out, value.string.c_str()); + out.append("\""); + } + } + } + + out.append("\n"); + out.append("\t\t\t\t\t]"); + + if ((type & (1 << mvt_double)) != 0) { + out.append(",\n"); + + out.append("\t\t\t\t\t\"min\": "); + out.append(std::to_string(attribute.second.min)); + out.append(",\n"); + + out.append("\t\t\t\t\t\"max\": "); + out.append(std::to_string(attribute.second.max)); + } + + out.append("\n"); + out.append("\t\t\t\t}"); + } + + out.append("\n\t\t\t]\n"); + out.append("\t\t}"); + } + + out.append("\n"); + out.append("\t]\n"); + out.append("}"); + + std::string out2; + + for (size_t i = 0; i < out.size(); i++) { + if (out[i] != '\t' && out[i] != '\n') { + out2.push_back(out[i]); + } + } + + return out2; +} + void mbtiles_write_metadata(sqlite3 *outdb, const char *outdir, const char *fname, int minzoom, int maxzoom, double minlat, double minlon, double maxlat, double maxlon, double midlat, double midlon, int forcetable, const char *attribution, std::map const &layermap, bool vector, const char *description) { char *sql, *err; @@ -252,9 +425,8 @@ void mbtiles_write_metadata(sqlite3 *outdb, const char *outdir, const char *fnam quote(buf, lnames[i]); aprintf(&buf, "\", \"description\": \"\", \"minzoom\": %d, \"maxzoom\": %d, \"fields\": {", fk->second.minzoom, fk->second.maxzoom); - std::set::iterator j; bool first = true; - for (j = fk->second.file_keys.begin(); j != fk->second.file_keys.end(); ++j) { + for (auto j = fk->second.file_keys.begin(); j != fk->second.file_keys.end(); ++j) { if (first) { first = false; } else { @@ -262,25 +434,30 @@ void mbtiles_write_metadata(sqlite3 *outdb, const char *outdir, const char *fnam } aprintf(&buf, "\""); - quote(buf, j->string); + quote(buf, j->first.c_str()); - if (j->type == mvt_double || - j->type == mvt_float || - j->type == mvt_double || - j->type == mvt_uint || - j->type == mvt_sint) { + int type = 0; + for (auto s : j->second.sample_values) { + type |= (1 << s.type); + } + + if (type == (1 << mvt_double)) { aprintf(&buf, "\": \"Number\""); - } else if (j->type == mvt_bool) { + } else if (type == (1 << mvt_bool)) { aprintf(&buf, "\": \"Boolean\""); - } else { + } else if (type == (1 << mvt_string)) { aprintf(&buf, "\": \"String\""); + } else { + aprintf(&buf, "\": \"Mixed\""); } } aprintf(&buf, "} }"); } - aprintf(&buf, " ] }"); + aprintf(&buf, " ],"); + aprintf(&buf, "\"tilestats\": %s", tilestats(layermap).c_str()); + aprintf(&buf, "}"); sql = sqlite3_mprintf("INSERT INTO metadata (name, value) VALUES ('json', %Q);", buf.c_str()); if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { @@ -332,39 +509,77 @@ void mbtiles_write_metadata(sqlite3 *outdb, const char *outdir, const char *fnam } } -void mbtiles_close(sqlite3 *outdb, char **argv) { +void mbtiles_close(sqlite3 *outdb, const char *pgm) { char *err; if (sqlite3_exec(outdb, "ANALYZE;", NULL, NULL, &err) != SQLITE_OK) { - fprintf(stderr, "%s: ANALYZE failed: %s\n", argv[0], err); + fprintf(stderr, "%s: ANALYZE failed: %s\n", pgm, err); exit(EXIT_FAILURE); } if (sqlite3_close(outdb) != SQLITE_OK) { - fprintf(stderr, "%s: could not close database: %s\n", argv[0], sqlite3_errmsg(outdb)); + fprintf(stderr, "%s: could not close database: %s\n", pgm, sqlite3_errmsg(outdb)); exit(EXIT_FAILURE); } } -std::map merge_layermaps(std::vector > const &maps) { +std::map merge_layermaps(std::vector> const &maps) { + return merge_layermaps(maps, false); +} + +std::map merge_layermaps(std::vector> const &maps, bool trunc) { std::map out; for (size_t i = 0; i < maps.size(); i++) { for (auto map = maps[i].begin(); map != maps[i].end(); ++map) { - if (out.count(map->first) == 0) { - out.insert(std::pair(map->first, layermap_entry(out.size()))); - auto out_entry = out.find(map->first); + std::string layername = map->first; + if (trunc) { + layername = truncate16(layername, 256); + } + + if (out.count(layername) == 0) { + out.insert(std::pair(layername, layermap_entry(out.size()))); + auto out_entry = out.find(layername); out_entry->second.minzoom = map->second.minzoom; out_entry->second.maxzoom = map->second.maxzoom; } - auto out_entry = out.find(map->first); + auto out_entry = out.find(layername); if (out_entry == out.end()) { fprintf(stderr, "Internal error merging layers\n"); exit(EXIT_FAILURE); } for (auto fk = map->second.file_keys.begin(); fk != map->second.file_keys.end(); ++fk) { - out_entry->second.file_keys.insert(*fk); + std::string attribname = fk->first; + if (trunc) { + attribname = truncate16(attribname, 256); + } + + auto fk2 = out_entry->second.file_keys.find(attribname); + + if (fk2 == out_entry->second.file_keys.end()) { + out_entry->second.file_keys.insert(std::pair(attribname, fk->second)); + } else { + for (auto val : fk->second.sample_values) { + auto pt = std::lower_bound(fk2->second.sample_values.begin(), fk2->second.sample_values.end(), val); + if (pt == fk2->second.sample_values.end() || *pt != val) { // not found + fk2->second.sample_values.insert(pt, val); + + if (fk2->second.sample_values.size() > 1000) { + fk2->second.sample_values.pop_back(); + } + } + } + + fk2->second.type |= fk->second.type; + + if (fk->second.min < fk2->second.min) { + fk2->second.min = fk->second.min; + } + if (fk->second.max > fk2->second.max) { + fk2->second.max = fk->second.max; + } + } } if (map->second.minzoom < out_entry->second.minzoom) { @@ -373,8 +588,47 @@ std::map merge_layermaps(std::vectorsecond.maxzoom > out_entry->second.maxzoom) { out_entry->second.maxzoom = map->second.maxzoom; } + + out_entry->second.points += map->second.points; + out_entry->second.lines += map->second.lines; + out_entry->second.polygons += map->second.polygons; } } return out; } + +void add_to_file_keys(std::map &file_keys, std::string const &attrib, type_and_string const &val) { + auto fka = file_keys.find(attrib); + if (fka == file_keys.end()) { + file_keys.insert(std::pair(attrib, type_and_string_stats())); + fka = file_keys.find(attrib); + } + + if (fka == file_keys.end()) { + fprintf(stderr, "Can't happen (tilestats)\n"); + exit(EXIT_FAILURE); + } + + if (val.type == mvt_double) { + double d = atof(val.string.c_str()); + + if (d < fka->second.min) { + fka->second.min = d; + } + if (d > fka->second.max) { + fka->second.max = d; + } + } + + auto pt = std::lower_bound(fka->second.sample_values.begin(), fka->second.sample_values.end(), val); + if (pt == fka->second.sample_values.end() || *pt != val) { // not found + fka->second.sample_values.insert(pt, val); + + if (fka->second.sample_values.size() > 1000) { + fka->second.sample_values.pop_back(); + } + } + + fka->second.type |= (1 << val.type); +} diff --git a/mbtiles.hpp b/mbtiles.hpp index dbe93cd1..efc0a976 100644 --- a/mbtiles.hpp +++ b/mbtiles.hpp @@ -1,16 +1,35 @@ +#ifndef MBTILES_HPP +#define MBTILES_HPP + +#include +#include +#include "mvt.hpp" + struct type_and_string { int type; std::string string; bool operator<(const type_and_string &o) const; + bool operator!=(const type_and_string &o) const; +}; + +struct type_and_string_stats { + std::vector sample_values; // sorted + double min = INFINITY; + double max = -INFINITY; + int type = 0; }; struct layermap_entry { size_t id; - std::set file_keys; + std::map file_keys; int minzoom; int maxzoom; + size_t points = 0; + size_t lines = 0; + size_t polygons = 0; + layermap_entry(size_t _id) { id = _id; } @@ -22,8 +41,13 @@ void mbtiles_write_tile(sqlite3 *outdb, int z, int tx, int ty, const char *data, void mbtiles_write_metadata(sqlite3 *outdb, const char *outdir, const char *fname, int minzoom, int maxzoom, double minlat, double minlon, double maxlat, double maxlon, double midlat, double midlon, int forcetable, const char *attribution, std::map const &layermap, bool vector, const char *description); -void mbtiles_close(sqlite3 *outdb, char **argv); +void mbtiles_close(sqlite3 *outdb, const char *pgm); void aprintf(std::string *buf, const char *format, ...); std::map merge_layermaps(std::vector > const &maps); +std::map merge_layermaps(std::vector > const &maps, bool trunc); + +void add_to_file_keys(std::map &file_keys, std::string const &layername, type_and_string const &val); + +#endif diff --git a/memfile.hpp b/memfile.hpp index e8fa936d..1d9f45f4 100644 --- a/memfile.hpp +++ b/memfile.hpp @@ -1,3 +1,6 @@ +#ifndef MEMFILE_HPP +#define MEMFILE_HPP + struct memfile { int fd; char *map; @@ -9,3 +12,5 @@ struct memfile { struct memfile *memfile_open(int fd); int memfile_close(struct memfile *file); int memfile_write(struct memfile *file, void *s, long long len); + +#endif diff --git a/mvt.hpp b/mvt.hpp index 052cf0d1..d64ee530 100644 --- a/mvt.hpp +++ b/mvt.hpp @@ -1,3 +1,12 @@ +#ifndef MVT_HPP +#define MVT_HPP + +#include +#include +#include +#include +#include + struct mvt_value; struct mvt_layer; @@ -100,3 +109,4 @@ int compress(std::string const &input, std::string &output); int dezig(unsigned n); mvt_value stringified_to_mvt_value(int type, const char *s); +#endif diff --git a/options.hpp b/options.hpp index 0e8827b4..3b585497 100644 --- a/options.hpp +++ b/options.hpp @@ -1,3 +1,6 @@ +#ifndef OPTIONS_HPP +#define OPTIONS_HPP + #define A_COALESCE ((int) 'c') #define A_REVERSE ((int) 'r') #define A_REORDER ((int) 'o') @@ -30,3 +33,5 @@ extern int prevent[256]; extern int additional[256]; + +#endif diff --git a/plugin.cpp b/plugin.cpp index 10c40553..7175d705 100644 --- a/plugin.cpp +++ b/plugin.cpp @@ -250,11 +250,11 @@ std::vector parse_layers(int fd, int z, unsigned x, unsigned y, std:: mvt_value v = stringified_to_mvt_value(tp, s.c_str()); l->second.tag(feature, std::string(properties->keys[i]->string), v); - type_and_string tas; - tas.string = std::string(properties->keys[i]->string); - tas.type = tp; + type_and_string attrib; + attrib.type = tp; + attrib.string = s; - fk->second.file_keys.insert(tas); + add_to_file_keys(fk->second.file_keys, std::string(properties->keys[i]->string), attrib); } } @@ -466,11 +466,11 @@ serial_feature parse_feature(json_pull *jp, int z, unsigned x, unsigned y, std:: sf.full_keys.push_back(std::string(properties->keys[i]->string)); sf.full_values.push_back(v); - type_and_string tas; - tas.string = std::string(properties->keys[i]->string); - tas.type = v.type; + type_and_string attrib; + attrib.string = v.s; + attrib.type = v.type; - fk->second.file_keys.insert(tas); + add_to_file_keys(fk->second.file_keys, std::string(properties->keys[i]->string), attrib); } } diff --git a/pool.hpp b/pool.hpp index b3abd3c5..e2648b1c 100644 --- a/pool.hpp +++ b/pool.hpp @@ -1,3 +1,6 @@ +#ifndef POOL_HPP +#define POOL_HPP + struct stringpool { long long left; long long right; @@ -5,3 +8,5 @@ struct stringpool { }; long long addpool(struct memfile *poolfile, struct memfile *treefile, const char *s, char type); + +#endif diff --git a/projection.hpp b/projection.hpp index 233ea9bc..4915f832 100644 --- a/projection.hpp +++ b/projection.hpp @@ -1,3 +1,6 @@ +#ifndef PROJECTION_HPP +#define PROJECTION_HPP + void lonlat2tile(double lon, double lat, int zoom, long long *x, long long *y); void epsg3857totile(double ix, double iy, int zoom, long long *x, long long *y); void tile2lonlat(long long x, long long y, int zoom, double *lon, double *lat); @@ -15,3 +18,5 @@ struct projection { extern struct projection *projection; extern struct projection projections[]; + +#endif diff --git a/read_json.cpp b/read_json.cpp index 4c6b8294..461becb9 100644 --- a/read_json.cpp +++ b/read_json.cpp @@ -131,8 +131,12 @@ void stringify_value(json_object *value, int &type, std::string &stringified, co vt = JSON_STRING; } else if (a->second == mvt_float) { vt = JSON_NUMBER; + val = std::to_string(atof(val.c_str())); } else if (a->second == mvt_int) { vt = JSON_NUMBER; + if (val.size() == 0) { + val = "0"; + } for (size_t ii = 0; ii < val.size(); ii++) { char c = val[ii]; diff --git a/serial.hpp b/serial.hpp index 59c5765b..bcc2dcc1 100644 --- a/serial.hpp +++ b/serial.hpp @@ -1,3 +1,11 @@ +#ifndef SERIAL_HPP +#define SERIAL_HPP + +#include +#include +#include +#include "geometry.hpp" + size_t fwrite_check(const void *ptr, size_t size, size_t nitems, FILE *stream, const char *fname); void serialize_int(FILE *out, int n, long long *fpos, const char *fname); @@ -58,3 +66,5 @@ struct serial_feature { void serialize_feature(FILE *geomfile, serial_feature *sf, long long *geompos, const char *fname, long long wx, long long wy, bool include_minzoom); serial_feature deserialize_feature(FILE *geoms, long long *geompos_in, char *metabase, long long *meta_off, unsigned z, unsigned tx, unsigned ty, unsigned *initial_x, unsigned *initial_y); + +#endif diff --git a/tests/attribute-type/out/-z0_-Tinttype@int_-Tfloattype@float_-Tbooltype@bool_-Tstringtype@string.json b/tests/attribute-type/out/-z0_-Tinttype@int_-Tfloattype@float_-Tbooltype@bool_-Tstringtype@string.json index 2be4ed08..b69c465f 100644 --- a/tests/attribute-type/out/-z0_-Tinttype@int_-Tfloattype@float_-Tbooltype@bool_-Tstringtype@string.json +++ b/tests/attribute-type/out/-z0_-Tinttype@int_-Tfloattype@float_-Tbooltype@bool_-Tstringtype@string.json @@ -3,7 +3,7 @@ "center": "0.000000,0.000000,0", "description": "tests/attribute-type/out/-z0_-Tinttype@int_-Tfloattype@float_-Tbooltype@bool_-Tstringtype@string.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"booltype\": \"Boolean\", \"expect\": \"String\", \"expect\": \"Number\", \"expect\": \"Boolean\", \"floattype\": \"Number\", \"inttype\": \"Number\", \"stringtype\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"booltype\": \"Boolean\", \"expect\": \"Mixed\", \"floattype\": \"Number\", \"inttype\": \"Number\", \"stringtype\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 39,\"geometry\": \"Point\",\"attributeCount\": 5,\"attributes\": [{\"attribute\": \"booltype\",\"count\": 2,\"type\": \"boolean\",\"values\": [false,true]},{\"attribute\": \"expect\",\"count\": 14,\"type\": \"mixed\",\"values\": [0,\"2\",\"2.5\",3,5,5.6,6,\"[2,3]\",\"false\",false,\"null\",\"something\",\"true\",true],\"min\": 0.000000,\"max\": 6.000000},{\"attribute\": \"floattype\",\"count\": 4,\"type\": \"number\",\"values\": [0.000000,3.000000,5.000000,5.600000],\"min\": 0.000000,\"max\": 5.600000},{\"attribute\": \"inttype\",\"count\": 5,\"type\": \"number\",\"values\": [0,0.000000,3.000000,5,6.000000],\"min\": 0.000000,\"max\": 6.000000},{\"attribute\": \"stringtype\",\"count\": 7,\"type\": \"string\",\"values\": [\"2\",\"2.5\",\"[2,3]\",\"false\",\"null\",\"something\",\"true\"]}]}]}}", "maxzoom": "0", "minzoom": "0", "name": "tests/attribute-type/out/-z0_-Tinttype@int_-Tfloattype@float_-Tbooltype@bool_-Tstringtype@string.json.check.mbtiles", diff --git a/tests/border/out/-z1_--detect-shared-borders.json b/tests/border/out/-z1_--detect-shared-borders.json index ed04992e..b6ba85bb 100644 --- a/tests/border/out/-z1_--detect-shared-borders.json +++ b/tests/border/out/-z1_--detect-shared-borders.json @@ -3,7 +3,7 @@ "center": "23.009582,42.525564,1", "description": "tests/border/out/-z1_--detect-shared-borders.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 1, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"note_brk\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 1, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"note_brk\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 8,\"geometry\": \"Polygon\",\"attributeCount\": 58,\"attributes\": [{\"attribute\": \"abbrev\",\"count\": 8,\"type\": \"string\",\"values\": [\"Alb.\",\"B.H.\",\"Cro.\",\"Kos.\",\"Mkd.\",\"Mont.\",\"Serb.\",\"Slo.\"]},{\"attribute\": \"abbrev_len\",\"count\": 2,\"type\": \"number\",\"values\": [4.000000,5.000000],\"min\": 4.000000,\"max\": 5.000000},{\"attribute\": \"adm0_a3\",\"count\": 8,\"type\": \"string\",\"values\": [\"ALB\",\"BIH\",\"HRV\",\"KOS\",\"MKD\",\"MNE\",\"SRB\",\"SVN\"]},{\"attribute\": \"adm0_a3_is\",\"count\": 7,\"type\": \"string\",\"values\": [\"ALB\",\"BIH\",\"HRV\",\"MKD\",\"MNE\",\"SRB\",\"SVN\"]},{\"attribute\": \"adm0_a3_un\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_a3_us\",\"count\": 8,\"type\": \"string\",\"values\": [\"ALB\",\"BIH\",\"HRV\",\"KOS\",\"MKD\",\"MNE\",\"SRB\",\"SVN\"]},{\"attribute\": \"adm0_a3_wb\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"admin\",\"count\": 8,\"type\": \"string\",\"values\": [\"Albania\",\"Bosnia and Herzegovina\",\"Croatia\",\"Kosovo\",\"Macedonia\",\"Montenegro\",\"Republic of Serbia\",\"Slovenia\"]},{\"attribute\": \"brk_a3\",\"count\": 8,\"type\": \"string\",\"values\": [\"ALB\",\"B57\",\"BIH\",\"HRV\",\"MKD\",\"MNE\",\"SRB\",\"SVN\"]},{\"attribute\": \"brk_diff\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,1.000000],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"brk_name\",\"count\": 8,\"type\": \"string\",\"values\": [\"Albania\",\"Bosnia and Herz.\",\"Croatia\",\"Kosovo\",\"Macedonia\",\"Montenegro\",\"Serbia\",\"Slovenia\"]},{\"attribute\": \"continent\",\"count\": 1,\"type\": \"string\",\"values\": [\"Europe\"]},{\"attribute\": \"economy\",\"count\": 2,\"type\": \"string\",\"values\": [\"2. Developed region: nonG7\",\"6. Developing region\"]},{\"attribute\": \"featurecla\",\"count\": 1,\"type\": \"string\",\"values\": [\"Admin-0 country\"]},{\"attribute\": \"formal_en\",\"count\": 8,\"type\": \"string\",\"values\": [\"Bosnia and Herzegovina\",\"Former Yugoslav Republic of Macedonia\",\"Montenegro\",\"Republic of Albania\",\"Republic of Croatia\",\"Republic of Kosovo\",\"Republic of Serbia\",\"Republic of Slovenia\"]},{\"attribute\": \"gdp_md_est\",\"count\": 8,\"type\": \"number\",\"values\": [18780.000000,21810.000000,29700.000000,5352.000000,59340.000000,6816.000000,80340.000000,82390.000000],\"min\": 5352.000000,\"max\": 82390.000000},{\"attribute\": \"gdp_year\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"geou_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"geounit\",\"count\": 8,\"type\": \"string\",\"values\": [\"Albania\",\"Bosnia and Herzegovina\",\"Croatia\",\"Kosovo\",\"Macedonia\",\"Montenegro\",\"Republic of Serbia\",\"Slovenia\"]},{\"attribute\": \"gu_a3\",\"count\": 8,\"type\": \"string\",\"values\": [\"ALB\",\"BIH\",\"HRV\",\"KOS\",\"MKD\",\"MNE\",\"SRB\",\"SVN\"]},{\"attribute\": \"homepart\",\"count\": 1,\"type\": \"number\",\"values\": [1.000000],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"income_grp\",\"count\": 4,\"type\": \"string\",\"values\": [\"1. High income: OECD\",\"2. High income: nonOECD\",\"3. Upper middle income\",\"4. Lower middle income\"]},{\"attribute\": \"iso_a2\",\"count\": 8,\"type\": \"string\",\"values\": [\"-99\",\"AL\",\"BA\",\"HR\",\"ME\",\"MK\",\"RS\",\"SI\"]},{\"attribute\": \"iso_a3\",\"count\": 8,\"type\": \"string\",\"values\": [\"-99\",\"ALB\",\"BIH\",\"HRV\",\"MKD\",\"MNE\",\"SRB\",\"SVN\"]},{\"attribute\": \"iso_n3\",\"count\": 8,\"type\": \"string\",\"values\": [\"-99\",\"008\",\"070\",\"191\",\"499\",\"688\",\"705\",\"807\"]},{\"attribute\": \"labelrank\",\"count\": 2,\"type\": \"number\",\"values\": [5.000000,6.000000],\"min\": 5.000000,\"max\": 6.000000},{\"attribute\": \"lastcensus\",\"count\": 5,\"type\": \"number\",\"values\": [1981.000000,1991.000000,2001.000000,2010.000000,2011.000000],\"min\": 1981.000000,\"max\": 2011.000000},{\"attribute\": \"level\",\"count\": 1,\"type\": \"number\",\"values\": [2.000000],\"min\": 2.000000,\"max\": 2.000000},{\"attribute\": \"long_len\",\"count\": 6,\"type\": \"number\",\"values\": [10.000000,22.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 6.000000,\"max\": 22.000000},{\"attribute\": \"mapcolor13\",\"count\": 8,\"type\": \"number\",\"values\": [1.000000,10.000000,11.000000,12.000000,2.000000,3.000000,5.000000,6.000000],\"min\": 1.000000,\"max\": 12.000000},{\"attribute\": \"mapcolor7\",\"count\": 5,\"type\": \"number\",\"values\": [1.000000,2.000000,3.000000,4.000000,5.000000],\"min\": 1.000000,\"max\": 5.000000},{\"attribute\": \"mapcolor8\",\"count\": 4,\"type\": \"number\",\"values\": [1.000000,2.000000,3.000000,4.000000],\"min\": 1.000000,\"max\": 4.000000},{\"attribute\": \"mapcolor9\",\"count\": 6,\"type\": \"number\",\"values\": [1.000000,2.000000,3.000000,4.000000,5.000000,7.000000],\"min\": 1.000000,\"max\": 7.000000},{\"attribute\": \"name\",\"count\": 8,\"type\": \"string\",\"values\": [\"Albania\",\"Bosnia and Herz.\",\"Croatia\",\"Kosovo\",\"Macedonia\",\"Montenegro\",\"Serbia\",\"Slovenia\"]},{\"attribute\": \"name_len\",\"count\": 6,\"type\": \"number\",\"values\": [10.000000,16.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 6.000000,\"max\": 16.000000},{\"attribute\": \"name_long\",\"count\": 8,\"type\": \"string\",\"values\": [\"Albania\",\"Bosnia and Herzegovina\",\"Croatia\",\"Kosovo\",\"Macedonia\",\"Montenegro\",\"Serbia\",\"Slovenia\"]},{\"attribute\": \"name_sort\",\"count\": 8,\"type\": \"string\",\"values\": [\"Albania\",\"Bosnia and Herzegovina\",\"Croatia\",\"Kosovo\",\"Macedonia, FYR\",\"Montenegro\",\"Serbia\",\"Slovenia\"]},{\"attribute\": \"note_brk\",\"count\": 1,\"type\": \"string\",\"values\": [\"Self admin.; Claimed by Serbia\"]},{\"attribute\": \"pop_est\",\"count\": 8,\"type\": \"number\",\"values\": [1804838.000000,2005692.000000,2066718.000000,3639453.000000,4489409.000000,4613414.000000,672180.000000,7379339.000000],\"min\": 672180.000000,\"max\": 7379339.000000},{\"attribute\": \"pop_year\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"postal\",\"count\": 8,\"type\": \"string\",\"values\": [\"AL\",\"BiH\",\"HR\",\"KO\",\"ME\",\"MK\",\"RS\",\"SLO\"]},{\"attribute\": \"region_un\",\"count\": 1,\"type\": \"string\",\"values\": [\"Europe\"]},{\"attribute\": \"region_wb\",\"count\": 1,\"type\": \"string\",\"values\": [\"Europe & Central Asia\"]},{\"attribute\": \"scalerank\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"sov_a3\",\"count\": 8,\"type\": \"string\",\"values\": [\"ALB\",\"BIH\",\"HRV\",\"KOS\",\"MKD\",\"MNE\",\"SRB\",\"SVN\"]},{\"attribute\": \"sovereignt\",\"count\": 8,\"type\": \"string\",\"values\": [\"Albania\",\"Bosnia and Herzegovina\",\"Croatia\",\"Kosovo\",\"Macedonia\",\"Montenegro\",\"Republic of Serbia\",\"Slovenia\"]},{\"attribute\": \"su_a3\",\"count\": 8,\"type\": \"string\",\"values\": [\"ALB\",\"BIH\",\"HRV\",\"KOS\",\"MKD\",\"MNE\",\"SRB\",\"SVN\"]},{\"attribute\": \"su_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"subregion\",\"count\": 1,\"type\": \"string\",\"values\": [\"Southern Europe\"]},{\"attribute\": \"subunit\",\"count\": 8,\"type\": \"string\",\"values\": [\"Albania\",\"Bosnia and Herzegovina\",\"Croatia\",\"Kosovo\",\"Macedonia\",\"Montenegro\",\"Republic of Serbia\",\"Slovenia\"]},{\"attribute\": \"tiny\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"type\",\"count\": 1,\"type\": \"string\",\"values\": [\"Sovereign country\"]},{\"attribute\": \"un_a3\",\"count\": 8,\"type\": \"string\",\"values\": [\"-099\",\"008\",\"070\",\"191\",\"499\",\"688\",\"705\",\"807\"]},{\"attribute\": \"wb_a2\",\"count\": 8,\"type\": \"string\",\"values\": [\"AL\",\"BA\",\"HR\",\"KV\",\"ME\",\"MK\",\"SI\",\"YF\"]},{\"attribute\": \"wb_a3\",\"count\": 8,\"type\": \"string\",\"values\": [\"ALB\",\"BIH\",\"HRV\",\"KSV\",\"MKD\",\"MNE\",\"SRB\",\"SVN\"]},{\"attribute\": \"wikipedia\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"woe_id\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000}]}]}}", "maxzoom": "1", "minzoom": "0", "name": "tests/border/out/-z1_--detect-shared-borders.json.check.mbtiles", diff --git a/tests/curve/out/-z2.json b/tests/curve/out/-z2.json index 5f6e101f..f5eb8e17 100644 --- a/tests/curve/out/-z2.json +++ b/tests/curve/out/-z2.json @@ -3,7 +3,7 @@ "center": "-135.000000,75.782195,2", "description": "tests/curve/out/-z2.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 2, \"fields\": {} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 2, \"fields\": {} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 2,\"geometry\": \"Polygon\",\"attributeCount\": 0,\"attributes\": []}]}}", "maxzoom": "2", "minzoom": "0", "name": "tests/curve/out/-z2.json.check.mbtiles", diff --git a/tests/curve/out/-z2_--no-clipping.json b/tests/curve/out/-z2_--no-clipping.json index e0b2da62..35b260a2 100644 --- a/tests/curve/out/-z2_--no-clipping.json +++ b/tests/curve/out/-z2_--no-clipping.json @@ -3,7 +3,7 @@ "center": "-135.000000,75.782195,2", "description": "tests/curve/out/-z2_--no-clipping.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 2, \"fields\": {} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 2, \"fields\": {} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 2,\"geometry\": \"Polygon\",\"attributeCount\": 0,\"attributes\": []}]}}", "maxzoom": "2", "minzoom": "0", "name": "tests/curve/out/-z2_--no-clipping.json.check.mbtiles", diff --git a/tests/curve/out/-z2_--no-duplication.json b/tests/curve/out/-z2_--no-duplication.json index c725ef67..96ee2ca2 100644 --- a/tests/curve/out/-z2_--no-duplication.json +++ b/tests/curve/out/-z2_--no-duplication.json @@ -3,7 +3,7 @@ "center": "45.000000,33.256630,2", "description": "tests/curve/out/-z2_--no-duplication.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 2, \"fields\": {} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 2, \"fields\": {} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 2,\"geometry\": \"Polygon\",\"attributeCount\": 0,\"attributes\": []}]}}", "maxzoom": "2", "minzoom": "0", "name": "tests/curve/out/-z2_--no-duplication.json.check.mbtiles", diff --git a/tests/dateline/out/-z5.json b/tests/dateline/out/-z5.json index fb539e10..1fefcd00 100644 --- a/tests/dateline/out/-z5.json +++ b/tests/dateline/out/-z5.json @@ -3,7 +3,7 @@ "center": "-151.875000,64.059828,5", "description": "tests/dateline/out/-z5.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"boolean\": \"Boolean\", \"escape\": \"String\", \"otherboolean\": \"Boolean\", \"prรชt\": \"String\", \"stringify\": \"String\", \"zoom\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"boolean\": \"Boolean\", \"escape\": \"String\", \"otherboolean\": \"Boolean\", \"prรชt\": \"String\", \"stringify\": \"String\", \"zoom\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 3,\"geometry\": \"LineString\",\"attributeCount\": 6,\"attributes\": [{\"attribute\": \"boolean\",\"count\": 1,\"type\": \"boolean\",\"values\": [true]},{\"attribute\": \"escape\",\"count\": 1,\"type\": \"string\",\"values\": [\"foo\\u0001bar,รผ\\\"\\\\/\\u0008\\u000c\\u000a\\u000d\\u0009โ†’\"]},{\"attribute\": \"otherboolean\",\"count\": 1,\"type\": \"boolean\",\"values\": [false]},{\"attribute\": \"prรชt\",\"count\": 1,\"type\": \"string\",\"values\": [\"ready\"]},{\"attribute\": \"stringify\",\"count\": 1,\"type\": \"string\",\"values\": [\"[\\\"yes\\\",27.00000000,27,1.4e27,{\\\"foo\\\":\\\"bar\\\"}]\"]},{\"attribute\": \"zoom\",\"count\": 2,\"type\": \"string\",\"values\": [\"3-5\",\"z0-2\"]}]}]}}", "maxzoom": "5", "minzoom": "0", "name": "tests/dateline/out/-z5.json.check.mbtiles", diff --git a/tests/empty-linestring/out/-ac.json b/tests/empty-linestring/out/-ac.json index 050d22ec..1ea242d5 100644 --- a/tests/empty-linestring/out/-ac.json +++ b/tests/empty-linestring/out/-ac.json @@ -3,7 +3,7 @@ "center": "-122.249782,37.796763,14", "description": "tests/empty-linestring/out/-ac.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 14, \"fields\": {} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 14, \"fields\": {} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 5,\"geometry\": \"LineString\",\"attributeCount\": 0,\"attributes\": []}]}}", "maxzoom": "14", "minzoom": "0", "name": "tests/empty-linestring/out/-ac.json.check.mbtiles", diff --git a/tests/epsg-3857/out/-yNAME_-z5_-sEPSG@3857.json b/tests/epsg-3857/out/-yNAME_-z5_-sEPSG@3857.json index c9eca9fe..8de7b735 100644 --- a/tests/epsg-3857/out/-yNAME_-z5_-sEPSG@3857.json +++ b/tests/epsg-3857/out/-yNAME_-z5_-sEPSG@3857.json @@ -3,7 +3,7 @@ "center": "16.875000,44.951199,5", "description": "tests/epsg-3857/out/-yNAME_-z5_-sEPSG@3857.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"NAME\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"NAME\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 243,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"NAME\",\"count\": 243,\"type\": \"string\",\"values\": [\"Abidjan\",\"Abu Dhabi\",\"Abuja\",\"Accra\",\"Addis Ababa\",\"Algiers\",\"Amman\",\"Amsterdam\",\"Andorra\",\"Ankara\",\"Antananarivo\",\"Apia\",\"Ashgabat\",\"Asmara\",\"Astana\",\"Asuncion\",\"Athens\",\"Atlanta\",\"Auckland\",\"Baghdad\",\"Baguio City\",\"Baku\",\"Bamako\",\"Bandar Seri Begawan\",\"Bangalore\",\"Bangkok\",\"Bangui\",\"Banjul\",\"Basseterre\",\"Beijing\",\"Beirut\",\"Belgrade\",\"Belmopan\",\"Berlin\",\"Bern\",\"Bir Lehlou\",\"Bishkek\",\"Bissau\",\"Bloemfontein\",\"Bogota\",\"Brasilia\",\"Bratislava\",\"Brazzaville\",\"Bridgetown\",\"Brussels\",\"Bucharest\",\"Budapest\",\"Buenos Aires\",\"Bujumbura\",\"Cairo\",\"Canberra\",\"Cape Town\",\"Caracas\",\"Casablanca\",\"Castries\",\"Chengdu\",\"Chicago\",\"Chisinau\",\"Colombo\",\"Conakry\",\"Cotonou\",\"Dakar\",\"Damascus\",\"Dar es Salaam\",\"Denver\",\"Dhaka\",\"Dili\",\"Djibouti\",\"Dodoma\",\"Doha\",\"Dubai\",\"Dublin\",\"Dushanbe\",\"Freetown\",\"Funafuti\",\"Gaborone\",\"Geneva\",\"Georgetown\",\"Guatemala\",\"Hanoi\",\"Harare\",\"Hargeysa\",\"Havana\",\"Helsinki\",\"Hong Kong\",\"Honiara\",\"Houston\",\"Islamabad\",\"Istanbul\",\"Jakarta\",\"Jerusalem\",\"Johannesburg\",\"Juba\",\"Kabul\",\"Kampala\",\"Kathmandu\",\"Khartoum\",\"Kiev\",\"Kigali\",\"Kingston\"]}]}]}}", "maxzoom": "5", "minzoom": "0", "name": "tests/epsg-3857/out/-yNAME_-z5_-sEPSG@3857.json.check.mbtiles", diff --git a/tests/geometry/out/-z3.json b/tests/geometry/out/-z3.json index ba351f49..6844cba3 100644 --- a/tests/geometry/out/-z3.json +++ b/tests/geometry/out/-z3.json @@ -3,7 +3,7 @@ "center": "22.500000,20.489949,3", "description": "tests/geometry/out/-z3.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"bare\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 3, \"fields\": {} }, { \"id\": \"geometrycollection\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 3, \"fields\": {\"collection\": \"Boolean\"} }, { \"id\": \"multipoint\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 3, \"fields\": {\"point\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"bare\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 3, \"fields\": {} }, { \"id\": \"geometrycollection\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 3, \"fields\": {\"collection\": \"Boolean\"} }, { \"id\": \"multipoint\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 3, \"fields\": {\"point\": \"String\"} } ],\"tilestats\": {\"layerCount\": 3,\"layers\": [{\"layer\": \"bare\",\"count\": 2,\"geometry\": \"LineString\",\"attributeCount\": 0,\"attributes\": []},{\"layer\": \"geometrycollection\",\"count\": 2,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"collection\",\"count\": 1,\"type\": \"boolean\",\"values\": [true]}]},{\"layer\": \"multipoint\",\"count\": 1,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"point\",\"count\": 1,\"type\": \"string\",\"values\": [\"multi\"]}]}]}}", "maxzoom": "3", "minzoom": "0", "name": "tests/geometry/out/-z3.json.check.mbtiles", diff --git a/tests/highzoom/out/-z30.json b/tests/highzoom/out/-z30.json index 5b56d53d..8cc8a11c 100644 --- a/tests/highzoom/out/-z30.json +++ b/tests/highzoom/out/-z30.json @@ -3,7 +3,7 @@ "center": "-121.999912,37.000000,20", "description": "tests/highzoom/out/-z30.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 20, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 20, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 2,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 2,\"type\": \"string\",\"values\": [\"London\",\"Santa Cruz\"]}]}]}}", "maxzoom": "20", "minzoom": "0", "name": "tests/highzoom/out/-z30.json.check.mbtiles", diff --git a/tests/id/out/-Z11.json b/tests/id/out/-Z11.json index 271eebdb..5426673b 100644 --- a/tests/id/out/-Z11.json +++ b/tests/id/out/-Z11.json @@ -3,7 +3,7 @@ "center": "-122.156982,37.762029,14", "description": "tests/id/out/-Z11.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 14, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 14, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 8,\"geometry\": \"LineString\",\"attributeCount\": 4,\"attributes\": [{\"attribute\": \"FULLNAME\",\"count\": 3,\"type\": \"string\",\"values\": [\"Macarthur\",\"Macarthur Blvd\",\"Macarthur Fwy\"]},{\"attribute\": \"LINEARID\",\"count\": 8,\"type\": \"string\",\"values\": [\"1102406970092\",\"1102638069562\",\"1102954918511\",\"1103690483032\",\"1104469713187\",\"1104469713198\",\"1104486090991\",\"1105089465114\"]},{\"attribute\": \"MTFCC\",\"count\": 2,\"type\": \"string\",\"values\": [\"S1100\",\"S1400\"]},{\"attribute\": \"RTTYP\",\"count\": 1,\"type\": \"string\",\"values\": [\"M\"]}]}]}}", "maxzoom": "14", "minzoom": "11", "name": "tests/id/out/-Z11.json.check.mbtiles", diff --git a/tests/islands/out/-d7_-z7_-pt_-pp.json b/tests/islands/out/-d7_-z7_-pt_-pp.json index d0afd3e7..784f428f 100644 --- a/tests/islands/out/-d7_-z7_-pt_-pp.json +++ b/tests/islands/out/-d7_-z7_-pt_-pp.json @@ -3,7 +3,7 @@ "center": "172.968750,1.405686,7", "description": "tests/islands/out/-d7_-z7_-pt_-pp.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 7, \"fields\": {\"OBJECTID_1\": \"Number\", \"adm0_a3\": \"String\", \"adm0_label\": \"Number\", \"adm0_sr\": \"Number\", \"adm1_cod_1\": \"String\", \"adm1_code\": \"String\", \"admin\": \"String\", \"area_sqkm\": \"Number\", \"check_me\": \"Number\", \"code_hasc\": \"String\", \"datarank\": \"Number\", \"diss_me\": \"Number\", \"featurecla\": \"String\", \"fips\": \"String\", \"gadm_level\": \"Number\", \"geonunit\": \"String\", \"gn_a1_code\": \"String\", \"gn_id\": \"Number\", \"gn_level\": \"Number\", \"gn_name\": \"String\", \"gns_adm1\": \"String\", \"gns_id\": \"Number\", \"gns_level\": \"Number\", \"gns_name\": \"String\", \"gu_a3\": \"String\", \"iso_3166_2\": \"String\", \"iso_a2\": \"String\", \"labelrank\": \"Number\", \"latitude\": \"Number\", \"longitude\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_len\": \"Number\", \"note\": \"String\", \"provnum_ne\": \"Number\", \"sameascity\": \"Number\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"wikipedia\": \"String\", \"woe_id\": \"Number\", \"woe_label\": \"String\", \"woe_name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 7, \"fields\": {\"OBJECTID_1\": \"Number\", \"adm0_a3\": \"String\", \"adm0_label\": \"Number\", \"adm0_sr\": \"Number\", \"adm1_cod_1\": \"String\", \"adm1_code\": \"String\", \"admin\": \"String\", \"area_sqkm\": \"Number\", \"check_me\": \"Number\", \"code_hasc\": \"String\", \"datarank\": \"Number\", \"diss_me\": \"Number\", \"featurecla\": \"String\", \"fips\": \"String\", \"gadm_level\": \"Number\", \"geonunit\": \"String\", \"gn_a1_code\": \"String\", \"gn_id\": \"Number\", \"gn_level\": \"Number\", \"gn_name\": \"String\", \"gns_adm1\": \"String\", \"gns_id\": \"Number\", \"gns_level\": \"Number\", \"gns_name\": \"String\", \"gu_a3\": \"String\", \"iso_3166_2\": \"String\", \"iso_a2\": \"String\", \"labelrank\": \"Number\", \"latitude\": \"Number\", \"longitude\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_len\": \"Number\", \"note\": \"String\", \"provnum_ne\": \"Number\", \"sameascity\": \"Number\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"wikipedia\": \"String\", \"woe_id\": \"Number\", \"woe_label\": \"String\", \"woe_name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 2,\"geometry\": \"Polygon\",\"attributeCount\": 43,\"attributes\": [{\"attribute\": \"OBJECTID_1\",\"count\": 2,\"type\": \"number\",\"values\": [3643,6464],\"min\": 3643.000000,\"max\": 6464.000000},{\"attribute\": \"adm0_a3\",\"count\": 2,\"type\": \"string\",\"values\": [\"FSM\",\"KIR\"]},{\"attribute\": \"adm0_label\",\"count\": 2,\"type\": \"number\",\"values\": [5,7],\"min\": 5.000000,\"max\": 7.000000},{\"attribute\": \"adm0_sr\",\"count\": 1,\"type\": \"number\",\"values\": [5],\"min\": 5.000000,\"max\": 5.000000},{\"attribute\": \"adm1_cod_1\",\"count\": 2,\"type\": \"string\",\"values\": [\"FSM-4943\",\"KIR+99?\"]},{\"attribute\": \"adm1_code\",\"count\": 2,\"type\": \"string\",\"values\": [\"FSM-4943\",\"KIR+99?\"]},{\"attribute\": \"admin\",\"count\": 2,\"type\": \"string\",\"values\": [\"Federated States of Micronesia\",\"Kiribati\"]},{\"attribute\": \"area_sqkm\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"check_me\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"code_hasc\",\"count\": 2,\"type\": \"string\",\"values\": [\"-99\",\"FM.YA\"]},{\"attribute\": \"datarank\",\"count\": 2,\"type\": \"number\",\"values\": [10,11],\"min\": 10.000000,\"max\": 11.000000},{\"attribute\": \"diss_me\",\"count\": 2,\"type\": \"number\",\"values\": [10097,4943],\"min\": 4943.000000,\"max\": 10097.000000},{\"attribute\": \"featurecla\",\"count\": 2,\"type\": \"string\",\"values\": [\"Admin-1 minor island\",\"Admin-1 scale rank\"]},{\"attribute\": \"fips\",\"count\": 1,\"type\": \"string\",\"values\": [\"FM04\"]},{\"attribute\": \"gadm_level\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"geonunit\",\"count\": 2,\"type\": \"string\",\"values\": [\"Federated States of Micronesia\",\"Kiribati\"]},{\"attribute\": \"gn_a1_code\",\"count\": 2,\"type\": \"string\",\"values\": [\"FM.04\",\"KI.\"]},{\"attribute\": \"gn_id\",\"count\": 2,\"type\": \"number\",\"values\": [0,2081175],\"min\": 0.000000,\"max\": 2081175.000000},{\"attribute\": \"gn_level\",\"count\": 2,\"type\": \"number\",\"values\": [0,1],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"gn_name\",\"count\": 1,\"type\": \"string\",\"values\": [\"State of Yap\"]},{\"attribute\": \"gns_adm1\",\"count\": 1,\"type\": \"string\",\"values\": [\"FM04\"]},{\"attribute\": \"gns_id\",\"count\": 2,\"type\": \"number\",\"values\": [-3741502,0],\"min\": -3741502.000000,\"max\": 0.000000},{\"attribute\": \"gns_level\",\"count\": 2,\"type\": \"number\",\"values\": [0,1],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"gns_name\",\"count\": 1,\"type\": \"string\",\"values\": [\"Yap, State of\"]},{\"attribute\": \"gu_a3\",\"count\": 2,\"type\": \"string\",\"values\": [\"FSM\",\"KIR\"]},{\"attribute\": \"iso_3166_2\",\"count\": 2,\"type\": \"string\",\"values\": [\"FM-YAP\",\"KI-\"]},{\"attribute\": \"iso_a2\",\"count\": 2,\"type\": \"string\",\"values\": [\"FM\",\"KI\"]},{\"attribute\": \"labelrank\",\"count\": 1,\"type\": \"number\",\"values\": [20],\"min\": 20.000000,\"max\": 20.000000},{\"attribute\": \"latitude\",\"count\": 2,\"type\": \"number\",\"values\": [-4.6896699999999996,9.5810099999999991],\"min\": -4.689670,\"max\": 9.581010},{\"attribute\": \"longitude\",\"count\": 2,\"type\": \"number\",\"values\": [-174.511,138.114],\"min\": -174.511000,\"max\": 138.114000},{\"attribute\": \"mapcolor13\",\"count\": 2,\"type\": \"number\",\"values\": [12,13],\"min\": 12.000000,\"max\": 13.000000},{\"attribute\": \"mapcolor9\",\"count\": 2,\"type\": \"number\",\"values\": [4,6],\"min\": 4.000000,\"max\": 6.000000},{\"attribute\": \"name\",\"count\": 1,\"type\": \"string\",\"values\": [\"Yap\"]},{\"attribute\": \"name_len\",\"count\": 2,\"type\": \"number\",\"values\": [0,3],\"min\": 0.000000,\"max\": 3.000000},{\"attribute\": \"note\",\"count\": 1,\"type\": \"string\",\"values\": [\"KIR-99 (Kiribati minor island)\"]},{\"attribute\": \"provnum_ne\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"sameascity\",\"count\": 1,\"type\": \"number\",\"values\": [-99],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"scalerank\",\"count\": 2,\"type\": \"number\",\"values\": [10,11],\"min\": 10.000000,\"max\": 11.000000},{\"attribute\": \"sov_a3\",\"count\": 2,\"type\": \"string\",\"values\": [\"FSM\",\"KIR\"]},{\"attribute\": \"wikipedia\",\"count\": 1,\"type\": \"string\",\"values\": [\"http://en.wikipedia.org/wiki/Yap_State\"]},{\"attribute\": \"woe_id\",\"count\": 2,\"type\": \"number\",\"values\": [-99,2345343],\"min\": -99.000000,\"max\": 2345343.000000},{\"attribute\": \"woe_label\",\"count\": 1,\"type\": \"string\",\"values\": [\"Yap, FM, Federated States of Micronesia\"]},{\"attribute\": \"woe_name\",\"count\": 1,\"type\": \"string\",\"values\": [\"Yap\"]}]}]}}", "maxzoom": "7", "minzoom": "0", "name": "tests/islands/out/-d7_-z7_-pt_-pp.json.check.mbtiles", diff --git a/tests/join-population/joined-i.mbtiles.json b/tests/join-population/joined-i.mbtiles.json index 6aa8bae1..4dec5717 100644 --- a/tests/join-population/joined-i.mbtiles.json +++ b/tests/join-population/joined-i.mbtiles.json @@ -3,7 +3,7 @@ "center": "-122.299805,37.892187,12", "description": "tests/join-population/tabblock_06001420.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"tabblock_06001420\", \"description\": \"\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Number\", \"AWATER10\": \"Number\", \"BLOCKCE10\": \"String\", \"COUNTYFP10\": \"String\", \"FUNCSTAT10\": \"String\", \"INTPTLAT10\": \"String\", \"INTPTLON10\": \"String\", \"MTFCC10\": \"String\", \"NAME10\": \"String\", \"STATEFP10\": \"String\", \"TRACTCE10\": \"String\", \"UACE10\": \"String\", \"UATYP10\": \"String\", \"UR10\": \"String\", \"population\": \"Number\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"tabblock_06001420\", \"description\": \"\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Number\", \"AWATER10\": \"Number\", \"BLOCKCE10\": \"String\", \"COUNTYFP10\": \"String\", \"FUNCSTAT10\": \"String\", \"INTPTLAT10\": \"String\", \"INTPTLON10\": \"String\", \"MTFCC10\": \"String\", \"NAME10\": \"String\", \"STATEFP10\": \"String\", \"TRACTCE10\": \"String\", \"UACE10\": \"String\", \"UATYP10\": \"String\", \"UR10\": \"String\", \"population\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"tabblock_06001420\",\"count\": 0,\"geometry\": \"Point\",\"attributeCount\": 15,\"attributes\": [{\"attribute\": \"ALAND10\",\"count\": 162,\"type\": \"number\",\"values\": [10019,10125,10320,10339,10769,10776,10975,11206,11297,11306,11372,11825,11928,11997,1201,12044,12062,12213,12579,12945,13013,13106,13452,13985,14000,14042,14044,14053,14087,14101,14158,14169,14185,14193,14219,14237,14270,14291,14449,14452,14523,14541,14557,1457,14593,14639,14791,14799,14980,15100,15240,15260,15494,15574,15665,15730,15921,15930,15974,16117,16120,16165,16183,16238,16246,16253,16332,16353,16431,16453,16535,16537,16605,16635,16691,16994,17210,17230,17265,17308,17581,17622,17780,17893,18064,18095,18377,18586,18637,1878,18897,19453,19544,19676,19773,19818,19896,20277,20386,20486],\"min\": 280.000000,\"max\": 412555.000000},{\"attribute\": \"AWATER10\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"BLOCKCE10\",\"count\": 72,\"type\": \"string\",\"values\": [\"1000\",\"1001\",\"1002\",\"1003\",\"1004\",\"1005\",\"1006\",\"1007\",\"1008\",\"1009\",\"1010\",\"1011\",\"1012\",\"1013\",\"1014\",\"1015\",\"1016\",\"1017\",\"1018\",\"1019\",\"1020\",\"1021\",\"1022\",\"1023\",\"1024\",\"1026\",\"1029\",\"1030\",\"1031\",\"2000\",\"2001\",\"2002\",\"2003\",\"2004\",\"2005\",\"2006\",\"2007\",\"2008\",\"2009\",\"2010\",\"2011\",\"2012\",\"2013\",\"2014\",\"2015\",\"3000\",\"3001\",\"3002\",\"3003\",\"3004\",\"3005\",\"3006\",\"3007\",\"3008\",\"3009\",\"3010\",\"3012\",\"3013\",\"3014\",\"3015\",\"3016\",\"3017\",\"3018\",\"3019\",\"3020\",\"3021\",\"3023\",\"3024\",\"3026\",\"3027\",\"3028\",\"3031\"]},{\"attribute\": \"COUNTYFP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"001\"]},{\"attribute\": \"FUNCSTAT10\",\"count\": 1,\"type\": \"string\",\"values\": [\"S\"]},{\"attribute\": \"INTPTLAT10\",\"count\": 162,\"type\": \"string\",\"values\": [\"+37.8827246\",\"+37.8828579\",\"+37.8829654\",\"+37.8832245\",\"+37.8833234\",\"+37.8834620\",\"+37.8834818\",\"+37.8834939\",\"+37.8835272\",\"+37.8835363\",\"+37.8835790\",\"+37.8836932\",\"+37.8837071\",\"+37.8838362\",\"+37.8838753\",\"+37.8839739\",\"+37.8840099\",\"+37.8840797\",\"+37.8843388\",\"+37.8843696\",\"+37.8846770\",\"+37.8847438\",\"+37.8847470\",\"+37.8848967\",\"+37.8849195\",\"+37.8853070\",\"+37.8853080\",\"+37.8854489\",\"+37.8854914\",\"+37.8856461\",\"+37.8858112\",\"+37.8859970\",\"+37.8861594\",\"+37.8861944\",\"+37.8861973\",\"+37.8863229\",\"+37.8863390\",\"+37.8864607\",\"+37.8864950\",\"+37.8865962\",\"+37.8866087\",\"+37.8868308\",\"+37.8872385\",\"+37.8875706\",\"+37.8877891\",\"+37.8879459\",\"+37.8880279\",\"+37.8882387\",\"+37.8883323\",\"+37.8883405\",\"+37.8884164\",\"+37.8884185\",\"+37.8884410\",\"+37.8884411\",\"+37.8884580\",\"+37.8885408\",\"+37.8886165\",\"+37.8886345\",\"+37.8887349\",\"+37.8887826\",\"+37.8888488\",\"+37.8888596\",\"+37.8888638\",\"+37.8889080\",\"+37.8889300\",\"+37.8889340\",\"+37.8890070\",\"+37.8890495\",\"+37.8891261\",\"+37.8891773\",\"+37.8892518\",\"+37.8893267\",\"+37.8894113\",\"+37.8895187\",\"+37.8895455\",\"+37.8896695\",\"+37.8898284\",\"+37.8899556\",\"+37.8900585\",\"+37.8901108\",\"+37.8901660\",\"+37.8901726\",\"+37.8902095\",\"+37.8902144\",\"+37.8902784\",\"+37.8906969\",\"+37.8908584\",\"+37.8910287\",\"+37.8911018\",\"+37.8912006\",\"+37.8912058\",\"+37.8913200\",\"+37.8914257\",\"+37.8915386\",\"+37.8916581\",\"+37.8917135\",\"+37.8917853\",\"+37.8918042\",\"+37.8918093\",\"+37.8918237\"]},{\"attribute\": \"INTPTLON10\",\"count\": 162,\"type\": \"string\",\"values\": [\"-122.2823713\",\"-122.2826890\",\"-122.2830673\",\"-122.2834249\",\"-122.2836511\",\"-122.2837239\",\"-122.2837979\",\"-122.2844715\",\"-122.2845719\",\"-122.2848310\",\"-122.2850205\",\"-122.2851750\",\"-122.2856099\",\"-122.2859011\",\"-122.2859716\",\"-122.2863490\",\"-122.2863663\",\"-122.2866366\",\"-122.2868653\",\"-122.2869139\",\"-122.2870976\",\"-122.2871259\",\"-122.2872058\",\"-122.2872753\",\"-122.2873239\",\"-122.2873798\",\"-122.2875836\",\"-122.2876349\",\"-122.2877473\",\"-122.2877578\",\"-122.2878360\",\"-122.2879267\",\"-122.2879697\",\"-122.2883823\",\"-122.2886022\",\"-122.2886289\",\"-122.2886965\",\"-122.2887646\",\"-122.2887874\",\"-122.2889102\",\"-122.2890200\",\"-122.2892190\",\"-122.2894724\",\"-122.2895305\",\"-122.2895702\",\"-122.2896635\",\"-122.2897641\",\"-122.2899595\",\"-122.2901174\",\"-122.2903402\",\"-122.2904413\",\"-122.2905229\",\"-122.2906157\",\"-122.2909643\",\"-122.2909809\",\"-122.2911376\",\"-122.2912175\",\"-122.2913917\",\"-122.2914745\",\"-122.2918172\",\"-122.2919263\",\"-122.2920141\",\"-122.2921539\",\"-122.2923093\",\"-122.2923947\",\"-122.2926742\",\"-122.2927567\",\"-122.2927774\",\"-122.2928119\",\"-122.2928245\",\"-122.2929060\",\"-122.2932964\",\"-122.2933649\",\"-122.2934559\",\"-122.2934770\",\"-122.2935084\",\"-122.2935928\",\"-122.2936333\",\"-122.2941575\",\"-122.2942136\",\"-122.2943382\",\"-122.2944181\",\"-122.2944569\",\"-122.2945038\",\"-122.2949725\",\"-122.2950398\",\"-122.2951842\",\"-122.2952863\",\"-122.2953196\",\"-122.2953591\",\"-122.2955660\",\"-122.2958883\",\"-122.2960301\",\"-122.2960835\",\"-122.2961445\",\"-122.2961756\",\"-122.2962204\",\"-122.2964053\",\"-122.2964744\",\"-122.2967302\"]},{\"attribute\": \"MTFCC10\",\"count\": 1,\"type\": \"string\",\"values\": [\"G5040\"]},{\"attribute\": \"NAME10\",\"count\": 72,\"type\": \"string\",\"values\": [\"Block 1000\",\"Block 1001\",\"Block 1002\",\"Block 1003\",\"Block 1004\",\"Block 1005\",\"Block 1006\",\"Block 1007\",\"Block 1008\",\"Block 1009\",\"Block 1010\",\"Block 1011\",\"Block 1012\",\"Block 1013\",\"Block 1014\",\"Block 1015\",\"Block 1016\",\"Block 1017\",\"Block 1018\",\"Block 1019\",\"Block 1020\",\"Block 1021\",\"Block 1022\",\"Block 1023\",\"Block 1024\",\"Block 1026\",\"Block 1029\",\"Block 1030\",\"Block 1031\",\"Block 2000\",\"Block 2001\",\"Block 2002\",\"Block 2003\",\"Block 2004\",\"Block 2005\",\"Block 2006\",\"Block 2007\",\"Block 2008\",\"Block 2009\",\"Block 2010\",\"Block 2011\",\"Block 2012\",\"Block 2013\",\"Block 2014\",\"Block 2015\",\"Block 3000\",\"Block 3001\",\"Block 3002\",\"Block 3003\",\"Block 3004\",\"Block 3005\",\"Block 3006\",\"Block 3007\",\"Block 3008\",\"Block 3009\",\"Block 3010\",\"Block 3012\",\"Block 3013\",\"Block 3014\",\"Block 3015\",\"Block 3016\",\"Block 3017\",\"Block 3018\",\"Block 3019\",\"Block 3020\",\"Block 3021\",\"Block 3023\",\"Block 3024\",\"Block 3026\",\"Block 3027\",\"Block 3028\",\"Block 3031\"]},{\"attribute\": \"STATEFP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"06\"]},{\"attribute\": \"TRACTCE10\",\"count\": 6,\"type\": \"string\",\"values\": [\"420100\",\"420200\",\"420300\",\"420400\",\"420500\",\"420600\"]},{\"attribute\": \"UACE10\",\"count\": 1,\"type\": \"string\",\"values\": [\"78904\"]},{\"attribute\": \"UATYP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"U\"]},{\"attribute\": \"UR10\",\"count\": 1,\"type\": \"string\",\"values\": [\"U\"]},{\"attribute\": \"population\",\"count\": 73,\"type\": \"number\",\"values\": [1,10,11,1118,113,116,12,13,133,145,15,16,17,18,19,2,21,212,22,23,24,27,28,29,30,31,32,33,34,35,36,37,38,39,4,40,41,414,42,43,44,45,46,47,49,50,51,53,54,55,56,57,58,60,62,63,64,65,66,68,69,7,70,73,82,83,84,86,87,9,90,91,98],\"min\": 1.000000,\"max\": 1118.000000}]}]}}", "maxzoom": "12", "minzoom": "0", "name": "tests/join-population/tabblock_06001420.mbtiles", diff --git a/tests/join-population/joined.mbtiles.json b/tests/join-population/joined.mbtiles.json index 8aa68e29..e3831830 100644 --- a/tests/join-population/joined.mbtiles.json +++ b/tests/join-population/joined.mbtiles.json @@ -3,7 +3,7 @@ "center": "-122.299805,37.892187,12", "description": "tests/join-population/tabblock_06001420.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"tabblock_06001420\", \"description\": \"\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Number\", \"AWATER10\": \"Number\", \"BLOCKCE10\": \"String\", \"COUNTYFP10\": \"String\", \"FUNCSTAT10\": \"String\", \"INTPTLAT10\": \"String\", \"INTPTLON10\": \"String\", \"MTFCC10\": \"String\", \"NAME10\": \"String\", \"STATEFP10\": \"String\", \"TRACTCE10\": \"String\", \"UACE10\": \"String\", \"UATYP10\": \"String\", \"UR10\": \"String\", \"population\": \"Number\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"tabblock_06001420\", \"description\": \"\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Number\", \"AWATER10\": \"Number\", \"BLOCKCE10\": \"String\", \"COUNTYFP10\": \"String\", \"FUNCSTAT10\": \"String\", \"INTPTLAT10\": \"String\", \"INTPTLON10\": \"String\", \"MTFCC10\": \"String\", \"NAME10\": \"String\", \"STATEFP10\": \"String\", \"TRACTCE10\": \"String\", \"UACE10\": \"String\", \"UATYP10\": \"String\", \"UR10\": \"String\", \"population\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"tabblock_06001420\",\"count\": 0,\"geometry\": \"Point\",\"attributeCount\": 15,\"attributes\": [{\"attribute\": \"ALAND10\",\"count\": 257,\"type\": \"number\",\"values\": [0,10019,10125,1018,1027,10320,10339,1037,1060,10769,10776,1094,10961,10975,11206,11282,11297,11306,11372,11825,11921,11928,11997,1201,12044,12062,1214,12213,1246,12579,1269,12945,13013,13106,1324,13452,13985,14000,14042,14044,14053,14087,14101,14158,14169,14185,14193,14219,14237,14270,14291,14449,14452,14453,14523,14539,14541,14557,14565,1457,14593,1461,14639,1466,14791,14799,14980,1509,15100,15240,15260,15494,15574,15665,15730,15921,15930,15974,16117,16120,16165,16183,16238,16246,16253,16332,16353,16431,16453,16535,16537,16605,16635,16691,16994,1704,17210,17230,17265,17308],\"min\": 0.000000,\"max\": 542505.000000},{\"attribute\": \"AWATER10\",\"count\": 4,\"type\": \"number\",\"values\": [0,1111196,1632801,24],\"min\": 0.000000,\"max\": 1632801.000000},{\"attribute\": \"BLOCKCE10\",\"count\": 82,\"type\": \"string\",\"values\": [\"1000\",\"1001\",\"1002\",\"1003\",\"1004\",\"1005\",\"1006\",\"1007\",\"1008\",\"1009\",\"1010\",\"1011\",\"1012\",\"1013\",\"1014\",\"1015\",\"1016\",\"1017\",\"1018\",\"1019\",\"1020\",\"1021\",\"1022\",\"1023\",\"1024\",\"1025\",\"1026\",\"1027\",\"1028\",\"1029\",\"1030\",\"1031\",\"2000\",\"2001\",\"2002\",\"2003\",\"2004\",\"2005\",\"2006\",\"2007\",\"2008\",\"2009\",\"2010\",\"2011\",\"2012\",\"2013\",\"2014\",\"2015\",\"2016\",\"2017\",\"3000\",\"3001\",\"3002\",\"3003\",\"3004\",\"3005\",\"3006\",\"3007\",\"3008\",\"3009\",\"3010\",\"3011\",\"3012\",\"3013\",\"3014\",\"3015\",\"3016\",\"3017\",\"3018\",\"3019\",\"3020\",\"3021\",\"3022\",\"3023\",\"3024\",\"3025\",\"3026\",\"3027\",\"3028\",\"3029\",\"3030\",\"3031\"]},{\"attribute\": \"COUNTYFP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"001\"]},{\"attribute\": \"FUNCSTAT10\",\"count\": 1,\"type\": \"string\",\"values\": [\"S\"]},{\"attribute\": \"INTPTLAT10\",\"count\": 260,\"type\": \"string\",\"values\": [\"+37.8827246\",\"+37.8828579\",\"+37.8829654\",\"+37.8832245\",\"+37.8833234\",\"+37.8834620\",\"+37.8834653\",\"+37.8834818\",\"+37.8834939\",\"+37.8835272\",\"+37.8835363\",\"+37.8835790\",\"+37.8836558\",\"+37.8836932\",\"+37.8837071\",\"+37.8837458\",\"+37.8838362\",\"+37.8838716\",\"+37.8838753\",\"+37.8839314\",\"+37.8839739\",\"+37.8839955\",\"+37.8840099\",\"+37.8840797\",\"+37.8841984\",\"+37.8842028\",\"+37.8843388\",\"+37.8843696\",\"+37.8844362\",\"+37.8846770\",\"+37.8847438\",\"+37.8847470\",\"+37.8847579\",\"+37.8848967\",\"+37.8849026\",\"+37.8849195\",\"+37.8849426\",\"+37.8853070\",\"+37.8853080\",\"+37.8853992\",\"+37.8854489\",\"+37.8854914\",\"+37.8856449\",\"+37.8856461\",\"+37.8856733\",\"+37.8858112\",\"+37.8858279\",\"+37.8859970\",\"+37.8861594\",\"+37.8861944\",\"+37.8861973\",\"+37.8862375\",\"+37.8862789\",\"+37.8863229\",\"+37.8863390\",\"+37.8864397\",\"+37.8864607\",\"+37.8864950\",\"+37.8865874\",\"+37.8865962\",\"+37.8866087\",\"+37.8867580\",\"+37.8868308\",\"+37.8869296\",\"+37.8870993\",\"+37.8871632\",\"+37.8872385\",\"+37.8872675\",\"+37.8873248\",\"+37.8873799\",\"+37.8874129\",\"+37.8875706\",\"+37.8877645\",\"+37.8877763\",\"+37.8877891\",\"+37.8878520\",\"+37.8878852\",\"+37.8878859\",\"+37.8879165\",\"+37.8879459\",\"+37.8880279\",\"+37.8881229\",\"+37.8882387\",\"+37.8883258\",\"+37.8883323\",\"+37.8883405\",\"+37.8884164\",\"+37.8884185\",\"+37.8884410\",\"+37.8884411\",\"+37.8884580\",\"+37.8885068\",\"+37.8885114\",\"+37.8885408\",\"+37.8886165\",\"+37.8886345\",\"+37.8887349\",\"+37.8887826\",\"+37.8888233\",\"+37.8888488\"]},{\"attribute\": \"INTPTLON10\",\"count\": 260,\"type\": \"string\",\"values\": [\"-122.2823202\",\"-122.2823713\",\"-122.2826795\",\"-122.2826890\",\"-122.2829474\",\"-122.2830673\",\"-122.2832122\",\"-122.2834249\",\"-122.2836511\",\"-122.2837239\",\"-122.2837979\",\"-122.2838288\",\"-122.2839247\",\"-122.2839734\",\"-122.2844715\",\"-122.2845719\",\"-122.2845906\",\"-122.2848310\",\"-122.2850205\",\"-122.2850766\",\"-122.2850935\",\"-122.2851750\",\"-122.2856099\",\"-122.2856518\",\"-122.2856823\",\"-122.2859011\",\"-122.2859716\",\"-122.2861793\",\"-122.2863241\",\"-122.2863490\",\"-122.2863663\",\"-122.2866157\",\"-122.2866366\",\"-122.2868181\",\"-122.2868653\",\"-122.2869139\",\"-122.2870554\",\"-122.2870824\",\"-122.2870976\",\"-122.2871259\",\"-122.2872058\",\"-122.2872753\",\"-122.2873239\",\"-122.2873798\",\"-122.2875836\",\"-122.2875914\",\"-122.2876349\",\"-122.2877473\",\"-122.2877578\",\"-122.2878360\",\"-122.2879267\",\"-122.2879697\",\"-122.2881508\",\"-122.2882217\",\"-122.2882377\",\"-122.2883131\",\"-122.2883823\",\"-122.2883829\",\"-122.2884737\",\"-122.2886022\",\"-122.2886289\",\"-122.2886774\",\"-122.2886965\",\"-122.2887646\",\"-122.2887874\",\"-122.2889102\",\"-122.2890200\",\"-122.2892190\",\"-122.2894711\",\"-122.2894724\",\"-122.2895305\",\"-122.2895702\",\"-122.2895731\",\"-122.2896635\",\"-122.2897641\",\"-122.2899595\",\"-122.2901174\",\"-122.2903402\",\"-122.2904413\",\"-122.2905229\",\"-122.2905730\",\"-122.2906157\",\"-122.2909643\",\"-122.2909809\",\"-122.2911376\",\"-122.2912175\",\"-122.2913154\",\"-122.2913507\",\"-122.2913917\",\"-122.2914745\",\"-122.2914849\",\"-122.2915924\",\"-122.2918172\",\"-122.2919263\",\"-122.2920141\",\"-122.2921162\",\"-122.2921539\",\"-122.2922894\",\"-122.2923093\",\"-122.2923947\"]},{\"attribute\": \"MTFCC10\",\"count\": 1,\"type\": \"string\",\"values\": [\"G5040\"]},{\"attribute\": \"NAME10\",\"count\": 82,\"type\": \"string\",\"values\": [\"Block 1000\",\"Block 1001\",\"Block 1002\",\"Block 1003\",\"Block 1004\",\"Block 1005\",\"Block 1006\",\"Block 1007\",\"Block 1008\",\"Block 1009\",\"Block 1010\",\"Block 1011\",\"Block 1012\",\"Block 1013\",\"Block 1014\",\"Block 1015\",\"Block 1016\",\"Block 1017\",\"Block 1018\",\"Block 1019\",\"Block 1020\",\"Block 1021\",\"Block 1022\",\"Block 1023\",\"Block 1024\",\"Block 1025\",\"Block 1026\",\"Block 1027\",\"Block 1028\",\"Block 1029\",\"Block 1030\",\"Block 1031\",\"Block 2000\",\"Block 2001\",\"Block 2002\",\"Block 2003\",\"Block 2004\",\"Block 2005\",\"Block 2006\",\"Block 2007\",\"Block 2008\",\"Block 2009\",\"Block 2010\",\"Block 2011\",\"Block 2012\",\"Block 2013\",\"Block 2014\",\"Block 2015\",\"Block 2016\",\"Block 2017\",\"Block 3000\",\"Block 3001\",\"Block 3002\",\"Block 3003\",\"Block 3004\",\"Block 3005\",\"Block 3006\",\"Block 3007\",\"Block 3008\",\"Block 3009\",\"Block 3010\",\"Block 3011\",\"Block 3012\",\"Block 3013\",\"Block 3014\",\"Block 3015\",\"Block 3016\",\"Block 3017\",\"Block 3018\",\"Block 3019\",\"Block 3020\",\"Block 3021\",\"Block 3022\",\"Block 3023\",\"Block 3024\",\"Block 3025\",\"Block 3026\",\"Block 3027\",\"Block 3028\",\"Block 3029\",\"Block 3030\",\"Block 3031\"]},{\"attribute\": \"STATEFP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"06\"]},{\"attribute\": \"TRACTCE10\",\"count\": 6,\"type\": \"string\",\"values\": [\"420100\",\"420200\",\"420300\",\"420400\",\"420500\",\"420600\"]},{\"attribute\": \"UACE10\",\"count\": 1,\"type\": \"string\",\"values\": [\"78904\"]},{\"attribute\": \"UATYP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"U\"]},{\"attribute\": \"UR10\",\"count\": 2,\"type\": \"string\",\"values\": [\"R\",\"U\"]},{\"attribute\": \"population\",\"count\": 73,\"type\": \"number\",\"values\": [1,10,11,1118,113,116,12,13,133,145,15,16,17,18,19,2,21,212,22,23,24,27,28,29,30,31,32,33,34,35,36,37,38,39,4,40,41,414,42,43,44,45,46,47,49,50,51,53,54,55,56,57,58,60,62,63,64,65,66,68,69,7,70,73,82,83,84,86,87,9,90,91,98],\"min\": 1.000000,\"max\": 1118.000000}]}]}}", "maxzoom": "12", "minzoom": "0", "name": "tests/join-population/tabblock_06001420.mbtiles", diff --git a/tests/join-population/just-macarthur.mbtiles.json b/tests/join-population/just-macarthur.mbtiles.json index a902f120..263b2004 100644 --- a/tests/join-population/just-macarthur.mbtiles.json +++ b/tests/join-population/just-macarthur.mbtiles.json @@ -4,7 +4,7 @@ "center": "-122.299805,37.892187,12", "description": "macarthur description", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"macarthur\", \"description\": \"\", \"minzoom\": 5, \"maxzoom\": 11, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"macarthur\", \"description\": \"\", \"minzoom\": 5, \"maxzoom\": 11, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"macarthur\",\"count\": 0,\"geometry\": \"Point\",\"attributeCount\": 4,\"attributes\": [{\"attribute\": \"FULLNAME\",\"count\": 5,\"type\": \"string\",\"values\": [\"Macarthur\",\"Macarthur Blvd\",\"Macarthur Fwy\",\"W Macarthur\",\"W Macarthur Blvd\"]},{\"attribute\": \"LINEARID\",\"count\": 43,\"type\": \"string\",\"values\": [\"1102155930810\",\"1102156217102\",\"1102156241736\",\"1102156248968\",\"1102156510290\",\"1102157509691\",\"1102157651658\",\"1102406970092\",\"1102406970093\",\"1102406970094\",\"1102406970095\",\"1102407366406\",\"1102638069562\",\"1102638078801\",\"1102654601627\",\"1102654601663\",\"1102654602215\",\"1102954189105\",\"1102954918511\",\"1103690383700\",\"1103690474249\",\"1103690474250\",\"1103690483026\",\"1103690483032\",\"1103717593123\",\"1104469713187\",\"1104469713198\",\"1104474748623\",\"1104475134288\",\"1104475134436\",\"1104485605278\",\"1104485645649\",\"1104485773833\",\"1104486090991\",\"1104486392881\",\"1105089436004\",\"1105089465114\",\"1105089465116\",\"1105281275434\",\"1105281275687\",\"1105281275688\",\"1105281275689\",\"1105281275692\"]},{\"attribute\": \"MTFCC\",\"count\": 2,\"type\": \"string\",\"values\": [\"S1100\",\"S1400\"]},{\"attribute\": \"RTTYP\",\"count\": 1,\"type\": \"string\",\"values\": [\"M\"]}]}]}}", "maxzoom": "12", "minzoom": "0", "name": "macarthur name", diff --git a/tests/join-population/merged-folder.mbtiles.json b/tests/join-population/merged-folder.mbtiles.json index 2d3fa7ee..4001efeb 100644 --- a/tests/join-population/merged-folder.mbtiles.json +++ b/tests/join-population/merged-folder.mbtiles.json @@ -3,7 +3,7 @@ "center": "-122.299805,37.892187,12", "description": "tests/join-population/tabblock_06001420-folder", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"macarthur\", \"description\": \"\", \"minzoom\": 5, \"maxzoom\": 11, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} }, { \"id\": \"tabblock_06001420\", \"description\": \"\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Number\", \"AWATER10\": \"Number\", \"BLOCKCE10\": \"String\", \"COUNTYFP10\": \"String\", \"FUNCSTAT10\": \"String\", \"GEOID10\": \"String\", \"INTPTLAT10\": \"String\", \"INTPTLON10\": \"String\", \"MTFCC10\": \"String\", \"NAME10\": \"String\", \"STATEFP10\": \"String\", \"TRACTCE10\": \"String\", \"UACE10\": \"String\", \"UATYP10\": \"String\", \"UR10\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"macarthur\", \"description\": \"\", \"minzoom\": 5, \"maxzoom\": 11, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} }, { \"id\": \"tabblock_06001420\", \"description\": \"\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Number\", \"AWATER10\": \"Number\", \"BLOCKCE10\": \"String\", \"COUNTYFP10\": \"String\", \"FUNCSTAT10\": \"String\", \"GEOID10\": \"String\", \"INTPTLAT10\": \"String\", \"INTPTLON10\": \"String\", \"MTFCC10\": \"String\", \"NAME10\": \"String\", \"STATEFP10\": \"String\", \"TRACTCE10\": \"String\", \"UACE10\": \"String\", \"UATYP10\": \"String\", \"UR10\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"macarthur\",\"count\": 0,\"geometry\": \"Point\",\"attributeCount\": 4,\"attributes\": [{\"attribute\": \"FULLNAME\",\"count\": 5,\"type\": \"string\",\"values\": [\"Macarthur\",\"Macarthur Blvd\",\"Macarthur Fwy\",\"W Macarthur\",\"W Macarthur Blvd\"]},{\"attribute\": \"LINEARID\",\"count\": 43,\"type\": \"string\",\"values\": [\"1102155930810\",\"1102156217102\",\"1102156241736\",\"1102156248968\",\"1102156510290\",\"1102157509691\",\"1102157651658\",\"1102406970092\",\"1102406970093\",\"1102406970094\",\"1102406970095\",\"1102407366406\",\"1102638069562\",\"1102638078801\",\"1102654601627\",\"1102654601663\",\"1102654602215\",\"1102954189105\",\"1102954918511\",\"1103690383700\",\"1103690474249\",\"1103690474250\",\"1103690483026\",\"1103690483032\",\"1103717593123\",\"1104469713187\",\"1104469713198\",\"1104474748623\",\"1104475134288\",\"1104475134436\",\"1104485605278\",\"1104485645649\",\"1104485773833\",\"1104486090991\",\"1104486392881\",\"1105089436004\",\"1105089465114\",\"1105089465116\",\"1105281275434\",\"1105281275687\",\"1105281275688\",\"1105281275689\",\"1105281275692\"]},{\"attribute\": \"MTFCC\",\"count\": 2,\"type\": \"string\",\"values\": [\"S1100\",\"S1400\"]},{\"attribute\": \"RTTYP\",\"count\": 1,\"type\": \"string\",\"values\": [\"M\"]}]},{\"layer\": \"tabblock_06001420\",\"count\": 0,\"geometry\": \"Point\",\"attributeCount\": 15,\"attributes\": [{\"attribute\": \"ALAND10\",\"count\": 257,\"type\": \"number\",\"values\": [0,10019,10125,1018,1027,10320,10339,1037,1060,10769,10776,1094,10961,10975,11206,11282,11297,11306,11372,11825,11921,11928,11997,1201,12044,12062,1214,12213,1246,12579,1269,12945,13013,13106,1324,13452,13985,14000,14042,14044,14053,14087,14101,14158,14169,14185,14193,14219,14237,14270,14291,14449,14452,14453,14523,14539,14541,14557,14565,1457,14593,1461,14639,1466,14791,14799,14980,1509,15100,15240,15260,15494,15574,15665,15730,15921,15930,15974,16117,16120,16165,16183,16238,16246,16253,16332,16353,16431,16453,16535,16537,16605,16635,16691,16994,1704,17210,17230,17265,17308],\"min\": 0.000000,\"max\": 542505.000000},{\"attribute\": \"AWATER10\",\"count\": 4,\"type\": \"number\",\"values\": [0,1111196,1632801,24],\"min\": 0.000000,\"max\": 1632801.000000},{\"attribute\": \"BLOCKCE10\",\"count\": 82,\"type\": \"string\",\"values\": [\"1000\",\"1001\",\"1002\",\"1003\",\"1004\",\"1005\",\"1006\",\"1007\",\"1008\",\"1009\",\"1010\",\"1011\",\"1012\",\"1013\",\"1014\",\"1015\",\"1016\",\"1017\",\"1018\",\"1019\",\"1020\",\"1021\",\"1022\",\"1023\",\"1024\",\"1025\",\"1026\",\"1027\",\"1028\",\"1029\",\"1030\",\"1031\",\"2000\",\"2001\",\"2002\",\"2003\",\"2004\",\"2005\",\"2006\",\"2007\",\"2008\",\"2009\",\"2010\",\"2011\",\"2012\",\"2013\",\"2014\",\"2015\",\"2016\",\"2017\",\"3000\",\"3001\",\"3002\",\"3003\",\"3004\",\"3005\",\"3006\",\"3007\",\"3008\",\"3009\",\"3010\",\"3011\",\"3012\",\"3013\",\"3014\",\"3015\",\"3016\",\"3017\",\"3018\",\"3019\",\"3020\",\"3021\",\"3022\",\"3023\",\"3024\",\"3025\",\"3026\",\"3027\",\"3028\",\"3029\",\"3030\",\"3031\"]},{\"attribute\": \"COUNTYFP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"001\"]},{\"attribute\": \"FUNCSTAT10\",\"count\": 1,\"type\": \"string\",\"values\": [\"S\"]},{\"attribute\": \"GEOID10\",\"count\": 260,\"type\": \"string\",\"values\": [\"060014201001000\",\"060014201001001\",\"060014201001002\",\"060014201001003\",\"060014201001004\",\"060014201001005\",\"060014201001006\",\"060014201001007\",\"060014201001008\",\"060014201001009\",\"060014201001010\",\"060014201001011\",\"060014201001012\",\"060014201001013\",\"060014201001014\",\"060014201001015\",\"060014201001016\",\"060014201001017\",\"060014201001018\",\"060014201001019\",\"060014201002000\",\"060014201002001\",\"060014201002002\",\"060014201002003\",\"060014201002004\",\"060014201002005\",\"060014201002006\",\"060014201002007\",\"060014201002008\",\"060014201002009\",\"060014201002010\",\"060014201002011\",\"060014201002012\",\"060014201002013\",\"060014201002014\",\"060014201002015\",\"060014201003000\",\"060014201003001\",\"060014201003002\",\"060014201003003\",\"060014201003004\",\"060014201003005\",\"060014201003006\",\"060014201003007\",\"060014201003008\",\"060014202001000\",\"060014202001001\",\"060014202001002\",\"060014202001003\",\"060014202001004\",\"060014202001005\",\"060014202001006\",\"060014202001007\",\"060014202001008\",\"060014202001009\",\"060014202001010\",\"060014202001011\",\"060014202001012\",\"060014202001013\",\"060014202001014\",\"060014202002000\",\"060014202002001\",\"060014202002002\",\"060014202002003\",\"060014202002004\",\"060014202002005\",\"060014202002006\",\"060014202002007\",\"060014202002008\",\"060014202002009\",\"060014202002010\",\"060014202002011\",\"060014202002012\",\"060014202003000\",\"060014202003001\",\"060014202003002\",\"060014202003003\",\"060014202003004\",\"060014202003005\",\"060014202003006\",\"060014202003007\",\"060014202003008\",\"060014202003009\",\"060014202003010\",\"060014202003011\",\"060014202003012\",\"060014203001000\",\"060014203001001\",\"060014203001002\",\"060014203001003\",\"060014203001004\",\"060014203001005\",\"060014203001006\",\"060014203001007\",\"060014203001008\",\"060014203001009\",\"060014203001010\",\"060014203001011\",\"060014203001012\",\"060014203001013\"]},{\"attribute\": \"INTPTLAT10\",\"count\": 260,\"type\": \"string\",\"values\": [\"+37.8827246\",\"+37.8828579\",\"+37.8829654\",\"+37.8832245\",\"+37.8833234\",\"+37.8834620\",\"+37.8834653\",\"+37.8834818\",\"+37.8834939\",\"+37.8835272\",\"+37.8835363\",\"+37.8835790\",\"+37.8836558\",\"+37.8836932\",\"+37.8837071\",\"+37.8837458\",\"+37.8838362\",\"+37.8838716\",\"+37.8838753\",\"+37.8839314\",\"+37.8839739\",\"+37.8839955\",\"+37.8840099\",\"+37.8840797\",\"+37.8841984\",\"+37.8842028\",\"+37.8843388\",\"+37.8843696\",\"+37.8844362\",\"+37.8846770\",\"+37.8847438\",\"+37.8847470\",\"+37.8847579\",\"+37.8848967\",\"+37.8849026\",\"+37.8849195\",\"+37.8849426\",\"+37.8853070\",\"+37.8853080\",\"+37.8853992\",\"+37.8854489\",\"+37.8854914\",\"+37.8856449\",\"+37.8856461\",\"+37.8856733\",\"+37.8858112\",\"+37.8858279\",\"+37.8859970\",\"+37.8861594\",\"+37.8861944\",\"+37.8861973\",\"+37.8862375\",\"+37.8862789\",\"+37.8863229\",\"+37.8863390\",\"+37.8864397\",\"+37.8864607\",\"+37.8864950\",\"+37.8865874\",\"+37.8865962\",\"+37.8866087\",\"+37.8867580\",\"+37.8868308\",\"+37.8869296\",\"+37.8870993\",\"+37.8871632\",\"+37.8872385\",\"+37.8872675\",\"+37.8873248\",\"+37.8873799\",\"+37.8874129\",\"+37.8875706\",\"+37.8877645\",\"+37.8877763\",\"+37.8877891\",\"+37.8878520\",\"+37.8878852\",\"+37.8878859\",\"+37.8879165\",\"+37.8879459\",\"+37.8880279\",\"+37.8881229\",\"+37.8882387\",\"+37.8883258\",\"+37.8883323\",\"+37.8883405\",\"+37.8884164\",\"+37.8884185\",\"+37.8884410\",\"+37.8884411\",\"+37.8884580\",\"+37.8885068\",\"+37.8885114\",\"+37.8885408\",\"+37.8886165\",\"+37.8886345\",\"+37.8887349\",\"+37.8887826\",\"+37.8888233\",\"+37.8888488\"]},{\"attribute\": \"INTPTLON10\",\"count\": 260,\"type\": \"string\",\"values\": [\"-122.2823202\",\"-122.2823713\",\"-122.2826795\",\"-122.2826890\",\"-122.2829474\",\"-122.2830673\",\"-122.2832122\",\"-122.2834249\",\"-122.2836511\",\"-122.2837239\",\"-122.2837979\",\"-122.2838288\",\"-122.2839247\",\"-122.2839734\",\"-122.2844715\",\"-122.2845719\",\"-122.2845906\",\"-122.2848310\",\"-122.2850205\",\"-122.2850766\",\"-122.2850935\",\"-122.2851750\",\"-122.2856099\",\"-122.2856518\",\"-122.2856823\",\"-122.2859011\",\"-122.2859716\",\"-122.2861793\",\"-122.2863241\",\"-122.2863490\",\"-122.2863663\",\"-122.2866157\",\"-122.2866366\",\"-122.2868181\",\"-122.2868653\",\"-122.2869139\",\"-122.2870554\",\"-122.2870824\",\"-122.2870976\",\"-122.2871259\",\"-122.2872058\",\"-122.2872753\",\"-122.2873239\",\"-122.2873798\",\"-122.2875836\",\"-122.2875914\",\"-122.2876349\",\"-122.2877473\",\"-122.2877578\",\"-122.2878360\",\"-122.2879267\",\"-122.2879697\",\"-122.2881508\",\"-122.2882217\",\"-122.2882377\",\"-122.2883131\",\"-122.2883823\",\"-122.2883829\",\"-122.2884737\",\"-122.2886022\",\"-122.2886289\",\"-122.2886774\",\"-122.2886965\",\"-122.2887646\",\"-122.2887874\",\"-122.2889102\",\"-122.2890200\",\"-122.2892190\",\"-122.2894711\",\"-122.2894724\",\"-122.2895305\",\"-122.2895702\",\"-122.2895731\",\"-122.2896635\",\"-122.2897641\",\"-122.2899595\",\"-122.2901174\",\"-122.2903402\",\"-122.2904413\",\"-122.2905229\",\"-122.2905730\",\"-122.2906157\",\"-122.2909643\",\"-122.2909809\",\"-122.2911376\",\"-122.2912175\",\"-122.2913154\",\"-122.2913507\",\"-122.2913917\",\"-122.2914745\",\"-122.2914849\",\"-122.2915924\",\"-122.2918172\",\"-122.2919263\",\"-122.2920141\",\"-122.2921162\",\"-122.2921539\",\"-122.2922894\",\"-122.2923093\",\"-122.2923947\"]},{\"attribute\": \"MTFCC10\",\"count\": 1,\"type\": \"string\",\"values\": [\"G5040\"]},{\"attribute\": \"NAME10\",\"count\": 82,\"type\": \"string\",\"values\": [\"Block 1000\",\"Block 1001\",\"Block 1002\",\"Block 1003\",\"Block 1004\",\"Block 1005\",\"Block 1006\",\"Block 1007\",\"Block 1008\",\"Block 1009\",\"Block 1010\",\"Block 1011\",\"Block 1012\",\"Block 1013\",\"Block 1014\",\"Block 1015\",\"Block 1016\",\"Block 1017\",\"Block 1018\",\"Block 1019\",\"Block 1020\",\"Block 1021\",\"Block 1022\",\"Block 1023\",\"Block 1024\",\"Block 1025\",\"Block 1026\",\"Block 1027\",\"Block 1028\",\"Block 1029\",\"Block 1030\",\"Block 1031\",\"Block 2000\",\"Block 2001\",\"Block 2002\",\"Block 2003\",\"Block 2004\",\"Block 2005\",\"Block 2006\",\"Block 2007\",\"Block 2008\",\"Block 2009\",\"Block 2010\",\"Block 2011\",\"Block 2012\",\"Block 2013\",\"Block 2014\",\"Block 2015\",\"Block 2016\",\"Block 2017\",\"Block 3000\",\"Block 3001\",\"Block 3002\",\"Block 3003\",\"Block 3004\",\"Block 3005\",\"Block 3006\",\"Block 3007\",\"Block 3008\",\"Block 3009\",\"Block 3010\",\"Block 3011\",\"Block 3012\",\"Block 3013\",\"Block 3014\",\"Block 3015\",\"Block 3016\",\"Block 3017\",\"Block 3018\",\"Block 3019\",\"Block 3020\",\"Block 3021\",\"Block 3022\",\"Block 3023\",\"Block 3024\",\"Block 3025\",\"Block 3026\",\"Block 3027\",\"Block 3028\",\"Block 3029\",\"Block 3030\",\"Block 3031\"]},{\"attribute\": \"STATEFP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"06\"]},{\"attribute\": \"TRACTCE10\",\"count\": 6,\"type\": \"string\",\"values\": [\"420100\",\"420200\",\"420300\",\"420400\",\"420500\",\"420600\"]},{\"attribute\": \"UACE10\",\"count\": 1,\"type\": \"string\",\"values\": [\"78904\"]},{\"attribute\": \"UATYP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"U\"]},{\"attribute\": \"UR10\",\"count\": 2,\"type\": \"string\",\"values\": [\"R\",\"U\"]}]}]}}", "maxzoom": "12", "minzoom": "0", "name": "tests/join-population/macarthur-folder + tests/join-population/macarthur2-folder + tests/join-population/tabblock_06001420-folder", diff --git a/tests/join-population/merged.mbtiles.json b/tests/join-population/merged.mbtiles.json index ea262268..9c4739dc 100644 --- a/tests/join-population/merged.mbtiles.json +++ b/tests/join-population/merged.mbtiles.json @@ -3,7 +3,7 @@ "center": "-122.299805,37.892187,12", "description": "tests/join-population/tabblock_06001420.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"macarthur\", \"description\": \"\", \"minzoom\": 5, \"maxzoom\": 11, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} }, { \"id\": \"tabblock_06001420\", \"description\": \"\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Number\", \"AWATER10\": \"Number\", \"BLOCKCE10\": \"String\", \"COUNTYFP10\": \"String\", \"FUNCSTAT10\": \"String\", \"GEOID10\": \"String\", \"INTPTLAT10\": \"String\", \"INTPTLON10\": \"String\", \"MTFCC10\": \"String\", \"NAME10\": \"String\", \"STATEFP10\": \"String\", \"TRACTCE10\": \"String\", \"UACE10\": \"String\", \"UATYP10\": \"String\", \"UR10\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"macarthur\", \"description\": \"\", \"minzoom\": 5, \"maxzoom\": 11, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} }, { \"id\": \"tabblock_06001420\", \"description\": \"\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Number\", \"AWATER10\": \"Number\", \"BLOCKCE10\": \"String\", \"COUNTYFP10\": \"String\", \"FUNCSTAT10\": \"String\", \"GEOID10\": \"String\", \"INTPTLAT10\": \"String\", \"INTPTLON10\": \"String\", \"MTFCC10\": \"String\", \"NAME10\": \"String\", \"STATEFP10\": \"String\", \"TRACTCE10\": \"String\", \"UACE10\": \"String\", \"UATYP10\": \"String\", \"UR10\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"macarthur\",\"count\": 0,\"geometry\": \"Point\",\"attributeCount\": 4,\"attributes\": [{\"attribute\": \"FULLNAME\",\"count\": 5,\"type\": \"string\",\"values\": [\"Macarthur\",\"Macarthur Blvd\",\"Macarthur Fwy\",\"W Macarthur\",\"W Macarthur Blvd\"]},{\"attribute\": \"LINEARID\",\"count\": 43,\"type\": \"string\",\"values\": [\"1102155930810\",\"1102156217102\",\"1102156241736\",\"1102156248968\",\"1102156510290\",\"1102157509691\",\"1102157651658\",\"1102406970092\",\"1102406970093\",\"1102406970094\",\"1102406970095\",\"1102407366406\",\"1102638069562\",\"1102638078801\",\"1102654601627\",\"1102654601663\",\"1102654602215\",\"1102954189105\",\"1102954918511\",\"1103690383700\",\"1103690474249\",\"1103690474250\",\"1103690483026\",\"1103690483032\",\"1103717593123\",\"1104469713187\",\"1104469713198\",\"1104474748623\",\"1104475134288\",\"1104475134436\",\"1104485605278\",\"1104485645649\",\"1104485773833\",\"1104486090991\",\"1104486392881\",\"1105089436004\",\"1105089465114\",\"1105089465116\",\"1105281275434\",\"1105281275687\",\"1105281275688\",\"1105281275689\",\"1105281275692\"]},{\"attribute\": \"MTFCC\",\"count\": 2,\"type\": \"string\",\"values\": [\"S1100\",\"S1400\"]},{\"attribute\": \"RTTYP\",\"count\": 1,\"type\": \"string\",\"values\": [\"M\"]}]},{\"layer\": \"tabblock_06001420\",\"count\": 0,\"geometry\": \"Point\",\"attributeCount\": 15,\"attributes\": [{\"attribute\": \"ALAND10\",\"count\": 257,\"type\": \"number\",\"values\": [0,10019,10125,1018,1027,10320,10339,1037,1060,10769,10776,1094,10961,10975,11206,11282,11297,11306,11372,11825,11921,11928,11997,1201,12044,12062,1214,12213,1246,12579,1269,12945,13013,13106,1324,13452,13985,14000,14042,14044,14053,14087,14101,14158,14169,14185,14193,14219,14237,14270,14291,14449,14452,14453,14523,14539,14541,14557,14565,1457,14593,1461,14639,1466,14791,14799,14980,1509,15100,15240,15260,15494,15574,15665,15730,15921,15930,15974,16117,16120,16165,16183,16238,16246,16253,16332,16353,16431,16453,16535,16537,16605,16635,16691,16994,1704,17210,17230,17265,17308],\"min\": 0.000000,\"max\": 542505.000000},{\"attribute\": \"AWATER10\",\"count\": 4,\"type\": \"number\",\"values\": [0,1111196,1632801,24],\"min\": 0.000000,\"max\": 1632801.000000},{\"attribute\": \"BLOCKCE10\",\"count\": 82,\"type\": \"string\",\"values\": [\"1000\",\"1001\",\"1002\",\"1003\",\"1004\",\"1005\",\"1006\",\"1007\",\"1008\",\"1009\",\"1010\",\"1011\",\"1012\",\"1013\",\"1014\",\"1015\",\"1016\",\"1017\",\"1018\",\"1019\",\"1020\",\"1021\",\"1022\",\"1023\",\"1024\",\"1025\",\"1026\",\"1027\",\"1028\",\"1029\",\"1030\",\"1031\",\"2000\",\"2001\",\"2002\",\"2003\",\"2004\",\"2005\",\"2006\",\"2007\",\"2008\",\"2009\",\"2010\",\"2011\",\"2012\",\"2013\",\"2014\",\"2015\",\"2016\",\"2017\",\"3000\",\"3001\",\"3002\",\"3003\",\"3004\",\"3005\",\"3006\",\"3007\",\"3008\",\"3009\",\"3010\",\"3011\",\"3012\",\"3013\",\"3014\",\"3015\",\"3016\",\"3017\",\"3018\",\"3019\",\"3020\",\"3021\",\"3022\",\"3023\",\"3024\",\"3025\",\"3026\",\"3027\",\"3028\",\"3029\",\"3030\",\"3031\"]},{\"attribute\": \"COUNTYFP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"001\"]},{\"attribute\": \"FUNCSTAT10\",\"count\": 1,\"type\": \"string\",\"values\": [\"S\"]},{\"attribute\": \"GEOID10\",\"count\": 260,\"type\": \"string\",\"values\": [\"060014201001000\",\"060014201001001\",\"060014201001002\",\"060014201001003\",\"060014201001004\",\"060014201001005\",\"060014201001006\",\"060014201001007\",\"060014201001008\",\"060014201001009\",\"060014201001010\",\"060014201001011\",\"060014201001012\",\"060014201001013\",\"060014201001014\",\"060014201001015\",\"060014201001016\",\"060014201001017\",\"060014201001018\",\"060014201001019\",\"060014201002000\",\"060014201002001\",\"060014201002002\",\"060014201002003\",\"060014201002004\",\"060014201002005\",\"060014201002006\",\"060014201002007\",\"060014201002008\",\"060014201002009\",\"060014201002010\",\"060014201002011\",\"060014201002012\",\"060014201002013\",\"060014201002014\",\"060014201002015\",\"060014201003000\",\"060014201003001\",\"060014201003002\",\"060014201003003\",\"060014201003004\",\"060014201003005\",\"060014201003006\",\"060014201003007\",\"060014201003008\",\"060014202001000\",\"060014202001001\",\"060014202001002\",\"060014202001003\",\"060014202001004\",\"060014202001005\",\"060014202001006\",\"060014202001007\",\"060014202001008\",\"060014202001009\",\"060014202001010\",\"060014202001011\",\"060014202001012\",\"060014202001013\",\"060014202001014\",\"060014202002000\",\"060014202002001\",\"060014202002002\",\"060014202002003\",\"060014202002004\",\"060014202002005\",\"060014202002006\",\"060014202002007\",\"060014202002008\",\"060014202002009\",\"060014202002010\",\"060014202002011\",\"060014202002012\",\"060014202003000\",\"060014202003001\",\"060014202003002\",\"060014202003003\",\"060014202003004\",\"060014202003005\",\"060014202003006\",\"060014202003007\",\"060014202003008\",\"060014202003009\",\"060014202003010\",\"060014202003011\",\"060014202003012\",\"060014203001000\",\"060014203001001\",\"060014203001002\",\"060014203001003\",\"060014203001004\",\"060014203001005\",\"060014203001006\",\"060014203001007\",\"060014203001008\",\"060014203001009\",\"060014203001010\",\"060014203001011\",\"060014203001012\",\"060014203001013\"]},{\"attribute\": \"INTPTLAT10\",\"count\": 260,\"type\": \"string\",\"values\": [\"+37.8827246\",\"+37.8828579\",\"+37.8829654\",\"+37.8832245\",\"+37.8833234\",\"+37.8834620\",\"+37.8834653\",\"+37.8834818\",\"+37.8834939\",\"+37.8835272\",\"+37.8835363\",\"+37.8835790\",\"+37.8836558\",\"+37.8836932\",\"+37.8837071\",\"+37.8837458\",\"+37.8838362\",\"+37.8838716\",\"+37.8838753\",\"+37.8839314\",\"+37.8839739\",\"+37.8839955\",\"+37.8840099\",\"+37.8840797\",\"+37.8841984\",\"+37.8842028\",\"+37.8843388\",\"+37.8843696\",\"+37.8844362\",\"+37.8846770\",\"+37.8847438\",\"+37.8847470\",\"+37.8847579\",\"+37.8848967\",\"+37.8849026\",\"+37.8849195\",\"+37.8849426\",\"+37.8853070\",\"+37.8853080\",\"+37.8853992\",\"+37.8854489\",\"+37.8854914\",\"+37.8856449\",\"+37.8856461\",\"+37.8856733\",\"+37.8858112\",\"+37.8858279\",\"+37.8859970\",\"+37.8861594\",\"+37.8861944\",\"+37.8861973\",\"+37.8862375\",\"+37.8862789\",\"+37.8863229\",\"+37.8863390\",\"+37.8864397\",\"+37.8864607\",\"+37.8864950\",\"+37.8865874\",\"+37.8865962\",\"+37.8866087\",\"+37.8867580\",\"+37.8868308\",\"+37.8869296\",\"+37.8870993\",\"+37.8871632\",\"+37.8872385\",\"+37.8872675\",\"+37.8873248\",\"+37.8873799\",\"+37.8874129\",\"+37.8875706\",\"+37.8877645\",\"+37.8877763\",\"+37.8877891\",\"+37.8878520\",\"+37.8878852\",\"+37.8878859\",\"+37.8879165\",\"+37.8879459\",\"+37.8880279\",\"+37.8881229\",\"+37.8882387\",\"+37.8883258\",\"+37.8883323\",\"+37.8883405\",\"+37.8884164\",\"+37.8884185\",\"+37.8884410\",\"+37.8884411\",\"+37.8884580\",\"+37.8885068\",\"+37.8885114\",\"+37.8885408\",\"+37.8886165\",\"+37.8886345\",\"+37.8887349\",\"+37.8887826\",\"+37.8888233\",\"+37.8888488\"]},{\"attribute\": \"INTPTLON10\",\"count\": 260,\"type\": \"string\",\"values\": [\"-122.2823202\",\"-122.2823713\",\"-122.2826795\",\"-122.2826890\",\"-122.2829474\",\"-122.2830673\",\"-122.2832122\",\"-122.2834249\",\"-122.2836511\",\"-122.2837239\",\"-122.2837979\",\"-122.2838288\",\"-122.2839247\",\"-122.2839734\",\"-122.2844715\",\"-122.2845719\",\"-122.2845906\",\"-122.2848310\",\"-122.2850205\",\"-122.2850766\",\"-122.2850935\",\"-122.2851750\",\"-122.2856099\",\"-122.2856518\",\"-122.2856823\",\"-122.2859011\",\"-122.2859716\",\"-122.2861793\",\"-122.2863241\",\"-122.2863490\",\"-122.2863663\",\"-122.2866157\",\"-122.2866366\",\"-122.2868181\",\"-122.2868653\",\"-122.2869139\",\"-122.2870554\",\"-122.2870824\",\"-122.2870976\",\"-122.2871259\",\"-122.2872058\",\"-122.2872753\",\"-122.2873239\",\"-122.2873798\",\"-122.2875836\",\"-122.2875914\",\"-122.2876349\",\"-122.2877473\",\"-122.2877578\",\"-122.2878360\",\"-122.2879267\",\"-122.2879697\",\"-122.2881508\",\"-122.2882217\",\"-122.2882377\",\"-122.2883131\",\"-122.2883823\",\"-122.2883829\",\"-122.2884737\",\"-122.2886022\",\"-122.2886289\",\"-122.2886774\",\"-122.2886965\",\"-122.2887646\",\"-122.2887874\",\"-122.2889102\",\"-122.2890200\",\"-122.2892190\",\"-122.2894711\",\"-122.2894724\",\"-122.2895305\",\"-122.2895702\",\"-122.2895731\",\"-122.2896635\",\"-122.2897641\",\"-122.2899595\",\"-122.2901174\",\"-122.2903402\",\"-122.2904413\",\"-122.2905229\",\"-122.2905730\",\"-122.2906157\",\"-122.2909643\",\"-122.2909809\",\"-122.2911376\",\"-122.2912175\",\"-122.2913154\",\"-122.2913507\",\"-122.2913917\",\"-122.2914745\",\"-122.2914849\",\"-122.2915924\",\"-122.2918172\",\"-122.2919263\",\"-122.2920141\",\"-122.2921162\",\"-122.2921539\",\"-122.2922894\",\"-122.2923093\",\"-122.2923947\"]},{\"attribute\": \"MTFCC10\",\"count\": 1,\"type\": \"string\",\"values\": [\"G5040\"]},{\"attribute\": \"NAME10\",\"count\": 82,\"type\": \"string\",\"values\": [\"Block 1000\",\"Block 1001\",\"Block 1002\",\"Block 1003\",\"Block 1004\",\"Block 1005\",\"Block 1006\",\"Block 1007\",\"Block 1008\",\"Block 1009\",\"Block 1010\",\"Block 1011\",\"Block 1012\",\"Block 1013\",\"Block 1014\",\"Block 1015\",\"Block 1016\",\"Block 1017\",\"Block 1018\",\"Block 1019\",\"Block 1020\",\"Block 1021\",\"Block 1022\",\"Block 1023\",\"Block 1024\",\"Block 1025\",\"Block 1026\",\"Block 1027\",\"Block 1028\",\"Block 1029\",\"Block 1030\",\"Block 1031\",\"Block 2000\",\"Block 2001\",\"Block 2002\",\"Block 2003\",\"Block 2004\",\"Block 2005\",\"Block 2006\",\"Block 2007\",\"Block 2008\",\"Block 2009\",\"Block 2010\",\"Block 2011\",\"Block 2012\",\"Block 2013\",\"Block 2014\",\"Block 2015\",\"Block 2016\",\"Block 2017\",\"Block 3000\",\"Block 3001\",\"Block 3002\",\"Block 3003\",\"Block 3004\",\"Block 3005\",\"Block 3006\",\"Block 3007\",\"Block 3008\",\"Block 3009\",\"Block 3010\",\"Block 3011\",\"Block 3012\",\"Block 3013\",\"Block 3014\",\"Block 3015\",\"Block 3016\",\"Block 3017\",\"Block 3018\",\"Block 3019\",\"Block 3020\",\"Block 3021\",\"Block 3022\",\"Block 3023\",\"Block 3024\",\"Block 3025\",\"Block 3026\",\"Block 3027\",\"Block 3028\",\"Block 3029\",\"Block 3030\",\"Block 3031\"]},{\"attribute\": \"STATEFP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"06\"]},{\"attribute\": \"TRACTCE10\",\"count\": 6,\"type\": \"string\",\"values\": [\"420100\",\"420200\",\"420300\",\"420400\",\"420500\",\"420600\"]},{\"attribute\": \"UACE10\",\"count\": 1,\"type\": \"string\",\"values\": [\"78904\"]},{\"attribute\": \"UATYP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"U\"]},{\"attribute\": \"UR10\",\"count\": 2,\"type\": \"string\",\"values\": [\"R\",\"U\"]}]}]}}", "maxzoom": "12", "minzoom": "0", "name": "tests/join-population/macarthur.mbtiles + tests/join-population/macarthur2.mbtiles + tests/join-population/tabblock_06001420.mbtiles", diff --git a/tests/join-population/no-macarthur.mbtiles.json b/tests/join-population/no-macarthur.mbtiles.json index fa5a04c0..abf48379 100644 --- a/tests/join-population/no-macarthur.mbtiles.json +++ b/tests/join-population/no-macarthur.mbtiles.json @@ -3,7 +3,7 @@ "center": "-122.299805,37.892187,12", "description": "tests/join-population/tabblock_06001420.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"tabblock_06001420\", \"description\": \"\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Number\", \"AWATER10\": \"Number\", \"BLOCKCE10\": \"String\", \"COUNTYFP10\": \"String\", \"FUNCSTAT10\": \"String\", \"GEOID10\": \"String\", \"INTPTLAT10\": \"String\", \"INTPTLON10\": \"String\", \"MTFCC10\": \"String\", \"NAME10\": \"String\", \"STATEFP10\": \"String\", \"TRACTCE10\": \"String\", \"UACE10\": \"String\", \"UATYP10\": \"String\", \"UR10\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"tabblock_06001420\", \"description\": \"\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Number\", \"AWATER10\": \"Number\", \"BLOCKCE10\": \"String\", \"COUNTYFP10\": \"String\", \"FUNCSTAT10\": \"String\", \"GEOID10\": \"String\", \"INTPTLAT10\": \"String\", \"INTPTLON10\": \"String\", \"MTFCC10\": \"String\", \"NAME10\": \"String\", \"STATEFP10\": \"String\", \"TRACTCE10\": \"String\", \"UACE10\": \"String\", \"UATYP10\": \"String\", \"UR10\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"tabblock_06001420\",\"count\": 0,\"geometry\": \"Point\",\"attributeCount\": 15,\"attributes\": [{\"attribute\": \"ALAND10\",\"count\": 257,\"type\": \"number\",\"values\": [0,10019,10125,1018,1027,10320,10339,1037,1060,10769,10776,1094,10961,10975,11206,11282,11297,11306,11372,11825,11921,11928,11997,1201,12044,12062,1214,12213,1246,12579,1269,12945,13013,13106,1324,13452,13985,14000,14042,14044,14053,14087,14101,14158,14169,14185,14193,14219,14237,14270,14291,14449,14452,14453,14523,14539,14541,14557,14565,1457,14593,1461,14639,1466,14791,14799,14980,1509,15100,15240,15260,15494,15574,15665,15730,15921,15930,15974,16117,16120,16165,16183,16238,16246,16253,16332,16353,16431,16453,16535,16537,16605,16635,16691,16994,1704,17210,17230,17265,17308],\"min\": 0.000000,\"max\": 542505.000000},{\"attribute\": \"AWATER10\",\"count\": 4,\"type\": \"number\",\"values\": [0,1111196,1632801,24],\"min\": 0.000000,\"max\": 1632801.000000},{\"attribute\": \"BLOCKCE10\",\"count\": 82,\"type\": \"string\",\"values\": [\"1000\",\"1001\",\"1002\",\"1003\",\"1004\",\"1005\",\"1006\",\"1007\",\"1008\",\"1009\",\"1010\",\"1011\",\"1012\",\"1013\",\"1014\",\"1015\",\"1016\",\"1017\",\"1018\",\"1019\",\"1020\",\"1021\",\"1022\",\"1023\",\"1024\",\"1025\",\"1026\",\"1027\",\"1028\",\"1029\",\"1030\",\"1031\",\"2000\",\"2001\",\"2002\",\"2003\",\"2004\",\"2005\",\"2006\",\"2007\",\"2008\",\"2009\",\"2010\",\"2011\",\"2012\",\"2013\",\"2014\",\"2015\",\"2016\",\"2017\",\"3000\",\"3001\",\"3002\",\"3003\",\"3004\",\"3005\",\"3006\",\"3007\",\"3008\",\"3009\",\"3010\",\"3011\",\"3012\",\"3013\",\"3014\",\"3015\",\"3016\",\"3017\",\"3018\",\"3019\",\"3020\",\"3021\",\"3022\",\"3023\",\"3024\",\"3025\",\"3026\",\"3027\",\"3028\",\"3029\",\"3030\",\"3031\"]},{\"attribute\": \"COUNTYFP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"001\"]},{\"attribute\": \"FUNCSTAT10\",\"count\": 1,\"type\": \"string\",\"values\": [\"S\"]},{\"attribute\": \"GEOID10\",\"count\": 260,\"type\": \"string\",\"values\": [\"060014201001000\",\"060014201001001\",\"060014201001002\",\"060014201001003\",\"060014201001004\",\"060014201001005\",\"060014201001006\",\"060014201001007\",\"060014201001008\",\"060014201001009\",\"060014201001010\",\"060014201001011\",\"060014201001012\",\"060014201001013\",\"060014201001014\",\"060014201001015\",\"060014201001016\",\"060014201001017\",\"060014201001018\",\"060014201001019\",\"060014201002000\",\"060014201002001\",\"060014201002002\",\"060014201002003\",\"060014201002004\",\"060014201002005\",\"060014201002006\",\"060014201002007\",\"060014201002008\",\"060014201002009\",\"060014201002010\",\"060014201002011\",\"060014201002012\",\"060014201002013\",\"060014201002014\",\"060014201002015\",\"060014201003000\",\"060014201003001\",\"060014201003002\",\"060014201003003\",\"060014201003004\",\"060014201003005\",\"060014201003006\",\"060014201003007\",\"060014201003008\",\"060014202001000\",\"060014202001001\",\"060014202001002\",\"060014202001003\",\"060014202001004\",\"060014202001005\",\"060014202001006\",\"060014202001007\",\"060014202001008\",\"060014202001009\",\"060014202001010\",\"060014202001011\",\"060014202001012\",\"060014202001013\",\"060014202001014\",\"060014202002000\",\"060014202002001\",\"060014202002002\",\"060014202002003\",\"060014202002004\",\"060014202002005\",\"060014202002006\",\"060014202002007\",\"060014202002008\",\"060014202002009\",\"060014202002010\",\"060014202002011\",\"060014202002012\",\"060014202003000\",\"060014202003001\",\"060014202003002\",\"060014202003003\",\"060014202003004\",\"060014202003005\",\"060014202003006\",\"060014202003007\",\"060014202003008\",\"060014202003009\",\"060014202003010\",\"060014202003011\",\"060014202003012\",\"060014203001000\",\"060014203001001\",\"060014203001002\",\"060014203001003\",\"060014203001004\",\"060014203001005\",\"060014203001006\",\"060014203001007\",\"060014203001008\",\"060014203001009\",\"060014203001010\",\"060014203001011\",\"060014203001012\",\"060014203001013\"]},{\"attribute\": \"INTPTLAT10\",\"count\": 260,\"type\": \"string\",\"values\": [\"+37.8827246\",\"+37.8828579\",\"+37.8829654\",\"+37.8832245\",\"+37.8833234\",\"+37.8834620\",\"+37.8834653\",\"+37.8834818\",\"+37.8834939\",\"+37.8835272\",\"+37.8835363\",\"+37.8835790\",\"+37.8836558\",\"+37.8836932\",\"+37.8837071\",\"+37.8837458\",\"+37.8838362\",\"+37.8838716\",\"+37.8838753\",\"+37.8839314\",\"+37.8839739\",\"+37.8839955\",\"+37.8840099\",\"+37.8840797\",\"+37.8841984\",\"+37.8842028\",\"+37.8843388\",\"+37.8843696\",\"+37.8844362\",\"+37.8846770\",\"+37.8847438\",\"+37.8847470\",\"+37.8847579\",\"+37.8848967\",\"+37.8849026\",\"+37.8849195\",\"+37.8849426\",\"+37.8853070\",\"+37.8853080\",\"+37.8853992\",\"+37.8854489\",\"+37.8854914\",\"+37.8856449\",\"+37.8856461\",\"+37.8856733\",\"+37.8858112\",\"+37.8858279\",\"+37.8859970\",\"+37.8861594\",\"+37.8861944\",\"+37.8861973\",\"+37.8862375\",\"+37.8862789\",\"+37.8863229\",\"+37.8863390\",\"+37.8864397\",\"+37.8864607\",\"+37.8864950\",\"+37.8865874\",\"+37.8865962\",\"+37.8866087\",\"+37.8867580\",\"+37.8868308\",\"+37.8869296\",\"+37.8870993\",\"+37.8871632\",\"+37.8872385\",\"+37.8872675\",\"+37.8873248\",\"+37.8873799\",\"+37.8874129\",\"+37.8875706\",\"+37.8877645\",\"+37.8877763\",\"+37.8877891\",\"+37.8878520\",\"+37.8878852\",\"+37.8878859\",\"+37.8879165\",\"+37.8879459\",\"+37.8880279\",\"+37.8881229\",\"+37.8882387\",\"+37.8883258\",\"+37.8883323\",\"+37.8883405\",\"+37.8884164\",\"+37.8884185\",\"+37.8884410\",\"+37.8884411\",\"+37.8884580\",\"+37.8885068\",\"+37.8885114\",\"+37.8885408\",\"+37.8886165\",\"+37.8886345\",\"+37.8887349\",\"+37.8887826\",\"+37.8888233\",\"+37.8888488\"]},{\"attribute\": \"INTPTLON10\",\"count\": 260,\"type\": \"string\",\"values\": [\"-122.2823202\",\"-122.2823713\",\"-122.2826795\",\"-122.2826890\",\"-122.2829474\",\"-122.2830673\",\"-122.2832122\",\"-122.2834249\",\"-122.2836511\",\"-122.2837239\",\"-122.2837979\",\"-122.2838288\",\"-122.2839247\",\"-122.2839734\",\"-122.2844715\",\"-122.2845719\",\"-122.2845906\",\"-122.2848310\",\"-122.2850205\",\"-122.2850766\",\"-122.2850935\",\"-122.2851750\",\"-122.2856099\",\"-122.2856518\",\"-122.2856823\",\"-122.2859011\",\"-122.2859716\",\"-122.2861793\",\"-122.2863241\",\"-122.2863490\",\"-122.2863663\",\"-122.2866157\",\"-122.2866366\",\"-122.2868181\",\"-122.2868653\",\"-122.2869139\",\"-122.2870554\",\"-122.2870824\",\"-122.2870976\",\"-122.2871259\",\"-122.2872058\",\"-122.2872753\",\"-122.2873239\",\"-122.2873798\",\"-122.2875836\",\"-122.2875914\",\"-122.2876349\",\"-122.2877473\",\"-122.2877578\",\"-122.2878360\",\"-122.2879267\",\"-122.2879697\",\"-122.2881508\",\"-122.2882217\",\"-122.2882377\",\"-122.2883131\",\"-122.2883823\",\"-122.2883829\",\"-122.2884737\",\"-122.2886022\",\"-122.2886289\",\"-122.2886774\",\"-122.2886965\",\"-122.2887646\",\"-122.2887874\",\"-122.2889102\",\"-122.2890200\",\"-122.2892190\",\"-122.2894711\",\"-122.2894724\",\"-122.2895305\",\"-122.2895702\",\"-122.2895731\",\"-122.2896635\",\"-122.2897641\",\"-122.2899595\",\"-122.2901174\",\"-122.2903402\",\"-122.2904413\",\"-122.2905229\",\"-122.2905730\",\"-122.2906157\",\"-122.2909643\",\"-122.2909809\",\"-122.2911376\",\"-122.2912175\",\"-122.2913154\",\"-122.2913507\",\"-122.2913917\",\"-122.2914745\",\"-122.2914849\",\"-122.2915924\",\"-122.2918172\",\"-122.2919263\",\"-122.2920141\",\"-122.2921162\",\"-122.2921539\",\"-122.2922894\",\"-122.2923093\",\"-122.2923947\"]},{\"attribute\": \"MTFCC10\",\"count\": 1,\"type\": \"string\",\"values\": [\"G5040\"]},{\"attribute\": \"NAME10\",\"count\": 82,\"type\": \"string\",\"values\": [\"Block 1000\",\"Block 1001\",\"Block 1002\",\"Block 1003\",\"Block 1004\",\"Block 1005\",\"Block 1006\",\"Block 1007\",\"Block 1008\",\"Block 1009\",\"Block 1010\",\"Block 1011\",\"Block 1012\",\"Block 1013\",\"Block 1014\",\"Block 1015\",\"Block 1016\",\"Block 1017\",\"Block 1018\",\"Block 1019\",\"Block 1020\",\"Block 1021\",\"Block 1022\",\"Block 1023\",\"Block 1024\",\"Block 1025\",\"Block 1026\",\"Block 1027\",\"Block 1028\",\"Block 1029\",\"Block 1030\",\"Block 1031\",\"Block 2000\",\"Block 2001\",\"Block 2002\",\"Block 2003\",\"Block 2004\",\"Block 2005\",\"Block 2006\",\"Block 2007\",\"Block 2008\",\"Block 2009\",\"Block 2010\",\"Block 2011\",\"Block 2012\",\"Block 2013\",\"Block 2014\",\"Block 2015\",\"Block 2016\",\"Block 2017\",\"Block 3000\",\"Block 3001\",\"Block 3002\",\"Block 3003\",\"Block 3004\",\"Block 3005\",\"Block 3006\",\"Block 3007\",\"Block 3008\",\"Block 3009\",\"Block 3010\",\"Block 3011\",\"Block 3012\",\"Block 3013\",\"Block 3014\",\"Block 3015\",\"Block 3016\",\"Block 3017\",\"Block 3018\",\"Block 3019\",\"Block 3020\",\"Block 3021\",\"Block 3022\",\"Block 3023\",\"Block 3024\",\"Block 3025\",\"Block 3026\",\"Block 3027\",\"Block 3028\",\"Block 3029\",\"Block 3030\",\"Block 3031\"]},{\"attribute\": \"STATEFP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"06\"]},{\"attribute\": \"TRACTCE10\",\"count\": 6,\"type\": \"string\",\"values\": [\"420100\",\"420200\",\"420300\",\"420400\",\"420500\",\"420600\"]},{\"attribute\": \"UACE10\",\"count\": 1,\"type\": \"string\",\"values\": [\"78904\"]},{\"attribute\": \"UATYP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"U\"]},{\"attribute\": \"UR10\",\"count\": 2,\"type\": \"string\",\"values\": [\"R\",\"U\"]}]}]}}", "maxzoom": "12", "minzoom": "0", "name": "tests/join-population/macarthur.mbtiles + tests/join-population/macarthur2.mbtiles + tests/join-population/tabblock_06001420.mbtiles", diff --git a/tests/join-population/raw-merged-folder-compare/metadata.json b/tests/join-population/raw-merged-folder-compare/metadata.json index 6ca20d8a..7dae77a4 100644 --- a/tests/join-population/raw-merged-folder-compare/metadata.json +++ b/tests/join-population/raw-merged-folder-compare/metadata.json @@ -8,5 +8,5 @@ "bounds": "-122.343750,37.695438,-122.104097,37.926868", "type": "overlay", "format": "pbf", - "json": "{\"vector_layers\": [ { \"id\": \"macarthur\", \"description\": \"\", \"minzoom\": 5, \"maxzoom\": 11, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} }, { \"id\": \"tabblock_06001420\", \"description\": \"\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Number\", \"AWATER10\": \"Number\", \"BLOCKCE10\": \"String\", \"COUNTYFP10\": \"String\", \"FUNCSTAT10\": \"String\", \"GEOID10\": \"String\", \"INTPTLAT10\": \"String\", \"INTPTLON10\": \"String\", \"MTFCC10\": \"String\", \"NAME10\": \"String\", \"STATEFP10\": \"String\", \"TRACTCE10\": \"String\", \"UACE10\": \"String\", \"UATYP10\": \"String\", \"UR10\": \"String\"} } ] }" + "json": "{\"vector_layers\": [ { \"id\": \"macarthur\", \"description\": \"\", \"minzoom\": 5, \"maxzoom\": 11, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} }, { \"id\": \"tabblock_06001420\", \"description\": \"\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Number\", \"AWATER10\": \"Number\", \"BLOCKCE10\": \"String\", \"COUNTYFP10\": \"String\", \"FUNCSTAT10\": \"String\", \"GEOID10\": \"String\", \"INTPTLAT10\": \"String\", \"INTPTLON10\": \"String\", \"MTFCC10\": \"String\", \"NAME10\": \"String\", \"STATEFP10\": \"String\", \"TRACTCE10\": \"String\", \"UACE10\": \"String\", \"UATYP10\": \"String\", \"UR10\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"macarthur\",\"count\": 0,\"geometry\": \"Point\",\"attributeCount\": 4,\"attributes\": [{\"attribute\": \"FULLNAME\",\"count\": 5,\"type\": \"string\",\"values\": [\"Macarthur\",\"Macarthur Blvd\",\"Macarthur Fwy\",\"W Macarthur\",\"W Macarthur Blvd\"]},{\"attribute\": \"LINEARID\",\"count\": 43,\"type\": \"string\",\"values\": [\"1102155930810\",\"1102156217102\",\"1102156241736\",\"1102156248968\",\"1102156510290\",\"1102157509691\",\"1102157651658\",\"1102406970092\",\"1102406970093\",\"1102406970094\",\"1102406970095\",\"1102407366406\",\"1102638069562\",\"1102638078801\",\"1102654601627\",\"1102654601663\",\"1102654602215\",\"1102954189105\",\"1102954918511\",\"1103690383700\",\"1103690474249\",\"1103690474250\",\"1103690483026\",\"1103690483032\",\"1103717593123\",\"1104469713187\",\"1104469713198\",\"1104474748623\",\"1104475134288\",\"1104475134436\",\"1104485605278\",\"1104485645649\",\"1104485773833\",\"1104486090991\",\"1104486392881\",\"1105089436004\",\"1105089465114\",\"1105089465116\",\"1105281275434\",\"1105281275687\",\"1105281275688\",\"1105281275689\",\"1105281275692\"]},{\"attribute\": \"MTFCC\",\"count\": 2,\"type\": \"string\",\"values\": [\"S1100\",\"S1400\"]},{\"attribute\": \"RTTYP\",\"count\": 1,\"type\": \"string\",\"values\": [\"M\"]}]},{\"layer\": \"tabblock_06001420\",\"count\": 0,\"geometry\": \"Point\",\"attributeCount\": 15,\"attributes\": [{\"attribute\": \"ALAND10\",\"count\": 257,\"type\": \"number\",\"values\": [0,10019,10125,1018,1027,10320,10339,1037,1060,10769,10776,1094,10961,10975,11206,11282,11297,11306,11372,11825,11921,11928,11997,1201,12044,12062,1214,12213,1246,12579,1269,12945,13013,13106,1324,13452,13985,14000,14042,14044,14053,14087,14101,14158,14169,14185,14193,14219,14237,14270,14291,14449,14452,14453,14523,14539,14541,14557,14565,1457,14593,1461,14639,1466,14791,14799,14980,1509,15100,15240,15260,15494,15574,15665,15730,15921,15930,15974,16117,16120,16165,16183,16238,16246,16253,16332,16353,16431,16453,16535,16537,16605,16635,16691,16994,1704,17210,17230,17265,17308],\"min\": 0.000000,\"max\": 542505.000000},{\"attribute\": \"AWATER10\",\"count\": 4,\"type\": \"number\",\"values\": [0,1111196,1632801,24],\"min\": 0.000000,\"max\": 1632801.000000},{\"attribute\": \"BLOCKCE10\",\"count\": 82,\"type\": \"string\",\"values\": [\"1000\",\"1001\",\"1002\",\"1003\",\"1004\",\"1005\",\"1006\",\"1007\",\"1008\",\"1009\",\"1010\",\"1011\",\"1012\",\"1013\",\"1014\",\"1015\",\"1016\",\"1017\",\"1018\",\"1019\",\"1020\",\"1021\",\"1022\",\"1023\",\"1024\",\"1025\",\"1026\",\"1027\",\"1028\",\"1029\",\"1030\",\"1031\",\"2000\",\"2001\",\"2002\",\"2003\",\"2004\",\"2005\",\"2006\",\"2007\",\"2008\",\"2009\",\"2010\",\"2011\",\"2012\",\"2013\",\"2014\",\"2015\",\"2016\",\"2017\",\"3000\",\"3001\",\"3002\",\"3003\",\"3004\",\"3005\",\"3006\",\"3007\",\"3008\",\"3009\",\"3010\",\"3011\",\"3012\",\"3013\",\"3014\",\"3015\",\"3016\",\"3017\",\"3018\",\"3019\",\"3020\",\"3021\",\"3022\",\"3023\",\"3024\",\"3025\",\"3026\",\"3027\",\"3028\",\"3029\",\"3030\",\"3031\"]},{\"attribute\": \"COUNTYFP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"001\"]},{\"attribute\": \"FUNCSTAT10\",\"count\": 1,\"type\": \"string\",\"values\": [\"S\"]},{\"attribute\": \"GEOID10\",\"count\": 260,\"type\": \"string\",\"values\": [\"060014201001000\",\"060014201001001\",\"060014201001002\",\"060014201001003\",\"060014201001004\",\"060014201001005\",\"060014201001006\",\"060014201001007\",\"060014201001008\",\"060014201001009\",\"060014201001010\",\"060014201001011\",\"060014201001012\",\"060014201001013\",\"060014201001014\",\"060014201001015\",\"060014201001016\",\"060014201001017\",\"060014201001018\",\"060014201001019\",\"060014201002000\",\"060014201002001\",\"060014201002002\",\"060014201002003\",\"060014201002004\",\"060014201002005\",\"060014201002006\",\"060014201002007\",\"060014201002008\",\"060014201002009\",\"060014201002010\",\"060014201002011\",\"060014201002012\",\"060014201002013\",\"060014201002014\",\"060014201002015\",\"060014201003000\",\"060014201003001\",\"060014201003002\",\"060014201003003\",\"060014201003004\",\"060014201003005\",\"060014201003006\",\"060014201003007\",\"060014201003008\",\"060014202001000\",\"060014202001001\",\"060014202001002\",\"060014202001003\",\"060014202001004\",\"060014202001005\",\"060014202001006\",\"060014202001007\",\"060014202001008\",\"060014202001009\",\"060014202001010\",\"060014202001011\",\"060014202001012\",\"060014202001013\",\"060014202001014\",\"060014202002000\",\"060014202002001\",\"060014202002002\",\"060014202002003\",\"060014202002004\",\"060014202002005\",\"060014202002006\",\"060014202002007\",\"060014202002008\",\"060014202002009\",\"060014202002010\",\"060014202002011\",\"060014202002012\",\"060014202003000\",\"060014202003001\",\"060014202003002\",\"060014202003003\",\"060014202003004\",\"060014202003005\",\"060014202003006\",\"060014202003007\",\"060014202003008\",\"060014202003009\",\"060014202003010\",\"060014202003011\",\"060014202003012\",\"060014203001000\",\"060014203001001\",\"060014203001002\",\"060014203001003\",\"060014203001004\",\"060014203001005\",\"060014203001006\",\"060014203001007\",\"060014203001008\",\"060014203001009\",\"060014203001010\",\"060014203001011\",\"060014203001012\",\"060014203001013\"]},{\"attribute\": \"INTPTLAT10\",\"count\": 260,\"type\": \"string\",\"values\": [\"+37.8827246\",\"+37.8828579\",\"+37.8829654\",\"+37.8832245\",\"+37.8833234\",\"+37.8834620\",\"+37.8834653\",\"+37.8834818\",\"+37.8834939\",\"+37.8835272\",\"+37.8835363\",\"+37.8835790\",\"+37.8836558\",\"+37.8836932\",\"+37.8837071\",\"+37.8837458\",\"+37.8838362\",\"+37.8838716\",\"+37.8838753\",\"+37.8839314\",\"+37.8839739\",\"+37.8839955\",\"+37.8840099\",\"+37.8840797\",\"+37.8841984\",\"+37.8842028\",\"+37.8843388\",\"+37.8843696\",\"+37.8844362\",\"+37.8846770\",\"+37.8847438\",\"+37.8847470\",\"+37.8847579\",\"+37.8848967\",\"+37.8849026\",\"+37.8849195\",\"+37.8849426\",\"+37.8853070\",\"+37.8853080\",\"+37.8853992\",\"+37.8854489\",\"+37.8854914\",\"+37.8856449\",\"+37.8856461\",\"+37.8856733\",\"+37.8858112\",\"+37.8858279\",\"+37.8859970\",\"+37.8861594\",\"+37.8861944\",\"+37.8861973\",\"+37.8862375\",\"+37.8862789\",\"+37.8863229\",\"+37.8863390\",\"+37.8864397\",\"+37.8864607\",\"+37.8864950\",\"+37.8865874\",\"+37.8865962\",\"+37.8866087\",\"+37.8867580\",\"+37.8868308\",\"+37.8869296\",\"+37.8870993\",\"+37.8871632\",\"+37.8872385\",\"+37.8872675\",\"+37.8873248\",\"+37.8873799\",\"+37.8874129\",\"+37.8875706\",\"+37.8877645\",\"+37.8877763\",\"+37.8877891\",\"+37.8878520\",\"+37.8878852\",\"+37.8878859\",\"+37.8879165\",\"+37.8879459\",\"+37.8880279\",\"+37.8881229\",\"+37.8882387\",\"+37.8883258\",\"+37.8883323\",\"+37.8883405\",\"+37.8884164\",\"+37.8884185\",\"+37.8884410\",\"+37.8884411\",\"+37.8884580\",\"+37.8885068\",\"+37.8885114\",\"+37.8885408\",\"+37.8886165\",\"+37.8886345\",\"+37.8887349\",\"+37.8887826\",\"+37.8888233\",\"+37.8888488\"]},{\"attribute\": \"INTPTLON10\",\"count\": 260,\"type\": \"string\",\"values\": [\"-122.2823202\",\"-122.2823713\",\"-122.2826795\",\"-122.2826890\",\"-122.2829474\",\"-122.2830673\",\"-122.2832122\",\"-122.2834249\",\"-122.2836511\",\"-122.2837239\",\"-122.2837979\",\"-122.2838288\",\"-122.2839247\",\"-122.2839734\",\"-122.2844715\",\"-122.2845719\",\"-122.2845906\",\"-122.2848310\",\"-122.2850205\",\"-122.2850766\",\"-122.2850935\",\"-122.2851750\",\"-122.2856099\",\"-122.2856518\",\"-122.2856823\",\"-122.2859011\",\"-122.2859716\",\"-122.2861793\",\"-122.2863241\",\"-122.2863490\",\"-122.2863663\",\"-122.2866157\",\"-122.2866366\",\"-122.2868181\",\"-122.2868653\",\"-122.2869139\",\"-122.2870554\",\"-122.2870824\",\"-122.2870976\",\"-122.2871259\",\"-122.2872058\",\"-122.2872753\",\"-122.2873239\",\"-122.2873798\",\"-122.2875836\",\"-122.2875914\",\"-122.2876349\",\"-122.2877473\",\"-122.2877578\",\"-122.2878360\",\"-122.2879267\",\"-122.2879697\",\"-122.2881508\",\"-122.2882217\",\"-122.2882377\",\"-122.2883131\",\"-122.2883823\",\"-122.2883829\",\"-122.2884737\",\"-122.2886022\",\"-122.2886289\",\"-122.2886774\",\"-122.2886965\",\"-122.2887646\",\"-122.2887874\",\"-122.2889102\",\"-122.2890200\",\"-122.2892190\",\"-122.2894711\",\"-122.2894724\",\"-122.2895305\",\"-122.2895702\",\"-122.2895731\",\"-122.2896635\",\"-122.2897641\",\"-122.2899595\",\"-122.2901174\",\"-122.2903402\",\"-122.2904413\",\"-122.2905229\",\"-122.2905730\",\"-122.2906157\",\"-122.2909643\",\"-122.2909809\",\"-122.2911376\",\"-122.2912175\",\"-122.2913154\",\"-122.2913507\",\"-122.2913917\",\"-122.2914745\",\"-122.2914849\",\"-122.2915924\",\"-122.2918172\",\"-122.2919263\",\"-122.2920141\",\"-122.2921162\",\"-122.2921539\",\"-122.2922894\",\"-122.2923093\",\"-122.2923947\"]},{\"attribute\": \"MTFCC10\",\"count\": 1,\"type\": \"string\",\"values\": [\"G5040\"]},{\"attribute\": \"NAME10\",\"count\": 82,\"type\": \"string\",\"values\": [\"Block 1000\",\"Block 1001\",\"Block 1002\",\"Block 1003\",\"Block 1004\",\"Block 1005\",\"Block 1006\",\"Block 1007\",\"Block 1008\",\"Block 1009\",\"Block 1010\",\"Block 1011\",\"Block 1012\",\"Block 1013\",\"Block 1014\",\"Block 1015\",\"Block 1016\",\"Block 1017\",\"Block 1018\",\"Block 1019\",\"Block 1020\",\"Block 1021\",\"Block 1022\",\"Block 1023\",\"Block 1024\",\"Block 1025\",\"Block 1026\",\"Block 1027\",\"Block 1028\",\"Block 1029\",\"Block 1030\",\"Block 1031\",\"Block 2000\",\"Block 2001\",\"Block 2002\",\"Block 2003\",\"Block 2004\",\"Block 2005\",\"Block 2006\",\"Block 2007\",\"Block 2008\",\"Block 2009\",\"Block 2010\",\"Block 2011\",\"Block 2012\",\"Block 2013\",\"Block 2014\",\"Block 2015\",\"Block 2016\",\"Block 2017\",\"Block 3000\",\"Block 3001\",\"Block 3002\",\"Block 3003\",\"Block 3004\",\"Block 3005\",\"Block 3006\",\"Block 3007\",\"Block 3008\",\"Block 3009\",\"Block 3010\",\"Block 3011\",\"Block 3012\",\"Block 3013\",\"Block 3014\",\"Block 3015\",\"Block 3016\",\"Block 3017\",\"Block 3018\",\"Block 3019\",\"Block 3020\",\"Block 3021\",\"Block 3022\",\"Block 3023\",\"Block 3024\",\"Block 3025\",\"Block 3026\",\"Block 3027\",\"Block 3028\",\"Block 3029\",\"Block 3030\",\"Block 3031\"]},{\"attribute\": \"STATEFP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"06\"]},{\"attribute\": \"TRACTCE10\",\"count\": 6,\"type\": \"string\",\"values\": [\"420100\",\"420200\",\"420300\",\"420400\",\"420500\",\"420600\"]},{\"attribute\": \"UACE10\",\"count\": 1,\"type\": \"string\",\"values\": [\"78904\"]},{\"attribute\": \"UATYP10\",\"count\": 1,\"type\": \"string\",\"values\": [\"U\"]},{\"attribute\": \"UR10\",\"count\": 2,\"type\": \"string\",\"values\": [\"R\",\"U\"]}]}]}}" } diff --git a/tests/join-population/windows.mbtiles.json b/tests/join-population/windows.mbtiles.json index acdd7e95..32baa148 100644 --- a/tests/join-population/windows.mbtiles.json +++ b/tests/join-population/windows.mbtiles.json @@ -3,7 +3,7 @@ "center": "-122.167969,37.833010,10", "description": "tests/join-population/macarthur.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"macarthur\", \"description\": \"\", \"minzoom\": 5, \"maxzoom\": 10, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"macarthur\", \"description\": \"\", \"minzoom\": 5, \"maxzoom\": 10, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"macarthur\",\"count\": 0,\"geometry\": \"Point\",\"attributeCount\": 4,\"attributes\": [{\"attribute\": \"FULLNAME\",\"count\": 3,\"type\": \"string\",\"values\": [\"Macarthur\",\"Macarthur Fwy\",\"W Macarthur\"]},{\"attribute\": \"LINEARID\",\"count\": 4,\"type\": \"string\",\"values\": [\"1102156510290\",\"1104486392881\",\"first\",\"second\"]},{\"attribute\": \"MTFCC\",\"count\": 2,\"type\": \"string\",\"values\": [\"S1100\",\"S1400\"]},{\"attribute\": \"RTTYP\",\"count\": 1,\"type\": \"string\",\"values\": [\"M\"]}]}]}}", "maxzoom": "10", "minzoom": "5", "name": "tests/join-population/macarthur.mbtiles", diff --git a/tests/knox/out/-zg.json b/tests/knox/out/-zg.json index c5185c4f..4ccee057 100644 --- a/tests/knox/out/-zg.json +++ b/tests/knox/out/-zg.json @@ -3,7 +3,7 @@ "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", diff --git a/tests/knox/out/-zg_-P.json b/tests/knox/out/-zg_-P.json index 3eb97843..2ca78129 100644 --- a/tests/knox/out/-zg_-P.json +++ b/tests/knox/out/-zg_-P.json @@ -3,7 +3,7 @@ "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", diff --git a/tests/longattr/out/-z0.json b/tests/longattr/out/-z0.json index 7bd134e4..7b4c0fd9 100644 --- a/tests/longattr/out/-z0.json +++ b/tests/longattr/out/-z0.json @@ -3,7 +3,7 @@ "center": "0.000000,0.000000,0", "description": "tests/longattr/out/-z0.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"sherlock\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"sherlock\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"sherlock\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"sherlock\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"sherlock\",\"count\": 1,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"sherlock\",\"count\": 1,\"type\": \"string\",\"values\": []}]}]}}", "maxzoom": "0", "minzoom": "0", "name": "tests/longattr/out/-z0.json.check.mbtiles", diff --git a/tests/longlayer/in.json b/tests/longlayer/in.json new file mode 100644 index 00000000..41eb97df --- /dev/null +++ b/tests/longlayer/in.json @@ -0,0 +1,4 @@ +{ "type": "Feature", "properties": { }, "tippecanoe": { "layer": "ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_1" }, "geometry": { "type": "Point", "coordinates": [ 0,0 ]} } +{ "type": "Feature", "properties": { }, "tippecanoe": { "layer": "ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_2" }, "geometry": { "type": "Point", "coordinates": [ 0,0 ]} } +{ "type": "Feature", "properties": { "ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_1": 12 }, "tippecanoe": { }, "geometry": { "type": "Point", "coordinates": [ 0,0 ]} } +{ "type": "Feature", "properties": { "ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_2": 13 }, "tippecanoe": { }, "geometry": { "type": "Point", "coordinates": [ 0,0 ]} } diff --git a/tests/longlayer/out/-z0.json b/tests/longlayer/out/-z0.json new file mode 100644 index 00000000..ccff1d1d --- /dev/null +++ b/tests/longlayer/out/-z0.json @@ -0,0 +1,28 @@ +{ "type": "FeatureCollection", "properties": { +"bounds": "0.000000,0.000000,0.000000,0.000000", +"center": "0.000000,0.000000,0", +"description": "tests/longlayer/out/-z0.json.check.mbtiles", +"format": "pbf", +"json": "{\"vector_layers\": [ { \"id\": \"ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_1\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {} }, { \"id\": \"ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_2\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {} }, { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_1\": \"Number\", \"ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_2\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongN\",\"count\": 2,\"geometry\": \"Point\",\"attributeCount\": 0,\"attributes\": []},{\"layer\": \"in\",\"count\": 2,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHas\",\"count\": 2,\"type\": \"number\",\"values\": [12,13],\"min\": 12.000000,\"max\": 13.000000}]}]}}", +"maxzoom": "0", +"minzoom": "0", +"name": "tests/longlayer/out/-z0.json.check.mbtiles", +"type": "overlay", +"version": "2" +}, "features": [ +{ "type": "FeatureCollection", "properties": { "zoom": 0, "x": 0, "y": 0 }, "features": [ +{ "type": "FeatureCollection", "properties": { "layer": "ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_1", "version": 2, "extent": 4096 }, "features": [ +{ "type": "Feature", "properties": { }, "geometry": { "type": "Point", "coordinates": [ 0.000000, 0.000000 ] } } +] } +, +{ "type": "FeatureCollection", "properties": { "layer": "ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_ThisLayerHasAVeryLongName_2", "version": 2, "extent": 4096 }, "features": [ +{ "type": "Feature", "properties": { }, "geometry": { "type": "Point", "coordinates": [ 0.000000, 0.000000 ] } } +] } +, +{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [ +{ "type": "Feature", "properties": { "ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_1": 12 }, "geometry": { "type": "Point", "coordinates": [ 0.000000, 0.000000 ] } } +, +{ "type": "Feature", "properties": { "ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_ThisAttributeHasAVeryLongName_2": 13 }, "geometry": { "type": "Point", "coordinates": [ 0.000000, 0.000000 ] } } +] } +] } +] } diff --git a/tests/minzoom/out/-z6.json b/tests/minzoom/out/-z6.json index d96aa745..140f02f6 100644 --- a/tests/minzoom/out/-z6.json +++ b/tests/minzoom/out/-z6.json @@ -3,7 +3,7 @@ "center": "6.000000,6.000000,6", "description": "tests/minzoom/out/-z6.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 6, \"fields\": {} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 6, \"fields\": {} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 6,\"geometry\": \"Point\",\"attributeCount\": 0,\"attributes\": []}]}}", "maxzoom": "6", "minzoom": "0", "name": "tests/minzoom/out/-z6.json.check.mbtiles", diff --git a/tests/multilayer/out/-ltogether_-z3.json b/tests/multilayer/out/-ltogether_-z3.json index 0c1078e3..5e6c3290 100644 --- a/tests/multilayer/out/-ltogether_-z3.json +++ b/tests/multilayer/out/-ltogether_-z3.json @@ -3,7 +3,7 @@ "center": "-70.645734,25.789557,3", "description": "tests/multilayer/out/-ltogether_-z3.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"together\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 3, \"fields\": {\"ADM0CAP\": \"Number\", \"ADM0NAME\": \"String\", \"ADM0_A3\": \"String\", \"ADM1NAME\": \"String\", \"ADMIN1_COD\": \"Number\", \"CAPALT\": \"Number\", \"CAPIN\": \"String\", \"CHANGED\": \"Number\", \"CHECKME\": \"Number\", \"CITYALT\": \"String\", \"COMPARE\": \"Number\", \"DIFFASCII\": \"Number\", \"DIFFNOTE\": \"String\", \"ELEVATION\": \"Number\", \"FEATURECLA\": \"String\", \"FEATURE_CL\": \"String\", \"FEATURE_CO\": \"String\", \"GEONAMEID\": \"Number\", \"GEONAMESNO\": \"String\", \"GN_ASCII\": \"String\", \"GN_POP\": \"Number\", \"GTOPO30\": \"Number\", \"ISO_A2\": \"String\", \"LABELRANK\": \"Number\", \"LATITUDE\": \"Number\", \"LONGITUDE\": \"Number\", \"LS_MATCH\": \"Number\", \"LS_NAME\": \"String\", \"MAX_AREAKM\": \"Number\", \"MAX_AREAMI\": \"Number\", \"MAX_BBXMAX\": \"Number\", \"MAX_BBXMIN\": \"Number\", \"MAX_BBYMAX\": \"Number\", \"MAX_BBYMIN\": \"Number\", \"MAX_NATSCA\": \"Number\", \"MAX_PERKM\": \"Number\", \"MAX_PERMI\": \"Number\", \"MAX_POP10\": \"Number\", \"MAX_POP20\": \"Number\", \"MAX_POP300\": \"Number\", \"MAX_POP310\": \"Number\", \"MAX_POP50\": \"Number\", \"MEAN_BBXC\": \"Number\", \"MEAN_BBYC\": \"Number\", \"MEGACITY\": \"Number\", \"MEGANAME\": \"String\", \"MIN_AREAKM\": \"Number\", \"MIN_AREAMI\": \"Number\", \"MIN_BBXMAX\": \"Number\", \"MIN_BBXMIN\": \"Number\", \"MIN_BBYMAX\": \"Number\", \"MIN_BBYMIN\": \"Number\", \"MIN_PERKM\": \"Number\", \"MIN_PERMI\": \"Number\", \"NAME\": \"String\", \"NAMEALT\": \"String\", \"NAMEASCII\": \"String\", \"NAMEDIFF\": \"Number\", \"NATSCALE\": \"Number\", \"POP1950\": \"Number\", \"POP1955\": \"Number\", \"POP1960\": \"Number\", \"POP1965\": \"Number\", \"POP1970\": \"Number\", \"POP1975\": \"Number\", \"POP1980\": \"Number\", \"POP1985\": \"Number\", \"POP1990\": \"Number\", \"POP1995\": \"Number\", \"POP2000\": \"Number\", \"POP2005\": \"Number\", \"POP2010\": \"Number\", \"POP2015\": \"Number\", \"POP2020\": \"Number\", \"POP2025\": \"Number\", \"POP2050\": \"Number\", \"POP_MAX\": \"Number\", \"POP_MIN\": \"Number\", \"POP_OTHER\": \"Number\", \"RANK_MAX\": \"Number\", \"RANK_MIN\": \"Number\", \"SCALERANK\": \"Number\", \"SOV0NAME\": \"String\", \"SOV_A3\": \"String\", \"TIMEZONE\": \"String\", \"UN_ADM0\": \"String\", \"UN_FID\": \"Number\", \"UN_LAT\": \"Number\", \"UN_LONG\": \"Number\", \"WORLDCITY\": \"Number\", \"adm0_a3\": \"String\", \"adm0_name\": \"String\", \"featurecla\": \"String\", \"mapcolor13\": \"Number\", \"mapcolor9\": \"Number\", \"scalerank\": \"Number\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"together\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 3, \"fields\": {\"ADM0CAP\": \"Number\", \"ADM0NAME\": \"String\", \"ADM0_A3\": \"String\", \"ADM1NAME\": \"String\", \"ADMIN1_COD\": \"Number\", \"CAPALT\": \"Number\", \"CAPIN\": \"String\", \"CHANGED\": \"Number\", \"CHECKME\": \"Number\", \"CITYALT\": \"String\", \"COMPARE\": \"Number\", \"DIFFASCII\": \"Number\", \"DIFFNOTE\": \"String\", \"ELEVATION\": \"Number\", \"FEATURECLA\": \"String\", \"FEATURE_CL\": \"String\", \"FEATURE_CO\": \"String\", \"GEONAMEID\": \"Number\", \"GEONAMESNO\": \"String\", \"GN_ASCII\": \"String\", \"GN_POP\": \"Number\", \"GTOPO30\": \"Number\", \"ISO_A2\": \"String\", \"LABELRANK\": \"Number\", \"LATITUDE\": \"Number\", \"LONGITUDE\": \"Number\", \"LS_MATCH\": \"Number\", \"LS_NAME\": \"String\", \"MAX_AREAKM\": \"Number\", \"MAX_AREAMI\": \"Number\", \"MAX_BBXMAX\": \"Number\", \"MAX_BBXMIN\": \"Number\", \"MAX_BBYMAX\": \"Number\", \"MAX_BBYMIN\": \"Number\", \"MAX_NATSCA\": \"Number\", \"MAX_PERKM\": \"Number\", \"MAX_PERMI\": \"Number\", \"MAX_POP10\": \"Number\", \"MAX_POP20\": \"Number\", \"MAX_POP300\": \"Number\", \"MAX_POP310\": \"Number\", \"MAX_POP50\": \"Number\", \"MEAN_BBXC\": \"Number\", \"MEAN_BBYC\": \"Number\", \"MEGACITY\": \"Number\", \"MEGANAME\": \"String\", \"MIN_AREAKM\": \"Number\", \"MIN_AREAMI\": \"Number\", \"MIN_BBXMAX\": \"Number\", \"MIN_BBXMIN\": \"Number\", \"MIN_BBYMAX\": \"Number\", \"MIN_BBYMIN\": \"Number\", \"MIN_PERKM\": \"Number\", \"MIN_PERMI\": \"Number\", \"NAME\": \"String\", \"NAMEALT\": \"String\", \"NAMEASCII\": \"String\", \"NAMEDIFF\": \"Number\", \"NATSCALE\": \"Number\", \"POP1950\": \"Number\", \"POP1955\": \"Number\", \"POP1960\": \"Number\", \"POP1965\": \"Number\", \"POP1970\": \"Number\", \"POP1975\": \"Number\", \"POP1980\": \"Number\", \"POP1985\": \"Number\", \"POP1990\": \"Number\", \"POP1995\": \"Number\", \"POP2000\": \"Number\", \"POP2005\": \"Number\", \"POP2010\": \"Number\", \"POP2015\": \"Number\", \"POP2020\": \"Number\", \"POP2025\": \"Number\", \"POP2050\": \"Number\", \"POP_MAX\": \"Number\", \"POP_MIN\": \"Number\", \"POP_OTHER\": \"Number\", \"RANK_MAX\": \"Number\", \"RANK_MIN\": \"Number\", \"SCALERANK\": \"Number\", \"SOV0NAME\": \"String\", \"SOV_A3\": \"String\", \"TIMEZONE\": \"String\", \"UN_ADM0\": \"String\", \"UN_FID\": \"Number\", \"UN_LAT\": \"Number\", \"UN_LONG\": \"Number\", \"WORLDCITY\": \"Number\", \"adm0_a3\": \"String\", \"adm0_name\": \"String\", \"featurecla\": \"String\", \"mapcolor13\": \"Number\", \"mapcolor9\": \"Number\", \"scalerank\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"together\",\"count\": 119,\"geometry\": \"LineString\",\"attributeCount\": 96,\"attributes\": [{\"attribute\": \"ADM0CAP\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,1.000000],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"ADM0NAME\",\"count\": 1,\"type\": \"string\",\"values\": [\"United States of America\"]},{\"attribute\": \"ADM0_A3\",\"count\": 1,\"type\": \"string\",\"values\": [\"USA\"]},{\"attribute\": \"ADM1NAME\",\"count\": 8,\"type\": \"string\",\"values\": [\"California\",\"Colorado\",\"District of Columbia\",\"Florida\",\"Georgia\",\"Illinois\",\"New York\",\"Texas\"]},{\"attribute\": \"ADMIN1_COD\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"CAPALT\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"CAPIN\",\"count\": 1,\"type\": \"string\",\"values\": [\"UN Headquarters\"]},{\"attribute\": \"CHANGED\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,5.000000],\"min\": 0.000000,\"max\": 5.000000},{\"attribute\": \"CHECKME\",\"count\": 2,\"type\": \"number\",\"values\": [0,5],\"min\": 0.000000,\"max\": 5.000000},{\"attribute\": \"CITYALT\",\"count\": 5,\"type\": \"string\",\"values\": [\"Denver\",\"Los Angeles\",\"New York\",\"San Francisco\",\"Washington D.C.\"]},{\"attribute\": \"COMPARE\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"DIFFASCII\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"DIFFNOTE\",\"count\": 1,\"type\": \"string\",\"values\": [\"Changed scale rank.\"]},{\"attribute\": \"ELEVATION\",\"count\": 8,\"type\": \"number\",\"values\": [0.000000,10.000000,16.000000,179.000000,2.000000,320.000000,7.000000,89.000000],\"min\": 0.000000,\"max\": 320.000000},{\"attribute\": \"FEATURECLA\",\"count\": 3,\"type\": \"string\",\"values\": [\"Admin-0 capital\",\"Admin-1 capital\",\"Populated place\"]},{\"attribute\": \"FEATURE_CL\",\"count\": 1,\"type\": \"string\",\"values\": [\"P\"]},{\"attribute\": \"FEATURE_CO\",\"count\": 3,\"type\": \"string\",\"values\": [\"PPL\",\"PPLA\",\"PPLC\"]},{\"attribute\": \"GEONAMEID\",\"count\": 9,\"type\": \"number\",\"values\": [4140963.000000,4164138.000000,4180439.000000,4699066.000000,4887398.000000,5128581.000000,5368361.000000,5391959.000000,5419384.000000],\"min\": 4140963.000000,\"max\": 5419384.000000},{\"attribute\": \"GEONAMESNO\",\"count\": 5,\"type\": \"string\",\"values\": [\"GeoNames match general + researched.\",\"GeoNames match general.\",\"GeoNames match with ascii name + lat + long whole numbers.\",\"GeoNames spatial join with similar names only.\",\"Geonames ascii name + lat.d + long.d matching.\"]},{\"attribute\": \"GN_ASCII\",\"count\": 9,\"type\": \"string\",\"values\": [\"Atlanta\",\"Chicago\",\"Denver\",\"Houston\",\"Los Angeles\",\"Miami\",\"New York City\",\"San Francisco\",\"Washington\"]},{\"attribute\": \"GN_POP\",\"count\": 8,\"type\": \"number\",\"values\": [0.000000,2841952.000000,3694820.000000,382894.000000,422908.000000,552433.000000,732072.000000,8008278.000000],\"min\": 0.000000,\"max\": 8008278.000000},{\"attribute\": \"GTOPO30\",\"count\": 7,\"type\": \"number\",\"values\": [0.000000,11.000000,115.000000,181.000000,2.000000,305.000000,60.000000],\"min\": 0.000000,\"max\": 305.000000},{\"attribute\": \"ISO_A2\",\"count\": 1,\"type\": \"string\",\"values\": [\"US\"]},{\"attribute\": \"LABELRANK\",\"count\": 1,\"type\": \"number\",\"values\": [1],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"LATITUDE\",\"count\": 9,\"type\": \"number\",\"values\": [25.787611,29.819974,33.830014,33.989978,37.740008,38.899549,39.739188,40.749979,41.829991],\"min\": 25.787611,\"max\": 41.829991},{\"attribute\": \"LONGITUDE\",\"count\": 9,\"type\": \"number\",\"values\": [-104.984016,-118.179981,-122.459978,-73.980017,-77.009419,-80.224106,-84.399949,-87.750055,-95.339979],\"min\": -122.459978,\"max\": -73.980017},{\"attribute\": \"LS_MATCH\",\"count\": 1,\"type\": \"number\",\"values\": [1],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"LS_NAME\",\"count\": 9,\"type\": \"string\",\"values\": [\"Atlanta\",\"Chicago\",\"Denver\",\"Houston\",\"Los Angeles1\",\"Miami\",\"New York\",\"San Francisco1\",\"Washington, D.C.\"]},{\"attribute\": \"MAX_AREAKM\",\"count\": 9,\"type\": \"number\",\"values\": [1345.000000,1748.000000,2907.000000,3041.000000,3447.000000,4086.000000,4804.000000,5803.000000,8185.000000],\"min\": 1345.000000,\"max\": 8185.000000},{\"attribute\": \"MAX_AREAMI\",\"count\": 9,\"type\": \"number\",\"values\": [1122.000000,1174.000000,1331.000000,1578.000000,1855.000000,2241.000000,3160.000000,519.000000,675.000000],\"min\": 519.000000,\"max\": 3160.000000},{\"attribute\": \"MAX_BBXMAX\",\"count\": 9,\"type\": \"number\",\"values\": [-104.708333,-117.008333,-121.733333,-72.716667,-76.400000,-80.025000,-83.858333,-87.125000,-95.000000],\"min\": -121.733333,\"max\": -72.716667},{\"attribute\": \"MAX_BBXMIN\",\"count\": 9,\"type\": \"number\",\"values\": [-105.241667,-118.966667,-122.516667,-74.091431,-77.308333,-80.441667,-84.608333,-88.036290,-95.841667],\"min\": -122.516667,\"max\": -74.091431},{\"attribute\": \"MAX_BBYMAX\",\"count\": 9,\"type\": \"number\",\"values\": [26.991667,30.266667,34.275000,34.333333,38.041667,39.533333,40.025000,41.941667,42.491667],\"min\": 26.991667,\"max\": 42.491667},{\"attribute\": \"MAX_BBYMIN\",\"count\": 9,\"type\": \"number\",\"values\": [25.725000,29.491667,33.383333,33.862631,37.575000,38.754222,39.500000,40.566667,41.458333],\"min\": 25.725000,\"max\": 41.458333},{\"attribute\": \"MAX_NATSCA\",\"count\": 2,\"type\": \"number\",\"values\": [100.000000,300.000000],\"min\": 100.000000,\"max\": 300.000000},{\"attribute\": \"MAX_PERKM\",\"count\": 9,\"type\": \"number\",\"values\": [1773.000000,1898.000000,2202.000000,2459.000000,2946.000000,4993.000000,606.000000,755.000000,999.000000],\"min\": 606.000000,\"max\": 4993.000000},{\"attribute\": \"MAX_PERMI\",\"count\": 9,\"type\": \"number\",\"values\": [1101.000000,1179.000000,1369.000000,1528.000000,1830.000000,3102.000000,376.000000,469.000000,620.000000],\"min\": 376.000000,\"max\": 3102.000000},{\"attribute\": \"MAX_POP10\",\"count\": 9,\"type\": \"number\",\"values\": [1122682.000000,1548599.000000,2182723.000000,2928128.000000,3647574.000000,3747798.000000,4976870.000000,9376946.000000,988636.000000],\"min\": 988636.000000,\"max\": 9376946.000000},{\"attribute\": \"MAX_POP20\",\"count\": 9,\"type\": \"number\",\"values\": [1130999.000000,11947707.000000,1443206.000000,2100407.000000,2240256.000000,3896411.000000,4287078.000000,5069998.000000,6558538.000000],\"min\": 1130999.000000,\"max\": 11947707.000000},{\"attribute\": \"MAX_POP300\",\"count\": 9,\"type\": \"number\",\"values\": [14870543.000000,18788144.000000,2174327.000000,3910939.000000,4352341.000000,4561697.000000,5187749.000000,5678280.000000,8416660.000000],\"min\": 2174327.000000,\"max\": 18788144.000000},{\"attribute\": \"MAX_POP310\",\"count\": 8,\"type\": \"number\",\"values\": [0.000000,14903021.000000,18924578.000000,3910939.000000,4561697.000000,5187749.000000,5678280.000000,8450289.000000],\"min\": 0.000000,\"max\": 18924578.000000},{\"attribute\": \"MAX_POP50\",\"count\": 9,\"type\": \"number\",\"values\": [1371285.000000,14868745.000000,18788144.000000,2174327.000000,3764385.000000,3910939.000000,4352341.000000,5187749.000000,8416660.000000],\"min\": 1371285.000000,\"max\": 18788144.000000},{\"attribute\": \"MEAN_BBXC\",\"count\": 9,\"type\": \"number\",\"values\": [-104.993967,-118.107478,-122.301354,-73.815782,-77.002668,-80.236416,-84.328739,-87.858740,-95.431928],\"min\": -122.301354,\"max\": -73.815782},{\"attribute\": \"MEAN_BBYC\",\"count\": 9,\"type\": \"number\",\"values\": [26.067179,29.810477,33.851552,33.980609,37.622288,39.007587,39.729850,40.813006,41.832719],\"min\": 26.067179,\"max\": 41.832719},{\"attribute\": \"MEGACITY\",\"count\": 1,\"type\": \"number\",\"values\": [1],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"MEGANAME\",\"count\": 9,\"type\": \"string\",\"values\": [\"Atlanta\",\"Chicago\",\"Denver-Aurora\",\"Houston\",\"Los Angeles-Long Beach-Santa Ana\",\"Miami\",\"New York-Newark\",\"San Francisco-Oakland\",\"Washington, D.C.\"]},{\"attribute\": \"MIN_AREAKM\",\"count\": 9,\"type\": \"number\",\"values\": [1114.000000,1137.000000,1338.000000,1345.000000,218.000000,2388.000000,2761.000000,380.000000,909.000000],\"min\": 218.000000,\"max\": 2761.000000},{\"attribute\": \"MIN_AREAMI\",\"count\": 9,\"type\": \"number\",\"values\": [1066.000000,147.000000,351.000000,430.000000,439.000000,517.000000,519.000000,84.000000,922.000000],\"min\": 84.000000,\"max\": 1066.000000},{\"attribute\": \"MIN_BBXMAX\",\"count\": 9,\"type\": \"number\",\"values\": [-104.866667,-117.857183,-122.358333,-73.574946,-76.752653,-80.175719,-83.879976,-87.528138,-95.133333],\"min\": -122.358333,\"max\": -73.574946},{\"attribute\": \"MIN_BBXMIN\",\"count\": 9,\"type\": \"number\",\"values\": [-105.241667,-118.991667,-122.516667,-74.750000,-77.533333,-80.466667,-84.875000,-88.408333,-95.841667],\"min\": -122.516667,\"max\": -74.750000},{\"attribute\": \"MIN_BBYMAX\",\"count\": 9,\"type\": \"number\",\"values\": [26.014060,30.258915,34.202715,34.241667,37.816667,39.241667,39.958333,41.057237,42.000972],\"min\": 26.014060,\"max\": 42.000972},{\"attribute\": \"MIN_BBYMIN\",\"count\": 9,\"type\": \"number\",\"values\": [25.550000,29.475000,33.383333,33.391667,37.191667,38.666667,39.500000,39.808333,41.391667],\"min\": 25.550000,\"max\": 41.391667},{\"attribute\": \"MIN_PERKM\",\"count\": 9,\"type\": \"number\",\"values\": [1257.000000,126.000000,1494.000000,156.000000,371.000000,471.000000,497.000000,534.000000,548.000000],\"min\": 126.000000,\"max\": 1494.000000},{\"attribute\": \"MIN_PERMI\",\"count\": 9,\"type\": \"number\",\"values\": [231.000000,293.000000,309.000000,332.000000,341.000000,78.000000,781.000000,929.000000,97.000000],\"min\": 78.000000,\"max\": 929.000000},{\"attribute\": \"NAME\",\"count\": 9,\"type\": \"string\",\"values\": [\"Atlanta\",\"Chicago\",\"Denver\",\"Houston\",\"Los Angeles\",\"Miami\",\"New York\",\"San Francisco\",\"Washington, D.C.\"]},{\"attribute\": \"NAMEALT\",\"count\": 5,\"type\": \"string\",\"values\": [\"Denver-Aurora\",\"Los Angeles-Long Beach-Santa Ana\",\"New York-Newark\",\"San Francisco-Oakland\",\"Washington D.C.\"]},{\"attribute\": \"NAMEASCII\",\"count\": 9,\"type\": \"string\",\"values\": [\"Atlanta\",\"Chicago\",\"Denver\",\"Houston\",\"Los Angeles\",\"Miami\",\"New York\",\"San Francisco\",\"Washington, D.C.\"]},{\"attribute\": \"NAMEDIFF\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"NATSCALE\",\"count\": 2,\"type\": \"number\",\"values\": [300,600],\"min\": 300.000000,\"max\": 600.000000},{\"attribute\": \"POP1950\",\"count\": 9,\"type\": \"number\",\"values\": [12338.000000,1298.000000,1855.000000,4046.000000,4999.000000,505.000000,513.000000,622.000000,709.000000],\"min\": 505.000000,\"max\": 12338.000000},{\"attribute\": \"POP1955\",\"count\": 9,\"type\": \"number\",\"values\": [13219.000000,1539.000000,2021.000000,5154.000000,5565.000000,631.000000,641.000000,904.000000,924.000000],\"min\": 631.000000,\"max\": 13219.000000},{\"attribute\": \"POP1960\",\"count\": 9,\"type\": \"number\",\"values\": [1151.000000,1361.000000,14164.000000,1823.000000,2200.000000,6183.000000,6530.000000,776.000000,809.000000],\"min\": 776.000000,\"max\": 14164.000000},{\"attribute\": \"POP1965\",\"count\": 9,\"type\": \"number\",\"values\": [1396.000000,15177.000000,1709.000000,2135.000000,2361.000000,6639.000000,7408.000000,923.000000,959.000000],\"min\": 923.000000,\"max\": 15177.000000},{\"attribute\": \"POP1970\",\"count\": 9,\"type\": \"number\",\"values\": [1054.000000,1182.000000,16191.000000,1693.000000,2141.000000,2488.000000,2529.000000,7106.000000,8378.000000],\"min\": 1054.000000,\"max\": 16191.000000},{\"attribute\": \"POP1975\",\"count\": 8,\"type\": \"number\",\"values\": [1198.000000,1386.000000,15880.000000,2030.000000,2590.000000,2626.000000,7160.000000,8926.000000],\"min\": 1198.000000,\"max\": 15880.000000},{\"attribute\": \"POP1980\",\"count\": 9,\"type\": \"number\",\"values\": [1356.000000,15601.000000,1625.000000,2424.000000,2656.000000,2777.000000,3122.000000,7216.000000,9512.000000],\"min\": 1356.000000,\"max\": 15601.000000},{\"attribute\": \"POP1985\",\"count\": 9,\"type\": \"number\",\"values\": [10181.000000,1437.000000,15827.000000,1879.000000,2658.000000,2805.000000,3063.000000,3521.000000,7285.000000],\"min\": 1437.000000,\"max\": 15827.000000},{\"attribute\": \"POP1990\",\"count\": 9,\"type\": \"number\",\"values\": [10883.000000,1528.000000,16086.000000,2184.000000,2922.000000,2961.000000,3376.000000,3969.000000,7374.000000],\"min\": 1528.000000,\"max\": 16086.000000},{\"attribute\": \"POP1995\",\"count\": 9,\"type\": \"number\",\"values\": [11339.000000,16943.000000,1747.000000,2781.000000,3095.000000,3353.000000,3651.000000,4431.000000,7839.000000],\"min\": 1747.000000,\"max\": 16943.000000},{\"attribute\": \"POP2000\",\"count\": 9,\"type\": \"number\",\"values\": [11814.000000,17846.000000,1998.000000,3236.000000,3542.000000,3849.000000,3949.000000,4946.000000,8333.000000],\"min\": 1998.000000,\"max\": 17846.000000},{\"attribute\": \"POP2005\",\"count\": 9,\"type\": \"number\",\"values\": [12307.000000,18732.000000,2241.000000,3387.000000,4241.000000,4307.000000,4324.000000,5438.000000,8820.000000],\"min\": 2241.000000,\"max\": 18732.000000},{\"attribute\": \"POP2010\",\"count\": 9,\"type\": \"number\",\"values\": [12500.000000,19040.000000,2313.000000,3450.000000,4338.000000,4459.000000,4506.000000,5585.000000,8990.000000],\"min\": 2313.000000,\"max\": 19040.000000},{\"attribute\": \"POP2015\",\"count\": 9,\"type\": \"number\",\"values\": [12773.000000,19441.000000,2396.000000,3544.000000,4464.000000,4609.000000,4695.000000,5755.000000,9211.000000],\"min\": 2396.000000,\"max\": 19441.000000},{\"attribute\": \"POP2020\",\"count\": 9,\"type\": \"number\",\"values\": [13160.000000,19974.000000,2502.000000,3684.000000,4636.000000,4790.000000,4888.000000,5969.000000,9516.000000],\"min\": 2502.000000,\"max\": 19974.000000},{\"attribute\": \"POP2025\",\"count\": 9,\"type\": \"number\",\"values\": [13461.000000,20370.000000,2590.000000,3803.000000,4778.000000,4936.000000,5035.000000,6141.000000,9756.000000],\"min\": 2590.000000,\"max\": 20370.000000},{\"attribute\": \"POP2050\",\"count\": 9,\"type\": \"number\",\"values\": [13672.000000,20628.000000,2661.000000,3898.000000,4889.000000,5049.000000,5151.000000,6272.000000,9932.000000],\"min\": 2661.000000,\"max\": 20628.000000},{\"attribute\": \"POP_MAX\",\"count\": 9,\"type\": \"number\",\"values\": [12500000,19040000,2313000,3450000,4338000,4459000,4506000,5585000,8990000],\"min\": 2313000.000000,\"max\": 19040000.000000},{\"attribute\": \"POP_MIN\",\"count\": 9,\"type\": \"number\",\"values\": [1548599,2841952,3647574,3694820,382894,422908,552433,732072,8008278],\"min\": 382894.000000,\"max\": 8008278.000000},{\"attribute\": \"POP_OTHER\",\"count\": 9,\"type\": \"number\",\"values\": [1037811,142265,1521278,2175991,27400,2874096,3607616,3635101,9292603],\"min\": 27400.000000,\"max\": 9292603.000000},{\"attribute\": \"RANK_MAX\",\"count\": 3,\"type\": \"number\",\"values\": [12,13,14],\"min\": 12.000000,\"max\": 14.000000},{\"attribute\": \"RANK_MIN\",\"count\": 4,\"type\": \"number\",\"values\": [10,11,12,13],\"min\": 10.000000,\"max\": 13.000000},{\"attribute\": \"SCALERANK\",\"count\": 2,\"type\": \"number\",\"values\": [0,1],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"SOV0NAME\",\"count\": 1,\"type\": \"string\",\"values\": [\"United States\"]},{\"attribute\": \"SOV_A3\",\"count\": 1,\"type\": \"string\",\"values\": [\"USA\"]},{\"attribute\": \"TIMEZONE\",\"count\": 3,\"type\": \"string\",\"values\": [\"America/Chicago\",\"America/Los_Angeles\",\"America/New_York\"]},{\"attribute\": \"UN_ADM0\",\"count\": 1,\"type\": \"string\",\"values\": [\"United States of America\"]},{\"attribute\": \"UN_FID\",\"count\": 9,\"type\": \"number\",\"values\": [524,531,537,542,547,550,555,570,577],\"min\": 524.000000,\"max\": 577.000000},{\"attribute\": \"UN_LAT\",\"count\": 9,\"type\": \"number\",\"values\": [25.830000,29.770000,33.790000,34.000000,37.790000,38.890000,39.570000,40.700000,41.820000],\"min\": 25.830000,\"max\": 41.820000},{\"attribute\": \"UN_LONG\",\"count\": 9,\"type\": \"number\",\"values\": [-105.070000,-118.250000,-122.380000,-73.900000,-76.950000,-80.270000,-84.340000,-87.640000,-95.400000],\"min\": -122.380000,\"max\": -73.900000},{\"attribute\": \"WORLDCITY\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,1.000000],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"adm0_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"USA\"]},{\"attribute\": \"adm0_name\",\"count\": 1,\"type\": \"string\",\"values\": [\"United States of America\"]},{\"attribute\": \"featurecla\",\"count\": 1,\"type\": \"string\",\"values\": [\"Admin-1 boundary\"]},{\"attribute\": \"mapcolor13\",\"count\": 1,\"type\": \"number\",\"values\": [1],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"mapcolor9\",\"count\": 1,\"type\": \"number\",\"values\": [1],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"scalerank\",\"count\": 1,\"type\": \"number\",\"values\": [2],\"min\": 2.000000,\"max\": 2.000000}]}]}}", "maxzoom": "3", "minzoom": "0", "name": "tests/multilayer/out/-ltogether_-z3.json.check.mbtiles", diff --git a/tests/multilayer/out/-nseparate_-z3.json b/tests/multilayer/out/-nseparate_-z3.json index df129608..8413e64e 100644 --- a/tests/multilayer/out/-nseparate_-z3.json +++ b/tests/multilayer/out/-nseparate_-z3.json @@ -3,7 +3,7 @@ "center": "-70.645734,25.789557,3", "description": "separate", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"lines\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 3, \"fields\": {\"adm0_a3\": \"String\", \"adm0_name\": \"String\", \"featurecla\": \"String\", \"mapcolor13\": \"Number\", \"mapcolor9\": \"Number\", \"scalerank\": \"Number\"} }, { \"id\": \"places\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 3, \"fields\": {\"ADM0CAP\": \"Number\", \"ADM0NAME\": \"String\", \"ADM0_A3\": \"String\", \"ADM1NAME\": \"String\", \"ADMIN1_COD\": \"Number\", \"CAPALT\": \"Number\", \"CAPIN\": \"String\", \"CHANGED\": \"Number\", \"CHECKME\": \"Number\", \"CITYALT\": \"String\", \"COMPARE\": \"Number\", \"DIFFASCII\": \"Number\", \"DIFFNOTE\": \"String\", \"ELEVATION\": \"Number\", \"FEATURECLA\": \"String\", \"FEATURE_CL\": \"String\", \"FEATURE_CO\": \"String\", \"GEONAMEID\": \"Number\", \"GEONAMESNO\": \"String\", \"GN_ASCII\": \"String\", \"GN_POP\": \"Number\", \"GTOPO30\": \"Number\", \"ISO_A2\": \"String\", \"LABELRANK\": \"Number\", \"LATITUDE\": \"Number\", \"LONGITUDE\": \"Number\", \"LS_MATCH\": \"Number\", \"LS_NAME\": \"String\", \"MAX_AREAKM\": \"Number\", \"MAX_AREAMI\": \"Number\", \"MAX_BBXMAX\": \"Number\", \"MAX_BBXMIN\": \"Number\", \"MAX_BBYMAX\": \"Number\", \"MAX_BBYMIN\": \"Number\", \"MAX_NATSCA\": \"Number\", \"MAX_PERKM\": \"Number\", \"MAX_PERMI\": \"Number\", \"MAX_POP10\": \"Number\", \"MAX_POP20\": \"Number\", \"MAX_POP300\": \"Number\", \"MAX_POP310\": \"Number\", \"MAX_POP50\": \"Number\", \"MEAN_BBXC\": \"Number\", \"MEAN_BBYC\": \"Number\", \"MEGACITY\": \"Number\", \"MEGANAME\": \"String\", \"MIN_AREAKM\": \"Number\", \"MIN_AREAMI\": \"Number\", \"MIN_BBXMAX\": \"Number\", \"MIN_BBXMIN\": \"Number\", \"MIN_BBYMAX\": \"Number\", \"MIN_BBYMIN\": \"Number\", \"MIN_PERKM\": \"Number\", \"MIN_PERMI\": \"Number\", \"NAME\": \"String\", \"NAMEALT\": \"String\", \"NAMEASCII\": \"String\", \"NAMEDIFF\": \"Number\", \"NATSCALE\": \"Number\", \"POP1950\": \"Number\", \"POP1955\": \"Number\", \"POP1960\": \"Number\", \"POP1965\": \"Number\", \"POP1970\": \"Number\", \"POP1975\": \"Number\", \"POP1980\": \"Number\", \"POP1985\": \"Number\", \"POP1990\": \"Number\", \"POP1995\": \"Number\", \"POP2000\": \"Number\", \"POP2005\": \"Number\", \"POP2010\": \"Number\", \"POP2015\": \"Number\", \"POP2020\": \"Number\", \"POP2025\": \"Number\", \"POP2050\": \"Number\", \"POP_MAX\": \"Number\", \"POP_MIN\": \"Number\", \"POP_OTHER\": \"Number\", \"RANK_MAX\": \"Number\", \"RANK_MIN\": \"Number\", \"SCALERANK\": \"Number\", \"SOV0NAME\": \"String\", \"SOV_A3\": \"String\", \"TIMEZONE\": \"String\", \"UN_ADM0\": \"String\", \"UN_FID\": \"Number\", \"UN_LAT\": \"Number\", \"UN_LONG\": \"Number\", \"WORLDCITY\": \"Number\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"lines\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 3, \"fields\": {\"adm0_a3\": \"String\", \"adm0_name\": \"String\", \"featurecla\": \"String\", \"mapcolor13\": \"Number\", \"mapcolor9\": \"Number\", \"scalerank\": \"Number\"} }, { \"id\": \"places\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 3, \"fields\": {\"ADM0CAP\": \"Number\", \"ADM0NAME\": \"String\", \"ADM0_A3\": \"String\", \"ADM1NAME\": \"String\", \"ADMIN1_COD\": \"Number\", \"CAPALT\": \"Number\", \"CAPIN\": \"String\", \"CHANGED\": \"Number\", \"CHECKME\": \"Number\", \"CITYALT\": \"String\", \"COMPARE\": \"Number\", \"DIFFASCII\": \"Number\", \"DIFFNOTE\": \"String\", \"ELEVATION\": \"Number\", \"FEATURECLA\": \"String\", \"FEATURE_CL\": \"String\", \"FEATURE_CO\": \"String\", \"GEONAMEID\": \"Number\", \"GEONAMESNO\": \"String\", \"GN_ASCII\": \"String\", \"GN_POP\": \"Number\", \"GTOPO30\": \"Number\", \"ISO_A2\": \"String\", \"LABELRANK\": \"Number\", \"LATITUDE\": \"Number\", \"LONGITUDE\": \"Number\", \"LS_MATCH\": \"Number\", \"LS_NAME\": \"String\", \"MAX_AREAKM\": \"Number\", \"MAX_AREAMI\": \"Number\", \"MAX_BBXMAX\": \"Number\", \"MAX_BBXMIN\": \"Number\", \"MAX_BBYMAX\": \"Number\", \"MAX_BBYMIN\": \"Number\", \"MAX_NATSCA\": \"Number\", \"MAX_PERKM\": \"Number\", \"MAX_PERMI\": \"Number\", \"MAX_POP10\": \"Number\", \"MAX_POP20\": \"Number\", \"MAX_POP300\": \"Number\", \"MAX_POP310\": \"Number\", \"MAX_POP50\": \"Number\", \"MEAN_BBXC\": \"Number\", \"MEAN_BBYC\": \"Number\", \"MEGACITY\": \"Number\", \"MEGANAME\": \"String\", \"MIN_AREAKM\": \"Number\", \"MIN_AREAMI\": \"Number\", \"MIN_BBXMAX\": \"Number\", \"MIN_BBXMIN\": \"Number\", \"MIN_BBYMAX\": \"Number\", \"MIN_BBYMIN\": \"Number\", \"MIN_PERKM\": \"Number\", \"MIN_PERMI\": \"Number\", \"NAME\": \"String\", \"NAMEALT\": \"String\", \"NAMEASCII\": \"String\", \"NAMEDIFF\": \"Number\", \"NATSCALE\": \"Number\", \"POP1950\": \"Number\", \"POP1955\": \"Number\", \"POP1960\": \"Number\", \"POP1965\": \"Number\", \"POP1970\": \"Number\", \"POP1975\": \"Number\", \"POP1980\": \"Number\", \"POP1985\": \"Number\", \"POP1990\": \"Number\", \"POP1995\": \"Number\", \"POP2000\": \"Number\", \"POP2005\": \"Number\", \"POP2010\": \"Number\", \"POP2015\": \"Number\", \"POP2020\": \"Number\", \"POP2025\": \"Number\", \"POP2050\": \"Number\", \"POP_MAX\": \"Number\", \"POP_MIN\": \"Number\", \"POP_OTHER\": \"Number\", \"RANK_MAX\": \"Number\", \"RANK_MIN\": \"Number\", \"SCALERANK\": \"Number\", \"SOV0NAME\": \"String\", \"SOV_A3\": \"String\", \"TIMEZONE\": \"String\", \"UN_ADM0\": \"String\", \"UN_FID\": \"Number\", \"UN_LAT\": \"Number\", \"UN_LONG\": \"Number\", \"WORLDCITY\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"lines\",\"count\": 110,\"geometry\": \"LineString\",\"attributeCount\": 6,\"attributes\": [{\"attribute\": \"adm0_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"USA\"]},{\"attribute\": \"adm0_name\",\"count\": 1,\"type\": \"string\",\"values\": [\"United States of America\"]},{\"attribute\": \"featurecla\",\"count\": 1,\"type\": \"string\",\"values\": [\"Admin-1 boundary\"]},{\"attribute\": \"mapcolor13\",\"count\": 1,\"type\": \"number\",\"values\": [1],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"mapcolor9\",\"count\": 1,\"type\": \"number\",\"values\": [1],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"scalerank\",\"count\": 1,\"type\": \"number\",\"values\": [2],\"min\": 2.000000,\"max\": 2.000000}]},{\"layer\": \"places\",\"count\": 9,\"geometry\": \"Point\",\"attributeCount\": 90,\"attributes\": [{\"attribute\": \"ADM0CAP\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,1.000000],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"ADM0NAME\",\"count\": 1,\"type\": \"string\",\"values\": [\"United States of America\"]},{\"attribute\": \"ADM0_A3\",\"count\": 1,\"type\": \"string\",\"values\": [\"USA\"]},{\"attribute\": \"ADM1NAME\",\"count\": 8,\"type\": \"string\",\"values\": [\"California\",\"Colorado\",\"District of Columbia\",\"Florida\",\"Georgia\",\"Illinois\",\"New York\",\"Texas\"]},{\"attribute\": \"ADMIN1_COD\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"CAPALT\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"CAPIN\",\"count\": 1,\"type\": \"string\",\"values\": [\"UN Headquarters\"]},{\"attribute\": \"CHANGED\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,5.000000],\"min\": 0.000000,\"max\": 5.000000},{\"attribute\": \"CHECKME\",\"count\": 2,\"type\": \"number\",\"values\": [0,5],\"min\": 0.000000,\"max\": 5.000000},{\"attribute\": \"CITYALT\",\"count\": 5,\"type\": \"string\",\"values\": [\"Denver\",\"Los Angeles\",\"New York\",\"San Francisco\",\"Washington D.C.\"]},{\"attribute\": \"COMPARE\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"DIFFASCII\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"DIFFNOTE\",\"count\": 1,\"type\": \"string\",\"values\": [\"Changed scale rank.\"]},{\"attribute\": \"ELEVATION\",\"count\": 8,\"type\": \"number\",\"values\": [0.000000,10.000000,16.000000,179.000000,2.000000,320.000000,7.000000,89.000000],\"min\": 0.000000,\"max\": 320.000000},{\"attribute\": \"FEATURECLA\",\"count\": 3,\"type\": \"string\",\"values\": [\"Admin-0 capital\",\"Admin-1 capital\",\"Populated place\"]},{\"attribute\": \"FEATURE_CL\",\"count\": 1,\"type\": \"string\",\"values\": [\"P\"]},{\"attribute\": \"FEATURE_CO\",\"count\": 3,\"type\": \"string\",\"values\": [\"PPL\",\"PPLA\",\"PPLC\"]},{\"attribute\": \"GEONAMEID\",\"count\": 9,\"type\": \"number\",\"values\": [4140963.000000,4164138.000000,4180439.000000,4699066.000000,4887398.000000,5128581.000000,5368361.000000,5391959.000000,5419384.000000],\"min\": 4140963.000000,\"max\": 5419384.000000},{\"attribute\": \"GEONAMESNO\",\"count\": 5,\"type\": \"string\",\"values\": [\"GeoNames match general + researched.\",\"GeoNames match general.\",\"GeoNames match with ascii name + lat + long whole numbers.\",\"GeoNames spatial join with similar names only.\",\"Geonames ascii name + lat.d + long.d matching.\"]},{\"attribute\": \"GN_ASCII\",\"count\": 9,\"type\": \"string\",\"values\": [\"Atlanta\",\"Chicago\",\"Denver\",\"Houston\",\"Los Angeles\",\"Miami\",\"New York City\",\"San Francisco\",\"Washington\"]},{\"attribute\": \"GN_POP\",\"count\": 8,\"type\": \"number\",\"values\": [0.000000,2841952.000000,3694820.000000,382894.000000,422908.000000,552433.000000,732072.000000,8008278.000000],\"min\": 0.000000,\"max\": 8008278.000000},{\"attribute\": \"GTOPO30\",\"count\": 7,\"type\": \"number\",\"values\": [0.000000,11.000000,115.000000,181.000000,2.000000,305.000000,60.000000],\"min\": 0.000000,\"max\": 305.000000},{\"attribute\": \"ISO_A2\",\"count\": 1,\"type\": \"string\",\"values\": [\"US\"]},{\"attribute\": \"LABELRANK\",\"count\": 1,\"type\": \"number\",\"values\": [1],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"LATITUDE\",\"count\": 9,\"type\": \"number\",\"values\": [25.787611,29.819974,33.830014,33.989978,37.740008,38.899549,39.739188,40.749979,41.829991],\"min\": 25.787611,\"max\": 41.829991},{\"attribute\": \"LONGITUDE\",\"count\": 9,\"type\": \"number\",\"values\": [-104.984016,-118.179981,-122.459978,-73.980017,-77.009419,-80.224106,-84.399949,-87.750055,-95.339979],\"min\": -122.459978,\"max\": -73.980017},{\"attribute\": \"LS_MATCH\",\"count\": 1,\"type\": \"number\",\"values\": [1],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"LS_NAME\",\"count\": 9,\"type\": \"string\",\"values\": [\"Atlanta\",\"Chicago\",\"Denver\",\"Houston\",\"Los Angeles1\",\"Miami\",\"New York\",\"San Francisco1\",\"Washington, D.C.\"]},{\"attribute\": \"MAX_AREAKM\",\"count\": 9,\"type\": \"number\",\"values\": [1345.000000,1748.000000,2907.000000,3041.000000,3447.000000,4086.000000,4804.000000,5803.000000,8185.000000],\"min\": 1345.000000,\"max\": 8185.000000},{\"attribute\": \"MAX_AREAMI\",\"count\": 9,\"type\": \"number\",\"values\": [1122.000000,1174.000000,1331.000000,1578.000000,1855.000000,2241.000000,3160.000000,519.000000,675.000000],\"min\": 519.000000,\"max\": 3160.000000},{\"attribute\": \"MAX_BBXMAX\",\"count\": 9,\"type\": \"number\",\"values\": [-104.708333,-117.008333,-121.733333,-72.716667,-76.400000,-80.025000,-83.858333,-87.125000,-95.000000],\"min\": -121.733333,\"max\": -72.716667},{\"attribute\": \"MAX_BBXMIN\",\"count\": 9,\"type\": \"number\",\"values\": [-105.241667,-118.966667,-122.516667,-74.091431,-77.308333,-80.441667,-84.608333,-88.036290,-95.841667],\"min\": -122.516667,\"max\": -74.091431},{\"attribute\": \"MAX_BBYMAX\",\"count\": 9,\"type\": \"number\",\"values\": [26.991667,30.266667,34.275000,34.333333,38.041667,39.533333,40.025000,41.941667,42.491667],\"min\": 26.991667,\"max\": 42.491667},{\"attribute\": \"MAX_BBYMIN\",\"count\": 9,\"type\": \"number\",\"values\": [25.725000,29.491667,33.383333,33.862631,37.575000,38.754222,39.500000,40.566667,41.458333],\"min\": 25.725000,\"max\": 41.458333},{\"attribute\": \"MAX_NATSCA\",\"count\": 2,\"type\": \"number\",\"values\": [100.000000,300.000000],\"min\": 100.000000,\"max\": 300.000000},{\"attribute\": \"MAX_PERKM\",\"count\": 9,\"type\": \"number\",\"values\": [1773.000000,1898.000000,2202.000000,2459.000000,2946.000000,4993.000000,606.000000,755.000000,999.000000],\"min\": 606.000000,\"max\": 4993.000000},{\"attribute\": \"MAX_PERMI\",\"count\": 9,\"type\": \"number\",\"values\": [1101.000000,1179.000000,1369.000000,1528.000000,1830.000000,3102.000000,376.000000,469.000000,620.000000],\"min\": 376.000000,\"max\": 3102.000000},{\"attribute\": \"MAX_POP10\",\"count\": 9,\"type\": \"number\",\"values\": [1122682.000000,1548599.000000,2182723.000000,2928128.000000,3647574.000000,3747798.000000,4976870.000000,9376946.000000,988636.000000],\"min\": 988636.000000,\"max\": 9376946.000000},{\"attribute\": \"MAX_POP20\",\"count\": 9,\"type\": \"number\",\"values\": [1130999.000000,11947707.000000,1443206.000000,2100407.000000,2240256.000000,3896411.000000,4287078.000000,5069998.000000,6558538.000000],\"min\": 1130999.000000,\"max\": 11947707.000000},{\"attribute\": \"MAX_POP300\",\"count\": 9,\"type\": \"number\",\"values\": [14870543.000000,18788144.000000,2174327.000000,3910939.000000,4352341.000000,4561697.000000,5187749.000000,5678280.000000,8416660.000000],\"min\": 2174327.000000,\"max\": 18788144.000000},{\"attribute\": \"MAX_POP310\",\"count\": 8,\"type\": \"number\",\"values\": [0.000000,14903021.000000,18924578.000000,3910939.000000,4561697.000000,5187749.000000,5678280.000000,8450289.000000],\"min\": 0.000000,\"max\": 18924578.000000},{\"attribute\": \"MAX_POP50\",\"count\": 9,\"type\": \"number\",\"values\": [1371285.000000,14868745.000000,18788144.000000,2174327.000000,3764385.000000,3910939.000000,4352341.000000,5187749.000000,8416660.000000],\"min\": 1371285.000000,\"max\": 18788144.000000},{\"attribute\": \"MEAN_BBXC\",\"count\": 9,\"type\": \"number\",\"values\": [-104.993967,-118.107478,-122.301354,-73.815782,-77.002668,-80.236416,-84.328739,-87.858740,-95.431928],\"min\": -122.301354,\"max\": -73.815782},{\"attribute\": \"MEAN_BBYC\",\"count\": 9,\"type\": \"number\",\"values\": [26.067179,29.810477,33.851552,33.980609,37.622288,39.007587,39.729850,40.813006,41.832719],\"min\": 26.067179,\"max\": 41.832719},{\"attribute\": \"MEGACITY\",\"count\": 1,\"type\": \"number\",\"values\": [1],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"MEGANAME\",\"count\": 9,\"type\": \"string\",\"values\": [\"Atlanta\",\"Chicago\",\"Denver-Aurora\",\"Houston\",\"Los Angeles-Long Beach-Santa Ana\",\"Miami\",\"New York-Newark\",\"San Francisco-Oakland\",\"Washington, D.C.\"]},{\"attribute\": \"MIN_AREAKM\",\"count\": 9,\"type\": \"number\",\"values\": [1114.000000,1137.000000,1338.000000,1345.000000,218.000000,2388.000000,2761.000000,380.000000,909.000000],\"min\": 218.000000,\"max\": 2761.000000},{\"attribute\": \"MIN_AREAMI\",\"count\": 9,\"type\": \"number\",\"values\": [1066.000000,147.000000,351.000000,430.000000,439.000000,517.000000,519.000000,84.000000,922.000000],\"min\": 84.000000,\"max\": 1066.000000},{\"attribute\": \"MIN_BBXMAX\",\"count\": 9,\"type\": \"number\",\"values\": [-104.866667,-117.857183,-122.358333,-73.574946,-76.752653,-80.175719,-83.879976,-87.528138,-95.133333],\"min\": -122.358333,\"max\": -73.574946},{\"attribute\": \"MIN_BBXMIN\",\"count\": 9,\"type\": \"number\",\"values\": [-105.241667,-118.991667,-122.516667,-74.750000,-77.533333,-80.466667,-84.875000,-88.408333,-95.841667],\"min\": -122.516667,\"max\": -74.750000},{\"attribute\": \"MIN_BBYMAX\",\"count\": 9,\"type\": \"number\",\"values\": [26.014060,30.258915,34.202715,34.241667,37.816667,39.241667,39.958333,41.057237,42.000972],\"min\": 26.014060,\"max\": 42.000972},{\"attribute\": \"MIN_BBYMIN\",\"count\": 9,\"type\": \"number\",\"values\": [25.550000,29.475000,33.383333,33.391667,37.191667,38.666667,39.500000,39.808333,41.391667],\"min\": 25.550000,\"max\": 41.391667},{\"attribute\": \"MIN_PERKM\",\"count\": 9,\"type\": \"number\",\"values\": [1257.000000,126.000000,1494.000000,156.000000,371.000000,471.000000,497.000000,534.000000,548.000000],\"min\": 126.000000,\"max\": 1494.000000},{\"attribute\": \"MIN_PERMI\",\"count\": 9,\"type\": \"number\",\"values\": [231.000000,293.000000,309.000000,332.000000,341.000000,78.000000,781.000000,929.000000,97.000000],\"min\": 78.000000,\"max\": 929.000000},{\"attribute\": \"NAME\",\"count\": 9,\"type\": \"string\",\"values\": [\"Atlanta\",\"Chicago\",\"Denver\",\"Houston\",\"Los Angeles\",\"Miami\",\"New York\",\"San Francisco\",\"Washington, D.C.\"]},{\"attribute\": \"NAMEALT\",\"count\": 5,\"type\": \"string\",\"values\": [\"Denver-Aurora\",\"Los Angeles-Long Beach-Santa Ana\",\"New York-Newark\",\"San Francisco-Oakland\",\"Washington D.C.\"]},{\"attribute\": \"NAMEASCII\",\"count\": 9,\"type\": \"string\",\"values\": [\"Atlanta\",\"Chicago\",\"Denver\",\"Houston\",\"Los Angeles\",\"Miami\",\"New York\",\"San Francisco\",\"Washington, D.C.\"]},{\"attribute\": \"NAMEDIFF\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"NATSCALE\",\"count\": 2,\"type\": \"number\",\"values\": [300,600],\"min\": 300.000000,\"max\": 600.000000},{\"attribute\": \"POP1950\",\"count\": 9,\"type\": \"number\",\"values\": [12338.000000,1298.000000,1855.000000,4046.000000,4999.000000,505.000000,513.000000,622.000000,709.000000],\"min\": 505.000000,\"max\": 12338.000000},{\"attribute\": \"POP1955\",\"count\": 9,\"type\": \"number\",\"values\": [13219.000000,1539.000000,2021.000000,5154.000000,5565.000000,631.000000,641.000000,904.000000,924.000000],\"min\": 631.000000,\"max\": 13219.000000},{\"attribute\": \"POP1960\",\"count\": 9,\"type\": \"number\",\"values\": [1151.000000,1361.000000,14164.000000,1823.000000,2200.000000,6183.000000,6530.000000,776.000000,809.000000],\"min\": 776.000000,\"max\": 14164.000000},{\"attribute\": \"POP1965\",\"count\": 9,\"type\": \"number\",\"values\": [1396.000000,15177.000000,1709.000000,2135.000000,2361.000000,6639.000000,7408.000000,923.000000,959.000000],\"min\": 923.000000,\"max\": 15177.000000},{\"attribute\": \"POP1970\",\"count\": 9,\"type\": \"number\",\"values\": [1054.000000,1182.000000,16191.000000,1693.000000,2141.000000,2488.000000,2529.000000,7106.000000,8378.000000],\"min\": 1054.000000,\"max\": 16191.000000},{\"attribute\": \"POP1975\",\"count\": 8,\"type\": \"number\",\"values\": [1198.000000,1386.000000,15880.000000,2030.000000,2590.000000,2626.000000,7160.000000,8926.000000],\"min\": 1198.000000,\"max\": 15880.000000},{\"attribute\": \"POP1980\",\"count\": 9,\"type\": \"number\",\"values\": [1356.000000,15601.000000,1625.000000,2424.000000,2656.000000,2777.000000,3122.000000,7216.000000,9512.000000],\"min\": 1356.000000,\"max\": 15601.000000},{\"attribute\": \"POP1985\",\"count\": 9,\"type\": \"number\",\"values\": [10181.000000,1437.000000,15827.000000,1879.000000,2658.000000,2805.000000,3063.000000,3521.000000,7285.000000],\"min\": 1437.000000,\"max\": 15827.000000},{\"attribute\": \"POP1990\",\"count\": 9,\"type\": \"number\",\"values\": [10883.000000,1528.000000,16086.000000,2184.000000,2922.000000,2961.000000,3376.000000,3969.000000,7374.000000],\"min\": 1528.000000,\"max\": 16086.000000},{\"attribute\": \"POP1995\",\"count\": 9,\"type\": \"number\",\"values\": [11339.000000,16943.000000,1747.000000,2781.000000,3095.000000,3353.000000,3651.000000,4431.000000,7839.000000],\"min\": 1747.000000,\"max\": 16943.000000},{\"attribute\": \"POP2000\",\"count\": 9,\"type\": \"number\",\"values\": [11814.000000,17846.000000,1998.000000,3236.000000,3542.000000,3849.000000,3949.000000,4946.000000,8333.000000],\"min\": 1998.000000,\"max\": 17846.000000},{\"attribute\": \"POP2005\",\"count\": 9,\"type\": \"number\",\"values\": [12307.000000,18732.000000,2241.000000,3387.000000,4241.000000,4307.000000,4324.000000,5438.000000,8820.000000],\"min\": 2241.000000,\"max\": 18732.000000},{\"attribute\": \"POP2010\",\"count\": 9,\"type\": \"number\",\"values\": [12500.000000,19040.000000,2313.000000,3450.000000,4338.000000,4459.000000,4506.000000,5585.000000,8990.000000],\"min\": 2313.000000,\"max\": 19040.000000},{\"attribute\": \"POP2015\",\"count\": 9,\"type\": \"number\",\"values\": [12773.000000,19441.000000,2396.000000,3544.000000,4464.000000,4609.000000,4695.000000,5755.000000,9211.000000],\"min\": 2396.000000,\"max\": 19441.000000},{\"attribute\": \"POP2020\",\"count\": 9,\"type\": \"number\",\"values\": [13160.000000,19974.000000,2502.000000,3684.000000,4636.000000,4790.000000,4888.000000,5969.000000,9516.000000],\"min\": 2502.000000,\"max\": 19974.000000},{\"attribute\": \"POP2025\",\"count\": 9,\"type\": \"number\",\"values\": [13461.000000,20370.000000,2590.000000,3803.000000,4778.000000,4936.000000,5035.000000,6141.000000,9756.000000],\"min\": 2590.000000,\"max\": 20370.000000},{\"attribute\": \"POP2050\",\"count\": 9,\"type\": \"number\",\"values\": [13672.000000,20628.000000,2661.000000,3898.000000,4889.000000,5049.000000,5151.000000,6272.000000,9932.000000],\"min\": 2661.000000,\"max\": 20628.000000},{\"attribute\": \"POP_MAX\",\"count\": 9,\"type\": \"number\",\"values\": [12500000,19040000,2313000,3450000,4338000,4459000,4506000,5585000,8990000],\"min\": 2313000.000000,\"max\": 19040000.000000},{\"attribute\": \"POP_MIN\",\"count\": 9,\"type\": \"number\",\"values\": [1548599,2841952,3647574,3694820,382894,422908,552433,732072,8008278],\"min\": 382894.000000,\"max\": 8008278.000000},{\"attribute\": \"POP_OTHER\",\"count\": 9,\"type\": \"number\",\"values\": [1037811,142265,1521278,2175991,27400,2874096,3607616,3635101,9292603],\"min\": 27400.000000,\"max\": 9292603.000000},{\"attribute\": \"RANK_MAX\",\"count\": 3,\"type\": \"number\",\"values\": [12,13,14],\"min\": 12.000000,\"max\": 14.000000},{\"attribute\": \"RANK_MIN\",\"count\": 4,\"type\": \"number\",\"values\": [10,11,12,13],\"min\": 10.000000,\"max\": 13.000000},{\"attribute\": \"SCALERANK\",\"count\": 2,\"type\": \"number\",\"values\": [0,1],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"SOV0NAME\",\"count\": 1,\"type\": \"string\",\"values\": [\"United States\"]},{\"attribute\": \"SOV_A3\",\"count\": 1,\"type\": \"string\",\"values\": [\"USA\"]},{\"attribute\": \"TIMEZONE\",\"count\": 3,\"type\": \"string\",\"values\": [\"America/Chicago\",\"America/Los_Angeles\",\"America/New_York\"]},{\"attribute\": \"UN_ADM0\",\"count\": 1,\"type\": \"string\",\"values\": [\"United States of America\"]},{\"attribute\": \"UN_FID\",\"count\": 9,\"type\": \"number\",\"values\": [524,531,537,542,547,550,555,570,577],\"min\": 524.000000,\"max\": 577.000000},{\"attribute\": \"UN_LAT\",\"count\": 9,\"type\": \"number\",\"values\": [25.830000,29.770000,33.790000,34.000000,37.790000,38.890000,39.570000,40.700000,41.820000],\"min\": 25.830000,\"max\": 41.820000},{\"attribute\": \"UN_LONG\",\"count\": 9,\"type\": \"number\",\"values\": [-105.070000,-118.250000,-122.380000,-73.900000,-76.950000,-80.270000,-84.340000,-87.640000,-95.400000],\"min\": -122.380000,\"max\": -73.900000},{\"attribute\": \"WORLDCITY\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,1.000000],\"min\": 0.000000,\"max\": 1.000000}]}]}}", "maxzoom": "3", "minzoom": "0", "name": "separate", diff --git a/tests/muni/decode/multi.mbtiles.json b/tests/muni/decode/multi.mbtiles.json index 6a42a891..edab0dc8 100644 --- a/tests/muni/decode/multi.mbtiles.json +++ b/tests/muni/decode/multi.mbtiles.json @@ -3,7 +3,7 @@ "center": "-122.431641,37.788049,11", "description": "tests/muni/decode/multi.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"muni\",\"count\": 4592,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 1000,\"type\": \"string\",\"values\": [\" 4th St & Brannan St\",\" Conzelman Rd & Mccullough Rd\",\"100 O'Shaughnessy Blvd\",\"101 Dakota St\",\"1095 CONNECTICUT ST\",\"10th Ave & Ortega St\",\"10th Ave & Pacheco St\",\"10th Ave & Quintara St\",\"1100 Lake Merced Blvd\",\"115 TELEGRAPH Hill Blvd\",\"117 Warren Dr\",\"11th St & Bryant St\",\"11th St & Folsom St\",\"11th St & Harrison St\",\"11th St & Howard St\",\"11th St & Market St\",\"11th St & Mission St\",\"11th St/btw Market & Mission\",\"120 Portola Dr\",\"126 Miraloma Dr\",\"13th St & Gateview Ave\",\"14 Dakota St\",\"14th Avenue & Geary Boulevard\",\"14th Ave & Quintara St\",\"14th Ave & Santiago St\",\"14th Ave & Taraval St\",\"14th Ave & Ulloa St\",\"14th St & Alpine Ter\",\"14th St & Castro St\",\"14th St & Church St\",\"14th St & Mission St\",\"14th St & Noe St\",\"14th St & SANCHEZ ST\",\"14th St & Sanchez St\",\"150 Otis St\",\"15th Ave & Noriega St\",\"15th Ave & Ortega St\",\"15th Ave & Pacheco St\",\"15th Ave & Quintara St\",\"15th Ave & Taraval St\",\"15th Ave & Ulloa St\",\"15th Ave & West Portal Ave\",\"15th St & Mission St\",\"16 th St & South Van Ness\",\"164 Addison St\",\"1650 Geneva Ave\",\"1697 7th Ave\",\"16th Ave & Lawton St\",\"16th Ave & Lomita Ave\",\"16th Ave & Moraga St\",\"16th Ave & Noriega St\",\"16th Ave & Ortega St\",\"16th Ave & Pacheco St\",\"16th Avenue at Lawton Street\",\"16th St & 4th St\",\"16th St & Bryant St\",\"16th St & Church St\",\"16th St & Dolores St\",\"16th St & Folsom St\",\"16th St & Guerrero St\",\"16th St & Harrison St\",\"16th St & Kansas St\",\"16th St & Mission St\",\"16th St & Missouri St\",\"16th St & Potrero Ave\",\"16th St & San Bruno Ave\",\"16th St & Shotwell St\",\"16th St & South Van Ness\",\"16th St & Valencia St\",\"16th St & Vermont St\",\"16th St & Wisconsin St\",\"16th St& Rhode Island St\",\"16th Street & 4th Street\",\"16th Street & Missouri St\",\"16th Street & Rhode Islandi St\",\"16th Street & Wisconsin St\",\"170 Buckingham Way\",\"1701 Geneva Ave\",\"1721 Geneva Ave\",\"1725 Sunnydale Ave\",\"1730 3rd St\",\"1731 3RD ST\",\"1750 Geneva Ave\",\"176 Rhode Island St\",\"1798 Laguna Honda Blvd\",\"17TH ST & KANSAS ST\",\"17th Ave & Quintara St\",\"17th Ave & Rivera St\",\"17th Ave & Santiago St\",\"17th St & Belvedere St\",\"17th St & Castro St\",\"17th St & Clayton St\",\"17th St & Cole St\",\"17th St & De Haro St\",\"17th St & Diamond St\",\"17th St & Kansas St\",\"17th St & Noe St\",\"17th St & Wisconsin St\",\"1800 Sunnydale Ave\",\"18th St & 3rd St\"]}]},{\"layer\": \"subway\",\"count\": 19,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 18,\"type\": \"string\",\"values\": [\"Metro Castro Station/Downtown\",\"Metro Castro Station/Outbound\",\"Metro Church Station/Downtown\",\"Metro Church Station/Outbound\",\"Metro Civic Center Station/Downtn\",\"Metro Civic Center Station/Downtown\",\"Metro Civic Center Station/Outbd\",\"Metro Embarcadero Station\",\"Metro Embarcadero Station/Downtown\",\"Metro Forest Hill Station/Downtown\",\"Metro Montgomery Station/Downtown\",\"Metro Montgomery Station/Outbound\",\"Metro Powell Station/Downtown\",\"Metro Powell Station/Outbound\",\"Metro Van Ness Station\",\"Metro Van Ness Station/Downtown\",\"Metro Van Ness Station/Outbound\",\"Van Ness Station Outbound\"]}]}]}}", "maxzoom": "11", "minzoom": "11", "name": "tests/muni/decode/multi.mbtiles", diff --git a/tests/muni/out/-Z11_-z11.json b/tests/muni/out/-Z11_-z11.json index 7b8b3ef5..de7ee74e 100644 --- a/tests/muni/out/-Z11_-z11.json +++ b/tests/muni/out/-Z11_-z11.json @@ -3,7 +3,7 @@ "center": "-122.431641,37.788049,11", "description": "tests/muni/out/-Z11_-z11.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"muni\",\"count\": 4592,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 1000,\"type\": \"string\",\"values\": [\" 4th St & Brannan St\",\" Conzelman Rd & Mccullough Rd\",\"100 O'Shaughnessy Blvd\",\"101 Dakota St\",\"1095 CONNECTICUT ST\",\"10th Ave & Ortega St\",\"10th Ave & Pacheco St\",\"10th Ave & Quintara St\",\"1100 Lake Merced Blvd\",\"115 TELEGRAPH Hill Blvd\",\"117 Warren Dr\",\"11th St & Bryant St\",\"11th St & Folsom St\",\"11th St & Harrison St\",\"11th St & Howard St\",\"11th St & Market St\",\"11th St & Mission St\",\"11th St/btw Market & Mission\",\"120 Portola Dr\",\"126 Miraloma Dr\",\"13th St & Gateview Ave\",\"14 Dakota St\",\"14th Avenue & Geary Boulevard\",\"14th Ave & Quintara St\",\"14th Ave & Santiago St\",\"14th Ave & Taraval St\",\"14th Ave & Ulloa St\",\"14th St & Alpine Ter\",\"14th St & Castro St\",\"14th St & Church St\",\"14th St & Mission St\",\"14th St & Noe St\",\"14th St & SANCHEZ ST\",\"14th St & Sanchez St\",\"150 Otis St\",\"15th Ave & Noriega St\",\"15th Ave & Ortega St\",\"15th Ave & Pacheco St\",\"15th Ave & Quintara St\",\"15th Ave & Taraval St\",\"15th Ave & Ulloa St\",\"15th Ave & West Portal Ave\",\"15th St & Mission St\",\"16 th St & South Van Ness\",\"164 Addison St\",\"1650 Geneva Ave\",\"1697 7th Ave\",\"16th Ave & Lawton St\",\"16th Ave & Lomita Ave\",\"16th Ave & Moraga St\",\"16th Ave & Noriega St\",\"16th Ave & Ortega St\",\"16th Ave & Pacheco St\",\"16th Avenue at Lawton Street\",\"16th St & 4th St\",\"16th St & Bryant St\",\"16th St & Church St\",\"16th St & Dolores St\",\"16th St & Folsom St\",\"16th St & Guerrero St\",\"16th St & Harrison St\",\"16th St & Kansas St\",\"16th St & Mission St\",\"16th St & Missouri St\",\"16th St & Potrero Ave\",\"16th St & San Bruno Ave\",\"16th St & Shotwell St\",\"16th St & South Van Ness\",\"16th St & Valencia St\",\"16th St & Vermont St\",\"16th St & Wisconsin St\",\"16th St& Rhode Island St\",\"16th Street & 4th Street\",\"16th Street & Missouri St\",\"16th Street & Rhode Islandi St\",\"16th Street & Wisconsin St\",\"170 Buckingham Way\",\"1701 Geneva Ave\",\"1721 Geneva Ave\",\"1725 Sunnydale Ave\",\"1730 3rd St\",\"1731 3RD ST\",\"1750 Geneva Ave\",\"176 Rhode Island St\",\"1798 Laguna Honda Blvd\",\"17TH ST & KANSAS ST\",\"17th Ave & Quintara St\",\"17th Ave & Rivera St\",\"17th Ave & Santiago St\",\"17th St & Belvedere St\",\"17th St & Castro St\",\"17th St & Clayton St\",\"17th St & Cole St\",\"17th St & De Haro St\",\"17th St & Diamond St\",\"17th St & Kansas St\",\"17th St & Noe St\",\"17th St & Wisconsin St\",\"1800 Sunnydale Ave\",\"18th St & 3rd St\"]}]},{\"layer\": \"subway\",\"count\": 19,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 18,\"type\": \"string\",\"values\": [\"Metro Castro Station/Downtown\",\"Metro Castro Station/Outbound\",\"Metro Church Station/Downtown\",\"Metro Church Station/Outbound\",\"Metro Civic Center Station/Downtn\",\"Metro Civic Center Station/Downtown\",\"Metro Civic Center Station/Outbd\",\"Metro Embarcadero Station\",\"Metro Embarcadero Station/Downtown\",\"Metro Forest Hill Station/Downtown\",\"Metro Montgomery Station/Downtown\",\"Metro Montgomery Station/Outbound\",\"Metro Powell Station/Downtown\",\"Metro Powell Station/Outbound\",\"Metro Van Ness Station\",\"Metro Van Ness Station/Downtown\",\"Metro Van Ness Station/Outbound\",\"Van Ness Station Outbound\"]}]}]}}", "maxzoom": "11", "minzoom": "11", "name": "tests/muni/out/-Z11_-z11.json.check.mbtiles", diff --git a/tests/muni/out/-Z11_-z11_--calculate-feature-density.json b/tests/muni/out/-Z11_-z11_--calculate-feature-density.json index 73d3cf4c..fe6cc178 100644 --- a/tests/muni/out/-Z11_-z11_--calculate-feature-density.json +++ b/tests/muni/out/-Z11_-z11_--calculate-feature-density.json @@ -3,7 +3,7 @@ "center": "-122.431641,37.788049,11", "description": "tests/muni/out/-Z11_-z11_--calculate-feature-density.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\", \"tippecanoe_feature_density\": \"Number\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\", \"tippecanoe_feature_density\": \"Number\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\", \"tippecanoe_feature_density\": \"Number\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\", \"tippecanoe_feature_density\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"muni\",\"count\": 4592,\"geometry\": \"Point\",\"attributeCount\": 2,\"attributes\": [{\"attribute\": \"name\",\"count\": 1000,\"type\": \"string\",\"values\": [\" 4th St & Brannan St\",\" Conzelman Rd & Mccullough Rd\",\"100 O'Shaughnessy Blvd\",\"101 Dakota St\",\"1095 CONNECTICUT ST\",\"10th Ave & Ortega St\",\"10th Ave & Pacheco St\",\"10th Ave & Quintara St\",\"1100 Lake Merced Blvd\",\"115 TELEGRAPH Hill Blvd\",\"117 Warren Dr\",\"11th St & Bryant St\",\"11th St & Folsom St\",\"11th St & Harrison St\",\"11th St & Howard St\",\"11th St & Market St\",\"11th St & Mission St\",\"11th St/btw Market & Mission\",\"120 Portola Dr\",\"126 Miraloma Dr\",\"13th St & Gateview Ave\",\"14 Dakota St\",\"14th Avenue & Geary Boulevard\",\"14th Ave & Quintara St\",\"14th Ave & Santiago St\",\"14th Ave & Taraval St\",\"14th Ave & Ulloa St\",\"14th St & Alpine Ter\",\"14th St & Castro St\",\"14th St & Church St\",\"14th St & Mission St\",\"14th St & Noe St\",\"14th St & SANCHEZ ST\",\"14th St & Sanchez St\",\"150 Otis St\",\"15th Ave & Noriega St\",\"15th Ave & Ortega St\",\"15th Ave & Pacheco St\",\"15th Ave & Quintara St\",\"15th Ave & Taraval St\",\"15th Ave & Ulloa St\",\"15th Ave & West Portal Ave\",\"15th St & Mission St\",\"16 th St & South Van Ness\",\"164 Addison St\",\"1650 Geneva Ave\",\"1697 7th Ave\",\"16th Ave & Lawton St\",\"16th Ave & Lomita Ave\",\"16th Ave & Moraga St\",\"16th Ave & Noriega St\",\"16th Ave & Ortega St\",\"16th Ave & Pacheco St\",\"16th Avenue at Lawton Street\",\"16th St & 4th St\",\"16th St & Bryant St\",\"16th St & Church St\",\"16th St & Dolores St\",\"16th St & Folsom St\",\"16th St & Guerrero St\",\"16th St & Harrison St\",\"16th St & Kansas St\",\"16th St & Mission St\",\"16th St & Missouri St\",\"16th St & Potrero Ave\",\"16th St & San Bruno Ave\",\"16th St & Shotwell St\",\"16th St & South Van Ness\",\"16th St & Valencia St\",\"16th St & Vermont St\",\"16th St & Wisconsin St\",\"16th St& Rhode Island St\",\"16th Street & 4th Street\",\"16th Street & Missouri St\",\"16th Street & Rhode Islandi St\",\"16th Street & Wisconsin St\",\"170 Buckingham Way\",\"1701 Geneva Ave\",\"1721 Geneva Ave\",\"1725 Sunnydale Ave\",\"1730 3rd St\",\"1731 3RD ST\",\"1750 Geneva Ave\",\"176 Rhode Island St\",\"1798 Laguna Honda Blvd\",\"17TH ST & KANSAS ST\",\"17th Ave & Quintara St\",\"17th Ave & Rivera St\",\"17th Ave & Santiago St\",\"17th St & Belvedere St\",\"17th St & Castro St\",\"17th St & Clayton St\",\"17th St & Cole St\",\"17th St & De Haro St\",\"17th St & Diamond St\",\"17th St & Kansas St\",\"17th St & Noe St\",\"17th St & Wisconsin St\",\"1800 Sunnydale Ave\",\"18th St & 3rd St\"]},{\"attribute\": \"tippecanoe_feature_density\",\"count\": 256,\"type\": \"number\",\"values\": [0,1,10,100,101,102,103,104,105,106,107,108,109,11,110,111,112,113,114,115,116,117,118,119,12,120,121,122,123,124,125,126,127,128,129,13,130,131,132,133,134,135,136,137,138,139,14,140,141,142,143,144,145,146,147,148,149,15,150,151,152,153,154,155,156,157,158,159,16,160,161,162,163,164,165,166,167,168,169,17,170,171,172,173,174,175,176,177,178,179,18,180,181,182,183,184,185,186,187,188],\"min\": 0.000000,\"max\": 255.000000}]},{\"layer\": \"subway\",\"count\": 19,\"geometry\": \"Point\",\"attributeCount\": 2,\"attributes\": [{\"attribute\": \"name\",\"count\": 18,\"type\": \"string\",\"values\": [\"Metro Castro Station/Downtown\",\"Metro Castro Station/Outbound\",\"Metro Church Station/Downtown\",\"Metro Church Station/Outbound\",\"Metro Civic Center Station/Downtn\",\"Metro Civic Center Station/Downtown\",\"Metro Civic Center Station/Outbd\",\"Metro Embarcadero Station\",\"Metro Embarcadero Station/Downtown\",\"Metro Forest Hill Station/Downtown\",\"Metro Montgomery Station/Downtown\",\"Metro Montgomery Station/Outbound\",\"Metro Powell Station/Downtown\",\"Metro Powell Station/Outbound\",\"Metro Van Ness Station\",\"Metro Van Ness Station/Downtown\",\"Metro Van Ness Station/Outbound\",\"Van Ness Station Outbound\"]},{\"attribute\": \"tippecanoe_feature_density\",\"count\": 256,\"type\": \"number\",\"values\": [0,1,10,100,101,102,103,104,105,106,107,108,109,11,110,111,112,113,114,115,116,117,118,119,12,120,121,122,123,124,125,126,127,128,129,13,130,131,132,133,134,135,136,137,138,139,14,140,141,142,143,144,145,146,147,148,149,15,150,151,152,153,154,155,156,157,158,159,16,160,161,162,163,164,165,166,167,168,169,17,170,171,172,173,174,175,176,177,178,179,18,180,181,182,183,184,185,186,187,188],\"min\": 0.000000,\"max\": 255.000000}]}]}}", "maxzoom": "11", "minzoom": "11", "name": "tests/muni/out/-Z11_-z11_--calculate-feature-density.json.check.mbtiles", diff --git a/tests/muni/out/-Z11_-z11_--prefer-radix-sort.json b/tests/muni/out/-Z11_-z11_--prefer-radix-sort.json index abc0c3bf..bd43d328 100644 --- a/tests/muni/out/-Z11_-z11_--prefer-radix-sort.json +++ b/tests/muni/out/-Z11_-z11_--prefer-radix-sort.json @@ -3,7 +3,7 @@ "center": "-122.431641,37.788049,11", "description": "tests/muni/out/-Z11_-z11_--prefer-radix-sort.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"muni\",\"count\": 4592,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 1000,\"type\": \"string\",\"values\": [\" 4th St & Brannan St\",\" Conzelman Rd & Mccullough Rd\",\"100 O'Shaughnessy Blvd\",\"101 Dakota St\",\"1095 CONNECTICUT ST\",\"10th Ave & Ortega St\",\"10th Ave & Pacheco St\",\"10th Ave & Quintara St\",\"1100 Lake Merced Blvd\",\"115 TELEGRAPH Hill Blvd\",\"117 Warren Dr\",\"11th St & Bryant St\",\"11th St & Folsom St\",\"11th St & Harrison St\",\"11th St & Howard St\",\"11th St & Market St\",\"11th St & Mission St\",\"11th St/btw Market & Mission\",\"120 Portola Dr\",\"126 Miraloma Dr\",\"13th St & Gateview Ave\",\"14 Dakota St\",\"14th Avenue & Geary Boulevard\",\"14th Ave & Quintara St\",\"14th Ave & Santiago St\",\"14th Ave & Taraval St\",\"14th Ave & Ulloa St\",\"14th St & Alpine Ter\",\"14th St & Castro St\",\"14th St & Church St\",\"14th St & Mission St\",\"14th St & Noe St\",\"14th St & SANCHEZ ST\",\"14th St & Sanchez St\",\"150 Otis St\",\"15th Ave & Noriega St\",\"15th Ave & Ortega St\",\"15th Ave & Pacheco St\",\"15th Ave & Quintara St\",\"15th Ave & Taraval St\",\"15th Ave & Ulloa St\",\"15th Ave & West Portal Ave\",\"15th St & Mission St\",\"16 th St & South Van Ness\",\"164 Addison St\",\"1650 Geneva Ave\",\"1697 7th Ave\",\"16th Ave & Lawton St\",\"16th Ave & Lomita Ave\",\"16th Ave & Moraga St\",\"16th Ave & Noriega St\",\"16th Ave & Ortega St\",\"16th Ave & Pacheco St\",\"16th Avenue at Lawton Street\",\"16th St & 4th St\",\"16th St & Bryant St\",\"16th St & Church St\",\"16th St & Dolores St\",\"16th St & Folsom St\",\"16th St & Guerrero St\",\"16th St & Harrison St\",\"16th St & Kansas St\",\"16th St & Mission St\",\"16th St & Missouri St\",\"16th St & Potrero Ave\",\"16th St & San Bruno Ave\",\"16th St & Shotwell St\",\"16th St & South Van Ness\",\"16th St & Valencia St\",\"16th St & Vermont St\",\"16th St & Wisconsin St\",\"16th St& Rhode Island St\",\"16th Street & 4th Street\",\"16th Street & Missouri St\",\"16th Street & Rhode Islandi St\",\"16th Street & Wisconsin St\",\"170 Buckingham Way\",\"1701 Geneva Ave\",\"1721 Geneva Ave\",\"1725 Sunnydale Ave\",\"1730 3rd St\",\"1731 3RD ST\",\"1750 Geneva Ave\",\"176 Rhode Island St\",\"1798 Laguna Honda Blvd\",\"17TH ST & KANSAS ST\",\"17th Ave & Quintara St\",\"17th Ave & Rivera St\",\"17th Ave & Santiago St\",\"17th St & Belvedere St\",\"17th St & Castro St\",\"17th St & Clayton St\",\"17th St & Cole St\",\"17th St & De Haro St\",\"17th St & Diamond St\",\"17th St & Kansas St\",\"17th St & Noe St\",\"17th St & Wisconsin St\",\"1800 Sunnydale Ave\",\"18th St & 3rd St\"]}]},{\"layer\": \"subway\",\"count\": 19,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 18,\"type\": \"string\",\"values\": [\"Metro Castro Station/Downtown\",\"Metro Castro Station/Outbound\",\"Metro Church Station/Downtown\",\"Metro Church Station/Outbound\",\"Metro Civic Center Station/Downtn\",\"Metro Civic Center Station/Downtown\",\"Metro Civic Center Station/Outbd\",\"Metro Embarcadero Station\",\"Metro Embarcadero Station/Downtown\",\"Metro Forest Hill Station/Downtown\",\"Metro Montgomery Station/Downtown\",\"Metro Montgomery Station/Outbound\",\"Metro Powell Station/Downtown\",\"Metro Powell Station/Outbound\",\"Metro Van Ness Station\",\"Metro Van Ness Station/Downtown\",\"Metro Van Ness Station/Outbound\",\"Van Ness Station Outbound\"]}]}]}}", "maxzoom": "11", "minzoom": "11", "name": "tests/muni/out/-Z11_-z11_--prefer-radix-sort.json.check.mbtiles", diff --git a/tests/muni/out/-Z11_-z11_-g2.json b/tests/muni/out/-Z11_-z11_-g2.json index 4e434428..e859d5d3 100644 --- a/tests/muni/out/-Z11_-z11_-g2.json +++ b/tests/muni/out/-Z11_-z11_-g2.json @@ -3,7 +3,7 @@ "center": "-122.431641,37.788049,11", "description": "tests/muni/out/-Z11_-z11_-g2.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 11, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"muni\",\"count\": 4592,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 1000,\"type\": \"string\",\"values\": [\" 4th St & Brannan St\",\" Conzelman Rd & Mccullough Rd\",\"100 O'Shaughnessy Blvd\",\"101 Dakota St\",\"1095 CONNECTICUT ST\",\"10th Ave & Ortega St\",\"10th Ave & Pacheco St\",\"10th Ave & Quintara St\",\"1100 Lake Merced Blvd\",\"115 TELEGRAPH Hill Blvd\",\"117 Warren Dr\",\"11th St & Bryant St\",\"11th St & Folsom St\",\"11th St & Harrison St\",\"11th St & Howard St\",\"11th St & Market St\",\"11th St & Mission St\",\"11th St/btw Market & Mission\",\"120 Portola Dr\",\"126 Miraloma Dr\",\"13th St & Gateview Ave\",\"14 Dakota St\",\"14th Avenue & Geary Boulevard\",\"14th Ave & Quintara St\",\"14th Ave & Santiago St\",\"14th Ave & Taraval St\",\"14th Ave & Ulloa St\",\"14th St & Alpine Ter\",\"14th St & Castro St\",\"14th St & Church St\",\"14th St & Mission St\",\"14th St & Noe St\",\"14th St & SANCHEZ ST\",\"14th St & Sanchez St\",\"150 Otis St\",\"15th Ave & Noriega St\",\"15th Ave & Ortega St\",\"15th Ave & Pacheco St\",\"15th Ave & Quintara St\",\"15th Ave & Taraval St\",\"15th Ave & Ulloa St\",\"15th Ave & West Portal Ave\",\"15th St & Mission St\",\"16 th St & South Van Ness\",\"164 Addison St\",\"1650 Geneva Ave\",\"1697 7th Ave\",\"16th Ave & Lawton St\",\"16th Ave & Lomita Ave\",\"16th Ave & Moraga St\",\"16th Ave & Noriega St\",\"16th Ave & Ortega St\",\"16th Ave & Pacheco St\",\"16th Avenue at Lawton Street\",\"16th St & 4th St\",\"16th St & Bryant St\",\"16th St & Church St\",\"16th St & Dolores St\",\"16th St & Folsom St\",\"16th St & Guerrero St\",\"16th St & Harrison St\",\"16th St & Kansas St\",\"16th St & Mission St\",\"16th St & Missouri St\",\"16th St & Potrero Ave\",\"16th St & San Bruno Ave\",\"16th St & Shotwell St\",\"16th St & South Van Ness\",\"16th St & Valencia St\",\"16th St & Vermont St\",\"16th St & Wisconsin St\",\"16th St& Rhode Island St\",\"16th Street & 4th Street\",\"16th Street & Missouri St\",\"16th Street & Rhode Islandi St\",\"16th Street & Wisconsin St\",\"170 Buckingham Way\",\"1701 Geneva Ave\",\"1721 Geneva Ave\",\"1725 Sunnydale Ave\",\"1730 3rd St\",\"1731 3RD ST\",\"1750 Geneva Ave\",\"176 Rhode Island St\",\"1798 Laguna Honda Blvd\",\"17TH ST & KANSAS ST\",\"17th Ave & Quintara St\",\"17th Ave & Rivera St\",\"17th Ave & Santiago St\",\"17th St & Belvedere St\",\"17th St & Castro St\",\"17th St & Clayton St\",\"17th St & Cole St\",\"17th St & De Haro St\",\"17th St & Diamond St\",\"17th St & Kansas St\",\"17th St & Noe St\",\"17th St & Wisconsin St\",\"1800 Sunnydale Ave\",\"18th St & 3rd St\"]}]},{\"layer\": \"subway\",\"count\": 19,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 18,\"type\": \"string\",\"values\": [\"Metro Castro Station/Downtown\",\"Metro Castro Station/Outbound\",\"Metro Church Station/Downtown\",\"Metro Church Station/Outbound\",\"Metro Civic Center Station/Downtn\",\"Metro Civic Center Station/Downtown\",\"Metro Civic Center Station/Outbd\",\"Metro Embarcadero Station\",\"Metro Embarcadero Station/Downtown\",\"Metro Forest Hill Station/Downtown\",\"Metro Montgomery Station/Downtown\",\"Metro Montgomery Station/Outbound\",\"Metro Powell Station/Downtown\",\"Metro Powell Station/Outbound\",\"Metro Van Ness Station\",\"Metro Van Ness Station/Downtown\",\"Metro Van Ness Station/Outbound\",\"Van Ness Station Outbound\"]}]}]}}", "maxzoom": "11", "minzoom": "11", "name": "tests/muni/out/-Z11_-z11_-g2.json.check.mbtiles", diff --git a/tests/muni/out/-Z11_-z13_-B15.json b/tests/muni/out/-Z11_-z13_-B15.json index 56a62b05..194ca36a 100644 --- a/tests/muni/out/-Z11_-z13_-B15.json +++ b/tests/muni/out/-Z11_-z13_-B15.json @@ -3,7 +3,7 @@ "center": "-122.409668,37.770713,13", "description": "tests/muni/out/-Z11_-z13_-B15.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"muni\",\"count\": 4592,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 1000,\"type\": \"string\",\"values\": [\" 4th St & Brannan St\",\" Conzelman Rd & Mccullough Rd\",\"100 O'Shaughnessy Blvd\",\"101 Dakota St\",\"1095 CONNECTICUT ST\",\"10th Ave & Ortega St\",\"10th Ave & Pacheco St\",\"10th Ave & Quintara St\",\"1100 Lake Merced Blvd\",\"115 TELEGRAPH Hill Blvd\",\"117 Warren Dr\",\"11th St & Bryant St\",\"11th St & Folsom St\",\"11th St & Harrison St\",\"11th St & Howard St\",\"11th St & Market St\",\"11th St & Mission St\",\"11th St/btw Market & Mission\",\"120 Portola Dr\",\"126 Miraloma Dr\",\"13th St & Gateview Ave\",\"14 Dakota St\",\"14th Avenue & Geary Boulevard\",\"14th Ave & Quintara St\",\"14th Ave & Santiago St\",\"14th Ave & Taraval St\",\"14th Ave & Ulloa St\",\"14th St & Alpine Ter\",\"14th St & Castro St\",\"14th St & Church St\",\"14th St & Mission St\",\"14th St & Noe St\",\"14th St & SANCHEZ ST\",\"14th St & Sanchez St\",\"150 Otis St\",\"15th Ave & Noriega St\",\"15th Ave & Ortega St\",\"15th Ave & Pacheco St\",\"15th Ave & Quintara St\",\"15th Ave & Taraval St\",\"15th Ave & Ulloa St\",\"15th Ave & West Portal Ave\",\"15th St & Mission St\",\"16 th St & South Van Ness\",\"164 Addison St\",\"1650 Geneva Ave\",\"1697 7th Ave\",\"16th Ave & Lawton St\",\"16th Ave & Lomita Ave\",\"16th Ave & Moraga St\",\"16th Ave & Noriega St\",\"16th Ave & Ortega St\",\"16th Ave & Pacheco St\",\"16th Avenue at Lawton Street\",\"16th St & 4th St\",\"16th St & Bryant St\",\"16th St & Church St\",\"16th St & Dolores St\",\"16th St & Folsom St\",\"16th St & Guerrero St\",\"16th St & Harrison St\",\"16th St & Kansas St\",\"16th St & Mission St\",\"16th St & Missouri St\",\"16th St & Potrero Ave\",\"16th St & San Bruno Ave\",\"16th St & Shotwell St\",\"16th St & South Van Ness\",\"16th St & Valencia St\",\"16th St & Vermont St\",\"16th St & Wisconsin St\",\"16th St& Rhode Island St\",\"16th Street & 4th Street\",\"16th Street & Missouri St\",\"16th Street & Rhode Islandi St\",\"16th Street & Wisconsin St\",\"170 Buckingham Way\",\"1701 Geneva Ave\",\"1721 Geneva Ave\",\"1725 Sunnydale Ave\",\"1730 3rd St\",\"1731 3RD ST\",\"1750 Geneva Ave\",\"176 Rhode Island St\",\"1798 Laguna Honda Blvd\",\"17TH ST & KANSAS ST\",\"17th Ave & Quintara St\",\"17th Ave & Rivera St\",\"17th Ave & Santiago St\",\"17th St & Belvedere St\",\"17th St & Castro St\",\"17th St & Clayton St\",\"17th St & Cole St\",\"17th St & De Haro St\",\"17th St & Diamond St\",\"17th St & Kansas St\",\"17th St & Noe St\",\"17th St & Wisconsin St\",\"1800 Sunnydale Ave\",\"18th St & 3rd St\"]}]},{\"layer\": \"subway\",\"count\": 19,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 18,\"type\": \"string\",\"values\": [\"Metro Castro Station/Downtown\",\"Metro Castro Station/Outbound\",\"Metro Church Station/Downtown\",\"Metro Church Station/Outbound\",\"Metro Civic Center Station/Downtn\",\"Metro Civic Center Station/Downtown\",\"Metro Civic Center Station/Outbd\",\"Metro Embarcadero Station\",\"Metro Embarcadero Station/Downtown\",\"Metro Forest Hill Station/Downtown\",\"Metro Montgomery Station/Downtown\",\"Metro Montgomery Station/Outbound\",\"Metro Powell Station/Downtown\",\"Metro Powell Station/Outbound\",\"Metro Van Ness Station\",\"Metro Van Ness Station/Downtown\",\"Metro Van Ness Station/Outbound\",\"Van Ness Station Outbound\"]}]}]}}", "maxzoom": "13", "minzoom": "11", "name": "tests/muni/out/-Z11_-z13_-B15.json.check.mbtiles", diff --git a/tests/muni/out/-Z11_-z13_-Bf2000.json b/tests/muni/out/-Z11_-z13_-Bf2000.json index 8ff048bb..f936e53f 100644 --- a/tests/muni/out/-Z11_-z13_-Bf2000.json +++ b/tests/muni/out/-Z11_-z13_-Bf2000.json @@ -3,7 +3,7 @@ "center": "-122.409668,37.770713,13", "description": "tests/muni/out/-Z11_-z13_-Bf2000.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"muni\",\"count\": 4592,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 1000,\"type\": \"string\",\"values\": [\" 4th St & Brannan St\",\" Conzelman Rd & Mccullough Rd\",\"100 O'Shaughnessy Blvd\",\"101 Dakota St\",\"1095 CONNECTICUT ST\",\"10th Ave & Ortega St\",\"10th Ave & Pacheco St\",\"10th Ave & Quintara St\",\"1100 Lake Merced Blvd\",\"115 TELEGRAPH Hill Blvd\",\"117 Warren Dr\",\"11th St & Bryant St\",\"11th St & Folsom St\",\"11th St & Harrison St\",\"11th St & Howard St\",\"11th St & Market St\",\"11th St & Mission St\",\"11th St/btw Market & Mission\",\"120 Portola Dr\",\"126 Miraloma Dr\",\"13th St & Gateview Ave\",\"14 Dakota St\",\"14th Avenue & Geary Boulevard\",\"14th Ave & Quintara St\",\"14th Ave & Santiago St\",\"14th Ave & Taraval St\",\"14th Ave & Ulloa St\",\"14th St & Alpine Ter\",\"14th St & Castro St\",\"14th St & Church St\",\"14th St & Mission St\",\"14th St & Noe St\",\"14th St & SANCHEZ ST\",\"14th St & Sanchez St\",\"150 Otis St\",\"15th Ave & Noriega St\",\"15th Ave & Ortega St\",\"15th Ave & Pacheco St\",\"15th Ave & Quintara St\",\"15th Ave & Taraval St\",\"15th Ave & Ulloa St\",\"15th Ave & West Portal Ave\",\"15th St & Mission St\",\"16 th St & South Van Ness\",\"164 Addison St\",\"1650 Geneva Ave\",\"1697 7th Ave\",\"16th Ave & Lawton St\",\"16th Ave & Lomita Ave\",\"16th Ave & Moraga St\",\"16th Ave & Noriega St\",\"16th Ave & Ortega St\",\"16th Ave & Pacheco St\",\"16th Avenue at Lawton Street\",\"16th St & 4th St\",\"16th St & Bryant St\",\"16th St & Church St\",\"16th St & Dolores St\",\"16th St & Folsom St\",\"16th St & Guerrero St\",\"16th St & Harrison St\",\"16th St & Kansas St\",\"16th St & Mission St\",\"16th St & Missouri St\",\"16th St & Potrero Ave\",\"16th St & San Bruno Ave\",\"16th St & Shotwell St\",\"16th St & South Van Ness\",\"16th St & Valencia St\",\"16th St & Vermont St\",\"16th St & Wisconsin St\",\"16th St& Rhode Island St\",\"16th Street & 4th Street\",\"16th Street & Missouri St\",\"16th Street & Rhode Islandi St\",\"16th Street & Wisconsin St\",\"170 Buckingham Way\",\"1701 Geneva Ave\",\"1721 Geneva Ave\",\"1725 Sunnydale Ave\",\"1730 3rd St\",\"1731 3RD ST\",\"1750 Geneva Ave\",\"176 Rhode Island St\",\"1798 Laguna Honda Blvd\",\"17TH ST & KANSAS ST\",\"17th Ave & Quintara St\",\"17th Ave & Rivera St\",\"17th Ave & Santiago St\",\"17th St & Belvedere St\",\"17th St & Castro St\",\"17th St & Clayton St\",\"17th St & Cole St\",\"17th St & De Haro St\",\"17th St & Diamond St\",\"17th St & Kansas St\",\"17th St & Noe St\",\"17th St & Wisconsin St\",\"1800 Sunnydale Ave\",\"18th St & 3rd St\"]}]},{\"layer\": \"subway\",\"count\": 19,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 18,\"type\": \"string\",\"values\": [\"Metro Castro Station/Downtown\",\"Metro Castro Station/Outbound\",\"Metro Church Station/Downtown\",\"Metro Church Station/Outbound\",\"Metro Civic Center Station/Downtn\",\"Metro Civic Center Station/Downtown\",\"Metro Civic Center Station/Outbd\",\"Metro Embarcadero Station\",\"Metro Embarcadero Station/Downtown\",\"Metro Forest Hill Station/Downtown\",\"Metro Montgomery Station/Downtown\",\"Metro Montgomery Station/Outbound\",\"Metro Powell Station/Downtown\",\"Metro Powell Station/Outbound\",\"Metro Van Ness Station\",\"Metro Van Ness Station/Downtown\",\"Metro Van Ness Station/Outbound\",\"Van Ness Station Outbound\"]}]}]}}", "maxzoom": "13", "minzoom": "11", "name": "tests/muni/out/-Z11_-z13_-Bf2000.json.check.mbtiles", diff --git a/tests/muni/out/-Z11_-z13_-M10000.json b/tests/muni/out/-Z11_-z13_-M10000.json index 211481c0..500bb1c4 100644 --- a/tests/muni/out/-Z11_-z13_-M10000.json +++ b/tests/muni/out/-Z11_-z13_-M10000.json @@ -3,7 +3,7 @@ "center": "-122.409668,37.770713,13", "description": "tests/muni/out/-Z11_-z13_-M10000.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"muni\",\"count\": 4592,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 1000,\"type\": \"string\",\"values\": [\" 4th St & Brannan St\",\" Conzelman Rd & Mccullough Rd\",\"100 O'Shaughnessy Blvd\",\"101 Dakota St\",\"1095 CONNECTICUT ST\",\"10th Ave & Ortega St\",\"10th Ave & Pacheco St\",\"10th Ave & Quintara St\",\"1100 Lake Merced Blvd\",\"115 TELEGRAPH Hill Blvd\",\"117 Warren Dr\",\"11th St & Bryant St\",\"11th St & Folsom St\",\"11th St & Harrison St\",\"11th St & Howard St\",\"11th St & Market St\",\"11th St & Mission St\",\"11th St/btw Market & Mission\",\"120 Portola Dr\",\"126 Miraloma Dr\",\"13th St & Gateview Ave\",\"14 Dakota St\",\"14th Avenue & Geary Boulevard\",\"14th Ave & Quintara St\",\"14th Ave & Santiago St\",\"14th Ave & Taraval St\",\"14th Ave & Ulloa St\",\"14th St & Alpine Ter\",\"14th St & Castro St\",\"14th St & Church St\",\"14th St & Mission St\",\"14th St & Noe St\",\"14th St & SANCHEZ ST\",\"14th St & Sanchez St\",\"150 Otis St\",\"15th Ave & Noriega St\",\"15th Ave & Ortega St\",\"15th Ave & Pacheco St\",\"15th Ave & Quintara St\",\"15th Ave & Taraval St\",\"15th Ave & Ulloa St\",\"15th Ave & West Portal Ave\",\"15th St & Mission St\",\"16 th St & South Van Ness\",\"164 Addison St\",\"1650 Geneva Ave\",\"1697 7th Ave\",\"16th Ave & Lawton St\",\"16th Ave & Lomita Ave\",\"16th Ave & Moraga St\",\"16th Ave & Noriega St\",\"16th Ave & Ortega St\",\"16th Ave & Pacheco St\",\"16th Avenue at Lawton Street\",\"16th St & 4th St\",\"16th St & Bryant St\",\"16th St & Church St\",\"16th St & Dolores St\",\"16th St & Folsom St\",\"16th St & Guerrero St\",\"16th St & Harrison St\",\"16th St & Kansas St\",\"16th St & Mission St\",\"16th St & Missouri St\",\"16th St & Potrero Ave\",\"16th St & San Bruno Ave\",\"16th St & Shotwell St\",\"16th St & South Van Ness\",\"16th St & Valencia St\",\"16th St & Vermont St\",\"16th St & Wisconsin St\",\"16th St& Rhode Island St\",\"16th Street & 4th Street\",\"16th Street & Missouri St\",\"16th Street & Rhode Islandi St\",\"16th Street & Wisconsin St\",\"170 Buckingham Way\",\"1701 Geneva Ave\",\"1721 Geneva Ave\",\"1725 Sunnydale Ave\",\"1730 3rd St\",\"1731 3RD ST\",\"1750 Geneva Ave\",\"176 Rhode Island St\",\"1798 Laguna Honda Blvd\",\"17TH ST & KANSAS ST\",\"17th Ave & Quintara St\",\"17th Ave & Rivera St\",\"17th Ave & Santiago St\",\"17th St & Belvedere St\",\"17th St & Castro St\",\"17th St & Clayton St\",\"17th St & Cole St\",\"17th St & De Haro St\",\"17th St & Diamond St\",\"17th St & Kansas St\",\"17th St & Noe St\",\"17th St & Wisconsin St\",\"1800 Sunnydale Ave\",\"18th St & 3rd St\"]}]},{\"layer\": \"subway\",\"count\": 19,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 18,\"type\": \"string\",\"values\": [\"Metro Castro Station/Downtown\",\"Metro Castro Station/Outbound\",\"Metro Church Station/Downtown\",\"Metro Church Station/Outbound\",\"Metro Civic Center Station/Downtn\",\"Metro Civic Center Station/Downtown\",\"Metro Civic Center Station/Outbd\",\"Metro Embarcadero Station\",\"Metro Embarcadero Station/Downtown\",\"Metro Forest Hill Station/Downtown\",\"Metro Montgomery Station/Downtown\",\"Metro Montgomery Station/Outbound\",\"Metro Powell Station/Downtown\",\"Metro Powell Station/Outbound\",\"Metro Van Ness Station\",\"Metro Van Ness Station/Downtown\",\"Metro Van Ness Station/Outbound\",\"Van Ness Station Outbound\"]}]}]}}", "maxzoom": "13", "minzoom": "11", "name": "tests/muni/out/-Z11_-z13_-M10000.json.check.mbtiles", diff --git a/tests/muni/out/-Z11_-z13_-M10000_-aG.json b/tests/muni/out/-Z11_-z13_-M10000_-aG.json index b205b068..d58c5142 100644 --- a/tests/muni/out/-Z11_-z13_-M10000_-aG.json +++ b/tests/muni/out/-Z11_-z13_-M10000_-aG.json @@ -3,7 +3,7 @@ "center": "-122.409668,37.770713,13", "description": "tests/muni/out/-Z11_-z13_-M10000_-aG.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"muni\",\"count\": 4592,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 1000,\"type\": \"string\",\"values\": [\" 4th St & Brannan St\",\" Conzelman Rd & Mccullough Rd\",\"100 O'Shaughnessy Blvd\",\"101 Dakota St\",\"1095 CONNECTICUT ST\",\"10th Ave & Ortega St\",\"10th Ave & Pacheco St\",\"10th Ave & Quintara St\",\"1100 Lake Merced Blvd\",\"115 TELEGRAPH Hill Blvd\",\"117 Warren Dr\",\"11th St & Bryant St\",\"11th St & Folsom St\",\"11th St & Harrison St\",\"11th St & Howard St\",\"11th St & Market St\",\"11th St & Mission St\",\"11th St/btw Market & Mission\",\"120 Portola Dr\",\"126 Miraloma Dr\",\"13th St & Gateview Ave\",\"14 Dakota St\",\"14th Avenue & Geary Boulevard\",\"14th Ave & Quintara St\",\"14th Ave & Santiago St\",\"14th Ave & Taraval St\",\"14th Ave & Ulloa St\",\"14th St & Alpine Ter\",\"14th St & Castro St\",\"14th St & Church St\",\"14th St & Mission St\",\"14th St & Noe St\",\"14th St & SANCHEZ ST\",\"14th St & Sanchez St\",\"150 Otis St\",\"15th Ave & Noriega St\",\"15th Ave & Ortega St\",\"15th Ave & Pacheco St\",\"15th Ave & Quintara St\",\"15th Ave & Taraval St\",\"15th Ave & Ulloa St\",\"15th Ave & West Portal Ave\",\"15th St & Mission St\",\"16 th St & South Van Ness\",\"164 Addison St\",\"1650 Geneva Ave\",\"1697 7th Ave\",\"16th Ave & Lawton St\",\"16th Ave & Lomita Ave\",\"16th Ave & Moraga St\",\"16th Ave & Noriega St\",\"16th Ave & Ortega St\",\"16th Ave & Pacheco St\",\"16th Avenue at Lawton Street\",\"16th St & 4th St\",\"16th St & Bryant St\",\"16th St & Church St\",\"16th St & Dolores St\",\"16th St & Folsom St\",\"16th St & Guerrero St\",\"16th St & Harrison St\",\"16th St & Kansas St\",\"16th St & Mission St\",\"16th St & Missouri St\",\"16th St & Potrero Ave\",\"16th St & San Bruno Ave\",\"16th St & Shotwell St\",\"16th St & South Van Ness\",\"16th St & Valencia St\",\"16th St & Vermont St\",\"16th St & Wisconsin St\",\"16th St& Rhode Island St\",\"16th Street & 4th Street\",\"16th Street & Missouri St\",\"16th Street & Rhode Islandi St\",\"16th Street & Wisconsin St\",\"170 Buckingham Way\",\"1701 Geneva Ave\",\"1721 Geneva Ave\",\"1725 Sunnydale Ave\",\"1730 3rd St\",\"1731 3RD ST\",\"1750 Geneva Ave\",\"176 Rhode Island St\",\"1798 Laguna Honda Blvd\",\"17TH ST & KANSAS ST\",\"17th Ave & Quintara St\",\"17th Ave & Rivera St\",\"17th Ave & Santiago St\",\"17th St & Belvedere St\",\"17th St & Castro St\",\"17th St & Clayton St\",\"17th St & Cole St\",\"17th St & De Haro St\",\"17th St & Diamond St\",\"17th St & Kansas St\",\"17th St & Noe St\",\"17th St & Wisconsin St\",\"1800 Sunnydale Ave\",\"18th St & 3rd St\"]}]},{\"layer\": \"subway\",\"count\": 19,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 18,\"type\": \"string\",\"values\": [\"Metro Castro Station/Downtown\",\"Metro Castro Station/Outbound\",\"Metro Church Station/Downtown\",\"Metro Church Station/Outbound\",\"Metro Civic Center Station/Downtn\",\"Metro Civic Center Station/Downtown\",\"Metro Civic Center Station/Outbd\",\"Metro Embarcadero Station\",\"Metro Embarcadero Station/Downtown\",\"Metro Forest Hill Station/Downtown\",\"Metro Montgomery Station/Downtown\",\"Metro Montgomery Station/Outbound\",\"Metro Powell Station/Downtown\",\"Metro Powell Station/Outbound\",\"Metro Van Ness Station\",\"Metro Van Ness Station/Downtown\",\"Metro Van Ness Station/Outbound\",\"Van Ness Station Outbound\"]}]}]}}", "maxzoom": "13", "minzoom": "11", "name": "tests/muni/out/-Z11_-z13_-M10000_-aG.json.check.mbtiles", diff --git a/tests/muni/out/-Z11_-z13_-M10000_-ad.json b/tests/muni/out/-Z11_-z13_-M10000_-ad.json index 9a2c1b3c..f40cadfe 100644 --- a/tests/muni/out/-Z11_-z13_-M10000_-ad.json +++ b/tests/muni/out/-Z11_-z13_-M10000_-ad.json @@ -3,7 +3,7 @@ "center": "-122.409668,37.770713,13", "description": "tests/muni/out/-Z11_-z13_-M10000_-ad.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"muni\",\"count\": 4592,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 1000,\"type\": \"string\",\"values\": [\" 4th St & Brannan St\",\" Conzelman Rd & Mccullough Rd\",\"100 O'Shaughnessy Blvd\",\"101 Dakota St\",\"1095 CONNECTICUT ST\",\"10th Ave & Ortega St\",\"10th Ave & Pacheco St\",\"10th Ave & Quintara St\",\"1100 Lake Merced Blvd\",\"115 TELEGRAPH Hill Blvd\",\"117 Warren Dr\",\"11th St & Bryant St\",\"11th St & Folsom St\",\"11th St & Harrison St\",\"11th St & Howard St\",\"11th St & Market St\",\"11th St & Mission St\",\"11th St/btw Market & Mission\",\"120 Portola Dr\",\"126 Miraloma Dr\",\"13th St & Gateview Ave\",\"14 Dakota St\",\"14th Avenue & Geary Boulevard\",\"14th Ave & Quintara St\",\"14th Ave & Santiago St\",\"14th Ave & Taraval St\",\"14th Ave & Ulloa St\",\"14th St & Alpine Ter\",\"14th St & Castro St\",\"14th St & Church St\",\"14th St & Mission St\",\"14th St & Noe St\",\"14th St & SANCHEZ ST\",\"14th St & Sanchez St\",\"150 Otis St\",\"15th Ave & Noriega St\",\"15th Ave & Ortega St\",\"15th Ave & Pacheco St\",\"15th Ave & Quintara St\",\"15th Ave & Taraval St\",\"15th Ave & Ulloa St\",\"15th Ave & West Portal Ave\",\"15th St & Mission St\",\"16 th St & South Van Ness\",\"164 Addison St\",\"1650 Geneva Ave\",\"1697 7th Ave\",\"16th Ave & Lawton St\",\"16th Ave & Lomita Ave\",\"16th Ave & Moraga St\",\"16th Ave & Noriega St\",\"16th Ave & Ortega St\",\"16th Ave & Pacheco St\",\"16th Avenue at Lawton Street\",\"16th St & 4th St\",\"16th St & Bryant St\",\"16th St & Church St\",\"16th St & Dolores St\",\"16th St & Folsom St\",\"16th St & Guerrero St\",\"16th St & Harrison St\",\"16th St & Kansas St\",\"16th St & Mission St\",\"16th St & Missouri St\",\"16th St & Potrero Ave\",\"16th St & San Bruno Ave\",\"16th St & Shotwell St\",\"16th St & South Van Ness\",\"16th St & Valencia St\",\"16th St & Vermont St\",\"16th St & Wisconsin St\",\"16th St& Rhode Island St\",\"16th Street & 4th Street\",\"16th Street & Missouri St\",\"16th Street & Rhode Islandi St\",\"16th Street & Wisconsin St\",\"170 Buckingham Way\",\"1701 Geneva Ave\",\"1721 Geneva Ave\",\"1725 Sunnydale Ave\",\"1730 3rd St\",\"1731 3RD ST\",\"1750 Geneva Ave\",\"176 Rhode Island St\",\"1798 Laguna Honda Blvd\",\"17TH ST & KANSAS ST\",\"17th Ave & Quintara St\",\"17th Ave & Rivera St\",\"17th Ave & Santiago St\",\"17th St & Belvedere St\",\"17th St & Castro St\",\"17th St & Clayton St\",\"17th St & Cole St\",\"17th St & De Haro St\",\"17th St & Diamond St\",\"17th St & Kansas St\",\"17th St & Noe St\",\"17th St & Wisconsin St\",\"1800 Sunnydale Ave\",\"18th St & 3rd St\"]}]},{\"layer\": \"subway\",\"count\": 19,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 18,\"type\": \"string\",\"values\": [\"Metro Castro Station/Downtown\",\"Metro Castro Station/Outbound\",\"Metro Church Station/Downtown\",\"Metro Church Station/Outbound\",\"Metro Civic Center Station/Downtn\",\"Metro Civic Center Station/Downtown\",\"Metro Civic Center Station/Outbd\",\"Metro Embarcadero Station\",\"Metro Embarcadero Station/Downtown\",\"Metro Forest Hill Station/Downtown\",\"Metro Montgomery Station/Downtown\",\"Metro Montgomery Station/Outbound\",\"Metro Powell Station/Downtown\",\"Metro Powell Station/Outbound\",\"Metro Van Ness Station\",\"Metro Van Ness Station/Downtown\",\"Metro Van Ness Station/Outbound\",\"Van Ness Station Outbound\"]}]}]}}", "maxzoom": "13", "minzoom": "11", "name": "tests/muni/out/-Z11_-z13_-M10000_-ad.json.check.mbtiles", diff --git a/tests/muni/out/-Z11_-z13_-M10000_-pd.json b/tests/muni/out/-Z11_-z13_-M10000_-pd.json index b38fb8c9..b8a33b4f 100644 --- a/tests/muni/out/-Z11_-z13_-M10000_-pd.json +++ b/tests/muni/out/-Z11_-z13_-M10000_-pd.json @@ -3,7 +3,7 @@ "center": "-122.409668,37.770713,13", "description": "tests/muni/out/-Z11_-z13_-M10000_-pd.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"muni\",\"count\": 4592,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 1000,\"type\": \"string\",\"values\": [\" 4th St & Brannan St\",\" Conzelman Rd & Mccullough Rd\",\"100 O'Shaughnessy Blvd\",\"101 Dakota St\",\"1095 CONNECTICUT ST\",\"10th Ave & Ortega St\",\"10th Ave & Pacheco St\",\"10th Ave & Quintara St\",\"1100 Lake Merced Blvd\",\"115 TELEGRAPH Hill Blvd\",\"117 Warren Dr\",\"11th St & Bryant St\",\"11th St & Folsom St\",\"11th St & Harrison St\",\"11th St & Howard St\",\"11th St & Market St\",\"11th St & Mission St\",\"11th St/btw Market & Mission\",\"120 Portola Dr\",\"126 Miraloma Dr\",\"13th St & Gateview Ave\",\"14 Dakota St\",\"14th Avenue & Geary Boulevard\",\"14th Ave & Quintara St\",\"14th Ave & Santiago St\",\"14th Ave & Taraval St\",\"14th Ave & Ulloa St\",\"14th St & Alpine Ter\",\"14th St & Castro St\",\"14th St & Church St\",\"14th St & Mission St\",\"14th St & Noe St\",\"14th St & SANCHEZ ST\",\"14th St & Sanchez St\",\"150 Otis St\",\"15th Ave & Noriega St\",\"15th Ave & Ortega St\",\"15th Ave & Pacheco St\",\"15th Ave & Quintara St\",\"15th Ave & Taraval St\",\"15th Ave & Ulloa St\",\"15th Ave & West Portal Ave\",\"15th St & Mission St\",\"16 th St & South Van Ness\",\"164 Addison St\",\"1650 Geneva Ave\",\"1697 7th Ave\",\"16th Ave & Lawton St\",\"16th Ave & Lomita Ave\",\"16th Ave & Moraga St\",\"16th Ave & Noriega St\",\"16th Ave & Ortega St\",\"16th Ave & Pacheco St\",\"16th Avenue at Lawton Street\",\"16th St & 4th St\",\"16th St & Bryant St\",\"16th St & Church St\",\"16th St & Dolores St\",\"16th St & Folsom St\",\"16th St & Guerrero St\",\"16th St & Harrison St\",\"16th St & Kansas St\",\"16th St & Mission St\",\"16th St & Missouri St\",\"16th St & Potrero Ave\",\"16th St & San Bruno Ave\",\"16th St & Shotwell St\",\"16th St & South Van Ness\",\"16th St & Valencia St\",\"16th St & Vermont St\",\"16th St & Wisconsin St\",\"16th St& Rhode Island St\",\"16th Street & 4th Street\",\"16th Street & Missouri St\",\"16th Street & Rhode Islandi St\",\"16th Street & Wisconsin St\",\"170 Buckingham Way\",\"1701 Geneva Ave\",\"1721 Geneva Ave\",\"1725 Sunnydale Ave\",\"1730 3rd St\",\"1731 3RD ST\",\"1750 Geneva Ave\",\"176 Rhode Island St\",\"1798 Laguna Honda Blvd\",\"17TH ST & KANSAS ST\",\"17th Ave & Quintara St\",\"17th Ave & Rivera St\",\"17th Ave & Santiago St\",\"17th St & Belvedere St\",\"17th St & Castro St\",\"17th St & Clayton St\",\"17th St & Cole St\",\"17th St & De Haro St\",\"17th St & Diamond St\",\"17th St & Kansas St\",\"17th St & Noe St\",\"17th St & Wisconsin St\",\"1800 Sunnydale Ave\",\"18th St & 3rd St\"]}]},{\"layer\": \"subway\",\"count\": 19,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 18,\"type\": \"string\",\"values\": [\"Metro Castro Station/Downtown\",\"Metro Castro Station/Outbound\",\"Metro Church Station/Downtown\",\"Metro Church Station/Outbound\",\"Metro Civic Center Station/Downtn\",\"Metro Civic Center Station/Downtown\",\"Metro Civic Center Station/Outbd\",\"Metro Embarcadero Station\",\"Metro Embarcadero Station/Downtown\",\"Metro Forest Hill Station/Downtown\",\"Metro Montgomery Station/Downtown\",\"Metro Montgomery Station/Outbound\",\"Metro Powell Station/Downtown\",\"Metro Powell Station/Outbound\",\"Metro Van Ness Station\",\"Metro Van Ness Station/Downtown\",\"Metro Van Ness Station/Outbound\",\"Van Ness Station Outbound\"]}]}]}}", "maxzoom": "13", "minzoom": "11", "name": "tests/muni/out/-Z11_-z13_-M10000_-pd.json.check.mbtiles", diff --git a/tests/muni/out/-Z11_-z13_-M5000_-as.json b/tests/muni/out/-Z11_-z13_-M5000_-as.json index 91d55479..c3c157d2 100644 --- a/tests/muni/out/-Z11_-z13_-M5000_-as.json +++ b/tests/muni/out/-Z11_-z13_-M5000_-as.json @@ -3,7 +3,7 @@ "center": "-122.497559,37.770713,13", "description": "tests/muni/out/-Z11_-z13_-M5000_-as.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"muni\",\"count\": 4592,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 1000,\"type\": \"string\",\"values\": [\" 4th St & Brannan St\",\" Conzelman Rd & Mccullough Rd\",\"100 O'Shaughnessy Blvd\",\"101 Dakota St\",\"1095 CONNECTICUT ST\",\"10th Ave & Ortega St\",\"10th Ave & Pacheco St\",\"10th Ave & Quintara St\",\"1100 Lake Merced Blvd\",\"115 TELEGRAPH Hill Blvd\",\"117 Warren Dr\",\"11th St & Bryant St\",\"11th St & Folsom St\",\"11th St & Harrison St\",\"11th St & Howard St\",\"11th St & Market St\",\"11th St & Mission St\",\"11th St/btw Market & Mission\",\"120 Portola Dr\",\"126 Miraloma Dr\",\"13th St & Gateview Ave\",\"14 Dakota St\",\"14th Avenue & Geary Boulevard\",\"14th Ave & Quintara St\",\"14th Ave & Santiago St\",\"14th Ave & Taraval St\",\"14th Ave & Ulloa St\",\"14th St & Alpine Ter\",\"14th St & Castro St\",\"14th St & Church St\",\"14th St & Mission St\",\"14th St & Noe St\",\"14th St & SANCHEZ ST\",\"14th St & Sanchez St\",\"150 Otis St\",\"15th Ave & Noriega St\",\"15th Ave & Ortega St\",\"15th Ave & Pacheco St\",\"15th Ave & Quintara St\",\"15th Ave & Taraval St\",\"15th Ave & Ulloa St\",\"15th Ave & West Portal Ave\",\"15th St & Mission St\",\"16 th St & South Van Ness\",\"164 Addison St\",\"1650 Geneva Ave\",\"1697 7th Ave\",\"16th Ave & Lawton St\",\"16th Ave & Lomita Ave\",\"16th Ave & Moraga St\",\"16th Ave & Noriega St\",\"16th Ave & Ortega St\",\"16th Ave & Pacheco St\",\"16th Avenue at Lawton Street\",\"16th St & 4th St\",\"16th St & Bryant St\",\"16th St & Church St\",\"16th St & Dolores St\",\"16th St & Folsom St\",\"16th St & Guerrero St\",\"16th St & Harrison St\",\"16th St & Kansas St\",\"16th St & Mission St\",\"16th St & Missouri St\",\"16th St & Potrero Ave\",\"16th St & San Bruno Ave\",\"16th St & Shotwell St\",\"16th St & South Van Ness\",\"16th St & Valencia St\",\"16th St & Vermont St\",\"16th St & Wisconsin St\",\"16th St& Rhode Island St\",\"16th Street & 4th Street\",\"16th Street & Missouri St\",\"16th Street & Rhode Islandi St\",\"16th Street & Wisconsin St\",\"170 Buckingham Way\",\"1701 Geneva Ave\",\"1721 Geneva Ave\",\"1725 Sunnydale Ave\",\"1730 3rd St\",\"1731 3RD ST\",\"1750 Geneva Ave\",\"176 Rhode Island St\",\"1798 Laguna Honda Blvd\",\"17TH ST & KANSAS ST\",\"17th Ave & Quintara St\",\"17th Ave & Rivera St\",\"17th Ave & Santiago St\",\"17th St & Belvedere St\",\"17th St & Castro St\",\"17th St & Clayton St\",\"17th St & Cole St\",\"17th St & De Haro St\",\"17th St & Diamond St\",\"17th St & Kansas St\",\"17th St & Noe St\",\"17th St & Wisconsin St\",\"1800 Sunnydale Ave\",\"18th St & 3rd St\"]}]},{\"layer\": \"subway\",\"count\": 19,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 18,\"type\": \"string\",\"values\": [\"Metro Castro Station/Downtown\",\"Metro Castro Station/Outbound\",\"Metro Church Station/Downtown\",\"Metro Church Station/Outbound\",\"Metro Civic Center Station/Downtn\",\"Metro Civic Center Station/Downtown\",\"Metro Civic Center Station/Outbd\",\"Metro Embarcadero Station\",\"Metro Embarcadero Station/Downtown\",\"Metro Forest Hill Station/Downtown\",\"Metro Montgomery Station/Downtown\",\"Metro Montgomery Station/Outbound\",\"Metro Powell Station/Downtown\",\"Metro Powell Station/Outbound\",\"Metro Van Ness Station\",\"Metro Van Ness Station/Downtown\",\"Metro Van Ness Station/Outbound\",\"Van Ness Station Outbound\"]}]}]}}", "maxzoom": "13", "minzoom": "11", "name": "tests/muni/out/-Z11_-z13_-M5000_-as.json.check.mbtiles", diff --git a/tests/muni/out/-Z11_-z13_-rf2000.json b/tests/muni/out/-Z11_-z13_-rf2000.json index 27e108c4..efa11023 100644 --- a/tests/muni/out/-Z11_-z13_-rf2000.json +++ b/tests/muni/out/-Z11_-z13_-rf2000.json @@ -3,7 +3,7 @@ "center": "-122.409668,37.770713,13", "description": "tests/muni/out/-Z11_-z13_-rf2000.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"muni\",\"count\": 4592,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 1000,\"type\": \"string\",\"values\": [\" 4th St & Brannan St\",\" Conzelman Rd & Mccullough Rd\",\"100 O'Shaughnessy Blvd\",\"101 Dakota St\",\"1095 CONNECTICUT ST\",\"10th Ave & Ortega St\",\"10th Ave & Pacheco St\",\"10th Ave & Quintara St\",\"1100 Lake Merced Blvd\",\"115 TELEGRAPH Hill Blvd\",\"117 Warren Dr\",\"11th St & Bryant St\",\"11th St & Folsom St\",\"11th St & Harrison St\",\"11th St & Howard St\",\"11th St & Market St\",\"11th St & Mission St\",\"11th St/btw Market & Mission\",\"120 Portola Dr\",\"126 Miraloma Dr\",\"13th St & Gateview Ave\",\"14 Dakota St\",\"14th Avenue & Geary Boulevard\",\"14th Ave & Quintara St\",\"14th Ave & Santiago St\",\"14th Ave & Taraval St\",\"14th Ave & Ulloa St\",\"14th St & Alpine Ter\",\"14th St & Castro St\",\"14th St & Church St\",\"14th St & Mission St\",\"14th St & Noe St\",\"14th St & SANCHEZ ST\",\"14th St & Sanchez St\",\"150 Otis St\",\"15th Ave & Noriega St\",\"15th Ave & Ortega St\",\"15th Ave & Pacheco St\",\"15th Ave & Quintara St\",\"15th Ave & Taraval St\",\"15th Ave & Ulloa St\",\"15th Ave & West Portal Ave\",\"15th St & Mission St\",\"16 th St & South Van Ness\",\"164 Addison St\",\"1650 Geneva Ave\",\"1697 7th Ave\",\"16th Ave & Lawton St\",\"16th Ave & Lomita Ave\",\"16th Ave & Moraga St\",\"16th Ave & Noriega St\",\"16th Ave & Ortega St\",\"16th Ave & Pacheco St\",\"16th Avenue at Lawton Street\",\"16th St & 4th St\",\"16th St & Bryant St\",\"16th St & Church St\",\"16th St & Dolores St\",\"16th St & Folsom St\",\"16th St & Guerrero St\",\"16th St & Harrison St\",\"16th St & Kansas St\",\"16th St & Mission St\",\"16th St & Missouri St\",\"16th St & Potrero Ave\",\"16th St & San Bruno Ave\",\"16th St & Shotwell St\",\"16th St & South Van Ness\",\"16th St & Valencia St\",\"16th St & Vermont St\",\"16th St & Wisconsin St\",\"16th St& Rhode Island St\",\"16th Street & 4th Street\",\"16th Street & Missouri St\",\"16th Street & Rhode Islandi St\",\"16th Street & Wisconsin St\",\"170 Buckingham Way\",\"1701 Geneva Ave\",\"1721 Geneva Ave\",\"1725 Sunnydale Ave\",\"1730 3rd St\",\"1731 3RD ST\",\"1750 Geneva Ave\",\"176 Rhode Island St\",\"1798 Laguna Honda Blvd\",\"17TH ST & KANSAS ST\",\"17th Ave & Quintara St\",\"17th Ave & Rivera St\",\"17th Ave & Santiago St\",\"17th St & Belvedere St\",\"17th St & Castro St\",\"17th St & Clayton St\",\"17th St & Cole St\",\"17th St & De Haro St\",\"17th St & Diamond St\",\"17th St & Kansas St\",\"17th St & Noe St\",\"17th St & Wisconsin St\",\"1800 Sunnydale Ave\",\"18th St & 3rd St\"]}]},{\"layer\": \"subway\",\"count\": 19,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 18,\"type\": \"string\",\"values\": [\"Metro Castro Station/Downtown\",\"Metro Castro Station/Outbound\",\"Metro Church Station/Downtown\",\"Metro Church Station/Outbound\",\"Metro Civic Center Station/Downtn\",\"Metro Civic Center Station/Downtown\",\"Metro Civic Center Station/Outbd\",\"Metro Embarcadero Station\",\"Metro Embarcadero Station/Downtown\",\"Metro Forest Hill Station/Downtown\",\"Metro Montgomery Station/Downtown\",\"Metro Montgomery Station/Outbound\",\"Metro Powell Station/Downtown\",\"Metro Powell Station/Outbound\",\"Metro Van Ness Station\",\"Metro Van Ness Station/Downtown\",\"Metro Van Ness Station/Outbound\",\"Van Ness Station Outbound\"]}]}]}}", "maxzoom": "13", "minzoom": "11", "name": "tests/muni/out/-Z11_-z13_-rf2000.json.check.mbtiles", diff --git a/tests/muni/out/-Z11_-z13_-rf2000_-Bg.json b/tests/muni/out/-Z11_-z13_-rf2000_-Bg.json index a45f6c19..ce74124a 100644 --- a/tests/muni/out/-Z11_-z13_-rf2000_-Bg.json +++ b/tests/muni/out/-Z11_-z13_-rf2000_-Bg.json @@ -3,7 +3,7 @@ "center": "-122.409668,37.770713,13", "description": "tests/muni/out/-Z11_-z13_-rf2000_-Bg.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"muni\",\"count\": 4592,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 1000,\"type\": \"string\",\"values\": [\" 4th St & Brannan St\",\" Conzelman Rd & Mccullough Rd\",\"100 O'Shaughnessy Blvd\",\"101 Dakota St\",\"1095 CONNECTICUT ST\",\"10th Ave & Ortega St\",\"10th Ave & Pacheco St\",\"10th Ave & Quintara St\",\"1100 Lake Merced Blvd\",\"115 TELEGRAPH Hill Blvd\",\"117 Warren Dr\",\"11th St & Bryant St\",\"11th St & Folsom St\",\"11th St & Harrison St\",\"11th St & Howard St\",\"11th St & Market St\",\"11th St & Mission St\",\"11th St/btw Market & Mission\",\"120 Portola Dr\",\"126 Miraloma Dr\",\"13th St & Gateview Ave\",\"14 Dakota St\",\"14th Avenue & Geary Boulevard\",\"14th Ave & Quintara St\",\"14th Ave & Santiago St\",\"14th Ave & Taraval St\",\"14th Ave & Ulloa St\",\"14th St & Alpine Ter\",\"14th St & Castro St\",\"14th St & Church St\",\"14th St & Mission St\",\"14th St & Noe St\",\"14th St & SANCHEZ ST\",\"14th St & Sanchez St\",\"150 Otis St\",\"15th Ave & Noriega St\",\"15th Ave & Ortega St\",\"15th Ave & Pacheco St\",\"15th Ave & Quintara St\",\"15th Ave & Taraval St\",\"15th Ave & Ulloa St\",\"15th Ave & West Portal Ave\",\"15th St & Mission St\",\"16 th St & South Van Ness\",\"164 Addison St\",\"1650 Geneva Ave\",\"1697 7th Ave\",\"16th Ave & Lawton St\",\"16th Ave & Lomita Ave\",\"16th Ave & Moraga St\",\"16th Ave & Noriega St\",\"16th Ave & Ortega St\",\"16th Ave & Pacheco St\",\"16th Avenue at Lawton Street\",\"16th St & 4th St\",\"16th St & Bryant St\",\"16th St & Church St\",\"16th St & Dolores St\",\"16th St & Folsom St\",\"16th St & Guerrero St\",\"16th St & Harrison St\",\"16th St & Kansas St\",\"16th St & Mission St\",\"16th St & Missouri St\",\"16th St & Potrero Ave\",\"16th St & San Bruno Ave\",\"16th St & Shotwell St\",\"16th St & South Van Ness\",\"16th St & Valencia St\",\"16th St & Vermont St\",\"16th St & Wisconsin St\",\"16th St& Rhode Island St\",\"16th Street & 4th Street\",\"16th Street & Missouri St\",\"16th Street & Rhode Islandi St\",\"16th Street & Wisconsin St\",\"170 Buckingham Way\",\"1701 Geneva Ave\",\"1721 Geneva Ave\",\"1725 Sunnydale Ave\",\"1730 3rd St\",\"1731 3RD ST\",\"1750 Geneva Ave\",\"176 Rhode Island St\",\"1798 Laguna Honda Blvd\",\"17TH ST & KANSAS ST\",\"17th Ave & Quintara St\",\"17th Ave & Rivera St\",\"17th Ave & Santiago St\",\"17th St & Belvedere St\",\"17th St & Castro St\",\"17th St & Clayton St\",\"17th St & Cole St\",\"17th St & De Haro St\",\"17th St & Diamond St\",\"17th St & Kansas St\",\"17th St & Noe St\",\"17th St & Wisconsin St\",\"1800 Sunnydale Ave\",\"18th St & 3rd St\"]}]},{\"layer\": \"subway\",\"count\": 19,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 18,\"type\": \"string\",\"values\": [\"Metro Castro Station/Downtown\",\"Metro Castro Station/Outbound\",\"Metro Church Station/Downtown\",\"Metro Church Station/Outbound\",\"Metro Civic Center Station/Downtn\",\"Metro Civic Center Station/Downtown\",\"Metro Civic Center Station/Outbd\",\"Metro Embarcadero Station\",\"Metro Embarcadero Station/Downtown\",\"Metro Forest Hill Station/Downtown\",\"Metro Montgomery Station/Downtown\",\"Metro Montgomery Station/Outbound\",\"Metro Powell Station/Downtown\",\"Metro Powell Station/Outbound\",\"Metro Van Ness Station\",\"Metro Van Ness Station/Downtown\",\"Metro Van Ness Station/Outbound\",\"Van Ness Station Outbound\"]}]}]}}", "maxzoom": "13", "minzoom": "11", "name": "tests/muni/out/-Z11_-z13_-rf2000_-Bg.json.check.mbtiles", diff --git a/tests/muni/out/-Z11_-z13_-rf2000_-g2.json b/tests/muni/out/-Z11_-z13_-rf2000_-g2.json index 4238a398..9bd8dac7 100644 --- a/tests/muni/out/-Z11_-z13_-rf2000_-g2.json +++ b/tests/muni/out/-Z11_-z13_-rf2000_-g2.json @@ -3,7 +3,7 @@ "center": "-122.409668,37.770713,13", "description": "tests/muni/out/-Z11_-z13_-rf2000_-g2.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 11, \"maxzoom\": 13, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"muni\",\"count\": 4592,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 1000,\"type\": \"string\",\"values\": [\" 4th St & Brannan St\",\" Conzelman Rd & Mccullough Rd\",\"100 O'Shaughnessy Blvd\",\"101 Dakota St\",\"1095 CONNECTICUT ST\",\"10th Ave & Ortega St\",\"10th Ave & Pacheco St\",\"10th Ave & Quintara St\",\"1100 Lake Merced Blvd\",\"115 TELEGRAPH Hill Blvd\",\"117 Warren Dr\",\"11th St & Bryant St\",\"11th St & Folsom St\",\"11th St & Harrison St\",\"11th St & Howard St\",\"11th St & Market St\",\"11th St & Mission St\",\"11th St/btw Market & Mission\",\"120 Portola Dr\",\"126 Miraloma Dr\",\"13th St & Gateview Ave\",\"14 Dakota St\",\"14th Avenue & Geary Boulevard\",\"14th Ave & Quintara St\",\"14th Ave & Santiago St\",\"14th Ave & Taraval St\",\"14th Ave & Ulloa St\",\"14th St & Alpine Ter\",\"14th St & Castro St\",\"14th St & Church St\",\"14th St & Mission St\",\"14th St & Noe St\",\"14th St & SANCHEZ ST\",\"14th St & Sanchez St\",\"150 Otis St\",\"15th Ave & Noriega St\",\"15th Ave & Ortega St\",\"15th Ave & Pacheco St\",\"15th Ave & Quintara St\",\"15th Ave & Taraval St\",\"15th Ave & Ulloa St\",\"15th Ave & West Portal Ave\",\"15th St & Mission St\",\"16 th St & South Van Ness\",\"164 Addison St\",\"1650 Geneva Ave\",\"1697 7th Ave\",\"16th Ave & Lawton St\",\"16th Ave & Lomita Ave\",\"16th Ave & Moraga St\",\"16th Ave & Noriega St\",\"16th Ave & Ortega St\",\"16th Ave & Pacheco St\",\"16th Avenue at Lawton Street\",\"16th St & 4th St\",\"16th St & Bryant St\",\"16th St & Church St\",\"16th St & Dolores St\",\"16th St & Folsom St\",\"16th St & Guerrero St\",\"16th St & Harrison St\",\"16th St & Kansas St\",\"16th St & Mission St\",\"16th St & Missouri St\",\"16th St & Potrero Ave\",\"16th St & San Bruno Ave\",\"16th St & Shotwell St\",\"16th St & South Van Ness\",\"16th St & Valencia St\",\"16th St & Vermont St\",\"16th St & Wisconsin St\",\"16th St& Rhode Island St\",\"16th Street & 4th Street\",\"16th Street & Missouri St\",\"16th Street & Rhode Islandi St\",\"16th Street & Wisconsin St\",\"170 Buckingham Way\",\"1701 Geneva Ave\",\"1721 Geneva Ave\",\"1725 Sunnydale Ave\",\"1730 3rd St\",\"1731 3RD ST\",\"1750 Geneva Ave\",\"176 Rhode Island St\",\"1798 Laguna Honda Blvd\",\"17TH ST & KANSAS ST\",\"17th Ave & Quintara St\",\"17th Ave & Rivera St\",\"17th Ave & Santiago St\",\"17th St & Belvedere St\",\"17th St & Castro St\",\"17th St & Clayton St\",\"17th St & Cole St\",\"17th St & De Haro St\",\"17th St & Diamond St\",\"17th St & Kansas St\",\"17th St & Noe St\",\"17th St & Wisconsin St\",\"1800 Sunnydale Ave\",\"18th St & 3rd St\"]}]},{\"layer\": \"subway\",\"count\": 19,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 18,\"type\": \"string\",\"values\": [\"Metro Castro Station/Downtown\",\"Metro Castro Station/Outbound\",\"Metro Church Station/Downtown\",\"Metro Church Station/Outbound\",\"Metro Civic Center Station/Downtn\",\"Metro Civic Center Station/Downtown\",\"Metro Civic Center Station/Outbd\",\"Metro Embarcadero Station\",\"Metro Embarcadero Station/Downtown\",\"Metro Forest Hill Station/Downtown\",\"Metro Montgomery Station/Downtown\",\"Metro Montgomery Station/Outbound\",\"Metro Powell Station/Downtown\",\"Metro Powell Station/Outbound\",\"Metro Van Ness Station\",\"Metro Van Ness Station/Downtown\",\"Metro Van Ness Station/Outbound\",\"Van Ness Station Outbound\"]}]}]}}", "maxzoom": "13", "minzoom": "11", "name": "tests/muni/out/-Z11_-z13_-rf2000_-g2.json.check.mbtiles", diff --git a/tests/muni/out/-z1_-Z1_-ao_-P.json b/tests/muni/out/-z1_-Z1_-ao_-P.json index 7293af7f..78b0800e 100644 --- a/tests/muni/out/-z1_-Z1_-ao_-P.json +++ b/tests/muni/out/-z1_-Z1_-ao_-P.json @@ -3,7 +3,7 @@ "center": "-90.000000,37.836443,1", "description": "tests/muni/out/-z1_-Z1_-ao_-P.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 1, \"maxzoom\": 1, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 1, \"maxzoom\": 1, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"muni\", \"description\": \"\", \"minzoom\": 1, \"maxzoom\": 1, \"fields\": {\"name\": \"String\"} }, { \"id\": \"subway\", \"description\": \"\", \"minzoom\": 1, \"maxzoom\": 1, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"muni\",\"count\": 4592,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 1000,\"type\": \"string\",\"values\": [\" 4th St & Brannan St\",\" Conzelman Rd & Mccullough Rd\",\"100 O'Shaughnessy Blvd\",\"101 Dakota St\",\"1095 CONNECTICUT ST\",\"10th Ave & Ortega St\",\"10th Ave & Pacheco St\",\"10th Ave & Quintara St\",\"1100 Lake Merced Blvd\",\"115 TELEGRAPH Hill Blvd\",\"117 Warren Dr\",\"11th St & Bryant St\",\"11th St & Folsom St\",\"11th St & Harrison St\",\"11th St & Howard St\",\"11th St & Market St\",\"11th St & Mission St\",\"11th St/btw Market & Mission\",\"120 Portola Dr\",\"126 Miraloma Dr\",\"13th St & Gateview Ave\",\"14 Dakota St\",\"14th Avenue & Geary Boulevard\",\"14th Ave & Quintara St\",\"14th Ave & Santiago St\",\"14th Ave & Taraval St\",\"14th Ave & Ulloa St\",\"14th St & Alpine Ter\",\"14th St & Castro St\",\"14th St & Church St\",\"14th St & Mission St\",\"14th St & Noe St\",\"14th St & SANCHEZ ST\",\"14th St & Sanchez St\",\"150 Otis St\",\"15th Ave & Noriega St\",\"15th Ave & Ortega St\",\"15th Ave & Pacheco St\",\"15th Ave & Quintara St\",\"15th Ave & Taraval St\",\"15th Ave & Ulloa St\",\"15th Ave & West Portal Ave\",\"15th St & Mission St\",\"16 th St & South Van Ness\",\"164 Addison St\",\"1650 Geneva Ave\",\"1697 7th Ave\",\"16th Ave & Lawton St\",\"16th Ave & Lomita Ave\",\"16th Ave & Moraga St\",\"16th Ave & Noriega St\",\"16th Ave & Ortega St\",\"16th Ave & Pacheco St\",\"16th Avenue at Lawton Street\",\"16th St & 4th St\",\"16th St & Bryant St\",\"16th St & Church St\",\"16th St & Dolores St\",\"16th St & Folsom St\",\"16th St & Guerrero St\",\"16th St & Harrison St\",\"16th St & Kansas St\",\"16th St & Mission St\",\"16th St & Missouri St\",\"16th St & Potrero Ave\",\"16th St & San Bruno Ave\",\"16th St & Shotwell St\",\"16th St & South Van Ness\",\"16th St & Valencia St\",\"16th St & Vermont St\",\"16th St & Wisconsin St\",\"16th St& Rhode Island St\",\"16th Street & 4th Street\",\"16th Street & Missouri St\",\"16th Street & Rhode Islandi St\",\"16th Street & Wisconsin St\",\"170 Buckingham Way\",\"1701 Geneva Ave\",\"1721 Geneva Ave\",\"1725 Sunnydale Ave\",\"1730 3rd St\",\"1731 3RD ST\",\"1750 Geneva Ave\",\"176 Rhode Island St\",\"1798 Laguna Honda Blvd\",\"17TH ST & KANSAS ST\",\"17th Ave & Quintara St\",\"17th Ave & Rivera St\",\"17th Ave & Santiago St\",\"17th St & Belvedere St\",\"17th St & Castro St\",\"17th St & Clayton St\",\"17th St & Cole St\",\"17th St & De Haro St\",\"17th St & Diamond St\",\"17th St & Kansas St\",\"17th St & Noe St\",\"17th St & Wisconsin St\",\"1800 Sunnydale Ave\",\"18th St & 3rd St\"]}]},{\"layer\": \"subway\",\"count\": 19,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 18,\"type\": \"string\",\"values\": [\"Metro Castro Station/Downtown\",\"Metro Castro Station/Outbound\",\"Metro Church Station/Downtown\",\"Metro Church Station/Outbound\",\"Metro Civic Center Station/Downtn\",\"Metro Civic Center Station/Downtown\",\"Metro Civic Center Station/Outbd\",\"Metro Embarcadero Station\",\"Metro Embarcadero Station/Downtown\",\"Metro Forest Hill Station/Downtown\",\"Metro Montgomery Station/Downtown\",\"Metro Montgomery Station/Outbound\",\"Metro Powell Station/Downtown\",\"Metro Powell Station/Outbound\",\"Metro Van Ness Station\",\"Metro Van Ness Station/Downtown\",\"Metro Van Ness Station/Outbound\",\"Van Ness Station Outbound\"]}]}]}}", "maxzoom": "1", "minzoom": "1", "name": "tests/muni/out/-z1_-Z1_-ao_-P.json.check.mbtiles", diff --git a/tests/named/out/-z0_-Lalgeria@tests%named%alg_-Lalbania@tests%named%alb.json b/tests/named/out/-z0_-Lalgeria@tests%named%alg_-Lalbania@tests%named%alb.json index cbeef22e..99c8e02a 100644 --- a/tests/named/out/-z0_-Lalgeria@tests%named%alg_-Lalbania@tests%named%alb.json +++ b/tests/named/out/-z0_-Lalgeria@tests%named%alg_-Lalbania@tests%named%alb.json @@ -3,7 +3,7 @@ "center": "0.000000,18.975561,0", "description": "tests/named/out/-z0_-Lalgeria@tests%named%alg_-Lalbania@tests%named%alb.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"albania\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} }, { \"id\": \"algeria\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} }, { \"id\": \"sweden\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"albania\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} }, { \"id\": \"algeria\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} }, { \"id\": \"sweden\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 3,\"layers\": [{\"layer\": \"albania\",\"count\": 1,\"geometry\": \"Polygon\",\"attributeCount\": 57,\"attributes\": [{\"attribute\": \"abbrev\",\"count\": 1,\"type\": \"string\",\"values\": [\"Alb.\"]},{\"attribute\": \"abbrev_len\",\"count\": 1,\"type\": \"number\",\"values\": [4.000000],\"min\": 4.000000,\"max\": 4.000000},{\"attribute\": \"adm0_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"ALB\"]},{\"attribute\": \"adm0_a3_is\",\"count\": 1,\"type\": \"string\",\"values\": [\"ALB\"]},{\"attribute\": \"adm0_a3_un\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_a3_us\",\"count\": 1,\"type\": \"string\",\"values\": [\"ALB\"]},{\"attribute\": \"adm0_a3_wb\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"admin\",\"count\": 1,\"type\": \"string\",\"values\": [\"Albania\"]},{\"attribute\": \"brk_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"ALB\"]},{\"attribute\": \"brk_diff\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"brk_name\",\"count\": 1,\"type\": \"string\",\"values\": [\"Albania\"]},{\"attribute\": \"continent\",\"count\": 1,\"type\": \"string\",\"values\": [\"Europe\"]},{\"attribute\": \"economy\",\"count\": 1,\"type\": \"string\",\"values\": [\"6. Developing region\"]},{\"attribute\": \"featurecla\",\"count\": 1,\"type\": \"string\",\"values\": [\"Admin-0 country\"]},{\"attribute\": \"formal_en\",\"count\": 1,\"type\": \"string\",\"values\": [\"Republic of Albania\"]},{\"attribute\": \"gdp_md_est\",\"count\": 1,\"type\": \"number\",\"values\": [21810.000000],\"min\": 21810.000000,\"max\": 21810.000000},{\"attribute\": \"gdp_year\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"geou_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"geounit\",\"count\": 1,\"type\": \"string\",\"values\": [\"Albania\"]},{\"attribute\": \"gu_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"ALB\"]},{\"attribute\": \"homepart\",\"count\": 1,\"type\": \"number\",\"values\": [1.000000],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"income_grp\",\"count\": 1,\"type\": \"string\",\"values\": [\"4. Lower middle income\"]},{\"attribute\": \"iso_a2\",\"count\": 1,\"type\": \"string\",\"values\": [\"AL\"]},{\"attribute\": \"iso_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"ALB\"]},{\"attribute\": \"iso_n3\",\"count\": 1,\"type\": \"string\",\"values\": [\"008\"]},{\"attribute\": \"labelrank\",\"count\": 1,\"type\": \"number\",\"values\": [6.000000],\"min\": 6.000000,\"max\": 6.000000},{\"attribute\": \"lastcensus\",\"count\": 1,\"type\": \"number\",\"values\": [2001.000000],\"min\": 2001.000000,\"max\": 2001.000000},{\"attribute\": \"level\",\"count\": 1,\"type\": \"number\",\"values\": [2.000000],\"min\": 2.000000,\"max\": 2.000000},{\"attribute\": \"long_len\",\"count\": 1,\"type\": \"number\",\"values\": [7.000000],\"min\": 7.000000,\"max\": 7.000000},{\"attribute\": \"mapcolor13\",\"count\": 1,\"type\": \"number\",\"values\": [6.000000],\"min\": 6.000000,\"max\": 6.000000},{\"attribute\": \"mapcolor7\",\"count\": 1,\"type\": \"number\",\"values\": [1.000000],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"mapcolor8\",\"count\": 1,\"type\": \"number\",\"values\": [4.000000],\"min\": 4.000000,\"max\": 4.000000},{\"attribute\": \"mapcolor9\",\"count\": 1,\"type\": \"number\",\"values\": [1.000000],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"name\",\"count\": 1,\"type\": \"string\",\"values\": [\"Albania\"]},{\"attribute\": \"name_len\",\"count\": 1,\"type\": \"number\",\"values\": [7.000000],\"min\": 7.000000,\"max\": 7.000000},{\"attribute\": \"name_long\",\"count\": 1,\"type\": \"string\",\"values\": [\"Albania\"]},{\"attribute\": \"name_sort\",\"count\": 1,\"type\": \"string\",\"values\": [\"Albania\"]},{\"attribute\": \"pop_est\",\"count\": 1,\"type\": \"number\",\"values\": [3639453.000000],\"min\": 3639453.000000,\"max\": 3639453.000000},{\"attribute\": \"pop_year\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"postal\",\"count\": 1,\"type\": \"string\",\"values\": [\"AL\"]},{\"attribute\": \"region_un\",\"count\": 1,\"type\": \"string\",\"values\": [\"Europe\"]},{\"attribute\": \"region_wb\",\"count\": 1,\"type\": \"string\",\"values\": [\"Europe & Central Asia\"]},{\"attribute\": \"scalerank\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"sov_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"ALB\"]},{\"attribute\": \"sovereignt\",\"count\": 1,\"type\": \"string\",\"values\": [\"Albania\"]},{\"attribute\": \"su_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"ALB\"]},{\"attribute\": \"su_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"subregion\",\"count\": 1,\"type\": \"string\",\"values\": [\"Southern Europe\"]},{\"attribute\": \"subunit\",\"count\": 1,\"type\": \"string\",\"values\": [\"Albania\"]},{\"attribute\": \"tiny\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"type\",\"count\": 1,\"type\": \"string\",\"values\": [\"Sovereign country\"]},{\"attribute\": \"un_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"008\"]},{\"attribute\": \"wb_a2\",\"count\": 1,\"type\": \"string\",\"values\": [\"AL\"]},{\"attribute\": \"wb_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"ALB\"]},{\"attribute\": \"wikipedia\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"woe_id\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000}]},{\"layer\": \"algeria\",\"count\": 1,\"geometry\": \"Polygon\",\"attributeCount\": 57,\"attributes\": [{\"attribute\": \"abbrev\",\"count\": 1,\"type\": \"string\",\"values\": [\"Alg.\"]},{\"attribute\": \"abbrev_len\",\"count\": 1,\"type\": \"number\",\"values\": [4.000000],\"min\": 4.000000,\"max\": 4.000000},{\"attribute\": \"adm0_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"DZA\"]},{\"attribute\": \"adm0_a3_is\",\"count\": 1,\"type\": \"string\",\"values\": [\"DZA\"]},{\"attribute\": \"adm0_a3_un\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_a3_us\",\"count\": 1,\"type\": \"string\",\"values\": [\"DZA\"]},{\"attribute\": \"adm0_a3_wb\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"admin\",\"count\": 1,\"type\": \"string\",\"values\": [\"Algeria\"]},{\"attribute\": \"brk_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"DZA\"]},{\"attribute\": \"brk_diff\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"brk_name\",\"count\": 1,\"type\": \"string\",\"values\": [\"Algeria\"]},{\"attribute\": \"continent\",\"count\": 1,\"type\": \"string\",\"values\": [\"Africa\"]},{\"attribute\": \"economy\",\"count\": 1,\"type\": \"string\",\"values\": [\"6. Developing region\"]},{\"attribute\": \"featurecla\",\"count\": 1,\"type\": \"string\",\"values\": [\"Admin-0 country\"]},{\"attribute\": \"formal_en\",\"count\": 1,\"type\": \"string\",\"values\": [\"People's Democratic Republic of Algeria\"]},{\"attribute\": \"gdp_md_est\",\"count\": 1,\"type\": \"number\",\"values\": [232900.000000],\"min\": 232900.000000,\"max\": 232900.000000},{\"attribute\": \"gdp_year\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"geou_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"geounit\",\"count\": 1,\"type\": \"string\",\"values\": [\"Algeria\"]},{\"attribute\": \"gu_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"DZA\"]},{\"attribute\": \"homepart\",\"count\": 1,\"type\": \"number\",\"values\": [1.000000],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"income_grp\",\"count\": 1,\"type\": \"string\",\"values\": [\"3. Upper middle income\"]},{\"attribute\": \"iso_a2\",\"count\": 1,\"type\": \"string\",\"values\": [\"DZ\"]},{\"attribute\": \"iso_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"DZA\"]},{\"attribute\": \"iso_n3\",\"count\": 1,\"type\": \"string\",\"values\": [\"012\"]},{\"attribute\": \"labelrank\",\"count\": 1,\"type\": \"number\",\"values\": [3.000000],\"min\": 3.000000,\"max\": 3.000000},{\"attribute\": \"lastcensus\",\"count\": 1,\"type\": \"number\",\"values\": [2008.000000],\"min\": 2008.000000,\"max\": 2008.000000},{\"attribute\": \"level\",\"count\": 1,\"type\": \"number\",\"values\": [2.000000],\"min\": 2.000000,\"max\": 2.000000},{\"attribute\": \"long_len\",\"count\": 1,\"type\": \"number\",\"values\": [7.000000],\"min\": 7.000000,\"max\": 7.000000},{\"attribute\": \"mapcolor13\",\"count\": 1,\"type\": \"number\",\"values\": [3.000000],\"min\": 3.000000,\"max\": 3.000000},{\"attribute\": \"mapcolor7\",\"count\": 1,\"type\": \"number\",\"values\": [5.000000],\"min\": 5.000000,\"max\": 5.000000},{\"attribute\": \"mapcolor8\",\"count\": 1,\"type\": \"number\",\"values\": [1.000000],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"mapcolor9\",\"count\": 1,\"type\": \"number\",\"values\": [6.000000],\"min\": 6.000000,\"max\": 6.000000},{\"attribute\": \"name\",\"count\": 1,\"type\": \"string\",\"values\": [\"Algeria\"]},{\"attribute\": \"name_len\",\"count\": 1,\"type\": \"number\",\"values\": [7.000000],\"min\": 7.000000,\"max\": 7.000000},{\"attribute\": \"name_long\",\"count\": 1,\"type\": \"string\",\"values\": [\"Algeria\"]},{\"attribute\": \"name_sort\",\"count\": 1,\"type\": \"string\",\"values\": [\"Algeria\"]},{\"attribute\": \"pop_est\",\"count\": 1,\"type\": \"number\",\"values\": [34178188.000000],\"min\": 34178188.000000,\"max\": 34178188.000000},{\"attribute\": \"pop_year\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"postal\",\"count\": 1,\"type\": \"string\",\"values\": [\"DZ\"]},{\"attribute\": \"region_un\",\"count\": 1,\"type\": \"string\",\"values\": [\"Africa\"]},{\"attribute\": \"region_wb\",\"count\": 1,\"type\": \"string\",\"values\": [\"Middle East & North Africa\"]},{\"attribute\": \"scalerank\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"sov_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"DZA\"]},{\"attribute\": \"sovereignt\",\"count\": 1,\"type\": \"string\",\"values\": [\"Algeria\"]},{\"attribute\": \"su_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"DZA\"]},{\"attribute\": \"su_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"subregion\",\"count\": 1,\"type\": \"string\",\"values\": [\"Northern Africa\"]},{\"attribute\": \"subunit\",\"count\": 1,\"type\": \"string\",\"values\": [\"Algeria\"]},{\"attribute\": \"tiny\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"type\",\"count\": 1,\"type\": \"string\",\"values\": [\"Sovereign country\"]},{\"attribute\": \"un_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"012\"]},{\"attribute\": \"wb_a2\",\"count\": 1,\"type\": \"string\",\"values\": [\"DZ\"]},{\"attribute\": \"wb_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"DZA\"]},{\"attribute\": \"wikipedia\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"woe_id\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000}]},{\"layer\": \"sweden\",\"count\": 1,\"geometry\": \"Polygon\",\"attributeCount\": 57,\"attributes\": [{\"attribute\": \"abbrev\",\"count\": 1,\"type\": \"string\",\"values\": [\"Swe.\"]},{\"attribute\": \"abbrev_len\",\"count\": 1,\"type\": \"number\",\"values\": [4.000000],\"min\": 4.000000,\"max\": 4.000000},{\"attribute\": \"adm0_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"SWE\"]},{\"attribute\": \"adm0_a3_is\",\"count\": 1,\"type\": \"string\",\"values\": [\"SWE\"]},{\"attribute\": \"adm0_a3_un\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_a3_us\",\"count\": 1,\"type\": \"string\",\"values\": [\"SWE\"]},{\"attribute\": \"adm0_a3_wb\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"admin\",\"count\": 1,\"type\": \"string\",\"values\": [\"Sweden\"]},{\"attribute\": \"brk_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"SWE\"]},{\"attribute\": \"brk_diff\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"brk_name\",\"count\": 1,\"type\": \"string\",\"values\": [\"Sweden\"]},{\"attribute\": \"continent\",\"count\": 1,\"type\": \"string\",\"values\": [\"Europe\"]},{\"attribute\": \"economy\",\"count\": 1,\"type\": \"string\",\"values\": [\"2. Developed region: nonG7\"]},{\"attribute\": \"featurecla\",\"count\": 1,\"type\": \"string\",\"values\": [\"Admin-0 country\"]},{\"attribute\": \"formal_en\",\"count\": 1,\"type\": \"string\",\"values\": [\"Kingdom of Sweden\"]},{\"attribute\": \"gdp_md_est\",\"count\": 1,\"type\": \"number\",\"values\": [344300.000000],\"min\": 344300.000000,\"max\": 344300.000000},{\"attribute\": \"gdp_year\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"geou_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"geounit\",\"count\": 1,\"type\": \"string\",\"values\": [\"Sweden\"]},{\"attribute\": \"gu_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"SWE\"]},{\"attribute\": \"homepart\",\"count\": 1,\"type\": \"number\",\"values\": [1.000000],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"income_grp\",\"count\": 1,\"type\": \"string\",\"values\": [\"1. High income: OECD\"]},{\"attribute\": \"iso_a2\",\"count\": 1,\"type\": \"string\",\"values\": [\"SE\"]},{\"attribute\": \"iso_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"SWE\"]},{\"attribute\": \"iso_n3\",\"count\": 1,\"type\": \"string\",\"values\": [\"752\"]},{\"attribute\": \"labelrank\",\"count\": 1,\"type\": \"number\",\"values\": [3.000000],\"min\": 3.000000,\"max\": 3.000000},{\"attribute\": \"lastcensus\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"level\",\"count\": 1,\"type\": \"number\",\"values\": [2.000000],\"min\": 2.000000,\"max\": 2.000000},{\"attribute\": \"long_len\",\"count\": 1,\"type\": \"number\",\"values\": [6.000000],\"min\": 6.000000,\"max\": 6.000000},{\"attribute\": \"mapcolor13\",\"count\": 1,\"type\": \"number\",\"values\": [4.000000],\"min\": 4.000000,\"max\": 4.000000},{\"attribute\": \"mapcolor7\",\"count\": 1,\"type\": \"number\",\"values\": [1.000000],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"mapcolor8\",\"count\": 1,\"type\": \"number\",\"values\": [4.000000],\"min\": 4.000000,\"max\": 4.000000},{\"attribute\": \"mapcolor9\",\"count\": 1,\"type\": \"number\",\"values\": [2.000000],\"min\": 2.000000,\"max\": 2.000000},{\"attribute\": \"name\",\"count\": 1,\"type\": \"string\",\"values\": [\"Sweden\"]},{\"attribute\": \"name_len\",\"count\": 1,\"type\": \"number\",\"values\": [6.000000],\"min\": 6.000000,\"max\": 6.000000},{\"attribute\": \"name_long\",\"count\": 1,\"type\": \"string\",\"values\": [\"Sweden\"]},{\"attribute\": \"name_sort\",\"count\": 1,\"type\": \"string\",\"values\": [\"Sweden\"]},{\"attribute\": \"pop_est\",\"count\": 1,\"type\": \"number\",\"values\": [9059651.000000],\"min\": 9059651.000000,\"max\": 9059651.000000},{\"attribute\": \"pop_year\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"postal\",\"count\": 1,\"type\": \"string\",\"values\": [\"S\"]},{\"attribute\": \"region_un\",\"count\": 1,\"type\": \"string\",\"values\": [\"Europe\"]},{\"attribute\": \"region_wb\",\"count\": 1,\"type\": \"string\",\"values\": [\"Europe & Central Asia\"]},{\"attribute\": \"scalerank\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"sov_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"SWE\"]},{\"attribute\": \"sovereignt\",\"count\": 1,\"type\": \"string\",\"values\": [\"Sweden\"]},{\"attribute\": \"su_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"SWE\"]},{\"attribute\": \"su_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"subregion\",\"count\": 1,\"type\": \"string\",\"values\": [\"Northern Europe\"]},{\"attribute\": \"subunit\",\"count\": 1,\"type\": \"string\",\"values\": [\"Sweden\"]},{\"attribute\": \"tiny\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"type\",\"count\": 1,\"type\": \"string\",\"values\": [\"Sovereign country\"]},{\"attribute\": \"un_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"752\"]},{\"attribute\": \"wb_a2\",\"count\": 1,\"type\": \"string\",\"values\": [\"SE\"]},{\"attribute\": \"wb_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"SWE\"]},{\"attribute\": \"wikipedia\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"woe_id\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000}]}]}}", "maxzoom": "0", "minzoom": "0", "name": "tests/named/out/-z0_-Lalgeria@tests%named%alg_-Lalbania@tests%named%alb.json.check.mbtiles", diff --git a/tests/named/out/-z0_-Lalgeria@tests%named%alg_-Lalbania@tests%named%alb_-lunified.json b/tests/named/out/-z0_-Lalgeria@tests%named%alg_-Lalbania@tests%named%alb_-lunified.json index c444818a..bc52c4f1 100644 --- a/tests/named/out/-z0_-Lalgeria@tests%named%alg_-Lalbania@tests%named%alb_-lunified.json +++ b/tests/named/out/-z0_-Lalgeria@tests%named%alg_-Lalbania@tests%named%alb_-lunified.json @@ -3,7 +3,7 @@ "center": "0.000000,18.975561,0", "description": "tests/named/out/-z0_-Lalgeria@tests%named%alg_-Lalbania@tests%named%alb_-lunified.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"unified\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"unified\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"unified\",\"count\": 3,\"geometry\": \"Polygon\",\"attributeCount\": 57,\"attributes\": [{\"attribute\": \"abbrev\",\"count\": 3,\"type\": \"string\",\"values\": [\"Alb.\",\"Alg.\",\"Swe.\"]},{\"attribute\": \"abbrev_len\",\"count\": 1,\"type\": \"number\",\"values\": [4.000000],\"min\": 4.000000,\"max\": 4.000000},{\"attribute\": \"adm0_a3\",\"count\": 3,\"type\": \"string\",\"values\": [\"ALB\",\"DZA\",\"SWE\"]},{\"attribute\": \"adm0_a3_is\",\"count\": 3,\"type\": \"string\",\"values\": [\"ALB\",\"DZA\",\"SWE\"]},{\"attribute\": \"adm0_a3_un\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_a3_us\",\"count\": 3,\"type\": \"string\",\"values\": [\"ALB\",\"DZA\",\"SWE\"]},{\"attribute\": \"adm0_a3_wb\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"admin\",\"count\": 3,\"type\": \"string\",\"values\": [\"Albania\",\"Algeria\",\"Sweden\"]},{\"attribute\": \"brk_a3\",\"count\": 3,\"type\": \"string\",\"values\": [\"ALB\",\"DZA\",\"SWE\"]},{\"attribute\": \"brk_diff\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"brk_name\",\"count\": 3,\"type\": \"string\",\"values\": [\"Albania\",\"Algeria\",\"Sweden\"]},{\"attribute\": \"continent\",\"count\": 2,\"type\": \"string\",\"values\": [\"Africa\",\"Europe\"]},{\"attribute\": \"economy\",\"count\": 2,\"type\": \"string\",\"values\": [\"2. Developed region: nonG7\",\"6. Developing region\"]},{\"attribute\": \"featurecla\",\"count\": 1,\"type\": \"string\",\"values\": [\"Admin-0 country\"]},{\"attribute\": \"formal_en\",\"count\": 3,\"type\": \"string\",\"values\": [\"Kingdom of Sweden\",\"People's Democratic Republic of Algeria\",\"Republic of Albania\"]},{\"attribute\": \"gdp_md_est\",\"count\": 3,\"type\": \"number\",\"values\": [21810.000000,232900.000000,344300.000000],\"min\": 21810.000000,\"max\": 344300.000000},{\"attribute\": \"gdp_year\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"geou_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"geounit\",\"count\": 3,\"type\": \"string\",\"values\": [\"Albania\",\"Algeria\",\"Sweden\"]},{\"attribute\": \"gu_a3\",\"count\": 3,\"type\": \"string\",\"values\": [\"ALB\",\"DZA\",\"SWE\"]},{\"attribute\": \"homepart\",\"count\": 1,\"type\": \"number\",\"values\": [1.000000],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"income_grp\",\"count\": 3,\"type\": \"string\",\"values\": [\"1. High income: OECD\",\"3. Upper middle income\",\"4. Lower middle income\"]},{\"attribute\": \"iso_a2\",\"count\": 3,\"type\": \"string\",\"values\": [\"AL\",\"DZ\",\"SE\"]},{\"attribute\": \"iso_a3\",\"count\": 3,\"type\": \"string\",\"values\": [\"ALB\",\"DZA\",\"SWE\"]},{\"attribute\": \"iso_n3\",\"count\": 3,\"type\": \"string\",\"values\": [\"008\",\"012\",\"752\"]},{\"attribute\": \"labelrank\",\"count\": 2,\"type\": \"number\",\"values\": [3.000000,6.000000],\"min\": 3.000000,\"max\": 6.000000},{\"attribute\": \"lastcensus\",\"count\": 3,\"type\": \"number\",\"values\": [-99.000000,2001.000000,2008.000000],\"min\": -99.000000,\"max\": 2008.000000},{\"attribute\": \"level\",\"count\": 1,\"type\": \"number\",\"values\": [2.000000],\"min\": 2.000000,\"max\": 2.000000},{\"attribute\": \"long_len\",\"count\": 2,\"type\": \"number\",\"values\": [6.000000,7.000000],\"min\": 6.000000,\"max\": 7.000000},{\"attribute\": \"mapcolor13\",\"count\": 3,\"type\": \"number\",\"values\": [3.000000,4.000000,6.000000],\"min\": 3.000000,\"max\": 6.000000},{\"attribute\": \"mapcolor7\",\"count\": 2,\"type\": \"number\",\"values\": [1.000000,5.000000],\"min\": 1.000000,\"max\": 5.000000},{\"attribute\": \"mapcolor8\",\"count\": 2,\"type\": \"number\",\"values\": [1.000000,4.000000],\"min\": 1.000000,\"max\": 4.000000},{\"attribute\": \"mapcolor9\",\"count\": 3,\"type\": \"number\",\"values\": [1.000000,2.000000,6.000000],\"min\": 1.000000,\"max\": 6.000000},{\"attribute\": \"name\",\"count\": 3,\"type\": \"string\",\"values\": [\"Albania\",\"Algeria\",\"Sweden\"]},{\"attribute\": \"name_len\",\"count\": 2,\"type\": \"number\",\"values\": [6.000000,7.000000],\"min\": 6.000000,\"max\": 7.000000},{\"attribute\": \"name_long\",\"count\": 3,\"type\": \"string\",\"values\": [\"Albania\",\"Algeria\",\"Sweden\"]},{\"attribute\": \"name_sort\",\"count\": 3,\"type\": \"string\",\"values\": [\"Albania\",\"Algeria\",\"Sweden\"]},{\"attribute\": \"pop_est\",\"count\": 3,\"type\": \"number\",\"values\": [34178188.000000,3639453.000000,9059651.000000],\"min\": 3639453.000000,\"max\": 34178188.000000},{\"attribute\": \"pop_year\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"postal\",\"count\": 3,\"type\": \"string\",\"values\": [\"AL\",\"DZ\",\"S\"]},{\"attribute\": \"region_un\",\"count\": 2,\"type\": \"string\",\"values\": [\"Africa\",\"Europe\"]},{\"attribute\": \"region_wb\",\"count\": 2,\"type\": \"string\",\"values\": [\"Europe & Central Asia\",\"Middle East & North Africa\"]},{\"attribute\": \"scalerank\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"sov_a3\",\"count\": 3,\"type\": \"string\",\"values\": [\"ALB\",\"DZA\",\"SWE\"]},{\"attribute\": \"sovereignt\",\"count\": 3,\"type\": \"string\",\"values\": [\"Albania\",\"Algeria\",\"Sweden\"]},{\"attribute\": \"su_a3\",\"count\": 3,\"type\": \"string\",\"values\": [\"ALB\",\"DZA\",\"SWE\"]},{\"attribute\": \"su_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"subregion\",\"count\": 3,\"type\": \"string\",\"values\": [\"Northern Africa\",\"Northern Europe\",\"Southern Europe\"]},{\"attribute\": \"subunit\",\"count\": 3,\"type\": \"string\",\"values\": [\"Albania\",\"Algeria\",\"Sweden\"]},{\"attribute\": \"tiny\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"type\",\"count\": 1,\"type\": \"string\",\"values\": [\"Sovereign country\"]},{\"attribute\": \"un_a3\",\"count\": 3,\"type\": \"string\",\"values\": [\"008\",\"012\",\"752\"]},{\"attribute\": \"wb_a2\",\"count\": 3,\"type\": \"string\",\"values\": [\"AL\",\"DZ\",\"SE\"]},{\"attribute\": \"wb_a3\",\"count\": 3,\"type\": \"string\",\"values\": [\"ALB\",\"DZA\",\"SWE\"]},{\"attribute\": \"wikipedia\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"woe_id\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000}]}]}}", "maxzoom": "0", "minzoom": "0", "name": "tests/named/out/-z0_-Lalgeria@tests%named%alg_-Lalbania@tests%named%alb_-lunified.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-densest-as-needed.json b/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-densest-as-needed.json index e1dc99bb..c901a7fe 100644 --- a/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-densest-as-needed.json +++ b/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-densest-as-needed.json @@ -3,7 +3,7 @@ "center": "16.875000,44.951199,5", "description": "tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-densest-as-needed.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"formal_fr\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_alt\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"note_adm0\": \"String\", \"note_brk\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"formal_fr\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_alt\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"note_adm0\": \"String\", \"note_brk\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 177,\"geometry\": \"Polygon\",\"attributeCount\": 61,\"attributes\": [{\"attribute\": \"abbrev\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afg.\",\"Alb.\",\"Alg.\",\"Ang.\",\"Ant.\",\"Arg.\",\"Arm.\",\"Aust.\",\"Auz.\",\"Aze.\",\"B.F.\",\"B.H.\",\"Bang.\",\"Bela.\",\"Belg.\",\"Belize\",\"Benin\",\"Bhs.\",\"Bhutan\",\"Bolivia\",\"Brazil\",\"Brunei\",\"Bulg.\",\"Bur.\",\"Bwa.\",\"C.A.R.\",\"C.R.\",\"Cam.\",\"Camb.\",\"Can.\",\"Chad\",\"Chile\",\"China\",\"Col.\",\"Cro.\",\"Cuba\",\"Cyp.\",\"Cz. Rep.\",\"D.R.C.\",\"Den.\",\"Dji.\",\"Dom. Rep.\",\"Ecu.\",\"Egypt\",\"El. S.\",\"Eq. G.\",\"Erit.\",\"Est.\",\"Eth.\",\"Fiji\",\"Fin.\",\"Flk. Is.\",\"Fr.\",\"Fr. S.A.L.\",\"Gabon\",\"Gambia\",\"Geo.\",\"Ger.\",\"Ghana\",\"Gin.\",\"GnB.\",\"Greece\",\"Grlnd.\",\"Guat.\",\"Guy.\",\"Haiti\",\"Hond.\",\"Hun.\",\"I.C.\",\"Iceland\",\"India\",\"Indo.\",\"Iran\",\"Iraq\",\"Ire.\",\"Isr.\",\"Italy\",\"Jam.\",\"Japan\",\"Jord.\",\"Kaz.\",\"Ken.\",\"Kgz.\",\"Kos.\",\"Kwt.\",\"Laos\",\"Lat.\",\"Leb.\",\"Les.\",\"Liberia\",\"Libya\",\"Lith.\",\"Lux.\",\"Mad.\",\"Mal.\",\"Malay.\",\"Mali\",\"Mda.\",\"Mex.\",\"Mkd.\"]},{\"attribute\": \"abbrev_len\",\"count\": 8,\"type\": \"number\",\"values\": [10.000000,3.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 3.000000,\"max\": 10.000000},{\"attribute\": \"adm0_a3\",\"count\": 177,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYN\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\"]},{\"attribute\": \"adm0_a3_is\",\"count\": 173,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\",\"MDA\",\"MDG\"]},{\"attribute\": \"adm0_a3_un\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_a3_us\",\"count\": 175,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\",\"MDA\"]},{\"attribute\": \"adm0_a3_wb\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_dif\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,1.000000],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"admin\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\"]},{\"attribute\": \"brk_a3\",\"count\": 177,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"B12\",\"B20\",\"B28\",\"B30\",\"B57\",\"B77\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\"]},{\"attribute\": \"brk_diff\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,1.000000],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"brk_name\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herz.\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Rep.\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Rep.\",\"Cรดte d'Ivoire\",\"Dem. Rep. Korea\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Rep.\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Eq. Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Is.\",\"Fiji\",\"Finland\",\"Fr. S. and Antarctic Lands\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\"]},{\"attribute\": \"continent\",\"count\": 8,\"type\": \"string\",\"values\": [\"Africa\",\"Antarctica\",\"Asia\",\"Europe\",\"North America\",\"Oceania\",\"Seven seas (open ocean)\",\"South America\"]},{\"attribute\": \"economy\",\"count\": 7,\"type\": \"string\",\"values\": [\"1. Developed region: G7\",\"2. Developed region: nonG7\",\"3. Emerging region: BRIC\",\"4. Emerging region: MIKT\",\"5. Emerging region: G20\",\"6. Developing region\",\"7. Least developed region\"]},{\"attribute\": \"featurecla\",\"count\": 1,\"type\": \"string\",\"values\": [\"Admin-0 country\"]},{\"attribute\": \"formal_en\",\"count\": 174,\"type\": \"string\",\"values\": [\"Arab Republic of Egypt\",\"Argentine Republic\",\"Belize\",\"Bolivarian Republic of Venezuela\",\"Bosnia and Herzegovina\",\"Burkina Faso\",\"Canada\",\"Central African Republic\",\"Co-operative Republic of Guyana\",\"Commonwealth of Australia\",\"Commonwealth of Puerto Rico\",\"Commonwealth of the Bahamas\",\"Czech Republic\",\"Democratic People's Republic of Korea\",\"Democratic Republic of Timor-Leste\",\"Democratic Republic of the Congo\",\"Democratic Socialist Republic of Sri Lanka\",\"Dominican Republic\",\"Falkland Islands\",\"Federal Democratic Republic of Ethiopia\",\"Federal Republic of Germany\",\"Federal Republic of Nigeria\",\"Federal Republic of Somalia\",\"Federative Republic of Brazil\",\"Former Yugoslav Republic of Macedonia\",\"French Republic\",\"Gabonese Republic\",\"Georgia\",\"Grand Duchy of Luxembourg\",\"Greenland\",\"Hashemite Kingdom of Jordan\",\"Hellenic Republic\",\"Independent State of Papua New Guinea\",\"Ireland\",\"Islamic Republic of Iran\",\"Islamic Republic of Mauritania\",\"Islamic Republic of Pakistan\",\"Islamic State of Afghanistan\",\"Italian Republic\",\"Jamaica\",\"Japan\",\"Kingdom of Belgium\",\"Kingdom of Bhutan\",\"Kingdom of Cambodia\",\"Kingdom of Denmark\",\"Kingdom of Lesotho\",\"Kingdom of Morocco\",\"Kingdom of Norway\",\"Kingdom of Saudi Arabia\",\"Kingdom of Spain\",\"Kingdom of Swaziland\",\"Kingdom of Sweden\",\"Kingdom of Thailand\",\"Kingdom of the Netherlands\",\"Kyrgyz Republic\",\"Lao People's Democratic Republic\",\"Lebanese Republic\",\"Libya\",\"Malaysia\",\"Mongolia\",\"Montenegro\",\"Negara Brunei Darussalam\",\"Nepal\",\"New Caledonia\",\"New Zealand\",\"Oriental Republic of Uruguay\",\"People's Democratic Republic of Algeria\",\"People's Republic of Angola\",\"People's Republic of Bangladesh\",\"People's Republic of China\",\"Plurinational State of Bolivia\",\"Portuguese Republic\",\"Republic of Albania\",\"Republic of Armenia\",\"Republic of Austria\",\"Republic of Azerbaijan\",\"Republic of Belarus\",\"Republic of Benin\",\"Republic of Botswana\",\"Republic of Bulgaria\",\"Republic of Burundi\",\"Republic of Cameroon\",\"Republic of Chad\",\"Republic of Chile\",\"Republic of Colombia\",\"Republic of Congo\",\"Republic of Costa Rica\",\"Republic of Croatia\",\"Republic of Cuba\",\"Republic of Cyprus\",\"Republic of Djibouti\",\"Republic of Ecuador\",\"Republic of El Salvador\",\"Republic of Equatorial Guinea\",\"Republic of Estonia\",\"Republic of Fiji\",\"Republic of Finland\",\"Republic of Ghana\",\"Republic of Guatemala\",\"Republic of Guinea\"]},{\"attribute\": \"formal_fr\",\"count\": 4,\"type\": \"string\",\"values\": [\"Nouvelle-Calรฉdonie\",\"Republic of Cote D'Ivoire\",\"Repรบblica Bolivariana de Venezuela\",\"Rรฉpublique Togolaise\"]},{\"attribute\": \"gdp_md_est\",\"count\": 177,\"type\": \"number\",\"values\": [-99.000000,10040.000000,103900.000000,105.100000,10600.000000,10670.000000,107700.000000,1078.000000,108200.000000,1100.000000,110300.000000,114100.000000,11500.000000,11610.000000,116700.000000,11810.000000,11950.770000,119500.000000,12250.000000,12710.000000,12830.000000,1300000.000000,13160.000000,13210.000000,13227.000000,13250.000000,1335000.000000,136600.000000,13980.000000,1403000.000000,14060.000000,14590.000000,149100.000000,15094000.000000,1526.000000,15350.000000,1563000.000000,15860.000000,16.000000,16790.000000,17500.000000,175800.000000,17820.000000,1823000.000000,184300.000000,18770.000000,18780.000000,188400.000000,1885.000000,18940.000000,193500.000000,196600.000000,1977704.000000,1993000.000000,20130.000000,201400.000000,20250.000000,203600.000000,20640.000000,208627.000000,20910.000000,21110.000000,2128000.000000,21510.000000,21810.000000,21980.000000,22270.000000,224000.000000,2266000.000000,22700.000000,2272.000000,232900.000000,241700.000000,244500.000000,247300.000000,2520.000000,2536.000000,265200.000000,27060.000000,271400.000000,27410.000000,276400.000000,27940.000000,28890.000000,29010.000000,2918000.000000,2966.000000,29700.000000,29780.000000,3102.000000,31080.000000,3158.000000,31610.000000,316700.000000,317500.000000,3198.000000,3293.000000,329500.000000,3297000.000000,335400.000000],\"min\": -99.000000,\"max\": 15094000.000000},{\"attribute\": \"gdp_year\",\"count\": 3,\"type\": \"number\",\"values\": [-99.000000,0.000000,2009.000000],\"min\": -99.000000,\"max\": 2009.000000},{\"attribute\": \"geou_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"geounit\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\"]},{\"attribute\": \"gu_a3\",\"count\": 177,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYN\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\"]},{\"attribute\": \"homepart\",\"count\": 2,\"type\": \"number\",\"values\": [-99.000000,1.000000],\"min\": -99.000000,\"max\": 1.000000},{\"attribute\": \"income_grp\",\"count\": 5,\"type\": \"string\",\"values\": [\"1. High income: OECD\",\"2. High income: nonOECD\",\"3. Upper middle income\",\"4. Lower middle income\",\"5. Low income\"]},{\"attribute\": \"iso_a2\",\"count\": 175,\"type\": \"string\",\"values\": [\"-99\",\"AE\",\"AF\",\"AL\",\"AM\",\"AO\",\"AQ\",\"AR\",\"AT\",\"AU\",\"AZ\",\"BA\",\"BD\",\"BE\",\"BF\",\"BG\",\"BI\",\"BJ\",\"BN\",\"BO\",\"BR\",\"BS\",\"BT\",\"BW\",\"BY\",\"BZ\",\"CA\",\"CD\",\"CF\",\"CG\",\"CH\",\"CI\",\"CL\",\"CM\",\"CN\",\"CO\",\"CR\",\"CU\",\"CY\",\"CZ\",\"DE\",\"DJ\",\"DK\",\"DO\",\"DZ\",\"EC\",\"EE\",\"EG\",\"EH\",\"ER\",\"ES\",\"ET\",\"FI\",\"FJ\",\"FK\",\"FR\",\"GA\",\"GB\",\"GE\",\"GH\",\"GL\",\"GM\",\"GN\",\"GQ\",\"GR\",\"GT\",\"GW\",\"GY\",\"HN\",\"HR\",\"HT\",\"HU\",\"ID\",\"IE\",\"IL\",\"IN\",\"IQ\",\"IR\",\"IS\",\"IT\",\"JM\",\"JO\",\"JP\",\"KE\",\"KG\",\"KH\",\"KP\",\"KR\",\"KW\",\"KZ\",\"LA\",\"LB\",\"LK\",\"LR\",\"LS\",\"LT\",\"LU\",\"LV\",\"LY\",\"MA\"]},{\"attribute\": \"iso_a3\",\"count\": 175,\"type\": \"string\",\"values\": [\"-99\",\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESH\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\"]},{\"attribute\": \"iso_n3\",\"count\": 175,\"type\": \"string\",\"values\": [\"-99\",\"004\",\"008\",\"010\",\"012\",\"024\",\"031\",\"032\",\"036\",\"040\",\"044\",\"050\",\"051\",\"056\",\"064\",\"068\",\"070\",\"072\",\"076\",\"084\",\"090\",\"096\",\"100\",\"104\",\"108\",\"112\",\"116\",\"120\",\"124\",\"140\",\"144\",\"148\",\"152\",\"156\",\"158\",\"170\",\"178\",\"180\",\"188\",\"191\",\"192\",\"196\",\"203\",\"204\",\"208\",\"214\",\"218\",\"222\",\"226\",\"231\",\"232\",\"233\",\"238\",\"242\",\"246\",\"250\",\"260\",\"262\",\"266\",\"268\",\"270\",\"275\",\"276\",\"288\",\"300\",\"304\",\"320\",\"324\",\"328\",\"332\",\"340\",\"348\",\"352\",\"356\",\"360\",\"364\",\"368\",\"372\",\"376\",\"380\",\"384\",\"388\",\"392\",\"398\",\"400\",\"404\",\"408\",\"410\",\"414\",\"417\",\"418\",\"422\",\"426\",\"428\",\"430\",\"434\",\"440\",\"442\",\"450\",\"454\"]},{\"attribute\": \"labelrank\",\"count\": 6,\"type\": \"number\",\"values\": [2.000000,3.000000,4.000000,5.000000,6.000000,7.000000],\"min\": 2.000000,\"max\": 7.000000},{\"attribute\": \"lastcensus\",\"count\": 27,\"type\": \"number\",\"values\": [-99.000000,1970.000000,1979.000000,1981.000000,1983.000000,1984.000000,1987.000000,1989.000000,1991.000000,1993.000000,1995.000000,1996.000000,1997.000000,1998.000000,2000.000000,2001.000000,2002.000000,2003.000000,2004.000000,2005.000000,2006.000000,2007.000000,2008.000000,2009.000000,2010.000000,2011.000000,2012.000000],\"min\": -99.000000,\"max\": 2012.000000},{\"attribute\": \"level\",\"count\": 1,\"type\": \"number\",\"values\": [2.000000],\"min\": 2.000000,\"max\": 2.000000},{\"attribute\": \"long_len\",\"count\": 21,\"type\": \"number\",\"values\": [10.000000,11.000000,12.000000,13.000000,14.000000,15.000000,16.000000,17.000000,18.000000,19.000000,20.000000,22.000000,24.000000,32.000000,35.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 4.000000,\"max\": 35.000000},{\"attribute\": \"mapcolor13\",\"count\": 14,\"type\": \"number\",\"values\": [-99.000000,1.000000,10.000000,11.000000,12.000000,13.000000,2.000000,3.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": -99.000000,\"max\": 13.000000},{\"attribute\": \"mapcolor7\",\"count\": 7,\"type\": \"number\",\"values\": [1.000000,2.000000,3.000000,4.000000,5.000000,6.000000,7.000000],\"min\": 1.000000,\"max\": 7.000000},{\"attribute\": \"mapcolor8\",\"count\": 8,\"type\": \"number\",\"values\": [1.000000,2.000000,3.000000,4.000000,5.000000,6.000000,7.000000,8.000000],\"min\": 1.000000,\"max\": 8.000000},{\"attribute\": \"mapcolor9\",\"count\": 9,\"type\": \"number\",\"values\": [1.000000,2.000000,3.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 1.000000,\"max\": 9.000000},{\"attribute\": \"name\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herz.\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Rep.\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Rep.\",\"Cรดte d'Ivoire\",\"Dem. Rep. Congo\",\"Dem. Rep. Korea\",\"Denmark\",\"Djibouti\",\"Dominican Rep.\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Eq. Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Is.\",\"Fiji\",\"Finland\",\"Fr. S. Antarctic Lands\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Korea\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\"]},{\"attribute\": \"name_alt\",\"count\": 2,\"type\": \"string\",\"values\": [\"East Timor\",\"Islas Malvinas\"]},{\"attribute\": \"name_len\",\"count\": 16,\"type\": \"number\",\"values\": [10.000000,11.000000,12.000000,13.000000,14.000000,15.000000,16.000000,19.000000,20.000000,22.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 4.000000,\"max\": 22.000000},{\"attribute\": \"name_long\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei Darussalam\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Cรดte d'Ivoire\",\"Dem. Rep. Korea\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\"]},{\"attribute\": \"name_sort\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas, The\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Congo, Dem. Rep.\",\"Congo, Rep.\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Cyprus, Northern\",\"Czech Republic\",\"Cรดte d'Ivoire\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"Ecuador\",\"Egypt, Arab Rep.\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Gambia, The\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran, Islamic Rep.\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Korea, Dem. Rep.\",\"Korea, Rep.\",\"Kosovo\",\"Kuwait\",\"Kyrgyz Republic\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia, FYR\",\"Madagascar\",\"Malawi\"]},{\"attribute\": \"note_adm0\",\"count\": 6,\"type\": \"string\",\"values\": [\"Commonwealth of U.S.A.\",\"Den.\",\"Fr.\",\"Partial self-admin.\",\"Self admin.\",\"U.K.\"]},{\"attribute\": \"note_brk\",\"count\": 8,\"type\": \"string\",\"values\": [\"Admin. by U.K.; Claimed by Argentina\",\"Multiple claims held in abeyance\",\"Partial self-admin.\",\"Self admin.; Claimed by China\",\"Self admin.; Claimed by Cyprus\",\"Self admin.; Claimed by Morocco\",\"Self admin.; Claimed by Serbia\",\"Self admin.; Claimed by Somalia\"]},{\"attribute\": \"pop_est\",\"count\": 177,\"type\": \"number\",\"values\": [-99.000000,10057975.000000,10211904.000000,10329208.000000,10414336.000000,10473282.000000,10486339.000000,10625176.000000,10707924.000000,10737428.000000,111211789.000000,1123913.000000,1131612.000000,11451652.000000,1166079220.000000,11862740.000000,12619600.000000,12666987.000000,127078679.000000,12799293.000000,1299371.000000,1310000.000000,13276517.000000,1338612970.000000,13711597.000000,140.000000,140041247.000000,14268711.000000,14494293.000000,14573101.000000,149229090.000000,1514993.000000,15306252.000000,1533964.000000,15399437.000000,156050883.000000,15746232.000000,16601707.000000,16715999.000000,176242949.000000,1782893.000000,1804838.000000,18879301.000000,198739269.000000,1990876.000000,2005692.000000,20178485.000000,20617068.000000,20653556.000000,2066718.000000,2108665.000000,21262641.000000,2130819.000000,21324791.000000,21669278.000000,218519.000000,22215421.000000,2231503.000000,22665345.000000,227436.000000,22974347.000000,23822783.000000,23832495.000000,240271522.000000,25715819.000000,25946220.000000,265100.000000,26814843.000000,2691158.000000,27606007.000000,2825928.000000,28400000.000000,28563377.000000,28686633.000000,29546963.000000,2967004.000000,3041142.000000,306694.000000,307899.000000,309156.000000,31129225.000000,3129486.000000,313973000.000000,3140.000000,32369558.000000,33487208.000000,3360474.000000,34178188.000000,3418085.000000,3441790.000000,34859364.000000,3494382.000000,3500000.000000,3555179.000000,3639453.000000,3802.000000,38482919.000000,388190.000000,39002772.000000,3971020.000000],\"min\": -99.000000,\"max\": 1338612970.000000},{\"attribute\": \"pop_year\",\"count\": 2,\"type\": \"number\",\"values\": [-99.000000,0.000000],\"min\": -99.000000,\"max\": 0.000000},{\"attribute\": \"postal\",\"count\": 172,\"type\": \"string\",\"values\": [\"A\",\"AE\",\"AF\",\"AL\",\"AO\",\"AQ\",\"AR\",\"ARM\",\"AU\",\"AZ\",\"B\",\"BD\",\"BF\",\"BG\",\"BI\",\"BJ\",\"BN\",\"BO\",\"BR\",\"BS\",\"BT\",\"BW\",\"BY\",\"BZ\",\"BiH\",\"CA\",\"CF\",\"CG\",\"CH\",\"CI\",\"CL\",\"CM\",\"CN\",\"CO\",\"CR\",\"CU\",\"CY\",\"CZ\",\"D\",\"DJ\",\"DK\",\"DO\",\"DRC\",\"DZ\",\"E\",\"EC\",\"EG\",\"ER\",\"EST\",\"ET\",\"F\",\"FIN\",\"FJ\",\"FK\",\"GA\",\"GB\",\"GE\",\"GH\",\"GL\",\"GM\",\"GN\",\"GQ\",\"GR\",\"GT\",\"GW\",\"GY\",\"HN\",\"HR\",\"HT\",\"HU\",\"I\",\"IND\",\"INDO\",\"IRL\",\"IRN\",\"IRQ\",\"IS\",\"J\",\"KE\",\"KG\",\"KH\",\"KO\",\"KP\",\"KR\",\"KW\",\"KZ\",\"L\",\"LA\",\"LB\",\"LK\",\"LR\",\"LS\",\"LT\",\"LV\",\"LY\",\"MA\",\"MD\",\"ME\",\"MG\",\"MK\"]},{\"attribute\": \"region_un\",\"count\": 7,\"type\": \"string\",\"values\": [\"Africa\",\"Americas\",\"Antarctica\",\"Asia\",\"Europe\",\"Oceania\",\"Seven seas (open ocean)\"]},{\"attribute\": \"region_wb\",\"count\": 8,\"type\": \"string\",\"values\": [\"Antarctica\",\"East Asia & Pacific\",\"Europe & Central Asia\",\"Latin America & Caribbean\",\"Middle East & North Africa\",\"North America\",\"South Asia\",\"Sub-Saharan Africa\"]},{\"attribute\": \"scalerank\",\"count\": 2,\"type\": \"number\",\"values\": [1,3],\"min\": 1.000000,\"max\": 3.000000},{\"attribute\": \"sov_a3\",\"count\": 171,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"AU1\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CH1\",\"CHE\",\"CHL\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYN\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DN1\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FI1\",\"FJI\",\"FR1\",\"GAB\",\"GB1\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\",\"MDA\",\"MDG\",\"MEX\"]},{\"attribute\": \"sovereignt\",\"count\": 171,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\",\"Moldova\",\"Mongolia\",\"Montenegro\"]},{\"attribute\": \"su_a3\",\"count\": 177,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYN\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\"]},{\"attribute\": \"su_dif\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,1.000000],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"subregion\",\"count\": 22,\"type\": \"string\",\"values\": [\"Antarctica\",\"Australia and New Zealand\",\"Caribbean\",\"Central America\",\"Central Asia\",\"Eastern Africa\",\"Eastern Asia\",\"Eastern Europe\",\"Melanesia\",\"Middle Africa\",\"Northern Africa\",\"Northern America\",\"Northern Europe\",\"Seven seas (open ocean)\",\"South America\",\"South-Eastern Asia\",\"Southern Africa\",\"Southern Asia\",\"Southern Europe\",\"Western Africa\",\"Western Asia\",\"Western Europe\"]},{\"attribute\": \"subunit\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\"]},{\"attribute\": \"tiny\",\"count\": 5,\"type\": \"number\",\"values\": [-99.000000,2.000000,3.000000,4.000000,5.000000],\"min\": -99.000000,\"max\": 5.000000},{\"attribute\": \"type\",\"count\": 5,\"type\": \"string\",\"values\": [\"Country\",\"Dependency\",\"Disputed\",\"Indeterminate\",\"Sovereign country\"]},{\"attribute\": \"un_a3\",\"count\": 172,\"type\": \"string\",\"values\": [\"-099\",\"004\",\"008\",\"012\",\"024\",\"031\",\"032\",\"036\",\"040\",\"044\",\"050\",\"051\",\"056\",\"064\",\"068\",\"070\",\"072\",\"076\",\"084\",\"090\",\"096\",\"100\",\"104\",\"108\",\"112\",\"116\",\"120\",\"124\",\"140\",\"144\",\"148\",\"152\",\"156\",\"170\",\"178\",\"180\",\"188\",\"191\",\"192\",\"196\",\"203\",\"204\",\"208\",\"214\",\"218\",\"222\",\"226\",\"231\",\"232\",\"233\",\"238\",\"242\",\"246\",\"250\",\"262\",\"266\",\"268\",\"270\",\"275\",\"276\",\"288\",\"300\",\"304\",\"320\",\"324\",\"328\",\"332\",\"340\",\"348\",\"352\",\"356\",\"360\",\"364\",\"368\",\"372\",\"376\",\"380\",\"384\",\"388\",\"392\",\"398\",\"400\",\"404\",\"408\",\"410\",\"414\",\"417\",\"418\",\"422\",\"426\",\"428\",\"430\",\"434\",\"440\",\"442\",\"450\",\"454\",\"458\",\"466\",\"478\"]},{\"attribute\": \"wb_a2\",\"count\": 171,\"type\": \"string\",\"values\": [\"-99\",\"AE\",\"AF\",\"AL\",\"AM\",\"AO\",\"AR\",\"AT\",\"AU\",\"AZ\",\"BA\",\"BD\",\"BE\",\"BF\",\"BG\",\"BI\",\"BJ\",\"BN\",\"BO\",\"BR\",\"BS\",\"BT\",\"BW\",\"BY\",\"BZ\",\"CA\",\"CF\",\"CG\",\"CH\",\"CI\",\"CL\",\"CM\",\"CN\",\"CO\",\"CR\",\"CU\",\"CY\",\"CZ\",\"DE\",\"DJ\",\"DK\",\"DO\",\"DZ\",\"EC\",\"EE\",\"EG\",\"ER\",\"ES\",\"ET\",\"FI\",\"FJ\",\"FR\",\"GA\",\"GB\",\"GE\",\"GH\",\"GL\",\"GM\",\"GN\",\"GQ\",\"GR\",\"GT\",\"GW\",\"GY\",\"GZ\",\"HN\",\"HR\",\"HT\",\"HU\",\"ID\",\"IE\",\"IL\",\"IN\",\"IQ\",\"IR\",\"IS\",\"IT\",\"JM\",\"JO\",\"JP\",\"KE\",\"KG\",\"KH\",\"KP\",\"KR\",\"KV\",\"KW\",\"KZ\",\"LA\",\"LB\",\"LK\",\"LR\",\"LS\",\"LT\",\"LU\",\"LV\",\"LY\",\"MA\",\"MD\",\"ME\"]},{\"attribute\": \"wb_a3\",\"count\": 171,\"type\": \"string\",\"values\": [\"-99\",\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KSV\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\",\"MDA\",\"MDG\",\"MEX\",\"MKD\"]},{\"attribute\": \"wikipedia\",\"count\": 2,\"type\": \"number\",\"values\": [-99.000000,0.000000],\"min\": -99.000000,\"max\": 0.000000},{\"attribute\": \"woe_id\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000}]}]}}", "maxzoom": "5", "minzoom": "0", "name": "tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-densest-as-needed.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-fraction-as-needed.json b/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-fraction-as-needed.json index f15fba33..4ae8692b 100644 --- a/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-fraction-as-needed.json +++ b/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-fraction-as-needed.json @@ -3,7 +3,7 @@ "center": "16.875000,44.951199,5", "description": "tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-fraction-as-needed.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"formal_fr\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_alt\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"note_adm0\": \"String\", \"note_brk\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"formal_fr\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_alt\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"note_adm0\": \"String\", \"note_brk\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 177,\"geometry\": \"Polygon\",\"attributeCount\": 61,\"attributes\": [{\"attribute\": \"abbrev\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afg.\",\"Alb.\",\"Alg.\",\"Ang.\",\"Ant.\",\"Arg.\",\"Arm.\",\"Aust.\",\"Auz.\",\"Aze.\",\"B.F.\",\"B.H.\",\"Bang.\",\"Bela.\",\"Belg.\",\"Belize\",\"Benin\",\"Bhs.\",\"Bhutan\",\"Bolivia\",\"Brazil\",\"Brunei\",\"Bulg.\",\"Bur.\",\"Bwa.\",\"C.A.R.\",\"C.R.\",\"Cam.\",\"Camb.\",\"Can.\",\"Chad\",\"Chile\",\"China\",\"Col.\",\"Cro.\",\"Cuba\",\"Cyp.\",\"Cz. Rep.\",\"D.R.C.\",\"Den.\",\"Dji.\",\"Dom. Rep.\",\"Ecu.\",\"Egypt\",\"El. S.\",\"Eq. G.\",\"Erit.\",\"Est.\",\"Eth.\",\"Fiji\",\"Fin.\",\"Flk. Is.\",\"Fr.\",\"Fr. S.A.L.\",\"Gabon\",\"Gambia\",\"Geo.\",\"Ger.\",\"Ghana\",\"Gin.\",\"GnB.\",\"Greece\",\"Grlnd.\",\"Guat.\",\"Guy.\",\"Haiti\",\"Hond.\",\"Hun.\",\"I.C.\",\"Iceland\",\"India\",\"Indo.\",\"Iran\",\"Iraq\",\"Ire.\",\"Isr.\",\"Italy\",\"Jam.\",\"Japan\",\"Jord.\",\"Kaz.\",\"Ken.\",\"Kgz.\",\"Kos.\",\"Kwt.\",\"Laos\",\"Lat.\",\"Leb.\",\"Les.\",\"Liberia\",\"Libya\",\"Lith.\",\"Lux.\",\"Mad.\",\"Mal.\",\"Malay.\",\"Mali\",\"Mda.\",\"Mex.\",\"Mkd.\"]},{\"attribute\": \"abbrev_len\",\"count\": 8,\"type\": \"number\",\"values\": [10.000000,3.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 3.000000,\"max\": 10.000000},{\"attribute\": \"adm0_a3\",\"count\": 177,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYN\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\"]},{\"attribute\": \"adm0_a3_is\",\"count\": 173,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\",\"MDA\",\"MDG\"]},{\"attribute\": \"adm0_a3_un\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_a3_us\",\"count\": 175,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\",\"MDA\"]},{\"attribute\": \"adm0_a3_wb\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_dif\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,1.000000],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"admin\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\"]},{\"attribute\": \"brk_a3\",\"count\": 177,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"B12\",\"B20\",\"B28\",\"B30\",\"B57\",\"B77\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\"]},{\"attribute\": \"brk_diff\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,1.000000],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"brk_name\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herz.\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Rep.\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Rep.\",\"Cรดte d'Ivoire\",\"Dem. Rep. Korea\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Rep.\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Eq. Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Is.\",\"Fiji\",\"Finland\",\"Fr. S. and Antarctic Lands\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\"]},{\"attribute\": \"continent\",\"count\": 8,\"type\": \"string\",\"values\": [\"Africa\",\"Antarctica\",\"Asia\",\"Europe\",\"North America\",\"Oceania\",\"Seven seas (open ocean)\",\"South America\"]},{\"attribute\": \"economy\",\"count\": 7,\"type\": \"string\",\"values\": [\"1. Developed region: G7\",\"2. Developed region: nonG7\",\"3. Emerging region: BRIC\",\"4. Emerging region: MIKT\",\"5. Emerging region: G20\",\"6. Developing region\",\"7. Least developed region\"]},{\"attribute\": \"featurecla\",\"count\": 1,\"type\": \"string\",\"values\": [\"Admin-0 country\"]},{\"attribute\": \"formal_en\",\"count\": 174,\"type\": \"string\",\"values\": [\"Arab Republic of Egypt\",\"Argentine Republic\",\"Belize\",\"Bolivarian Republic of Venezuela\",\"Bosnia and Herzegovina\",\"Burkina Faso\",\"Canada\",\"Central African Republic\",\"Co-operative Republic of Guyana\",\"Commonwealth of Australia\",\"Commonwealth of Puerto Rico\",\"Commonwealth of the Bahamas\",\"Czech Republic\",\"Democratic People's Republic of Korea\",\"Democratic Republic of Timor-Leste\",\"Democratic Republic of the Congo\",\"Democratic Socialist Republic of Sri Lanka\",\"Dominican Republic\",\"Falkland Islands\",\"Federal Democratic Republic of Ethiopia\",\"Federal Republic of Germany\",\"Federal Republic of Nigeria\",\"Federal Republic of Somalia\",\"Federative Republic of Brazil\",\"Former Yugoslav Republic of Macedonia\",\"French Republic\",\"Gabonese Republic\",\"Georgia\",\"Grand Duchy of Luxembourg\",\"Greenland\",\"Hashemite Kingdom of Jordan\",\"Hellenic Republic\",\"Independent State of Papua New Guinea\",\"Ireland\",\"Islamic Republic of Iran\",\"Islamic Republic of Mauritania\",\"Islamic Republic of Pakistan\",\"Islamic State of Afghanistan\",\"Italian Republic\",\"Jamaica\",\"Japan\",\"Kingdom of Belgium\",\"Kingdom of Bhutan\",\"Kingdom of Cambodia\",\"Kingdom of Denmark\",\"Kingdom of Lesotho\",\"Kingdom of Morocco\",\"Kingdom of Norway\",\"Kingdom of Saudi Arabia\",\"Kingdom of Spain\",\"Kingdom of Swaziland\",\"Kingdom of Sweden\",\"Kingdom of Thailand\",\"Kingdom of the Netherlands\",\"Kyrgyz Republic\",\"Lao People's Democratic Republic\",\"Lebanese Republic\",\"Libya\",\"Malaysia\",\"Mongolia\",\"Montenegro\",\"Negara Brunei Darussalam\",\"Nepal\",\"New Caledonia\",\"New Zealand\",\"Oriental Republic of Uruguay\",\"People's Democratic Republic of Algeria\",\"People's Republic of Angola\",\"People's Republic of Bangladesh\",\"People's Republic of China\",\"Plurinational State of Bolivia\",\"Portuguese Republic\",\"Republic of Albania\",\"Republic of Armenia\",\"Republic of Austria\",\"Republic of Azerbaijan\",\"Republic of Belarus\",\"Republic of Benin\",\"Republic of Botswana\",\"Republic of Bulgaria\",\"Republic of Burundi\",\"Republic of Cameroon\",\"Republic of Chad\",\"Republic of Chile\",\"Republic of Colombia\",\"Republic of Congo\",\"Republic of Costa Rica\",\"Republic of Croatia\",\"Republic of Cuba\",\"Republic of Cyprus\",\"Republic of Djibouti\",\"Republic of Ecuador\",\"Republic of El Salvador\",\"Republic of Equatorial Guinea\",\"Republic of Estonia\",\"Republic of Fiji\",\"Republic of Finland\",\"Republic of Ghana\",\"Republic of Guatemala\",\"Republic of Guinea\"]},{\"attribute\": \"formal_fr\",\"count\": 4,\"type\": \"string\",\"values\": [\"Nouvelle-Calรฉdonie\",\"Republic of Cote D'Ivoire\",\"Repรบblica Bolivariana de Venezuela\",\"Rรฉpublique Togolaise\"]},{\"attribute\": \"gdp_md_est\",\"count\": 177,\"type\": \"number\",\"values\": [-99.000000,10040.000000,103900.000000,105.100000,10600.000000,10670.000000,107700.000000,1078.000000,108200.000000,1100.000000,110300.000000,114100.000000,11500.000000,11610.000000,116700.000000,11810.000000,11950.770000,119500.000000,12250.000000,12710.000000,12830.000000,1300000.000000,13160.000000,13210.000000,13227.000000,13250.000000,1335000.000000,136600.000000,13980.000000,1403000.000000,14060.000000,14590.000000,149100.000000,15094000.000000,1526.000000,15350.000000,1563000.000000,15860.000000,16.000000,16790.000000,17500.000000,175800.000000,17820.000000,1823000.000000,184300.000000,18770.000000,18780.000000,188400.000000,1885.000000,18940.000000,193500.000000,196600.000000,1977704.000000,1993000.000000,20130.000000,201400.000000,20250.000000,203600.000000,20640.000000,208627.000000,20910.000000,21110.000000,2128000.000000,21510.000000,21810.000000,21980.000000,22270.000000,224000.000000,2266000.000000,22700.000000,2272.000000,232900.000000,241700.000000,244500.000000,247300.000000,2520.000000,2536.000000,265200.000000,27060.000000,271400.000000,27410.000000,276400.000000,27940.000000,28890.000000,29010.000000,2918000.000000,2966.000000,29700.000000,29780.000000,3102.000000,31080.000000,3158.000000,31610.000000,316700.000000,317500.000000,3198.000000,3293.000000,329500.000000,3297000.000000,335400.000000],\"min\": -99.000000,\"max\": 15094000.000000},{\"attribute\": \"gdp_year\",\"count\": 3,\"type\": \"number\",\"values\": [-99.000000,0.000000,2009.000000],\"min\": -99.000000,\"max\": 2009.000000},{\"attribute\": \"geou_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"geounit\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\"]},{\"attribute\": \"gu_a3\",\"count\": 177,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYN\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\"]},{\"attribute\": \"homepart\",\"count\": 2,\"type\": \"number\",\"values\": [-99.000000,1.000000],\"min\": -99.000000,\"max\": 1.000000},{\"attribute\": \"income_grp\",\"count\": 5,\"type\": \"string\",\"values\": [\"1. High income: OECD\",\"2. High income: nonOECD\",\"3. Upper middle income\",\"4. Lower middle income\",\"5. Low income\"]},{\"attribute\": \"iso_a2\",\"count\": 175,\"type\": \"string\",\"values\": [\"-99\",\"AE\",\"AF\",\"AL\",\"AM\",\"AO\",\"AQ\",\"AR\",\"AT\",\"AU\",\"AZ\",\"BA\",\"BD\",\"BE\",\"BF\",\"BG\",\"BI\",\"BJ\",\"BN\",\"BO\",\"BR\",\"BS\",\"BT\",\"BW\",\"BY\",\"BZ\",\"CA\",\"CD\",\"CF\",\"CG\",\"CH\",\"CI\",\"CL\",\"CM\",\"CN\",\"CO\",\"CR\",\"CU\",\"CY\",\"CZ\",\"DE\",\"DJ\",\"DK\",\"DO\",\"DZ\",\"EC\",\"EE\",\"EG\",\"EH\",\"ER\",\"ES\",\"ET\",\"FI\",\"FJ\",\"FK\",\"FR\",\"GA\",\"GB\",\"GE\",\"GH\",\"GL\",\"GM\",\"GN\",\"GQ\",\"GR\",\"GT\",\"GW\",\"GY\",\"HN\",\"HR\",\"HT\",\"HU\",\"ID\",\"IE\",\"IL\",\"IN\",\"IQ\",\"IR\",\"IS\",\"IT\",\"JM\",\"JO\",\"JP\",\"KE\",\"KG\",\"KH\",\"KP\",\"KR\",\"KW\",\"KZ\",\"LA\",\"LB\",\"LK\",\"LR\",\"LS\",\"LT\",\"LU\",\"LV\",\"LY\",\"MA\"]},{\"attribute\": \"iso_a3\",\"count\": 175,\"type\": \"string\",\"values\": [\"-99\",\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESH\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\"]},{\"attribute\": \"iso_n3\",\"count\": 175,\"type\": \"string\",\"values\": [\"-99\",\"004\",\"008\",\"010\",\"012\",\"024\",\"031\",\"032\",\"036\",\"040\",\"044\",\"050\",\"051\",\"056\",\"064\",\"068\",\"070\",\"072\",\"076\",\"084\",\"090\",\"096\",\"100\",\"104\",\"108\",\"112\",\"116\",\"120\",\"124\",\"140\",\"144\",\"148\",\"152\",\"156\",\"158\",\"170\",\"178\",\"180\",\"188\",\"191\",\"192\",\"196\",\"203\",\"204\",\"208\",\"214\",\"218\",\"222\",\"226\",\"231\",\"232\",\"233\",\"238\",\"242\",\"246\",\"250\",\"260\",\"262\",\"266\",\"268\",\"270\",\"275\",\"276\",\"288\",\"300\",\"304\",\"320\",\"324\",\"328\",\"332\",\"340\",\"348\",\"352\",\"356\",\"360\",\"364\",\"368\",\"372\",\"376\",\"380\",\"384\",\"388\",\"392\",\"398\",\"400\",\"404\",\"408\",\"410\",\"414\",\"417\",\"418\",\"422\",\"426\",\"428\",\"430\",\"434\",\"440\",\"442\",\"450\",\"454\"]},{\"attribute\": \"labelrank\",\"count\": 6,\"type\": \"number\",\"values\": [2.000000,3.000000,4.000000,5.000000,6.000000,7.000000],\"min\": 2.000000,\"max\": 7.000000},{\"attribute\": \"lastcensus\",\"count\": 27,\"type\": \"number\",\"values\": [-99.000000,1970.000000,1979.000000,1981.000000,1983.000000,1984.000000,1987.000000,1989.000000,1991.000000,1993.000000,1995.000000,1996.000000,1997.000000,1998.000000,2000.000000,2001.000000,2002.000000,2003.000000,2004.000000,2005.000000,2006.000000,2007.000000,2008.000000,2009.000000,2010.000000,2011.000000,2012.000000],\"min\": -99.000000,\"max\": 2012.000000},{\"attribute\": \"level\",\"count\": 1,\"type\": \"number\",\"values\": [2.000000],\"min\": 2.000000,\"max\": 2.000000},{\"attribute\": \"long_len\",\"count\": 21,\"type\": \"number\",\"values\": [10.000000,11.000000,12.000000,13.000000,14.000000,15.000000,16.000000,17.000000,18.000000,19.000000,20.000000,22.000000,24.000000,32.000000,35.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 4.000000,\"max\": 35.000000},{\"attribute\": \"mapcolor13\",\"count\": 14,\"type\": \"number\",\"values\": [-99.000000,1.000000,10.000000,11.000000,12.000000,13.000000,2.000000,3.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": -99.000000,\"max\": 13.000000},{\"attribute\": \"mapcolor7\",\"count\": 7,\"type\": \"number\",\"values\": [1.000000,2.000000,3.000000,4.000000,5.000000,6.000000,7.000000],\"min\": 1.000000,\"max\": 7.000000},{\"attribute\": \"mapcolor8\",\"count\": 8,\"type\": \"number\",\"values\": [1.000000,2.000000,3.000000,4.000000,5.000000,6.000000,7.000000,8.000000],\"min\": 1.000000,\"max\": 8.000000},{\"attribute\": \"mapcolor9\",\"count\": 9,\"type\": \"number\",\"values\": [1.000000,2.000000,3.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 1.000000,\"max\": 9.000000},{\"attribute\": \"name\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herz.\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Rep.\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Rep.\",\"Cรดte d'Ivoire\",\"Dem. Rep. Congo\",\"Dem. Rep. Korea\",\"Denmark\",\"Djibouti\",\"Dominican Rep.\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Eq. Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Is.\",\"Fiji\",\"Finland\",\"Fr. S. Antarctic Lands\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Korea\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\"]},{\"attribute\": \"name_alt\",\"count\": 2,\"type\": \"string\",\"values\": [\"East Timor\",\"Islas Malvinas\"]},{\"attribute\": \"name_len\",\"count\": 16,\"type\": \"number\",\"values\": [10.000000,11.000000,12.000000,13.000000,14.000000,15.000000,16.000000,19.000000,20.000000,22.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 4.000000,\"max\": 22.000000},{\"attribute\": \"name_long\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei Darussalam\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Cรดte d'Ivoire\",\"Dem. Rep. Korea\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\"]},{\"attribute\": \"name_sort\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas, The\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Congo, Dem. Rep.\",\"Congo, Rep.\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Cyprus, Northern\",\"Czech Republic\",\"Cรดte d'Ivoire\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"Ecuador\",\"Egypt, Arab Rep.\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Gambia, The\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran, Islamic Rep.\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Korea, Dem. Rep.\",\"Korea, Rep.\",\"Kosovo\",\"Kuwait\",\"Kyrgyz Republic\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia, FYR\",\"Madagascar\",\"Malawi\"]},{\"attribute\": \"note_adm0\",\"count\": 6,\"type\": \"string\",\"values\": [\"Commonwealth of U.S.A.\",\"Den.\",\"Fr.\",\"Partial self-admin.\",\"Self admin.\",\"U.K.\"]},{\"attribute\": \"note_brk\",\"count\": 8,\"type\": \"string\",\"values\": [\"Admin. by U.K.; Claimed by Argentina\",\"Multiple claims held in abeyance\",\"Partial self-admin.\",\"Self admin.; Claimed by China\",\"Self admin.; Claimed by Cyprus\",\"Self admin.; Claimed by Morocco\",\"Self admin.; Claimed by Serbia\",\"Self admin.; Claimed by Somalia\"]},{\"attribute\": \"pop_est\",\"count\": 177,\"type\": \"number\",\"values\": [-99.000000,10057975.000000,10211904.000000,10329208.000000,10414336.000000,10473282.000000,10486339.000000,10625176.000000,10707924.000000,10737428.000000,111211789.000000,1123913.000000,1131612.000000,11451652.000000,1166079220.000000,11862740.000000,12619600.000000,12666987.000000,127078679.000000,12799293.000000,1299371.000000,1310000.000000,13276517.000000,1338612970.000000,13711597.000000,140.000000,140041247.000000,14268711.000000,14494293.000000,14573101.000000,149229090.000000,1514993.000000,15306252.000000,1533964.000000,15399437.000000,156050883.000000,15746232.000000,16601707.000000,16715999.000000,176242949.000000,1782893.000000,1804838.000000,18879301.000000,198739269.000000,1990876.000000,2005692.000000,20178485.000000,20617068.000000,20653556.000000,2066718.000000,2108665.000000,21262641.000000,2130819.000000,21324791.000000,21669278.000000,218519.000000,22215421.000000,2231503.000000,22665345.000000,227436.000000,22974347.000000,23822783.000000,23832495.000000,240271522.000000,25715819.000000,25946220.000000,265100.000000,26814843.000000,2691158.000000,27606007.000000,2825928.000000,28400000.000000,28563377.000000,28686633.000000,29546963.000000,2967004.000000,3041142.000000,306694.000000,307899.000000,309156.000000,31129225.000000,3129486.000000,313973000.000000,3140.000000,32369558.000000,33487208.000000,3360474.000000,34178188.000000,3418085.000000,3441790.000000,34859364.000000,3494382.000000,3500000.000000,3555179.000000,3639453.000000,3802.000000,38482919.000000,388190.000000,39002772.000000,3971020.000000],\"min\": -99.000000,\"max\": 1338612970.000000},{\"attribute\": \"pop_year\",\"count\": 2,\"type\": \"number\",\"values\": [-99.000000,0.000000],\"min\": -99.000000,\"max\": 0.000000},{\"attribute\": \"postal\",\"count\": 172,\"type\": \"string\",\"values\": [\"A\",\"AE\",\"AF\",\"AL\",\"AO\",\"AQ\",\"AR\",\"ARM\",\"AU\",\"AZ\",\"B\",\"BD\",\"BF\",\"BG\",\"BI\",\"BJ\",\"BN\",\"BO\",\"BR\",\"BS\",\"BT\",\"BW\",\"BY\",\"BZ\",\"BiH\",\"CA\",\"CF\",\"CG\",\"CH\",\"CI\",\"CL\",\"CM\",\"CN\",\"CO\",\"CR\",\"CU\",\"CY\",\"CZ\",\"D\",\"DJ\",\"DK\",\"DO\",\"DRC\",\"DZ\",\"E\",\"EC\",\"EG\",\"ER\",\"EST\",\"ET\",\"F\",\"FIN\",\"FJ\",\"FK\",\"GA\",\"GB\",\"GE\",\"GH\",\"GL\",\"GM\",\"GN\",\"GQ\",\"GR\",\"GT\",\"GW\",\"GY\",\"HN\",\"HR\",\"HT\",\"HU\",\"I\",\"IND\",\"INDO\",\"IRL\",\"IRN\",\"IRQ\",\"IS\",\"J\",\"KE\",\"KG\",\"KH\",\"KO\",\"KP\",\"KR\",\"KW\",\"KZ\",\"L\",\"LA\",\"LB\",\"LK\",\"LR\",\"LS\",\"LT\",\"LV\",\"LY\",\"MA\",\"MD\",\"ME\",\"MG\",\"MK\"]},{\"attribute\": \"region_un\",\"count\": 7,\"type\": \"string\",\"values\": [\"Africa\",\"Americas\",\"Antarctica\",\"Asia\",\"Europe\",\"Oceania\",\"Seven seas (open ocean)\"]},{\"attribute\": \"region_wb\",\"count\": 8,\"type\": \"string\",\"values\": [\"Antarctica\",\"East Asia & Pacific\",\"Europe & Central Asia\",\"Latin America & Caribbean\",\"Middle East & North Africa\",\"North America\",\"South Asia\",\"Sub-Saharan Africa\"]},{\"attribute\": \"scalerank\",\"count\": 2,\"type\": \"number\",\"values\": [1,3],\"min\": 1.000000,\"max\": 3.000000},{\"attribute\": \"sov_a3\",\"count\": 171,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"AU1\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CH1\",\"CHE\",\"CHL\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYN\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DN1\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FI1\",\"FJI\",\"FR1\",\"GAB\",\"GB1\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\",\"MDA\",\"MDG\",\"MEX\"]},{\"attribute\": \"sovereignt\",\"count\": 171,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\",\"Moldova\",\"Mongolia\",\"Montenegro\"]},{\"attribute\": \"su_a3\",\"count\": 177,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYN\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\"]},{\"attribute\": \"su_dif\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,1.000000],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"subregion\",\"count\": 22,\"type\": \"string\",\"values\": [\"Antarctica\",\"Australia and New Zealand\",\"Caribbean\",\"Central America\",\"Central Asia\",\"Eastern Africa\",\"Eastern Asia\",\"Eastern Europe\",\"Melanesia\",\"Middle Africa\",\"Northern Africa\",\"Northern America\",\"Northern Europe\",\"Seven seas (open ocean)\",\"South America\",\"South-Eastern Asia\",\"Southern Africa\",\"Southern Asia\",\"Southern Europe\",\"Western Africa\",\"Western Asia\",\"Western Europe\"]},{\"attribute\": \"subunit\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\"]},{\"attribute\": \"tiny\",\"count\": 5,\"type\": \"number\",\"values\": [-99.000000,2.000000,3.000000,4.000000,5.000000],\"min\": -99.000000,\"max\": 5.000000},{\"attribute\": \"type\",\"count\": 5,\"type\": \"string\",\"values\": [\"Country\",\"Dependency\",\"Disputed\",\"Indeterminate\",\"Sovereign country\"]},{\"attribute\": \"un_a3\",\"count\": 172,\"type\": \"string\",\"values\": [\"-099\",\"004\",\"008\",\"012\",\"024\",\"031\",\"032\",\"036\",\"040\",\"044\",\"050\",\"051\",\"056\",\"064\",\"068\",\"070\",\"072\",\"076\",\"084\",\"090\",\"096\",\"100\",\"104\",\"108\",\"112\",\"116\",\"120\",\"124\",\"140\",\"144\",\"148\",\"152\",\"156\",\"170\",\"178\",\"180\",\"188\",\"191\",\"192\",\"196\",\"203\",\"204\",\"208\",\"214\",\"218\",\"222\",\"226\",\"231\",\"232\",\"233\",\"238\",\"242\",\"246\",\"250\",\"262\",\"266\",\"268\",\"270\",\"275\",\"276\",\"288\",\"300\",\"304\",\"320\",\"324\",\"328\",\"332\",\"340\",\"348\",\"352\",\"356\",\"360\",\"364\",\"368\",\"372\",\"376\",\"380\",\"384\",\"388\",\"392\",\"398\",\"400\",\"404\",\"408\",\"410\",\"414\",\"417\",\"418\",\"422\",\"426\",\"428\",\"430\",\"434\",\"440\",\"442\",\"450\",\"454\",\"458\",\"466\",\"478\"]},{\"attribute\": \"wb_a2\",\"count\": 171,\"type\": \"string\",\"values\": [\"-99\",\"AE\",\"AF\",\"AL\",\"AM\",\"AO\",\"AR\",\"AT\",\"AU\",\"AZ\",\"BA\",\"BD\",\"BE\",\"BF\",\"BG\",\"BI\",\"BJ\",\"BN\",\"BO\",\"BR\",\"BS\",\"BT\",\"BW\",\"BY\",\"BZ\",\"CA\",\"CF\",\"CG\",\"CH\",\"CI\",\"CL\",\"CM\",\"CN\",\"CO\",\"CR\",\"CU\",\"CY\",\"CZ\",\"DE\",\"DJ\",\"DK\",\"DO\",\"DZ\",\"EC\",\"EE\",\"EG\",\"ER\",\"ES\",\"ET\",\"FI\",\"FJ\",\"FR\",\"GA\",\"GB\",\"GE\",\"GH\",\"GL\",\"GM\",\"GN\",\"GQ\",\"GR\",\"GT\",\"GW\",\"GY\",\"GZ\",\"HN\",\"HR\",\"HT\",\"HU\",\"ID\",\"IE\",\"IL\",\"IN\",\"IQ\",\"IR\",\"IS\",\"IT\",\"JM\",\"JO\",\"JP\",\"KE\",\"KG\",\"KH\",\"KP\",\"KR\",\"KV\",\"KW\",\"KZ\",\"LA\",\"LB\",\"LK\",\"LR\",\"LS\",\"LT\",\"LU\",\"LV\",\"LY\",\"MA\",\"MD\",\"ME\"]},{\"attribute\": \"wb_a3\",\"count\": 171,\"type\": \"string\",\"values\": [\"-99\",\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KSV\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\",\"MDA\",\"MDG\",\"MEX\",\"MKD\"]},{\"attribute\": \"wikipedia\",\"count\": 2,\"type\": \"number\",\"values\": [-99.000000,0.000000],\"min\": -99.000000,\"max\": 0.000000},{\"attribute\": \"woe_id\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000}]}]}}", "maxzoom": "5", "minzoom": "0", "name": "tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-fraction-as-needed.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-smallest-as-needed.json b/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-smallest-as-needed.json index 7a146699..3bf7a2bc 100644 --- a/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-smallest-as-needed.json +++ b/tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-smallest-as-needed.json @@ -3,7 +3,7 @@ "center": "16.875000,44.951199,5", "description": "tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-smallest-as-needed.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"formal_fr\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_alt\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"note_adm0\": \"String\", \"note_brk\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"formal_fr\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_alt\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"note_adm0\": \"String\", \"note_brk\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 177,\"geometry\": \"Polygon\",\"attributeCount\": 61,\"attributes\": [{\"attribute\": \"abbrev\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afg.\",\"Alb.\",\"Alg.\",\"Ang.\",\"Ant.\",\"Arg.\",\"Arm.\",\"Aust.\",\"Auz.\",\"Aze.\",\"B.F.\",\"B.H.\",\"Bang.\",\"Bela.\",\"Belg.\",\"Belize\",\"Benin\",\"Bhs.\",\"Bhutan\",\"Bolivia\",\"Brazil\",\"Brunei\",\"Bulg.\",\"Bur.\",\"Bwa.\",\"C.A.R.\",\"C.R.\",\"Cam.\",\"Camb.\",\"Can.\",\"Chad\",\"Chile\",\"China\",\"Col.\",\"Cro.\",\"Cuba\",\"Cyp.\",\"Cz. Rep.\",\"D.R.C.\",\"Den.\",\"Dji.\",\"Dom. Rep.\",\"Ecu.\",\"Egypt\",\"El. S.\",\"Eq. G.\",\"Erit.\",\"Est.\",\"Eth.\",\"Fiji\",\"Fin.\",\"Flk. Is.\",\"Fr.\",\"Fr. S.A.L.\",\"Gabon\",\"Gambia\",\"Geo.\",\"Ger.\",\"Ghana\",\"Gin.\",\"GnB.\",\"Greece\",\"Grlnd.\",\"Guat.\",\"Guy.\",\"Haiti\",\"Hond.\",\"Hun.\",\"I.C.\",\"Iceland\",\"India\",\"Indo.\",\"Iran\",\"Iraq\",\"Ire.\",\"Isr.\",\"Italy\",\"Jam.\",\"Japan\",\"Jord.\",\"Kaz.\",\"Ken.\",\"Kgz.\",\"Kos.\",\"Kwt.\",\"Laos\",\"Lat.\",\"Leb.\",\"Les.\",\"Liberia\",\"Libya\",\"Lith.\",\"Lux.\",\"Mad.\",\"Mal.\",\"Malay.\",\"Mali\",\"Mda.\",\"Mex.\",\"Mkd.\"]},{\"attribute\": \"abbrev_len\",\"count\": 8,\"type\": \"number\",\"values\": [10.000000,3.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 3.000000,\"max\": 10.000000},{\"attribute\": \"adm0_a3\",\"count\": 177,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYN\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\"]},{\"attribute\": \"adm0_a3_is\",\"count\": 173,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\",\"MDA\",\"MDG\"]},{\"attribute\": \"adm0_a3_un\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_a3_us\",\"count\": 175,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\",\"MDA\"]},{\"attribute\": \"adm0_a3_wb\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_dif\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,1.000000],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"admin\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\"]},{\"attribute\": \"brk_a3\",\"count\": 177,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"B12\",\"B20\",\"B28\",\"B30\",\"B57\",\"B77\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\"]},{\"attribute\": \"brk_diff\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,1.000000],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"brk_name\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herz.\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Rep.\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Rep.\",\"Cรดte d'Ivoire\",\"Dem. Rep. Korea\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Rep.\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Eq. Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Is.\",\"Fiji\",\"Finland\",\"Fr. S. and Antarctic Lands\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\"]},{\"attribute\": \"continent\",\"count\": 8,\"type\": \"string\",\"values\": [\"Africa\",\"Antarctica\",\"Asia\",\"Europe\",\"North America\",\"Oceania\",\"Seven seas (open ocean)\",\"South America\"]},{\"attribute\": \"economy\",\"count\": 7,\"type\": \"string\",\"values\": [\"1. Developed region: G7\",\"2. Developed region: nonG7\",\"3. Emerging region: BRIC\",\"4. Emerging region: MIKT\",\"5. Emerging region: G20\",\"6. Developing region\",\"7. Least developed region\"]},{\"attribute\": \"featurecla\",\"count\": 1,\"type\": \"string\",\"values\": [\"Admin-0 country\"]},{\"attribute\": \"formal_en\",\"count\": 174,\"type\": \"string\",\"values\": [\"Arab Republic of Egypt\",\"Argentine Republic\",\"Belize\",\"Bolivarian Republic of Venezuela\",\"Bosnia and Herzegovina\",\"Burkina Faso\",\"Canada\",\"Central African Republic\",\"Co-operative Republic of Guyana\",\"Commonwealth of Australia\",\"Commonwealth of Puerto Rico\",\"Commonwealth of the Bahamas\",\"Czech Republic\",\"Democratic People's Republic of Korea\",\"Democratic Republic of Timor-Leste\",\"Democratic Republic of the Congo\",\"Democratic Socialist Republic of Sri Lanka\",\"Dominican Republic\",\"Falkland Islands\",\"Federal Democratic Republic of Ethiopia\",\"Federal Republic of Germany\",\"Federal Republic of Nigeria\",\"Federal Republic of Somalia\",\"Federative Republic of Brazil\",\"Former Yugoslav Republic of Macedonia\",\"French Republic\",\"Gabonese Republic\",\"Georgia\",\"Grand Duchy of Luxembourg\",\"Greenland\",\"Hashemite Kingdom of Jordan\",\"Hellenic Republic\",\"Independent State of Papua New Guinea\",\"Ireland\",\"Islamic Republic of Iran\",\"Islamic Republic of Mauritania\",\"Islamic Republic of Pakistan\",\"Islamic State of Afghanistan\",\"Italian Republic\",\"Jamaica\",\"Japan\",\"Kingdom of Belgium\",\"Kingdom of Bhutan\",\"Kingdom of Cambodia\",\"Kingdom of Denmark\",\"Kingdom of Lesotho\",\"Kingdom of Morocco\",\"Kingdom of Norway\",\"Kingdom of Saudi Arabia\",\"Kingdom of Spain\",\"Kingdom of Swaziland\",\"Kingdom of Sweden\",\"Kingdom of Thailand\",\"Kingdom of the Netherlands\",\"Kyrgyz Republic\",\"Lao People's Democratic Republic\",\"Lebanese Republic\",\"Libya\",\"Malaysia\",\"Mongolia\",\"Montenegro\",\"Negara Brunei Darussalam\",\"Nepal\",\"New Caledonia\",\"New Zealand\",\"Oriental Republic of Uruguay\",\"People's Democratic Republic of Algeria\",\"People's Republic of Angola\",\"People's Republic of Bangladesh\",\"People's Republic of China\",\"Plurinational State of Bolivia\",\"Portuguese Republic\",\"Republic of Albania\",\"Republic of Armenia\",\"Republic of Austria\",\"Republic of Azerbaijan\",\"Republic of Belarus\",\"Republic of Benin\",\"Republic of Botswana\",\"Republic of Bulgaria\",\"Republic of Burundi\",\"Republic of Cameroon\",\"Republic of Chad\",\"Republic of Chile\",\"Republic of Colombia\",\"Republic of Congo\",\"Republic of Costa Rica\",\"Republic of Croatia\",\"Republic of Cuba\",\"Republic of Cyprus\",\"Republic of Djibouti\",\"Republic of Ecuador\",\"Republic of El Salvador\",\"Republic of Equatorial Guinea\",\"Republic of Estonia\",\"Republic of Fiji\",\"Republic of Finland\",\"Republic of Ghana\",\"Republic of Guatemala\",\"Republic of Guinea\"]},{\"attribute\": \"formal_fr\",\"count\": 4,\"type\": \"string\",\"values\": [\"Nouvelle-Calรฉdonie\",\"Republic of Cote D'Ivoire\",\"Repรบblica Bolivariana de Venezuela\",\"Rรฉpublique Togolaise\"]},{\"attribute\": \"gdp_md_est\",\"count\": 177,\"type\": \"number\",\"values\": [-99.000000,10040.000000,103900.000000,105.100000,10600.000000,10670.000000,107700.000000,1078.000000,108200.000000,1100.000000,110300.000000,114100.000000,11500.000000,11610.000000,116700.000000,11810.000000,11950.770000,119500.000000,12250.000000,12710.000000,12830.000000,1300000.000000,13160.000000,13210.000000,13227.000000,13250.000000,1335000.000000,136600.000000,13980.000000,1403000.000000,14060.000000,14590.000000,149100.000000,15094000.000000,1526.000000,15350.000000,1563000.000000,15860.000000,16.000000,16790.000000,17500.000000,175800.000000,17820.000000,1823000.000000,184300.000000,18770.000000,18780.000000,188400.000000,1885.000000,18940.000000,193500.000000,196600.000000,1977704.000000,1993000.000000,20130.000000,201400.000000,20250.000000,203600.000000,20640.000000,208627.000000,20910.000000,21110.000000,2128000.000000,21510.000000,21810.000000,21980.000000,22270.000000,224000.000000,2266000.000000,22700.000000,2272.000000,232900.000000,241700.000000,244500.000000,247300.000000,2520.000000,2536.000000,265200.000000,27060.000000,271400.000000,27410.000000,276400.000000,27940.000000,28890.000000,29010.000000,2918000.000000,2966.000000,29700.000000,29780.000000,3102.000000,31080.000000,3158.000000,31610.000000,316700.000000,317500.000000,3198.000000,3293.000000,329500.000000,3297000.000000,335400.000000],\"min\": -99.000000,\"max\": 15094000.000000},{\"attribute\": \"gdp_year\",\"count\": 3,\"type\": \"number\",\"values\": [-99.000000,0.000000,2009.000000],\"min\": -99.000000,\"max\": 2009.000000},{\"attribute\": \"geou_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"geounit\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\"]},{\"attribute\": \"gu_a3\",\"count\": 177,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYN\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\"]},{\"attribute\": \"homepart\",\"count\": 2,\"type\": \"number\",\"values\": [-99.000000,1.000000],\"min\": -99.000000,\"max\": 1.000000},{\"attribute\": \"income_grp\",\"count\": 5,\"type\": \"string\",\"values\": [\"1. High income: OECD\",\"2. High income: nonOECD\",\"3. Upper middle income\",\"4. Lower middle income\",\"5. Low income\"]},{\"attribute\": \"iso_a2\",\"count\": 175,\"type\": \"string\",\"values\": [\"-99\",\"AE\",\"AF\",\"AL\",\"AM\",\"AO\",\"AQ\",\"AR\",\"AT\",\"AU\",\"AZ\",\"BA\",\"BD\",\"BE\",\"BF\",\"BG\",\"BI\",\"BJ\",\"BN\",\"BO\",\"BR\",\"BS\",\"BT\",\"BW\",\"BY\",\"BZ\",\"CA\",\"CD\",\"CF\",\"CG\",\"CH\",\"CI\",\"CL\",\"CM\",\"CN\",\"CO\",\"CR\",\"CU\",\"CY\",\"CZ\",\"DE\",\"DJ\",\"DK\",\"DO\",\"DZ\",\"EC\",\"EE\",\"EG\",\"EH\",\"ER\",\"ES\",\"ET\",\"FI\",\"FJ\",\"FK\",\"FR\",\"GA\",\"GB\",\"GE\",\"GH\",\"GL\",\"GM\",\"GN\",\"GQ\",\"GR\",\"GT\",\"GW\",\"GY\",\"HN\",\"HR\",\"HT\",\"HU\",\"ID\",\"IE\",\"IL\",\"IN\",\"IQ\",\"IR\",\"IS\",\"IT\",\"JM\",\"JO\",\"JP\",\"KE\",\"KG\",\"KH\",\"KP\",\"KR\",\"KW\",\"KZ\",\"LA\",\"LB\",\"LK\",\"LR\",\"LS\",\"LT\",\"LU\",\"LV\",\"LY\",\"MA\"]},{\"attribute\": \"iso_a3\",\"count\": 175,\"type\": \"string\",\"values\": [\"-99\",\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESH\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\"]},{\"attribute\": \"iso_n3\",\"count\": 175,\"type\": \"string\",\"values\": [\"-99\",\"004\",\"008\",\"010\",\"012\",\"024\",\"031\",\"032\",\"036\",\"040\",\"044\",\"050\",\"051\",\"056\",\"064\",\"068\",\"070\",\"072\",\"076\",\"084\",\"090\",\"096\",\"100\",\"104\",\"108\",\"112\",\"116\",\"120\",\"124\",\"140\",\"144\",\"148\",\"152\",\"156\",\"158\",\"170\",\"178\",\"180\",\"188\",\"191\",\"192\",\"196\",\"203\",\"204\",\"208\",\"214\",\"218\",\"222\",\"226\",\"231\",\"232\",\"233\",\"238\",\"242\",\"246\",\"250\",\"260\",\"262\",\"266\",\"268\",\"270\",\"275\",\"276\",\"288\",\"300\",\"304\",\"320\",\"324\",\"328\",\"332\",\"340\",\"348\",\"352\",\"356\",\"360\",\"364\",\"368\",\"372\",\"376\",\"380\",\"384\",\"388\",\"392\",\"398\",\"400\",\"404\",\"408\",\"410\",\"414\",\"417\",\"418\",\"422\",\"426\",\"428\",\"430\",\"434\",\"440\",\"442\",\"450\",\"454\"]},{\"attribute\": \"labelrank\",\"count\": 6,\"type\": \"number\",\"values\": [2.000000,3.000000,4.000000,5.000000,6.000000,7.000000],\"min\": 2.000000,\"max\": 7.000000},{\"attribute\": \"lastcensus\",\"count\": 27,\"type\": \"number\",\"values\": [-99.000000,1970.000000,1979.000000,1981.000000,1983.000000,1984.000000,1987.000000,1989.000000,1991.000000,1993.000000,1995.000000,1996.000000,1997.000000,1998.000000,2000.000000,2001.000000,2002.000000,2003.000000,2004.000000,2005.000000,2006.000000,2007.000000,2008.000000,2009.000000,2010.000000,2011.000000,2012.000000],\"min\": -99.000000,\"max\": 2012.000000},{\"attribute\": \"level\",\"count\": 1,\"type\": \"number\",\"values\": [2.000000],\"min\": 2.000000,\"max\": 2.000000},{\"attribute\": \"long_len\",\"count\": 21,\"type\": \"number\",\"values\": [10.000000,11.000000,12.000000,13.000000,14.000000,15.000000,16.000000,17.000000,18.000000,19.000000,20.000000,22.000000,24.000000,32.000000,35.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 4.000000,\"max\": 35.000000},{\"attribute\": \"mapcolor13\",\"count\": 14,\"type\": \"number\",\"values\": [-99.000000,1.000000,10.000000,11.000000,12.000000,13.000000,2.000000,3.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": -99.000000,\"max\": 13.000000},{\"attribute\": \"mapcolor7\",\"count\": 7,\"type\": \"number\",\"values\": [1.000000,2.000000,3.000000,4.000000,5.000000,6.000000,7.000000],\"min\": 1.000000,\"max\": 7.000000},{\"attribute\": \"mapcolor8\",\"count\": 8,\"type\": \"number\",\"values\": [1.000000,2.000000,3.000000,4.000000,5.000000,6.000000,7.000000,8.000000],\"min\": 1.000000,\"max\": 8.000000},{\"attribute\": \"mapcolor9\",\"count\": 9,\"type\": \"number\",\"values\": [1.000000,2.000000,3.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 1.000000,\"max\": 9.000000},{\"attribute\": \"name\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herz.\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Rep.\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Rep.\",\"Cรดte d'Ivoire\",\"Dem. Rep. Congo\",\"Dem. Rep. Korea\",\"Denmark\",\"Djibouti\",\"Dominican Rep.\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Eq. Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Is.\",\"Fiji\",\"Finland\",\"Fr. S. Antarctic Lands\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Korea\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\"]},{\"attribute\": \"name_alt\",\"count\": 2,\"type\": \"string\",\"values\": [\"East Timor\",\"Islas Malvinas\"]},{\"attribute\": \"name_len\",\"count\": 16,\"type\": \"number\",\"values\": [10.000000,11.000000,12.000000,13.000000,14.000000,15.000000,16.000000,19.000000,20.000000,22.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 4.000000,\"max\": 22.000000},{\"attribute\": \"name_long\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei Darussalam\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Cรดte d'Ivoire\",\"Dem. Rep. Korea\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\"]},{\"attribute\": \"name_sort\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas, The\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Congo, Dem. Rep.\",\"Congo, Rep.\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Cyprus, Northern\",\"Czech Republic\",\"Cรดte d'Ivoire\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"Ecuador\",\"Egypt, Arab Rep.\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Gambia, The\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran, Islamic Rep.\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Korea, Dem. Rep.\",\"Korea, Rep.\",\"Kosovo\",\"Kuwait\",\"Kyrgyz Republic\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia, FYR\",\"Madagascar\",\"Malawi\"]},{\"attribute\": \"note_adm0\",\"count\": 6,\"type\": \"string\",\"values\": [\"Commonwealth of U.S.A.\",\"Den.\",\"Fr.\",\"Partial self-admin.\",\"Self admin.\",\"U.K.\"]},{\"attribute\": \"note_brk\",\"count\": 8,\"type\": \"string\",\"values\": [\"Admin. by U.K.; Claimed by Argentina\",\"Multiple claims held in abeyance\",\"Partial self-admin.\",\"Self admin.; Claimed by China\",\"Self admin.; Claimed by Cyprus\",\"Self admin.; Claimed by Morocco\",\"Self admin.; Claimed by Serbia\",\"Self admin.; Claimed by Somalia\"]},{\"attribute\": \"pop_est\",\"count\": 177,\"type\": \"number\",\"values\": [-99.000000,10057975.000000,10211904.000000,10329208.000000,10414336.000000,10473282.000000,10486339.000000,10625176.000000,10707924.000000,10737428.000000,111211789.000000,1123913.000000,1131612.000000,11451652.000000,1166079220.000000,11862740.000000,12619600.000000,12666987.000000,127078679.000000,12799293.000000,1299371.000000,1310000.000000,13276517.000000,1338612970.000000,13711597.000000,140.000000,140041247.000000,14268711.000000,14494293.000000,14573101.000000,149229090.000000,1514993.000000,15306252.000000,1533964.000000,15399437.000000,156050883.000000,15746232.000000,16601707.000000,16715999.000000,176242949.000000,1782893.000000,1804838.000000,18879301.000000,198739269.000000,1990876.000000,2005692.000000,20178485.000000,20617068.000000,20653556.000000,2066718.000000,2108665.000000,21262641.000000,2130819.000000,21324791.000000,21669278.000000,218519.000000,22215421.000000,2231503.000000,22665345.000000,227436.000000,22974347.000000,23822783.000000,23832495.000000,240271522.000000,25715819.000000,25946220.000000,265100.000000,26814843.000000,2691158.000000,27606007.000000,2825928.000000,28400000.000000,28563377.000000,28686633.000000,29546963.000000,2967004.000000,3041142.000000,306694.000000,307899.000000,309156.000000,31129225.000000,3129486.000000,313973000.000000,3140.000000,32369558.000000,33487208.000000,3360474.000000,34178188.000000,3418085.000000,3441790.000000,34859364.000000,3494382.000000,3500000.000000,3555179.000000,3639453.000000,3802.000000,38482919.000000,388190.000000,39002772.000000,3971020.000000],\"min\": -99.000000,\"max\": 1338612970.000000},{\"attribute\": \"pop_year\",\"count\": 2,\"type\": \"number\",\"values\": [-99.000000,0.000000],\"min\": -99.000000,\"max\": 0.000000},{\"attribute\": \"postal\",\"count\": 172,\"type\": \"string\",\"values\": [\"A\",\"AE\",\"AF\",\"AL\",\"AO\",\"AQ\",\"AR\",\"ARM\",\"AU\",\"AZ\",\"B\",\"BD\",\"BF\",\"BG\",\"BI\",\"BJ\",\"BN\",\"BO\",\"BR\",\"BS\",\"BT\",\"BW\",\"BY\",\"BZ\",\"BiH\",\"CA\",\"CF\",\"CG\",\"CH\",\"CI\",\"CL\",\"CM\",\"CN\",\"CO\",\"CR\",\"CU\",\"CY\",\"CZ\",\"D\",\"DJ\",\"DK\",\"DO\",\"DRC\",\"DZ\",\"E\",\"EC\",\"EG\",\"ER\",\"EST\",\"ET\",\"F\",\"FIN\",\"FJ\",\"FK\",\"GA\",\"GB\",\"GE\",\"GH\",\"GL\",\"GM\",\"GN\",\"GQ\",\"GR\",\"GT\",\"GW\",\"GY\",\"HN\",\"HR\",\"HT\",\"HU\",\"I\",\"IND\",\"INDO\",\"IRL\",\"IRN\",\"IRQ\",\"IS\",\"J\",\"KE\",\"KG\",\"KH\",\"KO\",\"KP\",\"KR\",\"KW\",\"KZ\",\"L\",\"LA\",\"LB\",\"LK\",\"LR\",\"LS\",\"LT\",\"LV\",\"LY\",\"MA\",\"MD\",\"ME\",\"MG\",\"MK\"]},{\"attribute\": \"region_un\",\"count\": 7,\"type\": \"string\",\"values\": [\"Africa\",\"Americas\",\"Antarctica\",\"Asia\",\"Europe\",\"Oceania\",\"Seven seas (open ocean)\"]},{\"attribute\": \"region_wb\",\"count\": 8,\"type\": \"string\",\"values\": [\"Antarctica\",\"East Asia & Pacific\",\"Europe & Central Asia\",\"Latin America & Caribbean\",\"Middle East & North Africa\",\"North America\",\"South Asia\",\"Sub-Saharan Africa\"]},{\"attribute\": \"scalerank\",\"count\": 2,\"type\": \"number\",\"values\": [1,3],\"min\": 1.000000,\"max\": 3.000000},{\"attribute\": \"sov_a3\",\"count\": 171,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"AU1\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CH1\",\"CHE\",\"CHL\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYN\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DN1\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FI1\",\"FJI\",\"FR1\",\"GAB\",\"GB1\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\",\"MDA\",\"MDG\",\"MEX\"]},{\"attribute\": \"sovereignt\",\"count\": 171,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\",\"Moldova\",\"Mongolia\",\"Montenegro\"]},{\"attribute\": \"su_a3\",\"count\": 177,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYN\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\"]},{\"attribute\": \"su_dif\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,1.000000],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"subregion\",\"count\": 22,\"type\": \"string\",\"values\": [\"Antarctica\",\"Australia and New Zealand\",\"Caribbean\",\"Central America\",\"Central Asia\",\"Eastern Africa\",\"Eastern Asia\",\"Eastern Europe\",\"Melanesia\",\"Middle Africa\",\"Northern Africa\",\"Northern America\",\"Northern Europe\",\"Seven seas (open ocean)\",\"South America\",\"South-Eastern Asia\",\"Southern Africa\",\"Southern Asia\",\"Southern Europe\",\"Western Africa\",\"Western Asia\",\"Western Europe\"]},{\"attribute\": \"subunit\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\"]},{\"attribute\": \"tiny\",\"count\": 5,\"type\": \"number\",\"values\": [-99.000000,2.000000,3.000000,4.000000,5.000000],\"min\": -99.000000,\"max\": 5.000000},{\"attribute\": \"type\",\"count\": 5,\"type\": \"string\",\"values\": [\"Country\",\"Dependency\",\"Disputed\",\"Indeterminate\",\"Sovereign country\"]},{\"attribute\": \"un_a3\",\"count\": 172,\"type\": \"string\",\"values\": [\"-099\",\"004\",\"008\",\"012\",\"024\",\"031\",\"032\",\"036\",\"040\",\"044\",\"050\",\"051\",\"056\",\"064\",\"068\",\"070\",\"072\",\"076\",\"084\",\"090\",\"096\",\"100\",\"104\",\"108\",\"112\",\"116\",\"120\",\"124\",\"140\",\"144\",\"148\",\"152\",\"156\",\"170\",\"178\",\"180\",\"188\",\"191\",\"192\",\"196\",\"203\",\"204\",\"208\",\"214\",\"218\",\"222\",\"226\",\"231\",\"232\",\"233\",\"238\",\"242\",\"246\",\"250\",\"262\",\"266\",\"268\",\"270\",\"275\",\"276\",\"288\",\"300\",\"304\",\"320\",\"324\",\"328\",\"332\",\"340\",\"348\",\"352\",\"356\",\"360\",\"364\",\"368\",\"372\",\"376\",\"380\",\"384\",\"388\",\"392\",\"398\",\"400\",\"404\",\"408\",\"410\",\"414\",\"417\",\"418\",\"422\",\"426\",\"428\",\"430\",\"434\",\"440\",\"442\",\"450\",\"454\",\"458\",\"466\",\"478\"]},{\"attribute\": \"wb_a2\",\"count\": 171,\"type\": \"string\",\"values\": [\"-99\",\"AE\",\"AF\",\"AL\",\"AM\",\"AO\",\"AR\",\"AT\",\"AU\",\"AZ\",\"BA\",\"BD\",\"BE\",\"BF\",\"BG\",\"BI\",\"BJ\",\"BN\",\"BO\",\"BR\",\"BS\",\"BT\",\"BW\",\"BY\",\"BZ\",\"CA\",\"CF\",\"CG\",\"CH\",\"CI\",\"CL\",\"CM\",\"CN\",\"CO\",\"CR\",\"CU\",\"CY\",\"CZ\",\"DE\",\"DJ\",\"DK\",\"DO\",\"DZ\",\"EC\",\"EE\",\"EG\",\"ER\",\"ES\",\"ET\",\"FI\",\"FJ\",\"FR\",\"GA\",\"GB\",\"GE\",\"GH\",\"GL\",\"GM\",\"GN\",\"GQ\",\"GR\",\"GT\",\"GW\",\"GY\",\"GZ\",\"HN\",\"HR\",\"HT\",\"HU\",\"ID\",\"IE\",\"IL\",\"IN\",\"IQ\",\"IR\",\"IS\",\"IT\",\"JM\",\"JO\",\"JP\",\"KE\",\"KG\",\"KH\",\"KP\",\"KR\",\"KV\",\"KW\",\"KZ\",\"LA\",\"LB\",\"LK\",\"LR\",\"LS\",\"LT\",\"LU\",\"LV\",\"LY\",\"MA\",\"MD\",\"ME\"]},{\"attribute\": \"wb_a3\",\"count\": 171,\"type\": \"string\",\"values\": [\"-99\",\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KSV\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\",\"MDA\",\"MDG\",\"MEX\",\"MKD\"]},{\"attribute\": \"wikipedia\",\"count\": 2,\"type\": \"number\",\"values\": [-99.000000,0.000000],\"min\": -99.000000,\"max\": 0.000000},{\"attribute\": \"woe_id\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000}]}]}}", "maxzoom": "5", "minzoom": "0", "name": "tests/ne_110m_admin_0_countries/out/-ae_-zg_-M5000_--drop-smallest-as-needed.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z4_-yname.json b/tests/ne_110m_admin_0_countries/out/-z4_-yname.json index 09fd6c4f..78732127 100644 --- a/tests/ne_110m_admin_0_countries/out/-z4_-yname.json +++ b/tests/ne_110m_admin_0_countries/out/-z4_-yname.json @@ -3,7 +3,7 @@ "center": "11.250000,48.378236,4", "description": "tests/ne_110m_admin_0_countries/out/-z4_-yname.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 177,\"geometry\": \"Polygon\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herz.\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Rep.\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Rep.\",\"Cรดte d'Ivoire\",\"Dem. Rep. Congo\",\"Dem. Rep. Korea\",\"Denmark\",\"Djibouti\",\"Dominican Rep.\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Eq. Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Is.\",\"Fiji\",\"Finland\",\"Fr. S. Antarctic Lands\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Korea\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\"]}]}]}}", "maxzoom": "4", "minzoom": "0", "name": "tests/ne_110m_admin_0_countries/out/-z4_-yname.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z4_-yname_--drop-polygons.json b/tests/ne_110m_admin_0_countries/out/-z4_-yname_--drop-polygons.json index b10acceb..594e47c0 100644 --- a/tests/ne_110m_admin_0_countries/out/-z4_-yname_--drop-polygons.json +++ b/tests/ne_110m_admin_0_countries/out/-z4_-yname_--drop-polygons.json @@ -3,7 +3,7 @@ "center": "11.250000,48.378236,4", "description": "tests/ne_110m_admin_0_countries/out/-z4_-yname_--drop-polygons.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 177,\"geometry\": \"Polygon\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herz.\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Rep.\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Rep.\",\"Cรดte d'Ivoire\",\"Dem. Rep. Congo\",\"Dem. Rep. Korea\",\"Denmark\",\"Djibouti\",\"Dominican Rep.\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Eq. Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Is.\",\"Fiji\",\"Finland\",\"Fr. S. Antarctic Lands\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Korea\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\"]}]}]}}", "maxzoom": "4", "minzoom": "0", "name": "tests/ne_110m_admin_0_countries/out/-z4_-yname_--drop-polygons.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z4_-yname_--grid-low-zooms_-D8.json b/tests/ne_110m_admin_0_countries/out/-z4_-yname_--grid-low-zooms_-D8.json index efa3fbb1..5a51dece 100644 --- a/tests/ne_110m_admin_0_countries/out/-z4_-yname_--grid-low-zooms_-D8.json +++ b/tests/ne_110m_admin_0_countries/out/-z4_-yname_--grid-low-zooms_-D8.json @@ -3,7 +3,7 @@ "center": "11.250000,48.378236,4", "description": "tests/ne_110m_admin_0_countries/out/-z4_-yname_--grid-low-zooms_-D8.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 177,\"geometry\": \"Polygon\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herz.\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Rep.\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Rep.\",\"Cรดte d'Ivoire\",\"Dem. Rep. Congo\",\"Dem. Rep. Korea\",\"Denmark\",\"Djibouti\",\"Dominican Rep.\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Eq. Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Is.\",\"Fiji\",\"Finland\",\"Fr. S. Antarctic Lands\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Korea\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\"]}]}]}}", "maxzoom": "4", "minzoom": "0", "name": "tests/ne_110m_admin_0_countries/out/-z4_-yname_--grid-low-zooms_-D8.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z4_-yname_--no-tiny-polygon-reduction.json b/tests/ne_110m_admin_0_countries/out/-z4_-yname_--no-tiny-polygon-reduction.json index fe41a6c6..e673ea1e 100644 --- a/tests/ne_110m_admin_0_countries/out/-z4_-yname_--no-tiny-polygon-reduction.json +++ b/tests/ne_110m_admin_0_countries/out/-z4_-yname_--no-tiny-polygon-reduction.json @@ -3,7 +3,7 @@ "center": "11.250000,48.378236,4", "description": "tests/ne_110m_admin_0_countries/out/-z4_-yname_--no-tiny-polygon-reduction.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 177,\"geometry\": \"Polygon\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herz.\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Rep.\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Rep.\",\"Cรดte d'Ivoire\",\"Dem. Rep. Congo\",\"Dem. Rep. Korea\",\"Denmark\",\"Djibouti\",\"Dominican Rep.\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Eq. Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Is.\",\"Fiji\",\"Finland\",\"Fr. S. Antarctic Lands\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Korea\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\"]}]}]}}", "maxzoom": "4", "minzoom": "0", "name": "tests/ne_110m_admin_0_countries/out/-z4_-yname_--no-tiny-polygon-reduction.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4.json b/tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4.json index 66901ee4..9e6f7f8b 100644 --- a/tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4.json +++ b/tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4.json @@ -3,7 +3,7 @@ "center": "11.250000,48.378236,4", "description": "tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 177,\"geometry\": \"Polygon\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herz.\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Rep.\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Rep.\",\"Cรดte d'Ivoire\",\"Dem. Rep. Congo\",\"Dem. Rep. Korea\",\"Denmark\",\"Djibouti\",\"Dominican Rep.\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Eq. Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Is.\",\"Fiji\",\"Finland\",\"Fr. S. Antarctic Lands\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Korea\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\"]}]}]}}", "maxzoom": "4", "minzoom": "0", "name": "tests/ne_110m_admin_0_countries/out/-z4_-yname_-S4.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z4_-yname_-pD.json b/tests/ne_110m_admin_0_countries/out/-z4_-yname_-pD.json index c1c8bd2f..d7c1fb68 100644 --- a/tests/ne_110m_admin_0_countries/out/-z4_-yname_-pD.json +++ b/tests/ne_110m_admin_0_countries/out/-z4_-yname_-pD.json @@ -3,7 +3,7 @@ "center": "-101.250000,70.266402,4", "description": "tests/ne_110m_admin_0_countries/out/-z4_-yname_-pD.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 177,\"geometry\": \"Polygon\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herz.\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Rep.\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Rep.\",\"Cรดte d'Ivoire\",\"Dem. Rep. Congo\",\"Dem. Rep. Korea\",\"Denmark\",\"Djibouti\",\"Dominican Rep.\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Eq. Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Is.\",\"Fiji\",\"Finland\",\"Fr. S. Antarctic Lands\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Korea\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\"]}]}]}}", "maxzoom": "4", "minzoom": "0", "name": "tests/ne_110m_admin_0_countries/out/-z4_-yname_-pD.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z4_-yname_-pc.json b/tests/ne_110m_admin_0_countries/out/-z4_-yname_-pc.json index 26f704e7..39132677 100644 --- a/tests/ne_110m_admin_0_countries/out/-z4_-yname_-pc.json +++ b/tests/ne_110m_admin_0_countries/out/-z4_-yname_-pc.json @@ -3,7 +3,7 @@ "center": "11.250000,48.378236,4", "description": "tests/ne_110m_admin_0_countries/out/-z4_-yname_-pc.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 177,\"geometry\": \"Polygon\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herz.\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Rep.\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Rep.\",\"Cรดte d'Ivoire\",\"Dem. Rep. Congo\",\"Dem. Rep. Korea\",\"Denmark\",\"Djibouti\",\"Dominican Rep.\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Eq. Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Is.\",\"Fiji\",\"Finland\",\"Fr. S. Antarctic Lands\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Korea\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\"]}]}]}}", "maxzoom": "4", "minzoom": "0", "name": "tests/ne_110m_admin_0_countries/out/-z4_-yname_-pc.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--drop-smallest-as-needed.json b/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--drop-smallest-as-needed.json index f7959f46..946d5e0a 100644 --- a/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--drop-smallest-as-needed.json +++ b/tests/ne_110m_admin_0_countries/out/-z5_-M5000_--drop-smallest-as-needed.json @@ -3,7 +3,7 @@ "center": "16.875000,44.951199,5", "description": "tests/ne_110m_admin_0_countries/out/-z5_-M5000_--drop-smallest-as-needed.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"formal_fr\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_alt\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"note_adm0\": \"String\", \"note_brk\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"abbrev\": \"String\", \"abbrev_len\": \"Number\", \"adm0_a3\": \"String\", \"adm0_a3_is\": \"String\", \"adm0_a3_un\": \"Number\", \"adm0_a3_us\": \"String\", \"adm0_a3_wb\": \"Number\", \"adm0_dif\": \"Number\", \"admin\": \"String\", \"brk_a3\": \"String\", \"brk_diff\": \"Number\", \"brk_name\": \"String\", \"continent\": \"String\", \"economy\": \"String\", \"featurecla\": \"String\", \"formal_en\": \"String\", \"formal_fr\": \"String\", \"gdp_md_est\": \"Number\", \"gdp_year\": \"Number\", \"geou_dif\": \"Number\", \"geounit\": \"String\", \"gu_a3\": \"String\", \"homepart\": \"Number\", \"income_grp\": \"String\", \"iso_a2\": \"String\", \"iso_a3\": \"String\", \"iso_n3\": \"String\", \"labelrank\": \"Number\", \"lastcensus\": \"Number\", \"level\": \"Number\", \"long_len\": \"Number\", \"mapcolor13\": \"Number\", \"mapcolor7\": \"Number\", \"mapcolor8\": \"Number\", \"mapcolor9\": \"Number\", \"name\": \"String\", \"name_alt\": \"String\", \"name_len\": \"Number\", \"name_long\": \"String\", \"name_sort\": \"String\", \"note_adm0\": \"String\", \"note_brk\": \"String\", \"pop_est\": \"Number\", \"pop_year\": \"Number\", \"postal\": \"String\", \"region_un\": \"String\", \"region_wb\": \"String\", \"scalerank\": \"Number\", \"sov_a3\": \"String\", \"sovereignt\": \"String\", \"su_a3\": \"String\", \"su_dif\": \"Number\", \"subregion\": \"String\", \"subunit\": \"String\", \"tiny\": \"Number\", \"type\": \"String\", \"un_a3\": \"String\", \"wb_a2\": \"String\", \"wb_a3\": \"String\", \"wikipedia\": \"Number\", \"woe_id\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 177,\"geometry\": \"Polygon\",\"attributeCount\": 61,\"attributes\": [{\"attribute\": \"abbrev\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afg.\",\"Alb.\",\"Alg.\",\"Ang.\",\"Ant.\",\"Arg.\",\"Arm.\",\"Aust.\",\"Auz.\",\"Aze.\",\"B.F.\",\"B.H.\",\"Bang.\",\"Bela.\",\"Belg.\",\"Belize\",\"Benin\",\"Bhs.\",\"Bhutan\",\"Bolivia\",\"Brazil\",\"Brunei\",\"Bulg.\",\"Bur.\",\"Bwa.\",\"C.A.R.\",\"C.R.\",\"Cam.\",\"Camb.\",\"Can.\",\"Chad\",\"Chile\",\"China\",\"Col.\",\"Cro.\",\"Cuba\",\"Cyp.\",\"Cz. Rep.\",\"D.R.C.\",\"Den.\",\"Dji.\",\"Dom. Rep.\",\"Ecu.\",\"Egypt\",\"El. S.\",\"Eq. G.\",\"Erit.\",\"Est.\",\"Eth.\",\"Fiji\",\"Fin.\",\"Flk. Is.\",\"Fr.\",\"Fr. S.A.L.\",\"Gabon\",\"Gambia\",\"Geo.\",\"Ger.\",\"Ghana\",\"Gin.\",\"GnB.\",\"Greece\",\"Grlnd.\",\"Guat.\",\"Guy.\",\"Haiti\",\"Hond.\",\"Hun.\",\"I.C.\",\"Iceland\",\"India\",\"Indo.\",\"Iran\",\"Iraq\",\"Ire.\",\"Isr.\",\"Italy\",\"Jam.\",\"Japan\",\"Jord.\",\"Kaz.\",\"Ken.\",\"Kgz.\",\"Kos.\",\"Kwt.\",\"Laos\",\"Lat.\",\"Leb.\",\"Les.\",\"Liberia\",\"Libya\",\"Lith.\",\"Lux.\",\"Mad.\",\"Mal.\",\"Malay.\",\"Mali\",\"Mda.\",\"Mex.\",\"Mkd.\"]},{\"attribute\": \"abbrev_len\",\"count\": 8,\"type\": \"number\",\"values\": [10.000000,3.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 3.000000,\"max\": 10.000000},{\"attribute\": \"adm0_a3\",\"count\": 177,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYN\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\"]},{\"attribute\": \"adm0_a3_is\",\"count\": 173,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\",\"MDA\",\"MDG\"]},{\"attribute\": \"adm0_a3_un\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_a3_us\",\"count\": 175,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\",\"MDA\"]},{\"attribute\": \"adm0_a3_wb\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000},{\"attribute\": \"adm0_dif\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,1.000000],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"admin\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\"]},{\"attribute\": \"brk_a3\",\"count\": 177,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"B12\",\"B20\",\"B28\",\"B30\",\"B57\",\"B77\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\"]},{\"attribute\": \"brk_diff\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,1.000000],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"brk_name\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herz.\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Rep.\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Rep.\",\"Cรดte d'Ivoire\",\"Dem. Rep. Korea\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Rep.\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Eq. Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Is.\",\"Fiji\",\"Finland\",\"Fr. S. and Antarctic Lands\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\"]},{\"attribute\": \"continent\",\"count\": 8,\"type\": \"string\",\"values\": [\"Africa\",\"Antarctica\",\"Asia\",\"Europe\",\"North America\",\"Oceania\",\"Seven seas (open ocean)\",\"South America\"]},{\"attribute\": \"economy\",\"count\": 7,\"type\": \"string\",\"values\": [\"1. Developed region: G7\",\"2. Developed region: nonG7\",\"3. Emerging region: BRIC\",\"4. Emerging region: MIKT\",\"5. Emerging region: G20\",\"6. Developing region\",\"7. Least developed region\"]},{\"attribute\": \"featurecla\",\"count\": 1,\"type\": \"string\",\"values\": [\"Admin-0 country\"]},{\"attribute\": \"formal_en\",\"count\": 174,\"type\": \"string\",\"values\": [\"Arab Republic of Egypt\",\"Argentine Republic\",\"Belize\",\"Bolivarian Republic of Venezuela\",\"Bosnia and Herzegovina\",\"Burkina Faso\",\"Canada\",\"Central African Republic\",\"Co-operative Republic of Guyana\",\"Commonwealth of Australia\",\"Commonwealth of Puerto Rico\",\"Commonwealth of the Bahamas\",\"Czech Republic\",\"Democratic People's Republic of Korea\",\"Democratic Republic of Timor-Leste\",\"Democratic Republic of the Congo\",\"Democratic Socialist Republic of Sri Lanka\",\"Dominican Republic\",\"Falkland Islands\",\"Federal Democratic Republic of Ethiopia\",\"Federal Republic of Germany\",\"Federal Republic of Nigeria\",\"Federal Republic of Somalia\",\"Federative Republic of Brazil\",\"Former Yugoslav Republic of Macedonia\",\"French Republic\",\"Gabonese Republic\",\"Georgia\",\"Grand Duchy of Luxembourg\",\"Greenland\",\"Hashemite Kingdom of Jordan\",\"Hellenic Republic\",\"Independent State of Papua New Guinea\",\"Ireland\",\"Islamic Republic of Iran\",\"Islamic Republic of Mauritania\",\"Islamic Republic of Pakistan\",\"Islamic State of Afghanistan\",\"Italian Republic\",\"Jamaica\",\"Japan\",\"Kingdom of Belgium\",\"Kingdom of Bhutan\",\"Kingdom of Cambodia\",\"Kingdom of Denmark\",\"Kingdom of Lesotho\",\"Kingdom of Morocco\",\"Kingdom of Norway\",\"Kingdom of Saudi Arabia\",\"Kingdom of Spain\",\"Kingdom of Swaziland\",\"Kingdom of Sweden\",\"Kingdom of Thailand\",\"Kingdom of the Netherlands\",\"Kyrgyz Republic\",\"Lao People's Democratic Republic\",\"Lebanese Republic\",\"Libya\",\"Malaysia\",\"Mongolia\",\"Montenegro\",\"Negara Brunei Darussalam\",\"Nepal\",\"New Caledonia\",\"New Zealand\",\"Oriental Republic of Uruguay\",\"People's Democratic Republic of Algeria\",\"People's Republic of Angola\",\"People's Republic of Bangladesh\",\"People's Republic of China\",\"Plurinational State of Bolivia\",\"Portuguese Republic\",\"Republic of Albania\",\"Republic of Armenia\",\"Republic of Austria\",\"Republic of Azerbaijan\",\"Republic of Belarus\",\"Republic of Benin\",\"Republic of Botswana\",\"Republic of Bulgaria\",\"Republic of Burundi\",\"Republic of Cameroon\",\"Republic of Chad\",\"Republic of Chile\",\"Republic of Colombia\",\"Republic of Congo\",\"Republic of Costa Rica\",\"Republic of Croatia\",\"Republic of Cuba\",\"Republic of Cyprus\",\"Republic of Djibouti\",\"Republic of Ecuador\",\"Republic of El Salvador\",\"Republic of Equatorial Guinea\",\"Republic of Estonia\",\"Republic of Fiji\",\"Republic of Finland\",\"Republic of Ghana\",\"Republic of Guatemala\",\"Republic of Guinea\"]},{\"attribute\": \"formal_fr\",\"count\": 4,\"type\": \"string\",\"values\": [\"Nouvelle-Calรฉdonie\",\"Republic of Cote D'Ivoire\",\"Repรบblica Bolivariana de Venezuela\",\"Rรฉpublique Togolaise\"]},{\"attribute\": \"gdp_md_est\",\"count\": 177,\"type\": \"number\",\"values\": [-99.000000,10040.000000,103900.000000,105.100000,10600.000000,10670.000000,107700.000000,1078.000000,108200.000000,1100.000000,110300.000000,114100.000000,11500.000000,11610.000000,116700.000000,11810.000000,11950.770000,119500.000000,12250.000000,12710.000000,12830.000000,1300000.000000,13160.000000,13210.000000,13227.000000,13250.000000,1335000.000000,136600.000000,13980.000000,1403000.000000,14060.000000,14590.000000,149100.000000,15094000.000000,1526.000000,15350.000000,1563000.000000,15860.000000,16.000000,16790.000000,17500.000000,175800.000000,17820.000000,1823000.000000,184300.000000,18770.000000,18780.000000,188400.000000,1885.000000,18940.000000,193500.000000,196600.000000,1977704.000000,1993000.000000,20130.000000,201400.000000,20250.000000,203600.000000,20640.000000,208627.000000,20910.000000,21110.000000,2128000.000000,21510.000000,21810.000000,21980.000000,22270.000000,224000.000000,2266000.000000,22700.000000,2272.000000,232900.000000,241700.000000,244500.000000,247300.000000,2520.000000,2536.000000,265200.000000,27060.000000,271400.000000,27410.000000,276400.000000,27940.000000,28890.000000,29010.000000,2918000.000000,2966.000000,29700.000000,29780.000000,3102.000000,31080.000000,3158.000000,31610.000000,316700.000000,317500.000000,3198.000000,3293.000000,329500.000000,3297000.000000,335400.000000],\"min\": -99.000000,\"max\": 15094000.000000},{\"attribute\": \"gdp_year\",\"count\": 3,\"type\": \"number\",\"values\": [-99.000000,0.000000,2009.000000],\"min\": -99.000000,\"max\": 2009.000000},{\"attribute\": \"geou_dif\",\"count\": 1,\"type\": \"number\",\"values\": [0.000000],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"geounit\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\"]},{\"attribute\": \"gu_a3\",\"count\": 177,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYN\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\"]},{\"attribute\": \"homepart\",\"count\": 2,\"type\": \"number\",\"values\": [-99.000000,1.000000],\"min\": -99.000000,\"max\": 1.000000},{\"attribute\": \"income_grp\",\"count\": 5,\"type\": \"string\",\"values\": [\"1. High income: OECD\",\"2. High income: nonOECD\",\"3. Upper middle income\",\"4. Lower middle income\",\"5. Low income\"]},{\"attribute\": \"iso_a2\",\"count\": 175,\"type\": \"string\",\"values\": [\"-99\",\"AE\",\"AF\",\"AL\",\"AM\",\"AO\",\"AQ\",\"AR\",\"AT\",\"AU\",\"AZ\",\"BA\",\"BD\",\"BE\",\"BF\",\"BG\",\"BI\",\"BJ\",\"BN\",\"BO\",\"BR\",\"BS\",\"BT\",\"BW\",\"BY\",\"BZ\",\"CA\",\"CD\",\"CF\",\"CG\",\"CH\",\"CI\",\"CL\",\"CM\",\"CN\",\"CO\",\"CR\",\"CU\",\"CY\",\"CZ\",\"DE\",\"DJ\",\"DK\",\"DO\",\"DZ\",\"EC\",\"EE\",\"EG\",\"EH\",\"ER\",\"ES\",\"ET\",\"FI\",\"FJ\",\"FK\",\"FR\",\"GA\",\"GB\",\"GE\",\"GH\",\"GL\",\"GM\",\"GN\",\"GQ\",\"GR\",\"GT\",\"GW\",\"GY\",\"HN\",\"HR\",\"HT\",\"HU\",\"ID\",\"IE\",\"IL\",\"IN\",\"IQ\",\"IR\",\"IS\",\"IT\",\"JM\",\"JO\",\"JP\",\"KE\",\"KG\",\"KH\",\"KP\",\"KR\",\"KW\",\"KZ\",\"LA\",\"LB\",\"LK\",\"LR\",\"LS\",\"LT\",\"LU\",\"LV\",\"LY\",\"MA\"]},{\"attribute\": \"iso_a3\",\"count\": 175,\"type\": \"string\",\"values\": [\"-99\",\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESH\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\"]},{\"attribute\": \"iso_n3\",\"count\": 175,\"type\": \"string\",\"values\": [\"-99\",\"004\",\"008\",\"010\",\"012\",\"024\",\"031\",\"032\",\"036\",\"040\",\"044\",\"050\",\"051\",\"056\",\"064\",\"068\",\"070\",\"072\",\"076\",\"084\",\"090\",\"096\",\"100\",\"104\",\"108\",\"112\",\"116\",\"120\",\"124\",\"140\",\"144\",\"148\",\"152\",\"156\",\"158\",\"170\",\"178\",\"180\",\"188\",\"191\",\"192\",\"196\",\"203\",\"204\",\"208\",\"214\",\"218\",\"222\",\"226\",\"231\",\"232\",\"233\",\"238\",\"242\",\"246\",\"250\",\"260\",\"262\",\"266\",\"268\",\"270\",\"275\",\"276\",\"288\",\"300\",\"304\",\"320\",\"324\",\"328\",\"332\",\"340\",\"348\",\"352\",\"356\",\"360\",\"364\",\"368\",\"372\",\"376\",\"380\",\"384\",\"388\",\"392\",\"398\",\"400\",\"404\",\"408\",\"410\",\"414\",\"417\",\"418\",\"422\",\"426\",\"428\",\"430\",\"434\",\"440\",\"442\",\"450\",\"454\"]},{\"attribute\": \"labelrank\",\"count\": 6,\"type\": \"number\",\"values\": [2.000000,3.000000,4.000000,5.000000,6.000000,7.000000],\"min\": 2.000000,\"max\": 7.000000},{\"attribute\": \"lastcensus\",\"count\": 27,\"type\": \"number\",\"values\": [-99.000000,1970.000000,1979.000000,1981.000000,1983.000000,1984.000000,1987.000000,1989.000000,1991.000000,1993.000000,1995.000000,1996.000000,1997.000000,1998.000000,2000.000000,2001.000000,2002.000000,2003.000000,2004.000000,2005.000000,2006.000000,2007.000000,2008.000000,2009.000000,2010.000000,2011.000000,2012.000000],\"min\": -99.000000,\"max\": 2012.000000},{\"attribute\": \"level\",\"count\": 1,\"type\": \"number\",\"values\": [2.000000],\"min\": 2.000000,\"max\": 2.000000},{\"attribute\": \"long_len\",\"count\": 21,\"type\": \"number\",\"values\": [10.000000,11.000000,12.000000,13.000000,14.000000,15.000000,16.000000,17.000000,18.000000,19.000000,20.000000,22.000000,24.000000,32.000000,35.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 4.000000,\"max\": 35.000000},{\"attribute\": \"mapcolor13\",\"count\": 14,\"type\": \"number\",\"values\": [-99.000000,1.000000,10.000000,11.000000,12.000000,13.000000,2.000000,3.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": -99.000000,\"max\": 13.000000},{\"attribute\": \"mapcolor7\",\"count\": 7,\"type\": \"number\",\"values\": [1.000000,2.000000,3.000000,4.000000,5.000000,6.000000,7.000000],\"min\": 1.000000,\"max\": 7.000000},{\"attribute\": \"mapcolor8\",\"count\": 8,\"type\": \"number\",\"values\": [1.000000,2.000000,3.000000,4.000000,5.000000,6.000000,7.000000,8.000000],\"min\": 1.000000,\"max\": 8.000000},{\"attribute\": \"mapcolor9\",\"count\": 9,\"type\": \"number\",\"values\": [1.000000,2.000000,3.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 1.000000,\"max\": 9.000000},{\"attribute\": \"name\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herz.\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Rep.\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Rep.\",\"Cรดte d'Ivoire\",\"Dem. Rep. Congo\",\"Dem. Rep. Korea\",\"Denmark\",\"Djibouti\",\"Dominican Rep.\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Eq. Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Is.\",\"Fiji\",\"Finland\",\"Fr. S. Antarctic Lands\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Korea\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\"]},{\"attribute\": \"name_alt\",\"count\": 2,\"type\": \"string\",\"values\": [\"East Timor\",\"Islas Malvinas\"]},{\"attribute\": \"name_len\",\"count\": 16,\"type\": \"number\",\"values\": [10.000000,11.000000,12.000000,13.000000,14.000000,15.000000,16.000000,19.000000,20.000000,22.000000,4.000000,5.000000,6.000000,7.000000,8.000000,9.000000],\"min\": 4.000000,\"max\": 22.000000},{\"attribute\": \"name_long\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei Darussalam\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Cรดte d'Ivoire\",\"Dem. Rep. Korea\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\"]},{\"attribute\": \"name_sort\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas, The\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Congo, Dem. Rep.\",\"Congo, Rep.\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Cyprus, Northern\",\"Czech Republic\",\"Cรดte d'Ivoire\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"Ecuador\",\"Egypt, Arab Rep.\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Gambia, The\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran, Islamic Rep.\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Korea, Dem. Rep.\",\"Korea, Rep.\",\"Kosovo\",\"Kuwait\",\"Kyrgyz Republic\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia, FYR\",\"Madagascar\",\"Malawi\"]},{\"attribute\": \"note_adm0\",\"count\": 6,\"type\": \"string\",\"values\": [\"Commonwealth of U.S.A.\",\"Den.\",\"Fr.\",\"Partial self-admin.\",\"Self admin.\",\"U.K.\"]},{\"attribute\": \"note_brk\",\"count\": 8,\"type\": \"string\",\"values\": [\"Admin. by U.K.; Claimed by Argentina\",\"Multiple claims held in abeyance\",\"Partial self-admin.\",\"Self admin.; Claimed by China\",\"Self admin.; Claimed by Cyprus\",\"Self admin.; Claimed by Morocco\",\"Self admin.; Claimed by Serbia\",\"Self admin.; Claimed by Somalia\"]},{\"attribute\": \"pop_est\",\"count\": 177,\"type\": \"number\",\"values\": [-99.000000,10057975.000000,10211904.000000,10329208.000000,10414336.000000,10473282.000000,10486339.000000,10625176.000000,10707924.000000,10737428.000000,111211789.000000,1123913.000000,1131612.000000,11451652.000000,1166079220.000000,11862740.000000,12619600.000000,12666987.000000,127078679.000000,12799293.000000,1299371.000000,1310000.000000,13276517.000000,1338612970.000000,13711597.000000,140.000000,140041247.000000,14268711.000000,14494293.000000,14573101.000000,149229090.000000,1514993.000000,15306252.000000,1533964.000000,15399437.000000,156050883.000000,15746232.000000,16601707.000000,16715999.000000,176242949.000000,1782893.000000,1804838.000000,18879301.000000,198739269.000000,1990876.000000,2005692.000000,20178485.000000,20617068.000000,20653556.000000,2066718.000000,2108665.000000,21262641.000000,2130819.000000,21324791.000000,21669278.000000,218519.000000,22215421.000000,2231503.000000,22665345.000000,227436.000000,22974347.000000,23822783.000000,23832495.000000,240271522.000000,25715819.000000,25946220.000000,265100.000000,26814843.000000,2691158.000000,27606007.000000,2825928.000000,28400000.000000,28563377.000000,28686633.000000,29546963.000000,2967004.000000,3041142.000000,306694.000000,307899.000000,309156.000000,31129225.000000,3129486.000000,313973000.000000,3140.000000,32369558.000000,33487208.000000,3360474.000000,34178188.000000,3418085.000000,3441790.000000,34859364.000000,3494382.000000,3500000.000000,3555179.000000,3639453.000000,3802.000000,38482919.000000,388190.000000,39002772.000000,3971020.000000],\"min\": -99.000000,\"max\": 1338612970.000000},{\"attribute\": \"pop_year\",\"count\": 2,\"type\": \"number\",\"values\": [-99.000000,0.000000],\"min\": -99.000000,\"max\": 0.000000},{\"attribute\": \"postal\",\"count\": 172,\"type\": \"string\",\"values\": [\"A\",\"AE\",\"AF\",\"AL\",\"AO\",\"AQ\",\"AR\",\"ARM\",\"AU\",\"AZ\",\"B\",\"BD\",\"BF\",\"BG\",\"BI\",\"BJ\",\"BN\",\"BO\",\"BR\",\"BS\",\"BT\",\"BW\",\"BY\",\"BZ\",\"BiH\",\"CA\",\"CF\",\"CG\",\"CH\",\"CI\",\"CL\",\"CM\",\"CN\",\"CO\",\"CR\",\"CU\",\"CY\",\"CZ\",\"D\",\"DJ\",\"DK\",\"DO\",\"DRC\",\"DZ\",\"E\",\"EC\",\"EG\",\"ER\",\"EST\",\"ET\",\"F\",\"FIN\",\"FJ\",\"FK\",\"GA\",\"GB\",\"GE\",\"GH\",\"GL\",\"GM\",\"GN\",\"GQ\",\"GR\",\"GT\",\"GW\",\"GY\",\"HN\",\"HR\",\"HT\",\"HU\",\"I\",\"IND\",\"INDO\",\"IRL\",\"IRN\",\"IRQ\",\"IS\",\"J\",\"KE\",\"KG\",\"KH\",\"KO\",\"KP\",\"KR\",\"KW\",\"KZ\",\"L\",\"LA\",\"LB\",\"LK\",\"LR\",\"LS\",\"LT\",\"LV\",\"LY\",\"MA\",\"MD\",\"ME\",\"MG\",\"MK\"]},{\"attribute\": \"region_un\",\"count\": 7,\"type\": \"string\",\"values\": [\"Africa\",\"Americas\",\"Antarctica\",\"Asia\",\"Europe\",\"Oceania\",\"Seven seas (open ocean)\"]},{\"attribute\": \"region_wb\",\"count\": 8,\"type\": \"string\",\"values\": [\"Antarctica\",\"East Asia & Pacific\",\"Europe & Central Asia\",\"Latin America & Caribbean\",\"Middle East & North Africa\",\"North America\",\"South Asia\",\"Sub-Saharan Africa\"]},{\"attribute\": \"scalerank\",\"count\": 2,\"type\": \"number\",\"values\": [1,3],\"min\": 1.000000,\"max\": 3.000000},{\"attribute\": \"sov_a3\",\"count\": 171,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"AU1\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CH1\",\"CHE\",\"CHL\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYN\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DN1\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FI1\",\"FJI\",\"FR1\",\"GAB\",\"GB1\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\",\"MDA\",\"MDG\",\"MEX\"]},{\"attribute\": \"sovereignt\",\"count\": 171,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\",\"Moldova\",\"Mongolia\",\"Montenegro\"]},{\"attribute\": \"su_a3\",\"count\": 177,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"ATA\",\"ATF\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYN\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FLK\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\"]},{\"attribute\": \"su_dif\",\"count\": 2,\"type\": \"number\",\"values\": [0.000000,1.000000],\"min\": 0.000000,\"max\": 1.000000},{\"attribute\": \"subregion\",\"count\": 22,\"type\": \"string\",\"values\": [\"Antarctica\",\"Australia and New Zealand\",\"Caribbean\",\"Central America\",\"Central Asia\",\"Eastern Africa\",\"Eastern Asia\",\"Eastern Europe\",\"Melanesia\",\"Middle Africa\",\"Northern Africa\",\"Northern America\",\"Northern Europe\",\"Seven seas (open ocean)\",\"South America\",\"South-Eastern Asia\",\"Southern Africa\",\"Southern Asia\",\"Southern Europe\",\"Western Africa\",\"Western Asia\",\"Western Europe\"]},{\"attribute\": \"subunit\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Democratic Republic of the Congo\",\"Denmark\",\"Djibouti\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Islands\",\"Fiji\",\"Finland\",\"France\",\"French Southern and Antarctic Lands\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\",\"Mali\",\"Mauritania\",\"Mexico\"]},{\"attribute\": \"tiny\",\"count\": 5,\"type\": \"number\",\"values\": [-99.000000,2.000000,3.000000,4.000000,5.000000],\"min\": -99.000000,\"max\": 5.000000},{\"attribute\": \"type\",\"count\": 5,\"type\": \"string\",\"values\": [\"Country\",\"Dependency\",\"Disputed\",\"Indeterminate\",\"Sovereign country\"]},{\"attribute\": \"un_a3\",\"count\": 172,\"type\": \"string\",\"values\": [\"-099\",\"004\",\"008\",\"012\",\"024\",\"031\",\"032\",\"036\",\"040\",\"044\",\"050\",\"051\",\"056\",\"064\",\"068\",\"070\",\"072\",\"076\",\"084\",\"090\",\"096\",\"100\",\"104\",\"108\",\"112\",\"116\",\"120\",\"124\",\"140\",\"144\",\"148\",\"152\",\"156\",\"170\",\"178\",\"180\",\"188\",\"191\",\"192\",\"196\",\"203\",\"204\",\"208\",\"214\",\"218\",\"222\",\"226\",\"231\",\"232\",\"233\",\"238\",\"242\",\"246\",\"250\",\"262\",\"266\",\"268\",\"270\",\"275\",\"276\",\"288\",\"300\",\"304\",\"320\",\"324\",\"328\",\"332\",\"340\",\"348\",\"352\",\"356\",\"360\",\"364\",\"368\",\"372\",\"376\",\"380\",\"384\",\"388\",\"392\",\"398\",\"400\",\"404\",\"408\",\"410\",\"414\",\"417\",\"418\",\"422\",\"426\",\"428\",\"430\",\"434\",\"440\",\"442\",\"450\",\"454\",\"458\",\"466\",\"478\"]},{\"attribute\": \"wb_a2\",\"count\": 171,\"type\": \"string\",\"values\": [\"-99\",\"AE\",\"AF\",\"AL\",\"AM\",\"AO\",\"AR\",\"AT\",\"AU\",\"AZ\",\"BA\",\"BD\",\"BE\",\"BF\",\"BG\",\"BI\",\"BJ\",\"BN\",\"BO\",\"BR\",\"BS\",\"BT\",\"BW\",\"BY\",\"BZ\",\"CA\",\"CF\",\"CG\",\"CH\",\"CI\",\"CL\",\"CM\",\"CN\",\"CO\",\"CR\",\"CU\",\"CY\",\"CZ\",\"DE\",\"DJ\",\"DK\",\"DO\",\"DZ\",\"EC\",\"EE\",\"EG\",\"ER\",\"ES\",\"ET\",\"FI\",\"FJ\",\"FR\",\"GA\",\"GB\",\"GE\",\"GH\",\"GL\",\"GM\",\"GN\",\"GQ\",\"GR\",\"GT\",\"GW\",\"GY\",\"GZ\",\"HN\",\"HR\",\"HT\",\"HU\",\"ID\",\"IE\",\"IL\",\"IN\",\"IQ\",\"IR\",\"IS\",\"IT\",\"JM\",\"JO\",\"JP\",\"KE\",\"KG\",\"KH\",\"KP\",\"KR\",\"KV\",\"KW\",\"KZ\",\"LA\",\"LB\",\"LK\",\"LR\",\"LS\",\"LT\",\"LU\",\"LV\",\"LY\",\"MA\",\"MD\",\"ME\"]},{\"attribute\": \"wb_a3\",\"count\": 171,\"type\": \"string\",\"values\": [\"-99\",\"AFG\",\"AGO\",\"ALB\",\"ARE\",\"ARG\",\"ARM\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COG\",\"COL\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FRA\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRL\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KOR\",\"KSV\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\",\"LKA\",\"LSO\",\"LTU\",\"LUX\",\"LVA\",\"MAR\",\"MDA\",\"MDG\",\"MEX\",\"MKD\"]},{\"attribute\": \"wikipedia\",\"count\": 2,\"type\": \"number\",\"values\": [-99.000000,0.000000],\"min\": -99.000000,\"max\": 0.000000},{\"attribute\": \"woe_id\",\"count\": 1,\"type\": \"number\",\"values\": [-99.000000],\"min\": -99.000000,\"max\": -99.000000}]}]}}", "maxzoom": "5", "minzoom": "0", "name": "tests/ne_110m_admin_0_countries/out/-z5_-M5000_--drop-smallest-as-needed.json.check.mbtiles", diff --git a/tests/ne_110m_admin_0_countries/out/-zg_-yname.json b/tests/ne_110m_admin_0_countries/out/-zg_-yname.json index 3549140d..ecf3a681 100644 --- a/tests/ne_110m_admin_0_countries/out/-zg_-yname.json +++ b/tests/ne_110m_admin_0_countries/out/-zg_-yname.json @@ -3,7 +3,7 @@ "center": "0.000000,0.000000,0", "description": "tests/ne_110m_admin_0_countries/out/-zg_-yname.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"name\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"name\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 177,\"geometry\": \"Polygon\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"name\",\"count\": 177,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Angola\",\"Antarctica\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas\",\"Bangladesh\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herz.\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Central African Rep.\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Congo\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Rep.\",\"Cรดte d'Ivoire\",\"Dem. Rep. Congo\",\"Dem. Rep. Korea\",\"Denmark\",\"Djibouti\",\"Dominican Rep.\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Eq. Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Falkland Is.\",\"Fiji\",\"Finland\",\"Fr. S. Antarctic Lands\",\"France\",\"Gabon\",\"Gambia\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Greenland\",\"Guatemala\",\"Guinea\",\"Guinea-Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Korea\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Lao PDR\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Lithuania\",\"Luxembourg\",\"Macedonia\",\"Madagascar\",\"Malawi\",\"Malaysia\"]}]}]}}", "maxzoom": "0", "minzoom": "0", "name": "tests/ne_110m_admin_0_countries/out/-zg_-yname.json.check.mbtiles", diff --git a/tests/ne_110m_admin_1_states_provinces_lines/out/-X_-z4.json b/tests/ne_110m_admin_1_states_provinces_lines/out/-X_-z4.json index 1171b85b..7ff95237 100644 --- a/tests/ne_110m_admin_1_states_provinces_lines/out/-X_-z4.json +++ b/tests/ne_110m_admin_1_states_provinces_lines/out/-X_-z4.json @@ -3,7 +3,7 @@ "center": "-78.750000,31.461472,4", "description": "tests/ne_110m_admin_1_states_provinces_lines/out/-X_-z4.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 110,\"geometry\": \"LineString\",\"attributeCount\": 0,\"attributes\": []}]}}", "maxzoom": "4", "minzoom": "0", "name": "tests/ne_110m_admin_1_states_provinces_lines/out/-X_-z4.json.check.mbtiles", diff --git a/tests/ne_110m_admin_1_states_provinces_lines/out/-lcountries_-P_-Z1_-z7_-b4_-xfeaturecla_-xscalerank_-acrol_-ps.json b/tests/ne_110m_admin_1_states_provinces_lines/out/-lcountries_-P_-Z1_-z7_-b4_-xfeaturecla_-xscalerank_-acrol_-ps.json index 27c4471a..c16d852f 100644 --- a/tests/ne_110m_admin_1_states_provinces_lines/out/-lcountries_-P_-Z1_-z7_-b4_-xfeaturecla_-xscalerank_-acrol_-ps.json +++ b/tests/ne_110m_admin_1_states_provinces_lines/out/-lcountries_-P_-Z1_-z7_-b4_-xfeaturecla_-xscalerank_-acrol_-ps.json @@ -3,7 +3,7 @@ "center": "-82.968750,37.710240,7", "description": "tests/ne_110m_admin_1_states_provinces_lines/out/-lcountries_-P_-Z1_-z7_-b4_-xfeaturecla_-xscalerank_-acrol_-ps.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"countries\", \"description\": \"\", \"minzoom\": 1, \"maxzoom\": 7, \"fields\": {\"adm0_a3\": \"String\", \"adm0_name\": \"String\", \"mapcolor13\": \"Number\", \"mapcolor9\": \"Number\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"countries\", \"description\": \"\", \"minzoom\": 1, \"maxzoom\": 7, \"fields\": {\"adm0_a3\": \"String\", \"adm0_name\": \"String\", \"mapcolor13\": \"Number\", \"mapcolor9\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"countries\",\"count\": 110,\"geometry\": \"LineString\",\"attributeCount\": 4,\"attributes\": [{\"attribute\": \"adm0_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"USA\"]},{\"attribute\": \"adm0_name\",\"count\": 1,\"type\": \"string\",\"values\": [\"United States of America\"]},{\"attribute\": \"mapcolor13\",\"count\": 1,\"type\": \"number\",\"values\": [1],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"mapcolor9\",\"count\": 1,\"type\": \"number\",\"values\": [1],\"min\": 1.000000,\"max\": 1.000000}]}]}}", "maxzoom": "7", "minzoom": "1", "name": "tests/ne_110m_admin_1_states_provinces_lines/out/-lcountries_-P_-Z1_-z7_-b4_-xfeaturecla_-xscalerank_-acrol_-ps.json.check.mbtiles", diff --git a/tests/ne_110m_admin_1_states_provinces_lines/out/-z5_-M500_--drop-smallest-as-needed.json b/tests/ne_110m_admin_1_states_provinces_lines/out/-z5_-M500_--drop-smallest-as-needed.json index 85eaebd7..acb524a1 100644 --- a/tests/ne_110m_admin_1_states_provinces_lines/out/-z5_-M500_--drop-smallest-as-needed.json +++ b/tests/ne_110m_admin_1_states_provinces_lines/out/-z5_-M500_--drop-smallest-as-needed.json @@ -3,7 +3,7 @@ "center": "-95.625000,44.951199,5", "description": "tests/ne_110m_admin_1_states_provinces_lines/out/-z5_-M500_--drop-smallest-as-needed.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"adm0_a3\": \"String\", \"adm0_name\": \"String\", \"featurecla\": \"String\", \"mapcolor13\": \"Number\", \"mapcolor9\": \"Number\", \"scalerank\": \"Number\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"adm0_a3\": \"String\", \"adm0_name\": \"String\", \"featurecla\": \"String\", \"mapcolor13\": \"Number\", \"mapcolor9\": \"Number\", \"scalerank\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 110,\"geometry\": \"LineString\",\"attributeCount\": 6,\"attributes\": [{\"attribute\": \"adm0_a3\",\"count\": 1,\"type\": \"string\",\"values\": [\"USA\"]},{\"attribute\": \"adm0_name\",\"count\": 1,\"type\": \"string\",\"values\": [\"United States of America\"]},{\"attribute\": \"featurecla\",\"count\": 1,\"type\": \"string\",\"values\": [\"Admin-1 boundary\"]},{\"attribute\": \"mapcolor13\",\"count\": 1,\"type\": \"number\",\"values\": [1],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"mapcolor9\",\"count\": 1,\"type\": \"number\",\"values\": [1],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"scalerank\",\"count\": 1,\"type\": \"number\",\"values\": [2],\"min\": 2.000000,\"max\": 2.000000}]}]}}", "maxzoom": "5", "minzoom": "0", "name": "tests/ne_110m_admin_1_states_provinces_lines/out/-z5_-M500_--drop-smallest-as-needed.json.check.mbtiles", diff --git a/tests/ne_110m_admin_1_states_provinces_lines/out/-z5_-ymapcolor13_-ymapcolor9_-pSi_-d8_-D16.json b/tests/ne_110m_admin_1_states_provinces_lines/out/-z5_-ymapcolor13_-ymapcolor9_-pSi_-d8_-D16.json index d1ff893f..a7fe717c 100644 --- a/tests/ne_110m_admin_1_states_provinces_lines/out/-z5_-ymapcolor13_-ymapcolor9_-pSi_-d8_-D16.json +++ b/tests/ne_110m_admin_1_states_provinces_lines/out/-z5_-ymapcolor13_-ymapcolor9_-pSi_-d8_-D16.json @@ -3,7 +3,7 @@ "center": "-84.375000,36.466030,5", "description": "tests/ne_110m_admin_1_states_provinces_lines/out/-z5_-ymapcolor13_-ymapcolor9_-pSi_-d8_-D16.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"mapcolor13\": \"Number\", \"mapcolor9\": \"Number\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"mapcolor13\": \"Number\", \"mapcolor9\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 110,\"geometry\": \"LineString\",\"attributeCount\": 2,\"attributes\": [{\"attribute\": \"mapcolor13\",\"count\": 1,\"type\": \"number\",\"values\": [1],\"min\": 1.000000,\"max\": 1.000000},{\"attribute\": \"mapcolor9\",\"count\": 1,\"type\": \"number\",\"values\": [1],\"min\": 1.000000,\"max\": 1.000000}]}]}}", "maxzoom": "5", "minzoom": "0", "name": "tests/ne_110m_admin_1_states_provinces_lines/out/-z5_-ymapcolor13_-ymapcolor9_-pSi_-d8_-D16.json.check.mbtiles", diff --git a/tests/ne_110m_populated_places/out/-yNAME.json b/tests/ne_110m_populated_places/out/-yNAME.json index 90ff84cb..a09ebc3b 100644 --- a/tests/ne_110m_populated_places/out/-yNAME.json +++ b/tests/ne_110m_populated_places/out/-yNAME.json @@ -3,7 +3,7 @@ "center": "-175.220565,-21.135745,14", "description": "tests/ne_110m_populated_places/out/-yNAME.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 14, \"fields\": {\"NAME\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 14, \"fields\": {\"NAME\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 243,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"NAME\",\"count\": 243,\"type\": \"string\",\"values\": [\"Abidjan\",\"Abu Dhabi\",\"Abuja\",\"Accra\",\"Addis Ababa\",\"Algiers\",\"Amman\",\"Amsterdam\",\"Andorra\",\"Ankara\",\"Antananarivo\",\"Apia\",\"Ashgabat\",\"Asmara\",\"Astana\",\"Asuncion\",\"Athens\",\"Atlanta\",\"Auckland\",\"Baghdad\",\"Baguio City\",\"Baku\",\"Bamako\",\"Bandar Seri Begawan\",\"Bangalore\",\"Bangkok\",\"Bangui\",\"Banjul\",\"Basseterre\",\"Beijing\",\"Beirut\",\"Belgrade\",\"Belmopan\",\"Berlin\",\"Bern\",\"Bir Lehlou\",\"Bishkek\",\"Bissau\",\"Bloemfontein\",\"Bogota\",\"Brasilia\",\"Bratislava\",\"Brazzaville\",\"Bridgetown\",\"Brussels\",\"Bucharest\",\"Budapest\",\"Buenos Aires\",\"Bujumbura\",\"Cairo\",\"Canberra\",\"Cape Town\",\"Caracas\",\"Casablanca\",\"Castries\",\"Chengdu\",\"Chicago\",\"Chisinau\",\"Colombo\",\"Conakry\",\"Cotonou\",\"Dakar\",\"Damascus\",\"Dar es Salaam\",\"Denver\",\"Dhaka\",\"Dili\",\"Djibouti\",\"Dodoma\",\"Doha\",\"Dubai\",\"Dublin\",\"Dushanbe\",\"Freetown\",\"Funafuti\",\"Gaborone\",\"Geneva\",\"Georgetown\",\"Guatemala\",\"Hanoi\",\"Harare\",\"Hargeysa\",\"Havana\",\"Helsinki\",\"Hong Kong\",\"Honiara\",\"Houston\",\"Islamabad\",\"Istanbul\",\"Jakarta\",\"Jerusalem\",\"Johannesburg\",\"Juba\",\"Kabul\",\"Kampala\",\"Kathmandu\",\"Khartoum\",\"Kiev\",\"Kigali\",\"Kingston\"]}]}]}}", "maxzoom": "14", "minzoom": "0", "name": "tests/ne_110m_populated_places/out/-yNAME.json.check.mbtiles", diff --git a/tests/ne_110m_populated_places/out/-yNAME_-Ccat_-z5.json b/tests/ne_110m_populated_places/out/-yNAME_-Ccat_-z5.json index 2a637964..5ccc7db2 100644 --- a/tests/ne_110m_populated_places/out/-yNAME_-Ccat_-z5.json +++ b/tests/ne_110m_populated_places/out/-yNAME_-Ccat_-z5.json @@ -3,7 +3,7 @@ "center": "16.875000,44.951199,5", "description": "tests/ne_110m_populated_places/out/-yNAME_-Ccat_-z5.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"NAME\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"NAME\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 243,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"NAME\",\"count\": 243,\"type\": \"string\",\"values\": [\"Abidjan\",\"Abu Dhabi\",\"Abuja\",\"Accra\",\"Addis Ababa\",\"Algiers\",\"Amman\",\"Amsterdam\",\"Andorra\",\"Ankara\",\"Antananarivo\",\"Apia\",\"Ashgabat\",\"Asmara\",\"Astana\",\"Asuncion\",\"Athens\",\"Atlanta\",\"Auckland\",\"Baghdad\",\"Baguio City\",\"Baku\",\"Bamako\",\"Bandar Seri Begawan\",\"Bangalore\",\"Bangkok\",\"Bangui\",\"Banjul\",\"Basseterre\",\"Beijing\",\"Beirut\",\"Belgrade\",\"Belmopan\",\"Berlin\",\"Bern\",\"Bir Lehlou\",\"Bishkek\",\"Bissau\",\"Bloemfontein\",\"Bogota\",\"Brasilia\",\"Bratislava\",\"Brazzaville\",\"Bridgetown\",\"Brussels\",\"Bucharest\",\"Budapest\",\"Buenos Aires\",\"Bujumbura\",\"Cairo\",\"Canberra\",\"Cape Town\",\"Caracas\",\"Casablanca\",\"Castries\",\"Chengdu\",\"Chicago\",\"Chisinau\",\"Colombo\",\"Conakry\",\"Cotonou\",\"Dakar\",\"Damascus\",\"Dar es Salaam\",\"Denver\",\"Dhaka\",\"Dili\",\"Djibouti\",\"Dodoma\",\"Doha\",\"Dubai\",\"Dublin\",\"Dushanbe\",\"Freetown\",\"Funafuti\",\"Gaborone\",\"Geneva\",\"Georgetown\",\"Guatemala\",\"Hanoi\",\"Harare\",\"Hargeysa\",\"Havana\",\"Helsinki\",\"Hong Kong\",\"Honiara\",\"Houston\",\"Islamabad\",\"Istanbul\",\"Jakarta\",\"Jerusalem\",\"Johannesburg\",\"Juba\",\"Kabul\",\"Kampala\",\"Kathmandu\",\"Khartoum\",\"Kiev\",\"Kigali\",\"Kingston\"]}]}]}}", "maxzoom": "5", "minzoom": "0", "name": "tests/ne_110m_populated_places/out/-yNAME_-Ccat_-z5.json.check.mbtiles", diff --git a/tests/ne_110m_populated_places/out/-yNAME_-z5.json b/tests/ne_110m_populated_places/out/-yNAME_-z5.json index 4ed79172..06c4dbe3 100644 --- a/tests/ne_110m_populated_places/out/-yNAME_-z5.json +++ b/tests/ne_110m_populated_places/out/-yNAME_-z5.json @@ -3,7 +3,7 @@ "center": "16.875000,44.951199,5", "description": "tests/ne_110m_populated_places/out/-yNAME_-z5.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"NAME\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"NAME\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 243,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"NAME\",\"count\": 243,\"type\": \"string\",\"values\": [\"Abidjan\",\"Abu Dhabi\",\"Abuja\",\"Accra\",\"Addis Ababa\",\"Algiers\",\"Amman\",\"Amsterdam\",\"Andorra\",\"Ankara\",\"Antananarivo\",\"Apia\",\"Ashgabat\",\"Asmara\",\"Astana\",\"Asuncion\",\"Athens\",\"Atlanta\",\"Auckland\",\"Baghdad\",\"Baguio City\",\"Baku\",\"Bamako\",\"Bandar Seri Begawan\",\"Bangalore\",\"Bangkok\",\"Bangui\",\"Banjul\",\"Basseterre\",\"Beijing\",\"Beirut\",\"Belgrade\",\"Belmopan\",\"Berlin\",\"Bern\",\"Bir Lehlou\",\"Bishkek\",\"Bissau\",\"Bloemfontein\",\"Bogota\",\"Brasilia\",\"Bratislava\",\"Brazzaville\",\"Bridgetown\",\"Brussels\",\"Bucharest\",\"Budapest\",\"Buenos Aires\",\"Bujumbura\",\"Cairo\",\"Canberra\",\"Cape Town\",\"Caracas\",\"Casablanca\",\"Castries\",\"Chengdu\",\"Chicago\",\"Chisinau\",\"Colombo\",\"Conakry\",\"Cotonou\",\"Dakar\",\"Damascus\",\"Dar es Salaam\",\"Denver\",\"Dhaka\",\"Dili\",\"Djibouti\",\"Dodoma\",\"Doha\",\"Dubai\",\"Dublin\",\"Dushanbe\",\"Freetown\",\"Funafuti\",\"Gaborone\",\"Geneva\",\"Georgetown\",\"Guatemala\",\"Hanoi\",\"Harare\",\"Hargeysa\",\"Havana\",\"Helsinki\",\"Hong Kong\",\"Honiara\",\"Houston\",\"Islamabad\",\"Istanbul\",\"Jakarta\",\"Jerusalem\",\"Johannesburg\",\"Juba\",\"Kabul\",\"Kampala\",\"Kathmandu\",\"Khartoum\",\"Kiev\",\"Kigali\",\"Kingston\"]}]}]}}", "maxzoom": "5", "minzoom": "0", "name": "tests/ne_110m_populated_places/out/-yNAME_-z5.json.check.mbtiles", diff --git a/tests/ne_110m_populated_places/out/-yNAME_-z5_--drop-smallest-as-needed.json b/tests/ne_110m_populated_places/out/-yNAME_-z5_--drop-smallest-as-needed.json index c35e364d..b0d56f97 100644 --- a/tests/ne_110m_populated_places/out/-yNAME_-z5_--drop-smallest-as-needed.json +++ b/tests/ne_110m_populated_places/out/-yNAME_-z5_--drop-smallest-as-needed.json @@ -3,7 +3,7 @@ "center": "16.875000,44.951199,5", "description": "tests/ne_110m_populated_places/out/-yNAME_-z5_--drop-smallest-as-needed.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"NAME\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"NAME\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 243,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"NAME\",\"count\": 243,\"type\": \"string\",\"values\": [\"Abidjan\",\"Abu Dhabi\",\"Abuja\",\"Accra\",\"Addis Ababa\",\"Algiers\",\"Amman\",\"Amsterdam\",\"Andorra\",\"Ankara\",\"Antananarivo\",\"Apia\",\"Ashgabat\",\"Asmara\",\"Astana\",\"Asuncion\",\"Athens\",\"Atlanta\",\"Auckland\",\"Baghdad\",\"Baguio City\",\"Baku\",\"Bamako\",\"Bandar Seri Begawan\",\"Bangalore\",\"Bangkok\",\"Bangui\",\"Banjul\",\"Basseterre\",\"Beijing\",\"Beirut\",\"Belgrade\",\"Belmopan\",\"Berlin\",\"Bern\",\"Bir Lehlou\",\"Bishkek\",\"Bissau\",\"Bloemfontein\",\"Bogota\",\"Brasilia\",\"Bratislava\",\"Brazzaville\",\"Bridgetown\",\"Brussels\",\"Bucharest\",\"Budapest\",\"Buenos Aires\",\"Bujumbura\",\"Cairo\",\"Canberra\",\"Cape Town\",\"Caracas\",\"Casablanca\",\"Castries\",\"Chengdu\",\"Chicago\",\"Chisinau\",\"Colombo\",\"Conakry\",\"Cotonou\",\"Dakar\",\"Damascus\",\"Dar es Salaam\",\"Denver\",\"Dhaka\",\"Dili\",\"Djibouti\",\"Dodoma\",\"Doha\",\"Dubai\",\"Dublin\",\"Dushanbe\",\"Freetown\",\"Funafuti\",\"Gaborone\",\"Geneva\",\"Georgetown\",\"Guatemala\",\"Hanoi\",\"Harare\",\"Hargeysa\",\"Havana\",\"Helsinki\",\"Hong Kong\",\"Honiara\",\"Houston\",\"Islamabad\",\"Istanbul\",\"Jakarta\",\"Jerusalem\",\"Johannesburg\",\"Juba\",\"Kabul\",\"Kampala\",\"Kathmandu\",\"Khartoum\",\"Kiev\",\"Kigali\",\"Kingston\"]}]}]}}", "maxzoom": "5", "minzoom": "0", "name": "tests/ne_110m_populated_places/out/-yNAME_-z5_--drop-smallest-as-needed.json.check.mbtiles", diff --git a/tests/ne_110m_populated_places/out/-yNAME_-z5_-B3.json b/tests/ne_110m_populated_places/out/-yNAME_-z5_-B3.json index e8d1cc77..a6125894 100644 --- a/tests/ne_110m_populated_places/out/-yNAME_-z5_-B3.json +++ b/tests/ne_110m_populated_places/out/-yNAME_-z5_-B3.json @@ -3,7 +3,7 @@ "center": "16.875000,44.951199,5", "description": "tests/ne_110m_populated_places/out/-yNAME_-z5_-B3.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"NAME\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"NAME\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 243,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"NAME\",\"count\": 243,\"type\": \"string\",\"values\": [\"Abidjan\",\"Abu Dhabi\",\"Abuja\",\"Accra\",\"Addis Ababa\",\"Algiers\",\"Amman\",\"Amsterdam\",\"Andorra\",\"Ankara\",\"Antananarivo\",\"Apia\",\"Ashgabat\",\"Asmara\",\"Astana\",\"Asuncion\",\"Athens\",\"Atlanta\",\"Auckland\",\"Baghdad\",\"Baguio City\",\"Baku\",\"Bamako\",\"Bandar Seri Begawan\",\"Bangalore\",\"Bangkok\",\"Bangui\",\"Banjul\",\"Basseterre\",\"Beijing\",\"Beirut\",\"Belgrade\",\"Belmopan\",\"Berlin\",\"Bern\",\"Bir Lehlou\",\"Bishkek\",\"Bissau\",\"Bloemfontein\",\"Bogota\",\"Brasilia\",\"Bratislava\",\"Brazzaville\",\"Bridgetown\",\"Brussels\",\"Bucharest\",\"Budapest\",\"Buenos Aires\",\"Bujumbura\",\"Cairo\",\"Canberra\",\"Cape Town\",\"Caracas\",\"Casablanca\",\"Castries\",\"Chengdu\",\"Chicago\",\"Chisinau\",\"Colombo\",\"Conakry\",\"Cotonou\",\"Dakar\",\"Damascus\",\"Dar es Salaam\",\"Denver\",\"Dhaka\",\"Dili\",\"Djibouti\",\"Dodoma\",\"Doha\",\"Dubai\",\"Dublin\",\"Dushanbe\",\"Freetown\",\"Funafuti\",\"Gaborone\",\"Geneva\",\"Georgetown\",\"Guatemala\",\"Hanoi\",\"Harare\",\"Hargeysa\",\"Havana\",\"Helsinki\",\"Hong Kong\",\"Honiara\",\"Houston\",\"Islamabad\",\"Istanbul\",\"Jakarta\",\"Jerusalem\",\"Johannesburg\",\"Juba\",\"Kabul\",\"Kampala\",\"Kathmandu\",\"Khartoum\",\"Kiev\",\"Kigali\",\"Kingston\"]}]}]}}", "maxzoom": "5", "minzoom": "0", "name": "tests/ne_110m_populated_places/out/-yNAME_-z5_-B3.json.check.mbtiles", diff --git a/tests/ne_110m_populated_places/out/-yNAME_-z5_-ccat.json b/tests/ne_110m_populated_places/out/-yNAME_-z5_-ccat.json index 4d76cdda..0caa2195 100644 --- a/tests/ne_110m_populated_places/out/-yNAME_-z5_-ccat.json +++ b/tests/ne_110m_populated_places/out/-yNAME_-z5_-ccat.json @@ -3,7 +3,7 @@ "center": "16.875000,44.951199,5", "description": "tests/ne_110m_populated_places/out/-yNAME_-z5_-ccat.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"NAME\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"NAME\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 243,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"NAME\",\"count\": 243,\"type\": \"string\",\"values\": [\"Abidjan\",\"Abu Dhabi\",\"Abuja\",\"Accra\",\"Addis Ababa\",\"Algiers\",\"Amman\",\"Amsterdam\",\"Andorra\",\"Ankara\",\"Antananarivo\",\"Apia\",\"Ashgabat\",\"Asmara\",\"Astana\",\"Asuncion\",\"Athens\",\"Atlanta\",\"Auckland\",\"Baghdad\",\"Baguio City\",\"Baku\",\"Bamako\",\"Bandar Seri Begawan\",\"Bangalore\",\"Bangkok\",\"Bangui\",\"Banjul\",\"Basseterre\",\"Beijing\",\"Beirut\",\"Belgrade\",\"Belmopan\",\"Berlin\",\"Bern\",\"Bir Lehlou\",\"Bishkek\",\"Bissau\",\"Bloemfontein\",\"Bogota\",\"Brasilia\",\"Bratislava\",\"Brazzaville\",\"Bridgetown\",\"Brussels\",\"Bucharest\",\"Budapest\",\"Buenos Aires\",\"Bujumbura\",\"Cairo\",\"Canberra\",\"Cape Town\",\"Caracas\",\"Casablanca\",\"Castries\",\"Chengdu\",\"Chicago\",\"Chisinau\",\"Colombo\",\"Conakry\",\"Cotonou\",\"Dakar\",\"Damascus\",\"Dar es Salaam\",\"Denver\",\"Dhaka\",\"Dili\",\"Djibouti\",\"Dodoma\",\"Doha\",\"Dubai\",\"Dublin\",\"Dushanbe\",\"Freetown\",\"Funafuti\",\"Gaborone\",\"Geneva\",\"Georgetown\",\"Guatemala\",\"Hanoi\",\"Harare\",\"Hargeysa\",\"Havana\",\"Helsinki\",\"Hong Kong\",\"Honiara\",\"Houston\",\"Islamabad\",\"Istanbul\",\"Jakarta\",\"Jerusalem\",\"Johannesburg\",\"Juba\",\"Kabul\",\"Kampala\",\"Kathmandu\",\"Khartoum\",\"Kiev\",\"Kigali\",\"Kingston\"]}]}]}}", "maxzoom": "5", "minzoom": "0", "name": "tests/ne_110m_populated_places/out/-yNAME_-z5_-ccat.json.check.mbtiles", diff --git a/tests/ne_110m_populated_places/out/-yNAME_-z5_-r1.5.json b/tests/ne_110m_populated_places/out/-yNAME_-z5_-r1.5.json index 6edbf16f..0c9b4665 100644 --- a/tests/ne_110m_populated_places/out/-yNAME_-z5_-r1.5.json +++ b/tests/ne_110m_populated_places/out/-yNAME_-z5_-r1.5.json @@ -3,7 +3,7 @@ "center": "16.875000,44.951199,5", "description": "tests/ne_110m_populated_places/out/-yNAME_-z5_-r1.5.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"NAME\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"NAME\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 243,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"NAME\",\"count\": 243,\"type\": \"string\",\"values\": [\"Abidjan\",\"Abu Dhabi\",\"Abuja\",\"Accra\",\"Addis Ababa\",\"Algiers\",\"Amman\",\"Amsterdam\",\"Andorra\",\"Ankara\",\"Antananarivo\",\"Apia\",\"Ashgabat\",\"Asmara\",\"Astana\",\"Asuncion\",\"Athens\",\"Atlanta\",\"Auckland\",\"Baghdad\",\"Baguio City\",\"Baku\",\"Bamako\",\"Bandar Seri Begawan\",\"Bangalore\",\"Bangkok\",\"Bangui\",\"Banjul\",\"Basseterre\",\"Beijing\",\"Beirut\",\"Belgrade\",\"Belmopan\",\"Berlin\",\"Bern\",\"Bir Lehlou\",\"Bishkek\",\"Bissau\",\"Bloemfontein\",\"Bogota\",\"Brasilia\",\"Bratislava\",\"Brazzaville\",\"Bridgetown\",\"Brussels\",\"Bucharest\",\"Budapest\",\"Buenos Aires\",\"Bujumbura\",\"Cairo\",\"Canberra\",\"Cape Town\",\"Caracas\",\"Casablanca\",\"Castries\",\"Chengdu\",\"Chicago\",\"Chisinau\",\"Colombo\",\"Conakry\",\"Cotonou\",\"Dakar\",\"Damascus\",\"Dar es Salaam\",\"Denver\",\"Dhaka\",\"Dili\",\"Djibouti\",\"Dodoma\",\"Doha\",\"Dubai\",\"Dublin\",\"Dushanbe\",\"Freetown\",\"Funafuti\",\"Gaborone\",\"Geneva\",\"Georgetown\",\"Guatemala\",\"Hanoi\",\"Harare\",\"Hargeysa\",\"Havana\",\"Helsinki\",\"Hong Kong\",\"Honiara\",\"Houston\",\"Islamabad\",\"Istanbul\",\"Jakarta\",\"Jerusalem\",\"Johannesburg\",\"Juba\",\"Kabul\",\"Kampala\",\"Kathmandu\",\"Khartoum\",\"Kiev\",\"Kigali\",\"Kingston\"]}]}]}}", "maxzoom": "5", "minzoom": "0", "name": "tests/ne_110m_populated_places/out/-yNAME_-z5_-r1.5.json.check.mbtiles", diff --git a/tests/nullisland/out/-b0_-z4.json b/tests/nullisland/out/-b0_-z4.json index 52828d45..060bbd40 100644 --- a/tests/nullisland/out/-b0_-z4.json +++ b/tests/nullisland/out/-b0_-z4.json @@ -3,7 +3,7 @@ "center": "-1.000000,1.000000,4", "description": "tests/nullisland/out/-b0_-z4.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 13,\"geometry\": \"Point\",\"attributeCount\": 0,\"attributes\": []}]}}", "maxzoom": "4", "minzoom": "0", "name": "tests/nullisland/out/-b0_-z4.json.check.mbtiles", diff --git a/tests/nullisland/out/-b0_-z4_-ANullIsland.json b/tests/nullisland/out/-b0_-z4_-ANullIsland.json index 4d3a84f8..eb77f386 100644 --- a/tests/nullisland/out/-b0_-z4_-ANullIsland.json +++ b/tests/nullisland/out/-b0_-z4_-ANullIsland.json @@ -4,7 +4,7 @@ "center": "-1.000000,1.000000,4", "description": "tests/nullisland/out/-b0_-z4_-ANullIsland.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 13,\"geometry\": \"Point\",\"attributeCount\": 0,\"attributes\": []}]}}", "maxzoom": "4", "minzoom": "0", "name": "tests/nullisland/out/-b0_-z4_-ANullIsland.json.check.mbtiles", diff --git a/tests/nullisland/out/-b0_-z4_-NNullIsland.json b/tests/nullisland/out/-b0_-z4_-NNullIsland.json index 7b71e50e..0f486bb4 100644 --- a/tests/nullisland/out/-b0_-z4_-NNullIsland.json +++ b/tests/nullisland/out/-b0_-z4_-NNullIsland.json @@ -3,7 +3,7 @@ "center": "-1.000000,1.000000,4", "description": "NullIsland", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 4, \"fields\": {} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 13,\"geometry\": \"Point\",\"attributeCount\": 0,\"attributes\": []}]}}", "maxzoom": "4", "minzoom": "0", "name": "tests/nullisland/out/-b0_-z4_-NNullIsland.json.check.mbtiles", diff --git a/tests/overlap/out/-z0.json b/tests/overlap/out/-z0.json index 317ef03b..c8b1fa1e 100644 --- a/tests/overlap/out/-z0.json +++ b/tests/overlap/out/-z0.json @@ -3,7 +3,7 @@ "center": "-3.000000,0.000000,0", "description": "tests/overlap/out/-z0.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 2,\"geometry\": \"Polygon\",\"attributeCount\": 0,\"attributes\": []}]}}", "maxzoom": "0", "minzoom": "0", "name": "tests/overlap/out/-z0.json.check.mbtiles", diff --git a/tests/overlap/out/-z0_--coalesce.json b/tests/overlap/out/-z0_--coalesce.json index 4629d09f..5c8b9c95 100644 --- a/tests/overlap/out/-z0_--coalesce.json +++ b/tests/overlap/out/-z0_--coalesce.json @@ -3,7 +3,7 @@ "center": "-3.000000,0.000000,0", "description": "tests/overlap/out/-z0_--coalesce.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 2,\"geometry\": \"Polygon\",\"attributeCount\": 0,\"attributes\": []}]}}", "maxzoom": "0", "minzoom": "0", "name": "tests/overlap/out/-z0_--coalesce.json.check.mbtiles", diff --git a/tests/overlap/out/-z0_-pC.json b/tests/overlap/out/-z0_-pC.json index 332ef696..e8dcdb6f 100644 --- a/tests/overlap/out/-z0_-pC.json +++ b/tests/overlap/out/-z0_-pC.json @@ -3,7 +3,7 @@ "center": "-3.000000,0.000000,0", "description": "tests/overlap/out/-z0_-pC.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 2,\"geometry\": \"Polygon\",\"attributeCount\": 0,\"attributes\": []}]}}", "maxzoom": "0", "minzoom": "0", "name": "tests/overlap/out/-z0_-pC.json.check.mbtiles", diff --git a/tests/raw-tiles/compare/metadata.json b/tests/raw-tiles/compare/metadata.json index c83c17c6..59cb9e5b 100644 --- a/tests/raw-tiles/compare/metadata.json +++ b/tests/raw-tiles/compare/metadata.json @@ -8,5 +8,5 @@ "bounds": "-122.682427,45.512332,-122.654961,45.569975", "type": "overlay", "format": "pbf", - "json": "{\"vector_layers\": [ { \"id\": \"hackspotsgeojson\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 14, \"fields\": {\"Address\": \"String\", \"Name\": \"String\", \"Notes\": \"String\"} } ] }" + "json": "{\"vector_layers\": [ { \"id\": \"hackspotsgeojson\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 14, \"fields\": {\"Address\": \"String\", \"Name\": \"String\", \"Notes\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"hackspotsgeojson\",\"count\": 4,\"geometry\": \"Point\",\"attributeCount\": 3,\"attributes\": [{\"attribute\": \"Address\",\"count\": 4,\"type\": \"string\",\"values\": [\"1507 N Rosa Parks Way Portland, OR 97217\",\"201 SE 12th Ave, Portland, OR 97214\",\"4637 N Albina Ave Portland, OR 97217\",\"915 SE Hawthorne Blvd. Portland, OR 97214\"]},{\"attribute\": \"Name\",\"count\": 4,\"type\": \"string\",\"values\": [\"Albina Press\",\"Arbor Lodge\",\"Lucky Labrador Brew Pub\",\"Three Friends Coffeehouse\"]},{\"attribute\": \"Notes\",\"count\": 3,\"type\": \"string\",\"values\": [\"\",\"Dog friendly\",\"usually busy, outlets on side wall only\"]}]}]}}" } diff --git a/tests/stable/out/-z20_-Z20.json b/tests/stable/out/-z20_-Z20.json index cf1867f0..fa9c6260 100644 --- a/tests/stable/out/-z20_-Z20.json +++ b/tests/stable/out/-z20_-Z20.json @@ -3,7 +3,7 @@ "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\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 20, \"maxzoom\": 20, \"fields\": {\"order\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 15,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"order\",\"count\": 9,\"type\": \"string\",\"values\": [\"eight\",\"five\",\"four\",\"nine\",\"one\",\"seven\",\"six\",\"three\",\"two\"]}]}]}}", "maxzoom": "20", "minzoom": "20", "name": "tests/stable/out/-z20_-Z20.json.check.mbtiles", diff --git a/tests/stable/out/-z3_-B0.json b/tests/stable/out/-z3_-B0.json index 2ac1df17..40c4f2b4 100644 --- a/tests/stable/out/-z3_-B0.json +++ b/tests/stable/out/-z3_-B0.json @@ -3,7 +3,7 @@ "center": "112.500000,-20.489949,3", "description": "tests/stable/out/-z3_-B0.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 3, \"fields\": {\"order\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 3, \"fields\": {\"order\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 15,\"geometry\": \"Point\",\"attributeCount\": 1,\"attributes\": [{\"attribute\": \"order\",\"count\": 9,\"type\": \"string\",\"values\": [\"eight\",\"five\",\"four\",\"nine\",\"one\",\"seven\",\"six\",\"three\",\"two\"]}]}]}}", "maxzoom": "3", "minzoom": "0", "name": "tests/stable/out/-z3_-B0.json.check.mbtiles", diff --git a/tests/tl_2015_us_county/out/-z8.json b/tests/tl_2015_us_county/out/-z8.json index b9643484..6066eaec 100644 --- a/tests/tl_2015_us_county/out/-z8.json +++ b/tests/tl_2015_us_county/out/-z8.json @@ -3,7 +3,7 @@ "center": "-69.609375,45.581133,8", "description": "tests/tl_2015_us_county/out/-z8.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"piscataquis\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 8, \"fields\": {\"ALAND\": \"Number\", \"AWATER\": \"Number\", \"CLASSFP\": \"String\", \"COUNTYFP\": \"String\", \"COUNTYNS\": \"String\", \"FUNCSTAT\": \"String\", \"GEOID\": \"String\", \"INTPTLAT\": \"String\", \"INTPTLON\": \"String\", \"LSAD\": \"String\", \"MTFCC\": \"String\", \"NAME\": \"String\", \"NAMELSAD\": \"String\", \"STATEFP\": \"String\"} }, { \"id\": \"somerset\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 8, \"fields\": {\"ALAND\": \"Number\", \"AWATER\": \"Number\", \"CLASSFP\": \"String\", \"COUNTYFP\": \"String\", \"COUNTYNS\": \"String\", \"FUNCSTAT\": \"String\", \"GEOID\": \"String\", \"INTPTLAT\": \"String\", \"INTPTLON\": \"String\", \"LSAD\": \"String\", \"MTFCC\": \"String\", \"NAME\": \"String\", \"NAMELSAD\": \"String\", \"STATEFP\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"piscataquis\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 8, \"fields\": {\"ALAND\": \"Number\", \"AWATER\": \"Number\", \"CLASSFP\": \"String\", \"COUNTYFP\": \"String\", \"COUNTYNS\": \"String\", \"FUNCSTAT\": \"String\", \"GEOID\": \"String\", \"INTPTLAT\": \"String\", \"INTPTLON\": \"String\", \"LSAD\": \"String\", \"MTFCC\": \"String\", \"NAME\": \"String\", \"NAMELSAD\": \"String\", \"STATEFP\": \"String\"} }, { \"id\": \"somerset\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 8, \"fields\": {\"ALAND\": \"Number\", \"AWATER\": \"Number\", \"CLASSFP\": \"String\", \"COUNTYFP\": \"String\", \"COUNTYNS\": \"String\", \"FUNCSTAT\": \"String\", \"GEOID\": \"String\", \"INTPTLAT\": \"String\", \"INTPTLON\": \"String\", \"LSAD\": \"String\", \"MTFCC\": \"String\", \"NAME\": \"String\", \"NAMELSAD\": \"String\", \"STATEFP\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"piscataquis\",\"count\": 1,\"geometry\": \"Polygon\",\"attributeCount\": 14,\"attributes\": [{\"attribute\": \"ALAND\",\"count\": 1,\"type\": \"number\",\"values\": [10258678459.000000],\"min\": 10258678459.000000,\"max\": 10258678459.000000},{\"attribute\": \"AWATER\",\"count\": 1,\"type\": \"number\",\"values\": [1080563045.000000],\"min\": 1080563045.000000,\"max\": 1080563045.000000},{\"attribute\": \"CLASSFP\",\"count\": 1,\"type\": \"string\",\"values\": [\"H1\"]},{\"attribute\": \"COUNTYFP\",\"count\": 1,\"type\": \"string\",\"values\": [\"021\"]},{\"attribute\": \"COUNTYNS\",\"count\": 1,\"type\": \"string\",\"values\": [\"00581296\"]},{\"attribute\": \"FUNCSTAT\",\"count\": 1,\"type\": \"string\",\"values\": [\"A\"]},{\"attribute\": \"GEOID\",\"count\": 1,\"type\": \"string\",\"values\": [\"23021\"]},{\"attribute\": \"INTPTLAT\",\"count\": 1,\"type\": \"string\",\"values\": [\"+45.9176853\"]},{\"attribute\": \"INTPTLON\",\"count\": 1,\"type\": \"string\",\"values\": [\"-069.1045359\"]},{\"attribute\": \"LSAD\",\"count\": 1,\"type\": \"string\",\"values\": [\"06\"]},{\"attribute\": \"MTFCC\",\"count\": 1,\"type\": \"string\",\"values\": [\"G4020\"]},{\"attribute\": \"NAME\",\"count\": 1,\"type\": \"string\",\"values\": [\"Piscataquis\"]},{\"attribute\": \"NAMELSAD\",\"count\": 1,\"type\": \"string\",\"values\": [\"Piscataquis County\"]},{\"attribute\": \"STATEFP\",\"count\": 1,\"type\": \"string\",\"values\": [\"23\"]}]},{\"layer\": \"somerset\",\"count\": 1,\"geometry\": \"Polygon\",\"attributeCount\": 14,\"attributes\": [{\"attribute\": \"ALAND\",\"count\": 1,\"type\": \"number\",\"values\": [10164314642.000000],\"min\": 10164314642.000000,\"max\": 10164314642.000000},{\"attribute\": \"AWATER\",\"count\": 1,\"type\": \"number\",\"values\": [437895944.000000],\"min\": 437895944.000000,\"max\": 437895944.000000},{\"attribute\": \"CLASSFP\",\"count\": 1,\"type\": \"string\",\"values\": [\"H1\"]},{\"attribute\": \"COUNTYFP\",\"count\": 1,\"type\": \"string\",\"values\": [\"025\"]},{\"attribute\": \"COUNTYNS\",\"count\": 1,\"type\": \"string\",\"values\": [\"00581298\"]},{\"attribute\": \"FUNCSTAT\",\"count\": 1,\"type\": \"string\",\"values\": [\"A\"]},{\"attribute\": \"GEOID\",\"count\": 1,\"type\": \"string\",\"values\": [\"23025\"]},{\"attribute\": \"INTPTLAT\",\"count\": 1,\"type\": \"string\",\"values\": [\"+45.5074824\"]},{\"attribute\": \"INTPTLON\",\"count\": 1,\"type\": \"string\",\"values\": [\"-069.9760395\"]},{\"attribute\": \"LSAD\",\"count\": 1,\"type\": \"string\",\"values\": [\"06\"]},{\"attribute\": \"MTFCC\",\"count\": 1,\"type\": \"string\",\"values\": [\"G4020\"]},{\"attribute\": \"NAME\",\"count\": 1,\"type\": \"string\",\"values\": [\"Somerset\"]},{\"attribute\": \"NAMELSAD\",\"count\": 1,\"type\": \"string\",\"values\": [\"Somerset County\"]},{\"attribute\": \"STATEFP\",\"count\": 1,\"type\": \"string\",\"values\": [\"23\"]}]}]}}", "maxzoom": "8", "minzoom": "0", "name": "tests/tl_2015_us_county/out/-z8.json.check.mbtiles", diff --git a/tests/tl_2015_us_county/out/-z8_-pp.json b/tests/tl_2015_us_county/out/-z8_-pp.json index d4dc761d..42b9a4b1 100644 --- a/tests/tl_2015_us_county/out/-z8_-pp.json +++ b/tests/tl_2015_us_county/out/-z8_-pp.json @@ -3,7 +3,7 @@ "center": "-69.609375,45.581133,8", "description": "tests/tl_2015_us_county/out/-z8_-pp.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"piscataquis\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 8, \"fields\": {\"ALAND\": \"Number\", \"AWATER\": \"Number\", \"CLASSFP\": \"String\", \"COUNTYFP\": \"String\", \"COUNTYNS\": \"String\", \"FUNCSTAT\": \"String\", \"GEOID\": \"String\", \"INTPTLAT\": \"String\", \"INTPTLON\": \"String\", \"LSAD\": \"String\", \"MTFCC\": \"String\", \"NAME\": \"String\", \"NAMELSAD\": \"String\", \"STATEFP\": \"String\"} }, { \"id\": \"somerset\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 8, \"fields\": {\"ALAND\": \"Number\", \"AWATER\": \"Number\", \"CLASSFP\": \"String\", \"COUNTYFP\": \"String\", \"COUNTYNS\": \"String\", \"FUNCSTAT\": \"String\", \"GEOID\": \"String\", \"INTPTLAT\": \"String\", \"INTPTLON\": \"String\", \"LSAD\": \"String\", \"MTFCC\": \"String\", \"NAME\": \"String\", \"NAMELSAD\": \"String\", \"STATEFP\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"piscataquis\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 8, \"fields\": {\"ALAND\": \"Number\", \"AWATER\": \"Number\", \"CLASSFP\": \"String\", \"COUNTYFP\": \"String\", \"COUNTYNS\": \"String\", \"FUNCSTAT\": \"String\", \"GEOID\": \"String\", \"INTPTLAT\": \"String\", \"INTPTLON\": \"String\", \"LSAD\": \"String\", \"MTFCC\": \"String\", \"NAME\": \"String\", \"NAMELSAD\": \"String\", \"STATEFP\": \"String\"} }, { \"id\": \"somerset\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 8, \"fields\": {\"ALAND\": \"Number\", \"AWATER\": \"Number\", \"CLASSFP\": \"String\", \"COUNTYFP\": \"String\", \"COUNTYNS\": \"String\", \"FUNCSTAT\": \"String\", \"GEOID\": \"String\", \"INTPTLAT\": \"String\", \"INTPTLON\": \"String\", \"LSAD\": \"String\", \"MTFCC\": \"String\", \"NAME\": \"String\", \"NAMELSAD\": \"String\", \"STATEFP\": \"String\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"piscataquis\",\"count\": 1,\"geometry\": \"Polygon\",\"attributeCount\": 14,\"attributes\": [{\"attribute\": \"ALAND\",\"count\": 1,\"type\": \"number\",\"values\": [10258678459.000000],\"min\": 10258678459.000000,\"max\": 10258678459.000000},{\"attribute\": \"AWATER\",\"count\": 1,\"type\": \"number\",\"values\": [1080563045.000000],\"min\": 1080563045.000000,\"max\": 1080563045.000000},{\"attribute\": \"CLASSFP\",\"count\": 1,\"type\": \"string\",\"values\": [\"H1\"]},{\"attribute\": \"COUNTYFP\",\"count\": 1,\"type\": \"string\",\"values\": [\"021\"]},{\"attribute\": \"COUNTYNS\",\"count\": 1,\"type\": \"string\",\"values\": [\"00581296\"]},{\"attribute\": \"FUNCSTAT\",\"count\": 1,\"type\": \"string\",\"values\": [\"A\"]},{\"attribute\": \"GEOID\",\"count\": 1,\"type\": \"string\",\"values\": [\"23021\"]},{\"attribute\": \"INTPTLAT\",\"count\": 1,\"type\": \"string\",\"values\": [\"+45.9176853\"]},{\"attribute\": \"INTPTLON\",\"count\": 1,\"type\": \"string\",\"values\": [\"-069.1045359\"]},{\"attribute\": \"LSAD\",\"count\": 1,\"type\": \"string\",\"values\": [\"06\"]},{\"attribute\": \"MTFCC\",\"count\": 1,\"type\": \"string\",\"values\": [\"G4020\"]},{\"attribute\": \"NAME\",\"count\": 1,\"type\": \"string\",\"values\": [\"Piscataquis\"]},{\"attribute\": \"NAMELSAD\",\"count\": 1,\"type\": \"string\",\"values\": [\"Piscataquis County\"]},{\"attribute\": \"STATEFP\",\"count\": 1,\"type\": \"string\",\"values\": [\"23\"]}]},{\"layer\": \"somerset\",\"count\": 1,\"geometry\": \"Polygon\",\"attributeCount\": 14,\"attributes\": [{\"attribute\": \"ALAND\",\"count\": 1,\"type\": \"number\",\"values\": [10164314642.000000],\"min\": 10164314642.000000,\"max\": 10164314642.000000},{\"attribute\": \"AWATER\",\"count\": 1,\"type\": \"number\",\"values\": [437895944.000000],\"min\": 437895944.000000,\"max\": 437895944.000000},{\"attribute\": \"CLASSFP\",\"count\": 1,\"type\": \"string\",\"values\": [\"H1\"]},{\"attribute\": \"COUNTYFP\",\"count\": 1,\"type\": \"string\",\"values\": [\"025\"]},{\"attribute\": \"COUNTYNS\",\"count\": 1,\"type\": \"string\",\"values\": [\"00581298\"]},{\"attribute\": \"FUNCSTAT\",\"count\": 1,\"type\": \"string\",\"values\": [\"A\"]},{\"attribute\": \"GEOID\",\"count\": 1,\"type\": \"string\",\"values\": [\"23025\"]},{\"attribute\": \"INTPTLAT\",\"count\": 1,\"type\": \"string\",\"values\": [\"+45.5074824\"]},{\"attribute\": \"INTPTLON\",\"count\": 1,\"type\": \"string\",\"values\": [\"-069.9760395\"]},{\"attribute\": \"LSAD\",\"count\": 1,\"type\": \"string\",\"values\": [\"06\"]},{\"attribute\": \"MTFCC\",\"count\": 1,\"type\": \"string\",\"values\": [\"G4020\"]},{\"attribute\": \"NAME\",\"count\": 1,\"type\": \"string\",\"values\": [\"Somerset\"]},{\"attribute\": \"NAMELSAD\",\"count\": 1,\"type\": \"string\",\"values\": [\"Somerset County\"]},{\"attribute\": \"STATEFP\",\"count\": 1,\"type\": \"string\",\"values\": [\"23\"]}]}]}}", "maxzoom": "8", "minzoom": "0", "name": "tests/tl_2015_us_county/out/-z8_-pp.json.check.mbtiles", diff --git a/tests/wraparound/out/-z5_--detect-longitude-wraparound.json b/tests/wraparound/out/-z5_--detect-longitude-wraparound.json index d0d15853..ae1da10f 100644 --- a/tests/wraparound/out/-z5_--detect-longitude-wraparound.json +++ b/tests/wraparound/out/-z5_--detect-longitude-wraparound.json @@ -3,7 +3,7 @@ "center": "174.375000,52.248490,5", "description": "tests/wraparound/out/-z5_--detect-longitude-wraparound.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"AGE_RANGE\": \"String\", \"CLASS\": \"Number\", \"NSACLASS\": \"Number\", \"NSASUB\": \"Number\", \"QCLASS\": \"Number\", \"SEQUENCE\": \"String\", \"SHAPE_Area\": \"Number\", \"SHAPE_Leng\": \"Number\", \"SOURCE\": \"String\", \"SOURCECLAS\": \"String\", \"STATE_SYMB\": \"Number\", \"STATE_UNIT\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 5, \"fields\": {\"AGE_RANGE\": \"String\", \"CLASS\": \"Number\", \"NSACLASS\": \"Number\", \"NSASUB\": \"Number\", \"QCLASS\": \"Number\", \"SEQUENCE\": \"String\", \"SHAPE_Area\": \"Number\", \"SHAPE_Leng\": \"Number\", \"SOURCE\": \"String\", \"SOURCECLAS\": \"String\", \"STATE_SYMB\": \"Number\", \"STATE_UNIT\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 1,\"geometry\": \"Polygon\",\"attributeCount\": 12,\"attributes\": [{\"attribute\": \"AGE_RANGE\",\"count\": 1,\"type\": \"string\",\"values\": [\"Holocene\"]},{\"attribute\": \"CLASS\",\"count\": 1,\"type\": \"number\",\"values\": [102],\"min\": 102.000000,\"max\": 102.000000},{\"attribute\": \"NSACLASS\",\"count\": 1,\"type\": \"number\",\"values\": [102],\"min\": 102.000000,\"max\": 102.000000},{\"attribute\": \"NSASUB\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0.000000,\"max\": 0.000000},{\"attribute\": \"QCLASS\",\"count\": 1,\"type\": \"number\",\"values\": [102],\"min\": 102.000000,\"max\": 102.000000},{\"attribute\": \"SEQUENCE\",\"count\": 1,\"type\": \"string\",\"values\": [\"A002\"]},{\"attribute\": \"SHAPE_Area\",\"count\": 1,\"type\": \"number\",\"values\": [14738675833],\"min\": 14738675833.000000,\"max\": 14738675833.000000},{\"attribute\": \"SHAPE_Leng\",\"count\": 1,\"type\": \"number\",\"values\": [932926.36937199999],\"min\": 932926.369372,\"max\": 932926.369372},{\"attribute\": \"SOURCE\",\"count\": 1,\"type\": \"string\",\"values\": [\"RI001\"]},{\"attribute\": \"SOURCECLAS\",\"count\": 1,\"type\": \"string\",\"values\": [\"RI001_102\"]},{\"attribute\": \"STATE_SYMB\",\"count\": 1,\"type\": \"number\",\"values\": [300],\"min\": 300.000000,\"max\": 300.000000},{\"attribute\": \"STATE_UNIT\",\"count\": 1,\"type\": \"string\",\"values\": [\"Water\"]}]}]}}", "maxzoom": "5", "minzoom": "0", "name": "tests/wraparound/out/-z5_--detect-longitude-wraparound.json.check.mbtiles", diff --git a/tests/wyalkatchem/out/-pk_-pf_-Z9_-z12_-ldata.json b/tests/wyalkatchem/out/-pk_-pf_-Z9_-z12_-ldata.json index 14f8fd7d..b630e6b7 100644 --- a/tests/wyalkatchem/out/-pk_-pf_-Z9_-z12_-ldata.json +++ b/tests/wyalkatchem/out/-pk_-pf_-Z9_-z12_-ldata.json @@ -3,7 +3,7 @@ "center": "117.290039,-31.391150,12", "description": "tests/wyalkatchem/out/-pk_-pf_-Z9_-z12_-ldata.json.check.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"data\", \"description\": \"\", \"minzoom\": 9, \"maxzoom\": 12, \"fields\": {\"country\": \"String\", \"text\": \"String\"} } ] }", +"json": "{\"vector_layers\": [ { \"id\": \"data\", \"description\": \"\", \"minzoom\": 9, \"maxzoom\": 12, \"fields\": {\"country\": \"String\", \"text\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"data\",\"count\": 1,\"geometry\": \"Polygon\",\"attributeCount\": 2,\"attributes\": [{\"attribute\": \"country\",\"count\": 1,\"type\": \"string\",\"values\": [\"au\"]},{\"attribute\": \"text\",\"count\": 1,\"type\": \"string\",\"values\": [\"Wyalkatchem\"]}]}]}}", "maxzoom": "12", "minzoom": "9", "name": "tests/wyalkatchem/out/-pk_-pf_-Z9_-z12_-ldata.json.check.mbtiles", diff --git a/text.cpp b/text.cpp index b676cdbb..dc27d21a 100644 --- a/text.cpp +++ b/text.cpp @@ -50,3 +50,75 @@ std::string check_utf8(std::string s) { return ""; } + +const char *utf8_next(const char *s, long *c) { + if (s == NULL) { + *c = -1; + return NULL; + } + + if (*s == '\0') { + *c = -1; + return NULL; + } + + if ((s[0] & 0x80) == 0x80) { + if ((s[0] & 0xE0) == 0xC0) { + if ((s[1] & 0xC0) != 0x80) { + *c = 0xFFFD; + s++; + } else { + *c = ((long) (s[0] & 0x1F) << 6) | ((long) (s[1] & 0x7F)); + s += 2; + } + } else if ((s[0] & 0xF0) == 0xE0) { + if ((s[1] & 0xC0) != 0x80 || (s[2] & 0xC0) != 0x80) { + *c = 0xFFFD; + s++; + } else { + *c = ((long) (s[0] & 0x0F) << 12) | ((long) (s[1] & 0x7F) << 6) | ((long) (s[2] & 0x7F)); + s += 3; + } + } else if ((s[0] & 0xF8) == 0xF0) { + if ((s[1] & 0xC0) != 0x80 || (s[2] & 0xC0) != 0x80 || (s[3] & 0xC0) != 0x80) { + *c = 0xFFFD; + s++; + } else { + *c = ((long) (s[0] & 0x0F) << 18) | ((long) (s[1] & 0x7F) << 12) | ((long) (s[2] & 0x7F) << 6) | ((long) (s[3] & 0x7F)); + s += 4; + } + } else { + *c = 0xFFFD; + s++; + } + } else { + *c = s[0]; + s++; + } + + return s; +} + +std::string truncate16(std::string const &s, size_t runes) { + const char *cp = s.c_str(); + const char *start = cp; + const char *lastgood = cp; + size_t len = 0; + long c; + + while ((cp = utf8_next(cp, &c)) != NULL) { + if (c <= 0xFFFF) { + len++; + } else { + len += 2; + } + + if (len <= runes) { + lastgood = cp; + } else { + break; + } + } + + return std::string(s, 0, lastgood - start); +} diff --git a/text.hpp b/text.hpp index c5351c75..65274a33 100644 --- a/text.hpp +++ b/text.hpp @@ -1,3 +1,10 @@ +#ifndef TEXT_HPP +#define TEXT_HPP + #include std::string check_utf8(std::string text); +const char *utf8_next(const char *s, long *c); +std::string truncate16(std::string const &s, size_t runes); + +#endif diff --git a/tile-join.cpp b/tile-join.cpp index 4e68d2ae..dbc8e357 100644 --- a/tile-join.cpp +++ b/tile-join.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -25,16 +26,14 @@ #include #include #include - -extern "C" { #include "jsonpull/jsonpull.h" -} std::string dequote(std::string s); -bool pk = false; -bool pC = false; +int pk = false; +int pC = false; size_t CPUS; +int quiet = false; struct stats { int minzoom; @@ -111,8 +110,7 @@ void handle(std::string message, int z, unsigned x, unsigned y, std::map attributes; - std::map types; + std::map> attributes; std::vector key_order; for (size_t t = 0; t + 1 < feat.tags.size(); t += 2) { @@ -151,8 +149,11 @@ void handle(std::string message, int z, unsigned x, unsigned y, std::map(key, val)); - types.insert(std::pair(key, type)); + type_and_string tas; + tas.type = type; + tas.string = value; + + attributes.insert(std::pair>(key, std::pair(val, tas))); key_order.push_back(key); } @@ -192,39 +193,31 @@ void handle(std::string message, int z, unsigned x, unsigned y, std::map(sjoinkey, outval)); - types.insert(std::pair(sjoinkey, attr_type)); - key_order.push_back(sjoinkey); + type_and_string tas; + tas.type = outval.type; + tas.string = joinval; + + attributes.insert(std::pair>(joinkey, std::pair(outval, tas))); + key_order.push_back(joinkey); } } } } } - for (auto tp : types) { - type_and_string tas; - tas.string = tp.first; - tas.type = tp.second; - - file_keys->second.file_keys.insert(tas); - } - - // To keep attributes in their original order instead of alphabetical - for (auto k : key_order) { - auto fa = attributes.find(k); - - if (fa != attributes.end()) { - outlayer.tag(outfeature, k, fa->second); - attributes.erase(fa); - } - } - if (matched || !ifmatched) { + // To keep attributes in their original order instead of alphabetical + for (auto k : key_order) { + auto fa = attributes.find(k); + + if (fa != attributes.end()) { + outlayer.tag(outfeature, k, fa->second.first); + add_to_file_keys(file_keys->second.file_keys, k, fa->second.second); + attributes.erase(fa); + } + } + outfeature.type = feat.type; outfeature.geometry = feat.geometry; @@ -626,7 +619,9 @@ void handle_tasks(std::map> &tasks, std::vectorfirst.z, ai->first.x, ai->first.y); + if (!quiet) { + fprintf(stderr, "%lld/%lld/%lld \r", ai->first.z, ai->first.x, ai->first.y); + } } } @@ -996,6 +991,11 @@ int main(int argc, char **argv) { int ifmatched = 0; CPUS = sysconf(_SC_NPROCESSORS_ONLN); + + const char *TIPPECANOE_MAX_THREADS = getenv("TIPPECANOE_MAX_THREADS"); + if (TIPPECANOE_MAX_THREADS != NULL) { + CPUS = atoi(TIPPECANOE_MAX_THREADS); + } if (CPUS < 1) { CPUS = 1; } @@ -1009,12 +1009,47 @@ int main(int argc, char **argv) { std::string set_name, set_description, set_attribution; + struct option long_options[] = { + {"output", required_argument, 0, 'o'}, + {"output-to-directory", required_argument, 0, 'e'}, + {"force", no_argument, 0, 'f'}, + {"if-matched", no_argument, 0, 'i'}, + {"attribution", required_argument, 0, 'A'}, + {"name", required_argument, 0, 'n'}, + {"description", required_argument, 0, 'N'}, + {"prevent", required_argument, 0, 'p'}, + {"csv", required_argument, 0, 'c'}, + {"exclude", required_argument, 0, 'x'}, + {"layer", required_argument, 0, 'l'}, + {"exclude-layer", required_argument, 0, 'L'}, + {"quiet", no_argument, 0, 'q'}, + + {"no-tile-size-limit", no_argument, &pk, 1}, + {"no-tile-compression", no_argument, &pC, 1}, + + {0, 0, 0, 0}, + }; + + std::string getopt_str; + for (size_t lo = 0; long_options[lo].name != NULL; lo++) { + if (long_options[lo].val > ' ') { + getopt_str.push_back(long_options[lo].val); + + if (long_options[lo].has_arg == required_argument) { + getopt_str.push_back(':'); + } + } + } + extern int optind; extern char *optarg; int i; - while ((i = getopt(argc, argv, "fo:e:c:x:ip:l:L:A:N:n:")) != -1) { + while ((i = getopt_long(argc, argv, getopt_str.c_str(), long_options, NULL)) != -1) { switch (i) { + case 0: + break; + case 'o': out_mbtiles = optarg; break; @@ -1076,6 +1111,10 @@ int main(int argc, char **argv) { remove_layers.insert(std::string(optarg)); break; + case 'q': + quiet = true; + break; + default: usage(argv); } @@ -1101,6 +1140,12 @@ int main(int argc, char **argv) { } outdb = mbtiles_open(out_mbtiles, argv, 0); } + if (out_dir != NULL) { + if (force) { + check_dir(out_dir, true); + } + check_dir(out_dir, false); + } struct stats st; memset(&st, 0, sizeof(st)); @@ -1143,7 +1188,7 @@ int main(int argc, char **argv) { mbtiles_write_metadata(outdb, out_dir, name.c_str(), st.minzoom, st.maxzoom, st.minlat, st.minlon, st.maxlat, st.maxlon, st.midlat, st.midlon, 0, attribution.size() != 0 ? attribution.c_str() : NULL, layermap, true, description.c_str()); if (outdb != NULL) { - mbtiles_close(outdb, argv); + mbtiles_close(outdb, argv[0]); } return 0; diff --git a/tile.hpp b/tile.hpp index 1d341fb8..070c776f 100644 --- a/tile.hpp +++ b/tile.hpp @@ -1,3 +1,16 @@ +#ifndef TILE_HPP +#define TILE_HPP + +#include +#include +#include +#include +#include "mbtiles.hpp" + +long long write_tile(char **geom, char *metabase, char *stringpool, unsigned *file_bbox, int z, unsigned x, unsigned y, int detail, int min_detail, int basezoom, sqlite3 *outdb, const char *outdir, double droprate, int buffer, const char *fname, FILE **geomfile, int file_minzoom, int file_maxzoom, double todo, char *geomstart, long long along, double gamma, int nlayers); + int traverse_zooms(int *geomfd, off_t *geom_size, char *metabase, char *stringpool, unsigned *midx, unsigned *midy, int &maxzoom, int minzoom, int basezoom, sqlite3 *outdb, const char *outdir, double droprate, int buffer, const char *fname, const char *tmpdir, double gamma, int full_detail, int low_detail, int min_detail, long long *meta_off, long long *pool_off, unsigned *initial_x, unsigned *initial_y, double simplification, std::vector > &layermap, const char *prefilter, const char *postfilter); int manage_gap(unsigned long long index, unsigned long long *previndex, double scale, double gamma, double *gap); + +#endif diff --git a/unit.cpp b/unit.cpp index 2a1a1516..24c3fb10 100644 --- a/unit.cpp +++ b/unit.cpp @@ -10,3 +10,11 @@ TEST_CASE("UTF-8 enforcement", "[utf8]") { REQUIRE(check_utf8("๐Ÿ‘‹๐ŸŒ") == std::string("")); REQUIRE(check_utf8("Hola m\xF3n") == std::string("\"Hola m\xF3n\" is not valid UTF-8 (0xF3 0x6E)")); } + +TEST_CASE("UTF-8 truncation", "[trunc]") { + REQUIRE(truncate16("0123456789abcdefghi", 16) == std::string("0123456789abcdef")); + REQUIRE(truncate16("0123456789รฉรฎรดรผรฉรฎรดรผรง", 16) == std::string("0123456789รฉรฎรดรผรฉรฎ")); + REQUIRE(truncate16("0123456789๐Ÿ˜€๐Ÿ˜ฌ๐Ÿ˜๐Ÿ˜‚๐Ÿ˜ƒ๐Ÿ˜„๐Ÿ˜…๐Ÿ˜†", 16) == std::string("0123456789๐Ÿ˜€๐Ÿ˜ฌ๐Ÿ˜")); + REQUIRE(truncate16("0123456789๐Ÿ˜€๐Ÿ˜ฌ๐Ÿ˜๐Ÿ˜‚๐Ÿ˜ƒ๐Ÿ˜„๐Ÿ˜…๐Ÿ˜†", 17) == std::string("0123456789๐Ÿ˜€๐Ÿ˜ฌ๐Ÿ˜")); + REQUIRE(truncate16("0123456789ใ‚ใ„ใ†ใˆใŠใ‹ใใใ‘ใ“ใ•", 16) == std::string("0123456789ใ‚ใ„ใ†ใˆใŠใ‹")); +} diff --git a/version.hpp b/version.hpp index b8ccbdfa..f5532601 100644 --- a/version.hpp +++ b/version.hpp @@ -1 +1,6 @@ -#define VERSION "tippecanoe v1.19.3\n" +#ifndef VERSION_HPP +#define VERSION_HPP + +#define VERSION "tippecanoe v1.21.0\n" + +#endif