diff --git a/CHANGELOG.md b/CHANGELOG.md index 32c0adb..f5fcfa8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## 1.29.0 + +* Add the option to specify layer file, name, and description as JSON +* Add the option to specify the description for attributes in the + tileset metadata +* In CSV input, a trailing comma now counts as a trailing empty field +* In tippecanoe-json-tool, an empty CSV field is now an empty string, + not null (for consistency with tile-join) + ## 1.28.1 * Explicitly check for infinite and not-a-number input coordinates diff --git a/Makefile b/Makefile index 8114ecf..64a3677 100644 --- a/Makefile +++ b/Makefile @@ -82,7 +82,7 @@ indent: TESTS = $(wildcard tests/*/out/*.json) SPACE = $(NULL) $(NULL) -test: tippecanoe tippecanoe-decode $(addsuffix .check,$(TESTS)) raw-tiles-test parallel-test pbf-test join-test enumerate-test decode-test join-filter-test unit json-tool-test allow-existing-test csv-test +test: tippecanoe tippecanoe-decode $(addsuffix .check,$(TESTS)) raw-tiles-test parallel-test pbf-test join-test enumerate-test decode-test join-filter-test unit json-tool-test allow-existing-test csv-test layer-json-test ./unit suffixes = json json.gz @@ -169,7 +169,7 @@ enumerate-test: rm tests/ne_110m_admin_0_countries/out/enum.mbtiles tests/ne_110m_admin_0_countries/out/enum.check join-test: tile-join - ./tippecanoe -f -z12 -o tests/join-population/tabblock_06001420.mbtiles tests/join-population/tabblock_06001420.json + ./tippecanoe -f -z12 -o tests/join-population/tabblock_06001420.mbtiles -YALAND10:'Land area' -L'{"file": "tests/join-population/tabblock_06001420.json", "description": "population"}' ./tippecanoe -f -Z5 -z10 -o tests/join-population/macarthur.mbtiles -l macarthur tests/join-population/macarthur.json ./tile-join -f -Z6 -z9 -o tests/join-population/macarthur-6-9.mbtiles tests/join-population/macarthur.mbtiles ./tippecanoe-decode tests/join-population/macarthur-6-9.mbtiles > tests/join-population/macarthur-6-9.mbtiles.json.check @@ -199,7 +199,7 @@ join-test: tile-join cmp tests/join-population/no-macarthur.mbtiles.json.check tests/join-population/no-macarthur.mbtiles.json ./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 -f -e tests/join-population/tabblock_06001420-folder tests/join-population/tabblock_06001420.json + ./tippecanoe -z12 -f -e tests/join-population/tabblock_06001420-folder -YALAND10:'Land area' -L'{"file": "tests/join-population/tabblock_06001420.json", "description": "population"}' ./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 @@ -277,6 +277,12 @@ csv-test: cmp tests/csv/out.mbtiles.json.check tests/csv/out.mbtiles.json rm -f tests/csv/out.mbtiles.json.check tests/csv/out.mbtiles +layer-json-test: + ./tippecanoe -z0 -r1 -yNAME -f -o tests/layer-json/out.mbtiles -L'{"file":"tests/ne_110m_populated_places/in.json", "description":"World cities", "layer":"places"}' + ./tippecanoe-decode tests/layer-json/out.mbtiles > tests/layer-json/out.mbtiles.json.check + cmp tests/layer-json/out.mbtiles.json.check tests/layer-json/out.mbtiles.json + rm -f tests/layer-json/out.mbtiles.json.check tests/layer-json/out.mbtiles + # Use this target to regenerate the standards that the tests are compared against # after making a change that legitimately changes their output diff --git a/README.md b/README.md index bdae33e..b05fb66 100644 --- a/README.md +++ b/README.md @@ -148,6 +148,11 @@ If your input is formatted as newline-delimited GeoJSON, use `-P` to make input * `-l` _name_ or `--layer=`_name_: Use the specified layer name instead of deriving a name from the input filename or output tileset. If there are multiple input files specified, the files are all merged into the single named layer, even if they try to specify individual names with `-L`. * `-L` _name_`:`_file.json_ or `--named-layer=`_name_`:`_file.json_: Specify layer names for individual files. If your shell supports it, you can use a subshell redirect like `-L` _name_`:<(cat dir/*.json)` to specify a layer name for the output of streamed input. + * `-L{`_layer-json_`}` or `--named-layer={`_layer-json_`}`: Specify an input file and layer options by a JSON object. The JSON object must contain a `"file"` key to specify the filename to read from. It may also contain a `"layer"` field to specify the name of the layer, and/or a `"description"` field to specify the layer's description in the tileset metadata. Example: + +``` +tippecanoe -z5 -o world.mbtiles -L'{"file":"ne_10m_admin_0_countries.json", "layer":"countries", "description":"Natural Earth countries"}' +``` CSV input files currently support only Point geometries, from columns named `latitude`, `longitude`, `lat`, `lon`, `long`, `lng`, `x`, or `y`. @@ -204,6 +209,7 @@ resolution is obtained than by using a smaller _maxzoom_ or _detail_. If the type is `bool`, then original attributes of `0` (or, if numeric, `0.0`, etc.), `false`, `null`, or the empty string become `false`, and otherwise become `true`. If the type is `float` or `int` and the original attribute was non-numeric, it becomes `0`. If the type is `int` and the original attribute was floating-point, it is rounded to the nearest integer. + * `-Y`_attribute_`:`_description_ or `--attribute-description=`_attribute_`:`_description_: Set the `description` for the specified attribute in the tileset metadata to _description_ instead of the usual `String`, `Number`, or `Boolean`. * `-E`_attribute_`:`_operation_ or `--accumulate-attribute=`_attribute_`:`_operation_: Preserve the named _attribute_ from features that are dropped, coalesced-as-needed, or clustered. The _operation_ may be `sum`, `product`, `mean`, `max`, `min`, `concat`, or `comma` diff --git a/csv.cpp b/csv.cpp index b674ac8..0fc212d 100644 --- a/csv.cpp +++ b/csv.cpp @@ -27,6 +27,11 @@ std::vector csv_split(const char *s) { while (*s && isspace(*s)) { s++; } + + if (*s == '\0' || *s == '\r' || *s == '\n') { + ret.push_back(std::string("")); + break; + } } } diff --git a/jsontool.cpp b/jsontool.cpp index f1a1231..0ab6e89 100644 --- a/jsontool.cpp +++ b/jsontool.cpp @@ -318,7 +318,9 @@ void join_csv(json_object *j) { } else if (is_number(v)) { attr_type = JSON_NUMBER; } + } + { // This knows more about the structure of JSON objects than it ought to json_object *ko = (json_object *) malloc(sizeof(json_object)); diff --git a/main.cpp b/main.cpp index b3af634..011cf18 100644 --- a/main.cpp +++ b/main.cpp @@ -83,6 +83,7 @@ int additional[256]; struct source { std::string layer = ""; std::string file = ""; + std::string description = ""; }; size_t CPUS; @@ -1133,7 +1134,7 @@ void choose_first_zoom(long long *file_bbox, std::vector &readers } } -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, json_object *filter, 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, std::map const *attribute_accum) { +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, json_object *filter, 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, std::map const *attribute_accum, std::map const &attribute_descriptions) { int ret = EXIT_SUCCESS; std::vector readers; @@ -1303,6 +1304,7 @@ int read_input(std::vector &sources, char *fname, int maxzoom, int minzo std::map layermap; for (size_t l = 0; l < nlayers; l++) { layermap_entry e = layermap_entry(l); + e.description = sources[l].description; layermap.insert(std::pair(sources[l].layer, e)); } @@ -2297,7 +2299,7 @@ int read_input(std::vector &sources, char *fname, int maxzoom, int minzo ai->second.maxzoom = maxzoom; } - mbtiles_write_metadata(outdb, outdir, fname, minzoom, maxzoom, minlat, minlon, maxlat, maxlon, midlat, midlon, forcetable, attribution, merged_lm, true, description, !prevent[P_TILE_STATS]); + mbtiles_write_metadata(outdb, outdir, fname, minzoom, maxzoom, minlat, minlon, maxlat, maxlon, midlat, midlon, forcetable, attribution, merged_lm, true, description, !prevent[P_TILE_STATS], attribute_descriptions); return ret; } @@ -2372,6 +2374,42 @@ void set_attribute_accum(std::map &attribute_accum, c attribute_accum.insert(std::pair(name, t)); } +void parse_json_source(const char *arg, struct source &src) { + json_pull *jp = json_begin_string(arg); + json_object *o = json_read_tree(jp); + + if (o == NULL) { + fprintf(stderr, "%s: -L%s: %s\n", *av, arg, jp->error); + exit(EXIT_FAILURE); + } + + if (o->type != JSON_HASH) { + fprintf(stderr, "%s: -L%s: not a JSON object\n", *av, arg); + exit(EXIT_FAILURE); + } + + json_object *fname = json_hash_get(o, "file"); + if (fname == NULL || fname->type != JSON_STRING) { + fprintf(stderr, "%s: -L%s: requires \"file\": filename\n", *av, arg); + exit(EXIT_FAILURE); + } + + src.file = std::string(fname->string); + + json_object *layer = json_hash_get(o, "layer"); + if (layer != NULL && layer->type == JSON_STRING) { + src.layer = std::string(layer->string); + } + + json_object *description = json_hash_get(o, "description"); + if (description != NULL && description->type == JSON_STRING) { + src.description = std::string(description->string); + } + + json_free(o); + json_end(jp); +} + int main(int argc, char **argv) { #ifdef MTRACE mtrace(); @@ -2409,6 +2447,7 @@ int main(int argc, char **argv) { std::set exclude, include; std::map attribute_types; std::map attribute_accum; + std::map attribute_descriptions; int exclude_all = 0; int read_parallel = 0; int files_open_at_start; @@ -2459,6 +2498,7 @@ int main(int argc, char **argv) { {"Modifying feature attributes", 0, 0, 0}, {"attribute-type", required_argument, 0, 'T'}, + {"attribute-description", required_argument, 0, 'Y'}, {"accumulate-attribute", required_argument, 0, 'E'}, {"Filtering features by attributes", 0, 0, 0}, @@ -2605,14 +2645,18 @@ int main(int argc, char **argv) { break; case 'L': { - char *cp = strchr(optarg, ':'); - if (cp == NULL || cp == optarg) { - fprintf(stderr, "%s: -L requires layername:file\n", argv[0]); - exit(EXIT_FAILURE); - } struct source src; - src.layer = std::string(optarg).substr(0, cp - optarg); - src.file = std::string(cp + 1); + if (optarg[0] == '{') { + parse_json_source(optarg, src); + } else { + char *cp = strchr(optarg, ':'); + if (cp == NULL || cp == optarg) { + fprintf(stderr, "%s: -L requires layername:file\n", argv[0]); + exit(EXIT_FAILURE); + } + src.layer = std::string(optarg).substr(0, cp - optarg); + src.file = std::string(cp + 1); + } sources.push_back(src); break; } @@ -2724,6 +2768,17 @@ int main(int argc, char **argv) { exclude_all = 1; break; + case 'Y': { + char *cp = strchr(optarg, ':'); + if (cp == NULL || cp == optarg) { + fprintf(stderr, "%s: -Y requires attribute:description\n", argv[0]); + exit(EXIT_FAILURE); + } + std::string attrib = std::string(optarg).substr(0, cp - optarg); + std::string desc = std::string(cp + 1); + attribute_descriptions.insert(std::pair(attrib, desc)); + } break; + case 'J': filter = read_filter(optarg); break; @@ -2995,7 +3050,7 @@ 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_dir, maxzoom, minzoom, basezoom, basezoom_marker_width, outdb, out_dir, &exclude, &include, exclude_all, filter, droprate, buffer, tmpdir, gamma, read_parallel, forcetable, attribution, gamma != 0, file_bbox, prefilter, postfilter, description, guess_maxzoom, &attribute_types, argv[0], &attribute_accum); + 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, filter, droprate, buffer, tmpdir, gamma, read_parallel, forcetable, attribution, gamma != 0, file_bbox, prefilter, postfilter, description, guess_maxzoom, &attribute_types, argv[0], &attribute_accum, attribute_descriptions); if (outdb != NULL) { mbtiles_close(outdb, argv[0]); diff --git a/man/tippecanoe.1 b/man/tippecanoe.1 index 25404ee..1674791 100644 --- a/man/tippecanoe.1 +++ b/man/tippecanoe.1 @@ -159,6 +159,14 @@ or if metadata fields can't be set. You probably don't want to use this. specified, the files are all merged into the single named layer, even if they try to specify individual names with \fB\fC\-L\fR\&. .IP \(bu 2 \fB\fC\-L\fR \fIname\fP\fB\fC:\fR\fIfile.json\fP or \fB\fC\-\-named\-layer=\fR\fIname\fP\fB\fC:\fR\fIfile.json\fP: Specify layer names for individual files. If your shell supports it, you can use a subshell redirect like \fB\fC\-L\fR \fIname\fP\fB\fC:<(cat dir/*.json)\fR to specify a layer name for the output of streamed input. +.IP \(bu 2 +\fB\fC\-L{\fR\fIlayer\-json\fP\fB\fC}\fR or \fB\fC\-\-named\-layer={\fR\fIlayer\-json\fP\fB\fC}\fR: Specify an input file and layer options by a JSON object. The JSON object must contain a \fB\fC"file"\fR key to specify the filename to read from. It may also contain a \fB\fC"layer"\fR field to specify the name of the layer, and/or a \fB\fC"description"\fR field to specify the layer's description in the tileset metadata. Example: +.RE +.PP +.RS +.nf +tippecanoe \-z5 \-o world.mbtiles \-L'{"file":"ne_10m_admin_0_countries.json", "layer":"countries", "description":"Natural Earth countries"}' +.fi .RE .PP CSV input files currently support only Point geometries, from columns named \fB\fClatitude\fR, \fB\fClongitude\fR, \fB\fClat\fR, \fB\fClon\fR, \fB\fClong\fR, \fB\fClng\fR, \fB\fCx\fR, or \fB\fCy\fR\&. @@ -230,6 +238,8 @@ If the type is \fB\fCbool\fR, then original attributes of \fB\fC0\fR (or, if num If the type is \fB\fCfloat\fR or \fB\fCint\fR and the original attribute was non\-numeric, it becomes \fB\fC0\fR\&. If the type is \fB\fCint\fR and the original attribute was floating\-point, it is rounded to the nearest integer. .IP \(bu 2 +\fB\fC\-Y\fR\fIattribute\fP\fB\fC:\fR\fIdescription\fP or \fB\fC\-\-attribute\-description=\fR\fIattribute\fP\fB\fC:\fR\fIdescription\fP: Set the \fB\fCdescription\fR for the specified attribute in the tileset metadata to \fIdescription\fP instead of the usual \fB\fCString\fR, \fB\fCNumber\fR, or \fB\fCBoolean\fR\&. +.IP \(bu 2 \fB\fC\-E\fR\fIattribute\fP\fB\fC:\fR\fIoperation\fP or \fB\fC\-\-accumulate\-attribute=\fR\fIattribute\fP\fB\fC:\fR\fIoperation\fP: Preserve the named \fIattribute\fP from features that are dropped, coalesced\-as\-needed, or clustered. The \fIoperation\fP may be \fB\fCsum\fR, \fB\fCproduct\fR, \fB\fCmean\fR, \fB\fCmax\fR, \fB\fCmin\fR, \fB\fCconcat\fR, or \fB\fCcomma\fR diff --git a/mbtiles.cpp b/mbtiles.cpp index c0ed5f0..8803995 100644 --- a/mbtiles.cpp +++ b/mbtiles.cpp @@ -264,7 +264,7 @@ void tilestats(std::map const &layermap1, size_t el state.json_end_hash(); } -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, bool do_tilestats) { +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, bool do_tilestats, std::map const &attribute_descriptions) { char *sql, *err; sqlite3 *db = outdb; @@ -397,7 +397,7 @@ void mbtiles_write_metadata(sqlite3 *outdb, const char *outdir, const char *fnam state.json_write_string(lnames[i]); state.json_write_string("description"); - state.json_write_string(""); + state.json_write_string(fk->second.description); state.json_write_string("minzoom"); state.json_write_signed(fk->second.minzoom); @@ -417,19 +417,24 @@ void mbtiles_write_metadata(sqlite3 *outdb, const char *outdir, const char *fnam state.json_write_string(j->first); - int type = 0; - for (auto s : j->second.sample_values) { - type |= (1 << s.type); - } + auto f = attribute_descriptions.find(j->first); + if (f == attribute_descriptions.end()) { + int type = 0; + for (auto s : j->second.sample_values) { + type |= (1 << s.type); + } - if (type == (1 << mvt_double)) { - state.json_write_string("Number"); - } else if (type == (1 << mvt_bool)) { - state.json_write_string("Boolean"); - } else if (type == (1 << mvt_string)) { - state.json_write_string("String"); + if (type == (1 << mvt_double)) { + state.json_write_string("Number"); + } else if (type == (1 << mvt_bool)) { + state.json_write_string("Boolean"); + } else if (type == (1 << mvt_string)) { + state.json_write_string("String"); + } else { + state.json_write_string("Mixed"); + } } else { - state.json_write_string("Mixed"); + state.json_write_string(f->second); } } @@ -550,6 +555,7 @@ std::map merge_layermaps(std::vectorsecond.minzoom = map->second.minzoom; out_entry->second.maxzoom = map->second.maxzoom; + out_entry->second.description = map->second.description; } auto out_entry = out.find(layername); diff --git a/mbtiles.hpp b/mbtiles.hpp index fd39f7e..95ec651 100644 --- a/mbtiles.hpp +++ b/mbtiles.hpp @@ -25,6 +25,7 @@ struct layermap_entry { std::map file_keys{}; int minzoom = 0; int maxzoom = 0; + std::string description = ""; size_t points = 0; size_t lines = 0; @@ -40,7 +41,7 @@ sqlite3 *mbtiles_open(char *dbname, char **argv, int forcetable); void mbtiles_write_tile(sqlite3 *outdb, int z, int tx, int ty, const char *data, int size); -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, bool do_tilestats); +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, bool do_tilestats, std::map const &attribute_descriptions); void mbtiles_close(sqlite3 *outdb, const char *pgm); diff --git a/tests/csv/ne_110m_populated_places_simple.csv b/tests/csv/ne_110m_populated_places_simple.csv index 1e73155..242e966 100644 --- a/tests/csv/ne_110m_populated_places_simple.csv +++ b/tests/csv/ne_110m_populated_places_simple.csv @@ -239,10 +239,10 @@ scalerank,natscale,labelrank,featurecla,name,namepar,namealt,diffascii,nameascii 0,600,1,Admin-1 capital,Kolkata,Calcutta,,0,Kolkata,0.00000000000,,,0.00000000000,1,India,IND,India,IND,West Bengal,IN,,22.49496929830,88.32467565810,4.00000000000,1,Name changed. Changed scale rank.,14787000,4631392,7783716,14,12,1275004.00000000000,Kolkata,Calcutta,1,0,3.7 0,600,1,Admin-1 capital,Rio de Janeiro,,,0,Rio de Janeiro,0.00000000000,,,1.00000000000,1,Brazil,BRA,Brazil,BRA,Rio de Janeiro,BR,,-22.92502317420,-43.22502079420,0.00000000000,0,,11748000,2010175,1821489,14,12,3451190.00000000000,Rio de Janeiro,Rio de Janeiro,1,0,1.7 0,600,1,Admin-1 capital,São Paulo,,Sao Paulo|Sio Paulo,0,Sao Paulo,0.00000000000,,,1.00000000000,1,Brazil,BRA,Brazil,BRA,São Paulo,BR,,-23.55867958700,-46.62501998040,0.00000000000,0,,18845000,10021295,11522944,14,14,3448439.00000000000,S,Sao Paolo,1,0,3.0 -0,600,3,Admin-1 capital,Sydney,,,0,Sydney,0.00000000000,,,1.00000000000,1,Australia,AUS,Australia,AUS,New South Wales,AU,,-33.92001096720,151.18517980900,4.00000000000,0,Changed feature class.,4630000,3641422,2669348,12,12,2147714.00000000000,Sydney,Sydney1,1,0,1.7 +0,600,3,Admin-1 capital,Sydney,,,0,Sydney,0.00000000000,,,1.00000000000,1,Australia,AUS,Australia,AUS,New South Wales,AU,,-33.92001096720,151.18517980900,4.00000000000,0,Changed feature class.,4630000,3641422,2669348,12,12,2147714.00000000000,Sydney,Sydney1,1,0, 0,600,0,Admin-0 capital,Singapore,,,0,Singapore,1.00000000000,,,1.00000000000,1,Singapore,SGP,Singapore,SGP,,SG,,1.29303346649,103.85582067800,0.00000000000,0,,5183700,3289529,3314179,13,12,1880252.00000000000,Singapore,Singapore,1,5,2.1 0,600,0,Admin-0 region capital,Hong Kong,,,0,Hong Kong,0.00000000000,,,1.00000000000,1,China,CHN,Hong Kong S.A.R.,HKG,,HK,,22.30498089500,114.18500931700,0.00000000000,0,,7206000,4551579,4549026,13,12,1819729.00000000000,Hong Kong,Hong Kong,1,0,3.0 -,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, +,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 0,600,0,Admin-0 region capital,Hong Kong,,,0,Hong Kong,0.00000000000,,,1.00000000000,1,China,CHN,Hong Kong S.A.R.,HKG,,HK,,nan,114.18500931700,0.00000000000,0,,7206000,4551579,4549026,13,12,1819729.00000000000,Hong Kong,Hong Kong,1,0,3.0 0,600,0,Admin-0 region capital,Hong Kong,,,0,Hong Kong,0.00000000000,,,1.00000000000,1,China,CHN,Hong Kong S.A.R.,HKG,,HK,,inf,114.18500931700,0.00000000000,0,,7206000,4551579,4549026,13,12,1819729.00000000000,Hong Kong,Hong Kong,1,0,3.0 0,600,0,Admin-0 region capital,Hong Kong,,,0,Hong Kong,0.00000000000,,,1.00000000000,1,China,CHN,Hong Kong S.A.R.,HKG,,HK,,22.30498089500,nan,0.00000000000,0,,7206000,4551579,4549026,13,12,1819729.00000000000,Hong Kong,Hong Kong,1,0,3.0 diff --git a/tests/csv/out.mbtiles.json b/tests/csv/out.mbtiles.json index 079b14f..201c5ba 100644 --- a/tests/csv/out.mbtiles.json +++ b/tests/csv/out.mbtiles.json @@ -3,7 +3,7 @@ "center": "0.000000,0.000000,0", "description": "tests/csv/out.mbtiles", "format": "pbf", -"json": "{\"vector_layers\": [ { \"id\": \"ne_110m_populated_places_simplecsv\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"adm0_a3\": \"String\", \"adm0cap\": \"Number\", \"adm0name\": \"String\", \"adm1name\": \"String\", \"capalt\": \"Mixed\", \"capin\": \"String\", \"changed\": \"Number\", \"checkme\": \"Number\", \"diffascii\": \"Number\", \"diffnote\": \"String\", \"featurecla\": \"String\", \"geonameid\": \"Number\", \"iso_a2\": \"Mixed\", \"labelrank\": \"Number\", \"ls_match\": \"Number\", \"ls_name\": \"String\", \"megacity\": \"Number\", \"meganame\": \"String\", \"min_zoom\": \"Number\", \"name\": \"String\", \"namealt\": \"String\", \"nameascii\": \"String\", \"namediff\": \"Number\", \"namepar\": \"String\", \"natscale\": \"Number\", \"note\": \"String\", \"pop_max\": \"Number\", \"pop_min\": \"Number\", \"pop_other\": \"Number\", \"rank_max\": \"Number\", \"rank_min\": \"Number\", \"scalerank\": \"Number\", \"sov0name\": \"String\", \"sov_a3\": \"String\", \"worldcity\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"ne_110m_populated_places_simplecsv\",\"count\": 247,\"geometry\": \"Point\",\"attributeCount\": 35,\"attributes\": [{\"attribute\": \"adm0_a3\",\"count\": 198,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"AND\",\"ARE\",\"ARG\",\"ARM\",\"ATG\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRB\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"COM\",\"CPV\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DMA\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FRA\",\"FSM\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRD\",\"GTM\",\"GUY\",\"HKG\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KIR\",\"KNA\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\"]},{\"attribute\": \"adm0cap\",\"count\": 2,\"type\": \"number\",\"values\": [0.00000000000,1.00000000000],\"min\": 0,\"max\": 1},{\"attribute\": \"adm0name\",\"count\": 198,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Antigua and Barbuda\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo (Brazzaville)\",\"Congo (Kinshasa)\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Federated States of Micronesia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hong Kong S.A.R.\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\"]},{\"attribute\": \"adm1name\",\"count\": 205,\"type\": \"string\",\"values\": [\"\",\"Abu Dhabi\",\"Ad Dawhah\",\"Addis Ababa\",\"Ahal\",\"Al Kuwayt\",\"Al Qahirah\",\"Alger\",\"Amanat Al Asimah\",\"Amman\",\"Ankara\",\"Anseba\",\"Antananarivo\",\"Aqmola\",\"Ar Riyad\",\"Asunción\",\"Attiki\",\"Auckland\",\"Australian Capital Territory\",\"Baghdad\",\"Baki\",\"Bamako\",\"Banaadir\",\"Bangkok Metropolis\",\"Bangui\",\"Banjul\",\"Beijing\",\"Beirut\",\"Benguet\",\"Berlin\",\"Bern\",\"Bhaktapur\",\"Bioko Norte\",\"Bishkek\",\"Bissau\",\"Bogota\",\"Bratislavský\",\"British Columbia\",\"Brunei and Muara\",\"Brussels\",\"Bucharest\",\"Budapest\",\"Bujumbura Mairie\",\"California\",\"Cayo\",\"Centar\",\"Central\",\"Central Equatoria\",\"Centre\",\"Chisinau\",\"Chuquisaca\",\"Ciudad de Buenos Aires\",\"Ciudad de la Habana\",\"Colombo\",\"Colorado\",\"Comunidad de Madrid\",\"Conakry\",\"Dakar\",\"Damascus\",\"Dar-Es-Salaam\",\"Delhi\",\"Dhaka\",\"Dili\",\"District of Columbia\",\"Distrito Capital\",\"Distrito Federal\",\"Distrito Nacional\",\"Djibouti\",\"Dodoma\",\"Dubay\",\"Dublin\",\"Durrës\",\"East Berbice-Corentyne\",\"Erevan\",\"Estuaire\",\"F.C.T.\",\"Federal Capital Territory\",\"Florida\",\"Francisco Morazán\",\"Gauteng\",\"Genève\",\"Georgia\",\"Grad Beograd\",\"Grad Sofiya\",\"Grad Zagreb\",\"Grand Casablanca\",\"Greater Accra\",\"Guadalcanal\",\"Guatemala\",\"Hadjer-Lamis\",\"Harare\",\"Harju\",\"Hhohho\",\"Hovedstaden\",\"Illinois\",\"Istanbul\",\"Jakarta Raya\",\"Jerusalem\",\"Kabul\",\"Kadiogo\"]},{\"attribute\": \"capalt\",\"count\": 2,\"type\": \"mixed\",\"values\": [\"\",1],\"min\": 1,\"max\": 1},{\"attribute\": \"capin\",\"count\": 21,\"type\": \"string\",\"values\": [\"\",\"Administrative\",\"Capital of both\",\"Claimed as capi\",\"Claimed as inte\",\"De facto capita\",\"De facto, admin\",\"Former capital\",\"Judicial capita\",\"Legislative and\",\"Legislative cap\",\"Offical capital\",\"Official (const\",\"Official and ad\",\"Official and le\",\"Official capita\",\"Official, admin\",\"Official, de fa\",\"Official, legis\",\"UN Headquarters\",\"While Jerulsale\"]},{\"attribute\": \"changed\",\"count\": 7,\"type\": \"number\",\"values\": [0.00000000000,1.00000000000,20.00000000000,3.00000000000,4.00000000000,40.00000000000,5.00000000000],\"min\": 0,\"max\": 40},{\"attribute\": \"checkme\",\"count\": 2,\"type\": \"number\",\"values\": [0,5],\"min\": 0,\"max\": 5},{\"attribute\": \"diffascii\",\"count\": 2,\"type\": \"number\",\"values\": [0,1],\"min\": 0,\"max\": 1},{\"attribute\": \"diffnote\",\"count\": 13,\"type\": \"string\",\"values\": [\"\",\"Added place.\",\"Changed country.\",\"Changed feature class.\",\"Changed feature class. Changed scale rank.\",\"Changed feature to Admin-0 region capital.\",\"Changed scale rank.\",\"Corrected coordinates.\",\"Location adjusted.\",\"Location adjusted. Changed scale rank.\",\"Name changed.\",\"Name changed. Changed scale rank.\",\"Population from GeoNames. Changed scale rank.\"]},{\"attribute\": \"featurecla\",\"count\": 6,\"type\": \"string\",\"values\": [\"Admin-0 capital\",\"Admin-0 capital alt\",\"Admin-0 region capital\",\"Admin-1 capital\",\"Admin-1 region capital\",\"Populated place\"]},{\"attribute\": \"geonameid\",\"count\": 242,\"type\": \"number\",\"values\": [-1.00000000000,1018725.00000000000,1040652.00000000000,1070940.00000000000,108410.00000000000,112931.00000000000,1138958.00000000000,1176615.00000000000,1185241.00000000000,1221874.00000000000,1238992.00000000000,1252416.00000000000,1261481.00000000000,1275004.00000000000,1275339.00000000000,1277333.00000000000,1283240.00000000000,1298824.00000000000,146268.00000000000,1512569.00000000000,1526273.00000000000,1528675.00000000000,1529102.00000000000,1559804.00000000000,1581130.00000000000,160196.00000000000,160263.00000000000,1609350.00000000000,162183.00000000000,1642911.00000000000,1645457.00000000000,1651944.00000000000,1668341.00000000000,1690681.00000000000,1701668.00000000000,170654.00000000000,1728930.00000000000,1730025.00000000000,1735161.00000000000,1796236.00000000000,1815286.00000000000,1816670.00000000000,1819729.00000000000,1820906.00000000000,1821306.00000000000,1835848.00000000000,184745.00000000000,1850147.00000000000,1853909.00000000000,1857910.00000000000,1871859.00000000000,1880252.00000000000,202061.00000000000,2028462.00000000000,2075807.00000000000,2081986.00000000000,2088122.00000000000,2108502.00000000000,2110079.00000000000,2110394.00000000000,2113779.00000000000,2135171.00000000000,2144168.00000000000,2147714.00000000000,2158177.00000000000,2172517.00000000000,2193733.00000000000,2198148.00000000000,2220957.00000000000,223817.00000000000,2240449.00000000000,2253354.00000000000,2260535.00000000000,2267057.00000000000,2274895.00000000000,2279755.00000000000,2293538.00000000000,2306104.00000000000,2309527.00000000000,2314302.00000000000,2322794.00000000000,232422.00000000000,2332459.00000000000,2357048.00000000000,2365267.00000000000,2374775.00000000000,2377450.00000000000,2389853.00000000000,2392087.00000000000,2394819.00000000000,2399697.00000000000,2408770.00000000000,241131.00000000000,2413876.00000000000,2422465.00000000000,2427123.00000000000,2440485.00000000000,2460596.00000000000,2462881.00000000000,2464470.00000000000],\"min\": -1,\"max\": 6697380},{\"attribute\": \"iso_a2\",\"count\": 197,\"type\": \"mixed\",\"values\": [-99,\"AD\",\"AE\",\"AF\",\"AG\",\"AL\",\"AM\",\"AO\",\"AR\",\"AT\",\"AU\",\"AZ\",\"BA\",\"BB\",\"BD\",\"BE\",\"BF\",\"BG\",\"BH\",\"BI\",\"BJ\",\"BN\",\"BO\",\"BR\",\"BS\",\"BT\",\"BW\",\"BY\",\"BZ\",\"CA\",\"CD\",\"CF\",\"CG\",\"CH\",\"CI\",\"CL\",\"CM\",\"CN\",\"CO\",\"CR\",\"CU\",\"CV\",\"CY\",\"CZ\",\"DE\",\"DJ\",\"DK\",\"DM\",\"DO\",\"DZ\",\"EC\",\"EE\",\"EG\",\"EH\",\"ER\",\"ES\",\"ET\",\"FI\",\"FJ\",\"FM\",\"FR\",\"GA\",\"GB\",\"GD\",\"GE\",\"GH\",\"GM\",\"GN\",\"GQ\",\"GR\",\"GT\",\"GW\",\"GY\",\"HK\",\"HN\",\"HR\",\"HT\",\"HU\",\"ID\",\"IE\",\"IL\",\"IN\",\"IQ\",\"IR\",\"IS\",\"IT\",\"JM\",\"JO\",\"JP\",\"KE\",\"KG\",\"KH\",\"KI\",\"KM\",\"KN\",\"KP\",\"KR\",\"KW\",\"KZ\",\"LA\"],\"min\": -99,\"max\": -99},{\"attribute\": \"labelrank\",\"count\": 8,\"type\": \"number\",\"values\": [0,1,2,3,5,6,7,8],\"min\": 0,\"max\": 8},{\"attribute\": \"ls_match\",\"count\": 3,\"type\": \"number\",\"values\": [0,1,2],\"min\": 0,\"max\": 2},{\"attribute\": \"ls_name\",\"count\": 243,\"type\": \"string\",\"values\": [\"\",\"Abidjan\",\"Abu Dhabi\",\"Abuja\",\"Accra\",\"Addis Ababa\",\"Algiers\",\"Amman\",\"Amsterdam\",\"Andorra\",\"Ankara\",\"Antananarivo\",\"Apia\",\"Ashgabat\",\"Asmara\",\"Astana\",\"Asuncion\",\"Athens2\",\"Atlanta\",\"Auckland\",\"Baghdad\",\"Baguio City\",\"Baku\",\"Bamako\",\"Bandar Seri Begawan\",\"Bangalore\",\"Bangkok\",\"Bangui\",\"Banjul\",\"Basseterre\",\"Beijing\",\"Beirut\",\"Belgrade\",\"Belmopan\",\"Berlin\",\"Bern\",\"Bishkek\",\"Bissau\",\"Bloemfontein\",\"Bogota\",\"Brasilia\",\"Bratislava\",\"Brazzaville\",\"Bridgetown\",\"Brussels\",\"Bucharest\",\"Budapest\",\"Buenos Aires\",\"Bujumbura\",\"Cairo\",\"Calcutta\",\"Canberra\",\"Cape Town\",\"Caracas\",\"Casablanca\",\"Castries\",\"Chengdu\",\"Chicago\",\"Chisinau\",\"Colombo\",\"Conakry\",\"Copenhagen\",\"Cotonou\",\"Dakar\",\"Damascus\",\"Dar es Salaam\",\"Denver\",\"Dhaka\",\"Dili\",\"Djibouti\",\"Dodoma\",\"Doha\",\"Dubayy\",\"Dublin2\",\"Dushanbe\",\"Freetown\",\"Funafuti\",\"Gaborone\",\"Geneva\",\"Georgetown1\",\"Guatemala\",\"Hanoi\",\"Harare\",\"Hargeysa\",\"Havana\",\"Helsinki\",\"Hong Kong\",\"Honiara\",\"Houston\",\"Islamabad\",\"Istanbul\",\"Jakarta\",\"Jerusalem\",\"Johannesburg\",\"Juba\",\"Kabul\",\"Kampala\",\"Kathmandu\",\"Khartoum\",\"Kiev\"]},{\"attribute\": \"megacity\",\"count\": 2,\"type\": \"number\",\"values\": [0,1],\"min\": 0,\"max\": 1},{\"attribute\": \"meganame\",\"count\": 146,\"type\": \"string\",\"values\": [\"\",\"Abidjan\",\"Abuja\",\"Accra\",\"Addis Ababa\",\"Al Kuwayt (Kuwait City)\",\"Al-Khartum\",\"Al-Qahirah\",\"Amman\",\"Amsterdam\",\"Ankara\",\"Antananarivo\",\"Ar-Riyadh\",\"Asuncian\",\"Athnnai\",\"Atlanta\",\"Auckland\",\"Baghdad\",\"Baku\",\"Bamako\",\"Bangalore\",\"Bayrut\",\"Beijing\",\"Beograd\",\"Berlin\",\"Bishkek\",\"Bogota\",\"Brasglia\",\"Brazzaville\",\"Bruxelles-Brussel\",\"Bucuresti\",\"Budapest\",\"Buenos Aires\",\"Cape Town\",\"Caracas\",\"Chengdu\",\"Chicago\",\"Ciudad de Guatemala (Guatemala City)\",\"Ciudad de Mdxico\",\"Ciudad de Panam\",\"Conakry\",\"Cotonou\",\"Cramqi (Wulumqi)\",\"Dakar\",\"Dar es Salaam\",\"Dar-el-Beida\",\"Denver-Aurora\",\"Dhaka\",\"Dimashq\",\"Dubayy\",\"Dublin\",\"El Djazasr\",\"Freetown\",\"Harare\",\"Helsinki\",\"Hh Noi\",\"Hong Kong\",\"Houston\",\"Islamabad\",\"Istanbul\",\"Jakarta\",\"Johannesburg\",\"K\",\"Kabul\",\"Kampala\",\"Kathmandu\",\"Kigali\",\"Kinshasa\",\"Kolkata\",\"Krung Thep\",\"Kuala Lumpur\",\"Kyiv\",\"Kyoto\",\"La Habana\",\"La Paz\",\"Lagos\",\"Lima\",\"Lisboa\",\"Lomi\",\"London\",\"Los Angeles-Long Beach-Santa Ana\",\"Luanda\",\"Lusaka\",\"Madrid\",\"Managua\",\"Manila\",\"Maputo\",\"Melbourne\",\"Miami\",\"Minsk\",\"Monrovia\",\"Monterrey\",\"Montevideo\",\"Moskva\",\"Mumbai\",\"Muqdisho\",\"N'Djam-na\",\"Nairobi\",\"Nay Pyi Taw\",\"New York-Newark\"]},{\"attribute\": \"min_zoom\",\"count\": 15,\"type\": \"number\",\"values\": [1.7,2.0,2.1,2.7,3.0,3.7,4.0,4.7,5.0,5.1,5.6,6.0,6.1,6.7,7.0],\"min\": 1.7,\"max\": 7},{\"attribute\": \"name\",\"count\": 243,\"type\": \"string\",\"values\": [\"Abidjan\",\"Abu Dhabi\",\"Abuja\",\"Accra\",\"Addis Ababa\",\"Algiers\",\"Amman\",\"Amsterdam\",\"Andorra\",\"Ankara\",\"Antananarivo\",\"Apia\",\"Ashgabat\",\"Asmara\",\"Astana\",\"Asunción\",\"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\",\"Brasília\",\"Bratislava\",\"Brazzaville\",\"Bridgetown\",\"Brussels\",\"Bucharest\",\"Budapest\",\"Buenos Aires\",\"Bujumbura\",\"Cairo\",\"Canberra\",\"Cape Town\",\"Caracas\",\"Casablanca\",\"Castries\",\"Chengdu\",\"Chicago\",\"Chișinău\",\"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\"]},{\"attribute\": \"namealt\",\"count\": 44,\"type\": \"string\",\"values\": [\"\",\"Al Kuwayt|Kuwait City\",\"Al-Khartum\",\"Al-Qahirah\",\"Ar-Riyadh\",\"Asuncion\",\"Athinai\",\"Bayrut\",\"Bengaluru\",\"Bogota\",\"Brasilia\",\"Bruxelles-Brussel\",\"Ciudad de Guatemala (Guatemala City)\",\"Ciudad de M\",\"Ciudad de Panam\",\"Dar-el-Beida\",\"Denver-Aurora\",\"Dimashq\",\"El Djazacr\",\"H\",\"Krung Thep\",\"Kyiv\",\"La Habana\",\"Lome\",\"Los Angeles-Long Beach-Santa Ana\",\"Muqdisho\",\"N'Djamnna\",\"Nay Pyi Taw\",\"New York-Newark\",\"Osaka-Kobe\",\"Ottawa-Gatineau\",\"P'yongyang\",\"Phnum Penh\",\"San Francisco-Oakland\",\"San Jose\",\"Sana'a'\",\"Sao Paulo|Sio Paulo\",\"T'Bilisi\",\"Tel Aviv-Jaffa\",\"Valparaiso\",\"Washington D.C.\",\"Yangon\",\"Yaounde\",\"rumqi|Wulumqi\"]},{\"attribute\": \"nameascii\",\"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\"]},{\"attribute\": \"namediff\",\"count\": 2,\"type\": \"number\",\"values\": [0,1],\"min\": 0,\"max\": 1},{\"attribute\": \"namepar\",\"count\": 13,\"type\": \"string\",\"values\": [\"\",\"Athenai\",\"Beograd\",\"Bombay\",\"Bucuresti\",\"Calcutta\",\"Copenhagen\",\"Dubayy\",\"Lisboa\",\"Moskva\",\"Praha\",\"Warszawa\",\"Wien\"]},{\"attribute\": \"natscale\",\"count\": 8,\"type\": \"number\",\"values\": [10,110,20,200,30,300,50,600],\"min\": 10,\"max\": 600},{\"attribute\": \"note\",\"count\": 3,\"type\": \"string\",\"values\": [\"\",\"Auckland metropolitan area\",\"Wellington metropolitan area\"]},{\"attribute\": \"pop_max\",\"count\": 240,\"type\": \"number\",\"values\": [10061000,1024000,1029300,1031000,1041000,10452000,1059000,1060000,107260,1085000,1086244,1099000,1100000,1102000,11100000,11106000,1115000,111975,112927,11294000,113364,1145000,1149000,115826,1162000,11748000,1185000,11893000,1240000,12500000,1264000,12795000,12797394,1281000,1284000,128698,1328000,1338000,1355000,1377200,1379000,1406000,1420000,1433000,1446000,1448000,1450000,1452000,145850,1466000,14787000,1494000,14987000,1513000,15220,155963,1572000,1576000,1590000,1611000,166212,1679000,1697000,1701000,1705000,1707000,1743000,175399,1805000,1846000,1870000,188084,18845000,18978000,19028000,19040000,191152,1942000,1998000,2008000,2063000,206499,208411,2121000,2122300,2151000,2154000,217000,2174000,218269,2184000,21887,2189000,224300,224838,227940,2313000,2313328,23336,234331],\"min\": 500,\"max\": 35676000},{\"attribute\": \"pop_min\",\"count\": 243,\"type\": \"number\",\"values\": [10021295,1005257,1019022,103693,10452000,1060000,1060587,10634,10811002,1085000,10929146,1093485,1099000,11177,111975,1122874,1137347,113906,115826,1163890,11693,118355,1191613,121631,1234742,1253309,1267440,12691836,1297281,1338000,13381,1353189,136473,13768,1391433,1399814,140000,1431270,1448000,1459640,14608512,1466000,148416,1494000,1508225,1536,1542813,1548599,15500,155963,157474,1577138,159243,15938,160966,162135,1655753,16571,1662508,1679000,1702139,1712125,1724,1731000,1742194,176365,180541,1815679,1835853,1892000,192385,193563,194530,194824,1951272,1963264,1974647,1977663,1978028,198214,1990917,200,200452,2010175,2026469,20500,2087,217000,221736,22256,223757,22534,22881,229398,234032,234168,235017,23658,24226,2432858],\"min\": 200,\"max\": 14608512},{\"attribute\": \"pop_other\",\"count\": 216,\"type\": \"number\",\"values\": [0,10018444,1014546,102371,10271457,1037811,1038288,10585385,1060640,1060747,1061388,106219,1072567,1074640,1081361,1088042,1088194,1099610,111975,112572,1149981,11522944,1152904,1154748,11622929,1166878,1174778,12018058,1208361,1240558,12426085,1256715,1271541,1276128,12945252,1301407,130815,1365454,13720557,142265,1434681,1435528,1443084,1480886,1490164,1498020,14995538,1518801,1521278,15220,1557919,158896,160116,1604086,1611692,1636574,164877,1661980,1675117,16803572,1682968,1718895,1742507,176365,1772679,1795582,1805353,18171,1821489,1827367,1831877,1844658,191814,1930305,1951272,2012431,2029349,2044401,2050212,206499,2139587,2153702,2175991,21887,221736,222513,222985,22478,2306851,2325931,23336,2334371,2381280,2385397,2391150,2401318,2456292,2470140,247018,248161],\"min\": 0,\"max\": 16803572},{\"attribute\": \"rank_max\",\"count\": 12,\"type\": \"number\",\"values\": [10,11,12,13,14,2,4,5,6,7,8,9],\"min\": 2,\"max\": 14},{\"attribute\": \"rank_min\",\"count\": 14,\"type\": \"number\",\"values\": [1,10,11,12,13,14,2,3,4,5,6,7,8,9],\"min\": 1,\"max\": 14},{\"attribute\": \"scalerank\",\"count\": 8,\"type\": \"number\",\"values\": [0,1,2,3,4,6,7,8],\"min\": 0,\"max\": 8},{\"attribute\": \"sov0name\",\"count\": 197,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Antigua and Barbuda\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas, The\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo (Brazzaville)\",\"Congo (Kinshasa)\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Federated States of Micronesia\",\"Fiji\",\"Finland\",\"French Republic\",\"Gabon\",\"Gambia, The\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kingdom of Norway\",\"Kingdom of Spain\",\"Kingdom of the Netherlands\",\"Kiribati\",\"Korea, North\",\"Korea, South\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\"]},{\"attribute\": \"sov_a3\",\"count\": 197,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"AND\",\"ARE\",\"ARG\",\"ARM\",\"ATG\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRB\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"COM\",\"CPV\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DMA\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FRA\",\"FSM\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRD\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"IS1\",\"ISL\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KIR\",\"KNA\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\"]},{\"attribute\": \"worldcity\",\"count\": 2,\"type\": \"number\",\"values\": [0.00000000000,1.00000000000],\"min\": 0,\"max\": 1}]}]}}", +"json": "{\"vector_layers\": [ { \"id\": \"ne_110m_populated_places_simplecsv\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"adm0_a3\": \"String\", \"adm0cap\": \"Number\", \"adm0name\": \"String\", \"adm1name\": \"String\", \"capalt\": \"Mixed\", \"capin\": \"String\", \"changed\": \"Number\", \"checkme\": \"Number\", \"diffascii\": \"Number\", \"diffnote\": \"String\", \"featurecla\": \"String\", \"geonameid\": \"Number\", \"iso_a2\": \"Mixed\", \"labelrank\": \"Number\", \"ls_match\": \"Number\", \"ls_name\": \"String\", \"megacity\": \"Number\", \"meganame\": \"String\", \"min_zoom\": \"Mixed\", \"name\": \"String\", \"namealt\": \"String\", \"nameascii\": \"String\", \"namediff\": \"Number\", \"namepar\": \"String\", \"natscale\": \"Number\", \"note\": \"String\", \"pop_max\": \"Number\", \"pop_min\": \"Number\", \"pop_other\": \"Number\", \"rank_max\": \"Number\", \"rank_min\": \"Number\", \"scalerank\": \"Number\", \"sov0name\": \"String\", \"sov_a3\": \"String\", \"worldcity\": \"Number\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"ne_110m_populated_places_simplecsv\",\"count\": 247,\"geometry\": \"Point\",\"attributeCount\": 35,\"attributes\": [{\"attribute\": \"adm0_a3\",\"count\": 198,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"AND\",\"ARE\",\"ARG\",\"ARM\",\"ATG\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRB\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"COM\",\"CPV\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DMA\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FRA\",\"FSM\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRD\",\"GTM\",\"GUY\",\"HKG\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"ISL\",\"ISR\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KIR\",\"KNA\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\"]},{\"attribute\": \"adm0cap\",\"count\": 2,\"type\": \"number\",\"values\": [0.00000000000,1.00000000000],\"min\": 0,\"max\": 1},{\"attribute\": \"adm0name\",\"count\": 198,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Antigua and Barbuda\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo (Brazzaville)\",\"Congo (Kinshasa)\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Federated States of Micronesia\",\"Fiji\",\"Finland\",\"France\",\"Gabon\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hong Kong S.A.R.\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kiribati\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\",\"Lebanon\",\"Lesotho\",\"Liberia\",\"Libya\",\"Liechtenstein\",\"Lithuania\"]},{\"attribute\": \"adm1name\",\"count\": 205,\"type\": \"string\",\"values\": [\"\",\"Abu Dhabi\",\"Ad Dawhah\",\"Addis Ababa\",\"Ahal\",\"Al Kuwayt\",\"Al Qahirah\",\"Alger\",\"Amanat Al Asimah\",\"Amman\",\"Ankara\",\"Anseba\",\"Antananarivo\",\"Aqmola\",\"Ar Riyad\",\"Asunción\",\"Attiki\",\"Auckland\",\"Australian Capital Territory\",\"Baghdad\",\"Baki\",\"Bamako\",\"Banaadir\",\"Bangkok Metropolis\",\"Bangui\",\"Banjul\",\"Beijing\",\"Beirut\",\"Benguet\",\"Berlin\",\"Bern\",\"Bhaktapur\",\"Bioko Norte\",\"Bishkek\",\"Bissau\",\"Bogota\",\"Bratislavský\",\"British Columbia\",\"Brunei and Muara\",\"Brussels\",\"Bucharest\",\"Budapest\",\"Bujumbura Mairie\",\"California\",\"Cayo\",\"Centar\",\"Central\",\"Central Equatoria\",\"Centre\",\"Chisinau\",\"Chuquisaca\",\"Ciudad de Buenos Aires\",\"Ciudad de la Habana\",\"Colombo\",\"Colorado\",\"Comunidad de Madrid\",\"Conakry\",\"Dakar\",\"Damascus\",\"Dar-Es-Salaam\",\"Delhi\",\"Dhaka\",\"Dili\",\"District of Columbia\",\"Distrito Capital\",\"Distrito Federal\",\"Distrito Nacional\",\"Djibouti\",\"Dodoma\",\"Dubay\",\"Dublin\",\"Durrës\",\"East Berbice-Corentyne\",\"Erevan\",\"Estuaire\",\"F.C.T.\",\"Federal Capital Territory\",\"Florida\",\"Francisco Morazán\",\"Gauteng\",\"Genève\",\"Georgia\",\"Grad Beograd\",\"Grad Sofiya\",\"Grad Zagreb\",\"Grand Casablanca\",\"Greater Accra\",\"Guadalcanal\",\"Guatemala\",\"Hadjer-Lamis\",\"Harare\",\"Harju\",\"Hhohho\",\"Hovedstaden\",\"Illinois\",\"Istanbul\",\"Jakarta Raya\",\"Jerusalem\",\"Kabul\",\"Kadiogo\"]},{\"attribute\": \"capalt\",\"count\": 2,\"type\": \"mixed\",\"values\": [\"\",1],\"min\": 1,\"max\": 1},{\"attribute\": \"capin\",\"count\": 21,\"type\": \"string\",\"values\": [\"\",\"Administrative\",\"Capital of both\",\"Claimed as capi\",\"Claimed as inte\",\"De facto capita\",\"De facto, admin\",\"Former capital\",\"Judicial capita\",\"Legislative and\",\"Legislative cap\",\"Offical capital\",\"Official (const\",\"Official and ad\",\"Official and le\",\"Official capita\",\"Official, admin\",\"Official, de fa\",\"Official, legis\",\"UN Headquarters\",\"While Jerulsale\"]},{\"attribute\": \"changed\",\"count\": 7,\"type\": \"number\",\"values\": [0.00000000000,1.00000000000,20.00000000000,3.00000000000,4.00000000000,40.00000000000,5.00000000000],\"min\": 0,\"max\": 40},{\"attribute\": \"checkme\",\"count\": 2,\"type\": \"number\",\"values\": [0,5],\"min\": 0,\"max\": 5},{\"attribute\": \"diffascii\",\"count\": 2,\"type\": \"number\",\"values\": [0,1],\"min\": 0,\"max\": 1},{\"attribute\": \"diffnote\",\"count\": 13,\"type\": \"string\",\"values\": [\"\",\"Added place.\",\"Changed country.\",\"Changed feature class.\",\"Changed feature class. Changed scale rank.\",\"Changed feature to Admin-0 region capital.\",\"Changed scale rank.\",\"Corrected coordinates.\",\"Location adjusted.\",\"Location adjusted. Changed scale rank.\",\"Name changed.\",\"Name changed. Changed scale rank.\",\"Population from GeoNames. Changed scale rank.\"]},{\"attribute\": \"featurecla\",\"count\": 6,\"type\": \"string\",\"values\": [\"Admin-0 capital\",\"Admin-0 capital alt\",\"Admin-0 region capital\",\"Admin-1 capital\",\"Admin-1 region capital\",\"Populated place\"]},{\"attribute\": \"geonameid\",\"count\": 242,\"type\": \"number\",\"values\": [-1.00000000000,1018725.00000000000,1040652.00000000000,1070940.00000000000,108410.00000000000,112931.00000000000,1138958.00000000000,1176615.00000000000,1185241.00000000000,1221874.00000000000,1238992.00000000000,1252416.00000000000,1261481.00000000000,1275004.00000000000,1275339.00000000000,1277333.00000000000,1283240.00000000000,1298824.00000000000,146268.00000000000,1512569.00000000000,1526273.00000000000,1528675.00000000000,1529102.00000000000,1559804.00000000000,1581130.00000000000,160196.00000000000,160263.00000000000,1609350.00000000000,162183.00000000000,1642911.00000000000,1645457.00000000000,1651944.00000000000,1668341.00000000000,1690681.00000000000,1701668.00000000000,170654.00000000000,1728930.00000000000,1730025.00000000000,1735161.00000000000,1796236.00000000000,1815286.00000000000,1816670.00000000000,1819729.00000000000,1820906.00000000000,1821306.00000000000,1835848.00000000000,184745.00000000000,1850147.00000000000,1853909.00000000000,1857910.00000000000,1871859.00000000000,1880252.00000000000,202061.00000000000,2028462.00000000000,2075807.00000000000,2081986.00000000000,2088122.00000000000,2108502.00000000000,2110079.00000000000,2110394.00000000000,2113779.00000000000,2135171.00000000000,2144168.00000000000,2147714.00000000000,2158177.00000000000,2172517.00000000000,2193733.00000000000,2198148.00000000000,2220957.00000000000,223817.00000000000,2240449.00000000000,2253354.00000000000,2260535.00000000000,2267057.00000000000,2274895.00000000000,2279755.00000000000,2293538.00000000000,2306104.00000000000,2309527.00000000000,2314302.00000000000,2322794.00000000000,232422.00000000000,2332459.00000000000,2357048.00000000000,2365267.00000000000,2374775.00000000000,2377450.00000000000,2389853.00000000000,2392087.00000000000,2394819.00000000000,2399697.00000000000,2408770.00000000000,241131.00000000000,2413876.00000000000,2422465.00000000000,2427123.00000000000,2440485.00000000000,2460596.00000000000,2462881.00000000000,2464470.00000000000],\"min\": -1,\"max\": 6697380},{\"attribute\": \"iso_a2\",\"count\": 197,\"type\": \"mixed\",\"values\": [-99,\"AD\",\"AE\",\"AF\",\"AG\",\"AL\",\"AM\",\"AO\",\"AR\",\"AT\",\"AU\",\"AZ\",\"BA\",\"BB\",\"BD\",\"BE\",\"BF\",\"BG\",\"BH\",\"BI\",\"BJ\",\"BN\",\"BO\",\"BR\",\"BS\",\"BT\",\"BW\",\"BY\",\"BZ\",\"CA\",\"CD\",\"CF\",\"CG\",\"CH\",\"CI\",\"CL\",\"CM\",\"CN\",\"CO\",\"CR\",\"CU\",\"CV\",\"CY\",\"CZ\",\"DE\",\"DJ\",\"DK\",\"DM\",\"DO\",\"DZ\",\"EC\",\"EE\",\"EG\",\"EH\",\"ER\",\"ES\",\"ET\",\"FI\",\"FJ\",\"FM\",\"FR\",\"GA\",\"GB\",\"GD\",\"GE\",\"GH\",\"GM\",\"GN\",\"GQ\",\"GR\",\"GT\",\"GW\",\"GY\",\"HK\",\"HN\",\"HR\",\"HT\",\"HU\",\"ID\",\"IE\",\"IL\",\"IN\",\"IQ\",\"IR\",\"IS\",\"IT\",\"JM\",\"JO\",\"JP\",\"KE\",\"KG\",\"KH\",\"KI\",\"KM\",\"KN\",\"KP\",\"KR\",\"KW\",\"KZ\",\"LA\"],\"min\": -99,\"max\": -99},{\"attribute\": \"labelrank\",\"count\": 8,\"type\": \"number\",\"values\": [0,1,2,3,5,6,7,8],\"min\": 0,\"max\": 8},{\"attribute\": \"ls_match\",\"count\": 3,\"type\": \"number\",\"values\": [0,1,2],\"min\": 0,\"max\": 2},{\"attribute\": \"ls_name\",\"count\": 243,\"type\": \"string\",\"values\": [\"\",\"Abidjan\",\"Abu Dhabi\",\"Abuja\",\"Accra\",\"Addis Ababa\",\"Algiers\",\"Amman\",\"Amsterdam\",\"Andorra\",\"Ankara\",\"Antananarivo\",\"Apia\",\"Ashgabat\",\"Asmara\",\"Astana\",\"Asuncion\",\"Athens2\",\"Atlanta\",\"Auckland\",\"Baghdad\",\"Baguio City\",\"Baku\",\"Bamako\",\"Bandar Seri Begawan\",\"Bangalore\",\"Bangkok\",\"Bangui\",\"Banjul\",\"Basseterre\",\"Beijing\",\"Beirut\",\"Belgrade\",\"Belmopan\",\"Berlin\",\"Bern\",\"Bishkek\",\"Bissau\",\"Bloemfontein\",\"Bogota\",\"Brasilia\",\"Bratislava\",\"Brazzaville\",\"Bridgetown\",\"Brussels\",\"Bucharest\",\"Budapest\",\"Buenos Aires\",\"Bujumbura\",\"Cairo\",\"Calcutta\",\"Canberra\",\"Cape Town\",\"Caracas\",\"Casablanca\",\"Castries\",\"Chengdu\",\"Chicago\",\"Chisinau\",\"Colombo\",\"Conakry\",\"Copenhagen\",\"Cotonou\",\"Dakar\",\"Damascus\",\"Dar es Salaam\",\"Denver\",\"Dhaka\",\"Dili\",\"Djibouti\",\"Dodoma\",\"Doha\",\"Dubayy\",\"Dublin2\",\"Dushanbe\",\"Freetown\",\"Funafuti\",\"Gaborone\",\"Geneva\",\"Georgetown1\",\"Guatemala\",\"Hanoi\",\"Harare\",\"Hargeysa\",\"Havana\",\"Helsinki\",\"Hong Kong\",\"Honiara\",\"Houston\",\"Islamabad\",\"Istanbul\",\"Jakarta\",\"Jerusalem\",\"Johannesburg\",\"Juba\",\"Kabul\",\"Kampala\",\"Kathmandu\",\"Khartoum\",\"Kiev\"]},{\"attribute\": \"megacity\",\"count\": 2,\"type\": \"number\",\"values\": [0,1],\"min\": 0,\"max\": 1},{\"attribute\": \"meganame\",\"count\": 146,\"type\": \"string\",\"values\": [\"\",\"Abidjan\",\"Abuja\",\"Accra\",\"Addis Ababa\",\"Al Kuwayt (Kuwait City)\",\"Al-Khartum\",\"Al-Qahirah\",\"Amman\",\"Amsterdam\",\"Ankara\",\"Antananarivo\",\"Ar-Riyadh\",\"Asuncian\",\"Athnnai\",\"Atlanta\",\"Auckland\",\"Baghdad\",\"Baku\",\"Bamako\",\"Bangalore\",\"Bayrut\",\"Beijing\",\"Beograd\",\"Berlin\",\"Bishkek\",\"Bogota\",\"Brasglia\",\"Brazzaville\",\"Bruxelles-Brussel\",\"Bucuresti\",\"Budapest\",\"Buenos Aires\",\"Cape Town\",\"Caracas\",\"Chengdu\",\"Chicago\",\"Ciudad de Guatemala (Guatemala City)\",\"Ciudad de Mdxico\",\"Ciudad de Panam\",\"Conakry\",\"Cotonou\",\"Cramqi (Wulumqi)\",\"Dakar\",\"Dar es Salaam\",\"Dar-el-Beida\",\"Denver-Aurora\",\"Dhaka\",\"Dimashq\",\"Dubayy\",\"Dublin\",\"El Djazasr\",\"Freetown\",\"Harare\",\"Helsinki\",\"Hh Noi\",\"Hong Kong\",\"Houston\",\"Islamabad\",\"Istanbul\",\"Jakarta\",\"Johannesburg\",\"K\",\"Kabul\",\"Kampala\",\"Kathmandu\",\"Kigali\",\"Kinshasa\",\"Kolkata\",\"Krung Thep\",\"Kuala Lumpur\",\"Kyiv\",\"Kyoto\",\"La Habana\",\"La Paz\",\"Lagos\",\"Lima\",\"Lisboa\",\"Lomi\",\"London\",\"Los Angeles-Long Beach-Santa Ana\",\"Luanda\",\"Lusaka\",\"Madrid\",\"Managua\",\"Manila\",\"Maputo\",\"Melbourne\",\"Miami\",\"Minsk\",\"Monrovia\",\"Monterrey\",\"Montevideo\",\"Moskva\",\"Mumbai\",\"Muqdisho\",\"N'Djam-na\",\"Nairobi\",\"Nay Pyi Taw\",\"New York-Newark\"]},{\"attribute\": \"min_zoom\",\"count\": 16,\"type\": \"mixed\",\"values\": [\"\",1.7,2.0,2.1,2.7,3.0,3.7,4.0,4.7,5.0,5.1,5.6,6.0,6.1,6.7,7.0],\"min\": 1.7,\"max\": 7},{\"attribute\": \"name\",\"count\": 243,\"type\": \"string\",\"values\": [\"Abidjan\",\"Abu Dhabi\",\"Abuja\",\"Accra\",\"Addis Ababa\",\"Algiers\",\"Amman\",\"Amsterdam\",\"Andorra\",\"Ankara\",\"Antananarivo\",\"Apia\",\"Ashgabat\",\"Asmara\",\"Astana\",\"Asunción\",\"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\",\"Brasília\",\"Bratislava\",\"Brazzaville\",\"Bridgetown\",\"Brussels\",\"Bucharest\",\"Budapest\",\"Buenos Aires\",\"Bujumbura\",\"Cairo\",\"Canberra\",\"Cape Town\",\"Caracas\",\"Casablanca\",\"Castries\",\"Chengdu\",\"Chicago\",\"Chișinău\",\"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\"]},{\"attribute\": \"namealt\",\"count\": 44,\"type\": \"string\",\"values\": [\"\",\"Al Kuwayt|Kuwait City\",\"Al-Khartum\",\"Al-Qahirah\",\"Ar-Riyadh\",\"Asuncion\",\"Athinai\",\"Bayrut\",\"Bengaluru\",\"Bogota\",\"Brasilia\",\"Bruxelles-Brussel\",\"Ciudad de Guatemala (Guatemala City)\",\"Ciudad de M\",\"Ciudad de Panam\",\"Dar-el-Beida\",\"Denver-Aurora\",\"Dimashq\",\"El Djazacr\",\"H\",\"Krung Thep\",\"Kyiv\",\"La Habana\",\"Lome\",\"Los Angeles-Long Beach-Santa Ana\",\"Muqdisho\",\"N'Djamnna\",\"Nay Pyi Taw\",\"New York-Newark\",\"Osaka-Kobe\",\"Ottawa-Gatineau\",\"P'yongyang\",\"Phnum Penh\",\"San Francisco-Oakland\",\"San Jose\",\"Sana'a'\",\"Sao Paulo|Sio Paulo\",\"T'Bilisi\",\"Tel Aviv-Jaffa\",\"Valparaiso\",\"Washington D.C.\",\"Yangon\",\"Yaounde\",\"rumqi|Wulumqi\"]},{\"attribute\": \"nameascii\",\"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\"]},{\"attribute\": \"namediff\",\"count\": 2,\"type\": \"number\",\"values\": [0,1],\"min\": 0,\"max\": 1},{\"attribute\": \"namepar\",\"count\": 13,\"type\": \"string\",\"values\": [\"\",\"Athenai\",\"Beograd\",\"Bombay\",\"Bucuresti\",\"Calcutta\",\"Copenhagen\",\"Dubayy\",\"Lisboa\",\"Moskva\",\"Praha\",\"Warszawa\",\"Wien\"]},{\"attribute\": \"natscale\",\"count\": 8,\"type\": \"number\",\"values\": [10,110,20,200,30,300,50,600],\"min\": 10,\"max\": 600},{\"attribute\": \"note\",\"count\": 3,\"type\": \"string\",\"values\": [\"\",\"Auckland metropolitan area\",\"Wellington metropolitan area\"]},{\"attribute\": \"pop_max\",\"count\": 240,\"type\": \"number\",\"values\": [10061000,1024000,1029300,1031000,1041000,10452000,1059000,1060000,107260,1085000,1086244,1099000,1100000,1102000,11100000,11106000,1115000,111975,112927,11294000,113364,1145000,1149000,115826,1162000,11748000,1185000,11893000,1240000,12500000,1264000,12795000,12797394,1281000,1284000,128698,1328000,1338000,1355000,1377200,1379000,1406000,1420000,1433000,1446000,1448000,1450000,1452000,145850,1466000,14787000,1494000,14987000,1513000,15220,155963,1572000,1576000,1590000,1611000,166212,1679000,1697000,1701000,1705000,1707000,1743000,175399,1805000,1846000,1870000,188084,18845000,18978000,19028000,19040000,191152,1942000,1998000,2008000,2063000,206499,208411,2121000,2122300,2151000,2154000,217000,2174000,218269,2184000,21887,2189000,224300,224838,227940,2313000,2313328,23336,234331],\"min\": 500,\"max\": 35676000},{\"attribute\": \"pop_min\",\"count\": 243,\"type\": \"number\",\"values\": [10021295,1005257,1019022,103693,10452000,1060000,1060587,10634,10811002,1085000,10929146,1093485,1099000,11177,111975,1122874,1137347,113906,115826,1163890,11693,118355,1191613,121631,1234742,1253309,1267440,12691836,1297281,1338000,13381,1353189,136473,13768,1391433,1399814,140000,1431270,1448000,1459640,14608512,1466000,148416,1494000,1508225,1536,1542813,1548599,15500,155963,157474,1577138,159243,15938,160966,162135,1655753,16571,1662508,1679000,1702139,1712125,1724,1731000,1742194,176365,180541,1815679,1835853,1892000,192385,193563,194530,194824,1951272,1963264,1974647,1977663,1978028,198214,1990917,200,200452,2010175,2026469,20500,2087,217000,221736,22256,223757,22534,22881,229398,234032,234168,235017,23658,24226,2432858],\"min\": 200,\"max\": 14608512},{\"attribute\": \"pop_other\",\"count\": 216,\"type\": \"number\",\"values\": [0,10018444,1014546,102371,10271457,1037811,1038288,10585385,1060640,1060747,1061388,106219,1072567,1074640,1081361,1088042,1088194,1099610,111975,112572,1149981,11522944,1152904,1154748,11622929,1166878,1174778,12018058,1208361,1240558,12426085,1256715,1271541,1276128,12945252,1301407,130815,1365454,13720557,142265,1434681,1435528,1443084,1480886,1490164,1498020,14995538,1518801,1521278,15220,1557919,158896,160116,1604086,1611692,1636574,164877,1661980,1675117,16803572,1682968,1718895,1742507,176365,1772679,1795582,1805353,18171,1821489,1827367,1831877,1844658,191814,1930305,1951272,2012431,2029349,2044401,2050212,206499,2139587,2153702,2175991,21887,221736,222513,222985,22478,2306851,2325931,23336,2334371,2381280,2385397,2391150,2401318,2456292,2470140,247018,248161],\"min\": 0,\"max\": 16803572},{\"attribute\": \"rank_max\",\"count\": 12,\"type\": \"number\",\"values\": [10,11,12,13,14,2,4,5,6,7,8,9],\"min\": 2,\"max\": 14},{\"attribute\": \"rank_min\",\"count\": 14,\"type\": \"number\",\"values\": [1,10,11,12,13,14,2,3,4,5,6,7,8,9],\"min\": 1,\"max\": 14},{\"attribute\": \"scalerank\",\"count\": 8,\"type\": \"number\",\"values\": [0,1,2,3,4,6,7,8],\"min\": 0,\"max\": 8},{\"attribute\": \"sov0name\",\"count\": 197,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Antigua and Barbuda\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas, The\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo (Brazzaville)\",\"Congo (Kinshasa)\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Federated States of Micronesia\",\"Fiji\",\"Finland\",\"French Republic\",\"Gabon\",\"Gambia, The\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kingdom of Norway\",\"Kingdom of Spain\",\"Kingdom of the Netherlands\",\"Kiribati\",\"Korea, North\",\"Korea, South\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\"]},{\"attribute\": \"sov_a3\",\"count\": 197,\"type\": \"string\",\"values\": [\"AFG\",\"AGO\",\"ALB\",\"AND\",\"ARE\",\"ARG\",\"ARM\",\"ATG\",\"AUS\",\"AUT\",\"AZE\",\"BDI\",\"BEL\",\"BEN\",\"BFA\",\"BGD\",\"BGR\",\"BHR\",\"BHS\",\"BIH\",\"BLR\",\"BLZ\",\"BOL\",\"BRA\",\"BRB\",\"BRN\",\"BTN\",\"BWA\",\"CAF\",\"CAN\",\"CHE\",\"CHL\",\"CHN\",\"CIV\",\"CMR\",\"COD\",\"COG\",\"COL\",\"COM\",\"CPV\",\"CRI\",\"CUB\",\"CYP\",\"CZE\",\"DEU\",\"DJI\",\"DMA\",\"DNK\",\"DOM\",\"DZA\",\"ECU\",\"EGY\",\"ERI\",\"ESP\",\"EST\",\"ETH\",\"FIN\",\"FJI\",\"FRA\",\"FSM\",\"GAB\",\"GBR\",\"GEO\",\"GHA\",\"GIN\",\"GMB\",\"GNB\",\"GNQ\",\"GRC\",\"GRD\",\"GTM\",\"GUY\",\"HND\",\"HRV\",\"HTI\",\"HUN\",\"IDN\",\"IND\",\"IRL\",\"IRN\",\"IRQ\",\"IS1\",\"ISL\",\"ITA\",\"JAM\",\"JOR\",\"JPN\",\"KAZ\",\"KEN\",\"KGZ\",\"KHM\",\"KIR\",\"KNA\",\"KOR\",\"KOS\",\"KWT\",\"LAO\",\"LBN\",\"LBR\",\"LBY\"]},{\"attribute\": \"worldcity\",\"count\": 2,\"type\": \"number\",\"values\": [0.00000000000,1.00000000000],\"min\": 0,\"max\": 1}]}]}}", "maxzoom": "0", "minzoom": "0", "name": "tests/csv/out.mbtiles", @@ -482,7 +482,7 @@ , { "type": "Feature", "properties": { "scalerank": 1, "natscale": 300, "labelrank": 3, "featurecla": "Admin-1 capital", "name": "Melbourne", "namepar": "", "namealt": "", "diffascii": 0, "nameascii": "Melbourne", "adm0cap": 0, "capalt": "", "capin": "", "worldcity": 1, "megacity": 1, "sov0name": "Australia", "sov_a3": "AUS", "adm0name": "Australia", "adm0_a3": "AUS", "adm1name": "Victoria", "iso_a2": "AU", "note": "", "changed": 4, "namediff": 0, "diffnote": "Changed feature class. Changed scale rank.", "pop_max": 4170000, "pop_min": 93625, "pop_other": 1805353, "rank_max": 12, "rank_min": 8, "geonameid": 2158177, "meganame": "Melbourne", "ls_name": "Melbourne2", "ls_match": 1, "checkme": 0, "min_zoom": 3 }, "geometry": { "type": "Point", "coordinates": [ 144.931641, -37.788081 ] } } , -{ "type": "Feature", "properties": { "scalerank": 0, "natscale": 600, "labelrank": 3, "featurecla": "Admin-1 capital", "name": "Sydney", "namepar": "", "namealt": "", "diffascii": 0, "nameascii": "Sydney", "adm0cap": 0, "capalt": "", "capin": "", "worldcity": 1, "megacity": 1, "sov0name": "Australia", "sov_a3": "AUS", "adm0name": "Australia", "adm0_a3": "AUS", "adm1name": "New South Wales", "iso_a2": "AU", "note": "", "changed": 4, "namediff": 0, "diffnote": "Changed feature class.", "pop_max": 4630000, "pop_min": 3641422, "pop_other": 2669348, "rank_max": 12, "rank_min": 12, "geonameid": 2147714, "meganame": "Sydney", "ls_name": "Sydney1", "ls_match": 1, "checkme": 0, "min_zoom": 1.7 }, "geometry": { "type": "Point", "coordinates": [ 151.171875, -33.870416 ] } } +{ "type": "Feature", "properties": { "scalerank": 0, "natscale": 600, "labelrank": 3, "featurecla": "Admin-1 capital", "name": "Sydney", "namepar": "", "namealt": "", "diffascii": 0, "nameascii": "Sydney", "adm0cap": 0, "capalt": "", "capin": "", "worldcity": 1, "megacity": 1, "sov0name": "Australia", "sov_a3": "AUS", "adm0name": "Australia", "adm0_a3": "AUS", "adm1name": "New South Wales", "iso_a2": "AU", "note": "", "changed": 4, "namediff": 0, "diffnote": "Changed feature class.", "pop_max": 4630000, "pop_min": 3641422, "pop_other": 2669348, "rank_max": 12, "rank_min": 12, "geonameid": 2147714, "meganame": "Sydney", "ls_name": "Sydney1", "ls_match": 1, "checkme": 0, "min_zoom": "" }, "geometry": { "type": "Point", "coordinates": [ 151.171875, -33.870416 ] } } , { "type": "Feature", "properties": { "scalerank": 3, "natscale": 110, "labelrank": 3, "featurecla": "Admin-0 capital", "name": "Canberra", "namepar": "", "namealt": "", "diffascii": 0, "nameascii": "Canberra", "adm0cap": 1, "capalt": "", "capin": "", "worldcity": 0, "megacity": 0, "sov0name": "Australia", "sov_a3": "AUS", "adm0name": "Australia", "adm0_a3": "AUS", "adm1name": "Australian Capital Territory", "iso_a2": "AU", "note": "", "changed": 4, "namediff": 0, "diffnote": "Location adjusted.", "pop_max": 327700, "pop_min": 234032, "pop_other": 0, "rank_max": 10, "rank_min": 10, "geonameid": 2172517, "meganame": "", "ls_name": "Canberra", "ls_match": 1, "checkme": 0, "min_zoom": 4 }, "geometry": { "type": "Point", "coordinates": [ 149.062500, -35.245619 ] } } , diff --git a/tests/join-population/joined-i.mbtiles.json b/tests/join-population/joined-i.mbtiles.json index b6dcd61..cf879bd 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\": 4, \"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\": 1000,\"geometry\": \"Polygon\",\"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,\"max\": 412555},{\"attribute\": \"AWATER10\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0,\"max\": 0},{\"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\": 161,\"type\": \"string\",\"values\": [\"+37.882724\",\"+37.882857\",\"+37.882965\",\"+37.883224\",\"+37.883323\",\"+37.883462\",\"+37.883481\",\"+37.883493\",\"+37.883527\",\"+37.883536\",\"+37.883579\",\"+37.883693\",\"+37.883707\",\"+37.883836\",\"+37.883875\",\"+37.883973\",\"+37.884009\",\"+37.884079\",\"+37.884338\",\"+37.884369\",\"+37.884677\",\"+37.884743\",\"+37.884747\",\"+37.884896\",\"+37.884919\",\"+37.885307\",\"+37.885308\",\"+37.885448\",\"+37.885491\",\"+37.885646\",\"+37.885811\",\"+37.885997\",\"+37.886159\",\"+37.886194\",\"+37.886197\",\"+37.886322\",\"+37.886339\",\"+37.886460\",\"+37.886495\",\"+37.886596\",\"+37.886608\",\"+37.886830\",\"+37.887238\",\"+37.887570\",\"+37.887789\",\"+37.887945\",\"+37.888027\",\"+37.888238\",\"+37.888332\",\"+37.888340\",\"+37.888416\",\"+37.888418\",\"+37.888441\",\"+37.888458\",\"+37.888540\",\"+37.888616\",\"+37.888634\",\"+37.888734\",\"+37.888782\",\"+37.888848\",\"+37.888859\",\"+37.888863\",\"+37.888908\",\"+37.888930\",\"+37.888934\",\"+37.889007\",\"+37.889049\",\"+37.889126\",\"+37.889177\",\"+37.889251\",\"+37.889326\",\"+37.889411\",\"+37.889518\",\"+37.889545\",\"+37.889669\",\"+37.889828\",\"+37.889955\",\"+37.890058\",\"+37.890110\",\"+37.890166\",\"+37.890172\",\"+37.890209\",\"+37.890214\",\"+37.890278\",\"+37.890696\",\"+37.890858\",\"+37.891028\",\"+37.891101\",\"+37.891200\",\"+37.891205\",\"+37.891320\",\"+37.891425\",\"+37.891538\",\"+37.891658\",\"+37.891713\",\"+37.891785\",\"+37.891804\",\"+37.891809\",\"+37.891823\",\"+37.891824\"]},{\"attribute\": \"INTPTLON10\",\"count\": 162,\"type\": \"string\",\"values\": [\"-122.282371\",\"-122.282689\",\"-122.283067\",\"-122.283424\",\"-122.283651\",\"-122.283723\",\"-122.283797\",\"-122.284471\",\"-122.284571\",\"-122.284831\",\"-122.285020\",\"-122.285175\",\"-122.285609\",\"-122.285901\",\"-122.285971\",\"-122.286349\",\"-122.286366\",\"-122.286636\",\"-122.286865\",\"-122.286913\",\"-122.287097\",\"-122.287125\",\"-122.287205\",\"-122.287275\",\"-122.287323\",\"-122.287379\",\"-122.287583\",\"-122.287634\",\"-122.287747\",\"-122.287757\",\"-122.287836\",\"-122.287926\",\"-122.287969\",\"-122.288382\",\"-122.288602\",\"-122.288628\",\"-122.288696\",\"-122.288764\",\"-122.288787\",\"-122.288910\",\"-122.289020\",\"-122.289219\",\"-122.289472\",\"-122.289530\",\"-122.289570\",\"-122.289663\",\"-122.289764\",\"-122.289959\",\"-122.290117\",\"-122.290340\",\"-122.290441\",\"-122.290522\",\"-122.290615\",\"-122.290964\",\"-122.290980\",\"-122.291137\",\"-122.291217\",\"-122.291391\",\"-122.291474\",\"-122.291817\",\"-122.291926\",\"-122.292014\",\"-122.292153\",\"-122.292309\",\"-122.292394\",\"-122.292674\",\"-122.292756\",\"-122.292777\",\"-122.292811\",\"-122.292824\",\"-122.292906\",\"-122.293296\",\"-122.293364\",\"-122.293455\",\"-122.293477\",\"-122.293508\",\"-122.293592\",\"-122.293633\",\"-122.294157\",\"-122.294213\",\"-122.294338\",\"-122.294418\",\"-122.294456\",\"-122.294503\",\"-122.294972\",\"-122.295039\",\"-122.295184\",\"-122.295286\",\"-122.295319\",\"-122.295359\",\"-122.295566\",\"-122.295888\",\"-122.296030\",\"-122.296083\",\"-122.296144\",\"-122.296175\",\"-122.296220\",\"-122.296405\",\"-122.296474\",\"-122.296730\"]},{\"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,\"max\": 1118}]}]}}", +"json": "{\"vector_layers\": [ { \"id\": \"tabblock_06001420\", \"description\": \"population\", \"minzoom\": 4, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Land area\", \"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\": \"Mixed\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"tabblock_06001420\",\"count\": 1000,\"geometry\": \"Polygon\",\"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,\"max\": 412555},{\"attribute\": \"AWATER10\",\"count\": 1,\"type\": \"number\",\"values\": [0],\"min\": 0,\"max\": 0},{\"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\": 161,\"type\": \"string\",\"values\": [\"+37.882724\",\"+37.882857\",\"+37.882965\",\"+37.883224\",\"+37.883323\",\"+37.883462\",\"+37.883481\",\"+37.883493\",\"+37.883527\",\"+37.883536\",\"+37.883579\",\"+37.883693\",\"+37.883707\",\"+37.883836\",\"+37.883875\",\"+37.883973\",\"+37.884009\",\"+37.884079\",\"+37.884338\",\"+37.884369\",\"+37.884677\",\"+37.884743\",\"+37.884747\",\"+37.884896\",\"+37.884919\",\"+37.885307\",\"+37.885308\",\"+37.885448\",\"+37.885491\",\"+37.885646\",\"+37.885811\",\"+37.885997\",\"+37.886159\",\"+37.886194\",\"+37.886197\",\"+37.886322\",\"+37.886339\",\"+37.886460\",\"+37.886495\",\"+37.886596\",\"+37.886608\",\"+37.886830\",\"+37.887238\",\"+37.887570\",\"+37.887789\",\"+37.887945\",\"+37.888027\",\"+37.888238\",\"+37.888332\",\"+37.888340\",\"+37.888416\",\"+37.888418\",\"+37.888441\",\"+37.888458\",\"+37.888540\",\"+37.888616\",\"+37.888634\",\"+37.888734\",\"+37.888782\",\"+37.888848\",\"+37.888859\",\"+37.888863\",\"+37.888908\",\"+37.888930\",\"+37.888934\",\"+37.889007\",\"+37.889049\",\"+37.889126\",\"+37.889177\",\"+37.889251\",\"+37.889326\",\"+37.889411\",\"+37.889518\",\"+37.889545\",\"+37.889669\",\"+37.889828\",\"+37.889955\",\"+37.890058\",\"+37.890110\",\"+37.890166\",\"+37.890172\",\"+37.890209\",\"+37.890214\",\"+37.890278\",\"+37.890696\",\"+37.890858\",\"+37.891028\",\"+37.891101\",\"+37.891200\",\"+37.891205\",\"+37.891320\",\"+37.891425\",\"+37.891538\",\"+37.891658\",\"+37.891713\",\"+37.891785\",\"+37.891804\",\"+37.891809\",\"+37.891823\",\"+37.891824\"]},{\"attribute\": \"INTPTLON10\",\"count\": 162,\"type\": \"string\",\"values\": [\"-122.282371\",\"-122.282689\",\"-122.283067\",\"-122.283424\",\"-122.283651\",\"-122.283723\",\"-122.283797\",\"-122.284471\",\"-122.284571\",\"-122.284831\",\"-122.285020\",\"-122.285175\",\"-122.285609\",\"-122.285901\",\"-122.285971\",\"-122.286349\",\"-122.286366\",\"-122.286636\",\"-122.286865\",\"-122.286913\",\"-122.287097\",\"-122.287125\",\"-122.287205\",\"-122.287275\",\"-122.287323\",\"-122.287379\",\"-122.287583\",\"-122.287634\",\"-122.287747\",\"-122.287757\",\"-122.287836\",\"-122.287926\",\"-122.287969\",\"-122.288382\",\"-122.288602\",\"-122.288628\",\"-122.288696\",\"-122.288764\",\"-122.288787\",\"-122.288910\",\"-122.289020\",\"-122.289219\",\"-122.289472\",\"-122.289530\",\"-122.289570\",\"-122.289663\",\"-122.289764\",\"-122.289959\",\"-122.290117\",\"-122.290340\",\"-122.290441\",\"-122.290522\",\"-122.290615\",\"-122.290964\",\"-122.290980\",\"-122.291137\",\"-122.291217\",\"-122.291391\",\"-122.291474\",\"-122.291817\",\"-122.291926\",\"-122.292014\",\"-122.292153\",\"-122.292309\",\"-122.292394\",\"-122.292674\",\"-122.292756\",\"-122.292777\",\"-122.292811\",\"-122.292824\",\"-122.292906\",\"-122.293296\",\"-122.293364\",\"-122.293455\",\"-122.293477\",\"-122.293508\",\"-122.293592\",\"-122.293633\",\"-122.294157\",\"-122.294213\",\"-122.294338\",\"-122.294418\",\"-122.294456\",\"-122.294503\",\"-122.294972\",\"-122.295039\",\"-122.295184\",\"-122.295286\",\"-122.295319\",\"-122.295359\",\"-122.295566\",\"-122.295888\",\"-122.296030\",\"-122.296083\",\"-122.296144\",\"-122.296175\",\"-122.296220\",\"-122.296405\",\"-122.296474\",\"-122.296730\"]},{\"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\": 74,\"type\": \"mixed\",\"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,\"max\": 1118}]}]}}", "maxzoom": "12", "minzoom": "0", "name": "tests/join-population/tabblock_06001420.mbtiles", @@ -362,7 +362,7 @@ , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3017", "population": 12, "NAME10": "Block 3017", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 6343, "AWATER10": 0, "INTPTLAT10": "+37.884079", "INTPTLON10": "-122.290980" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290878, 37.885693 ], [ -122.290878, 37.884609 ], [ -122.292252, 37.884609 ], [ -122.292252, 37.885693 ], [ -122.290878, 37.885693 ] ] ] } } , -{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": 32, "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.884067 ], [ -122.290192, 37.882983 ], [ -122.291565, 37.882983 ], [ -122.291565, 37.884067 ], [ -122.290192, 37.884067 ] ] ] } } +{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": "", "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.884067 ], [ -122.290192, 37.882983 ], [ -122.291565, 37.882983 ], [ -122.291565, 37.884067 ], [ -122.290192, 37.884067 ] ] ] } } , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "1023", "population": 41, "NAME10": "Block 1023", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 15260, "AWATER10": 0, "INTPTLAT10": "+37.884009", "INTPTLON10": "-122.289530" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.288818, 37.885151 ], [ -122.289505, 37.883525 ], [ -122.290192, 37.883525 ], [ -122.290192, 37.885151 ], [ -122.288818, 37.885151 ] ] ] } } , @@ -676,7 +676,7 @@ , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3017", "population": 12, "NAME10": "Block 3017", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 6343, "AWATER10": 0, "INTPTLAT10": "+37.884079", "INTPTLON10": "-122.290980" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.291222, 37.885151 ], [ -122.290535, 37.883254 ], [ -122.291222, 37.884067 ], [ -122.291565, 37.885151 ], [ -122.291222, 37.885151 ] ] ] } } , -{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": 32, "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885422 ], [ -122.289848, 37.884609 ], [ -122.290535, 37.883254 ], [ -122.291222, 37.885151 ], [ -122.290192, 37.885422 ] ] ] } } +{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": "", "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885422 ], [ -122.289848, 37.884609 ], [ -122.290535, 37.883254 ], [ -122.291222, 37.885151 ], [ -122.290192, 37.885422 ] ] ] } } , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "1023", "population": 41, "NAME10": "Block 1023", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 15260, "AWATER10": 0, "INTPTLAT10": "+37.884009", "INTPTLON10": "-122.289530" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.289848, 37.885151 ], [ -122.288818, 37.884880 ], [ -122.289505, 37.883525 ], [ -122.290192, 37.883254 ], [ -122.289848, 37.885151 ] ] ] } } , @@ -994,7 +994,7 @@ , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3017", "population": 12, "NAME10": "Block 3017", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 6343, "AWATER10": 0, "INTPTLAT10": "+37.884079", "INTPTLON10": "-122.290980" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.291222, 37.885015 ], [ -122.290535, 37.883254 ], [ -122.290878, 37.883389 ], [ -122.291222, 37.884067 ], [ -122.291565, 37.885015 ], [ -122.291222, 37.885015 ] ] ] } } , -{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": 32, "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885286 ], [ -122.289848, 37.884609 ], [ -122.290363, 37.883119 ], [ -122.290535, 37.883254 ], [ -122.291222, 37.885015 ], [ -122.290192, 37.885286 ] ] ] } } +{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": "", "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885286 ], [ -122.289848, 37.884609 ], [ -122.290363, 37.883119 ], [ -122.290535, 37.883254 ], [ -122.291222, 37.885015 ], [ -122.290192, 37.885286 ] ] ] } } , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "1023", "population": 41, "NAME10": "Block 1023", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 15260, "AWATER10": 0, "INTPTLAT10": "+37.884009", "INTPTLON10": "-122.289530" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.289848, 37.885015 ], [ -122.288818, 37.884744 ], [ -122.289333, 37.883389 ], [ -122.290192, 37.883254 ], [ -122.290363, 37.883119 ], [ -122.289848, 37.885015 ] ] ] } } , @@ -1320,7 +1320,7 @@ , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3017", "population": 12, "NAME10": "Block 3017", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 6343, "AWATER10": 0, "INTPTLAT10": "+37.884079", "INTPTLON10": "-122.290980" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.291222, 37.885015 ], [ -122.290449, 37.883254 ], [ -122.290878, 37.883322 ], [ -122.291222, 37.883999 ], [ -122.291565, 37.884948 ], [ -122.291222, 37.885015 ] ] ] } } , -{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": 32, "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885219 ], [ -122.289848, 37.884541 ], [ -122.290363, 37.883051 ], [ -122.290449, 37.883254 ], [ -122.291222, 37.885015 ], [ -122.290192, 37.885219 ] ] ] } } +{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": "", "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885219 ], [ -122.289848, 37.884541 ], [ -122.290363, 37.883051 ], [ -122.290449, 37.883254 ], [ -122.291222, 37.885015 ], [ -122.290192, 37.885219 ] ] ] } } , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "1023", "population": 41, "NAME10": "Block 1023", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 15260, "AWATER10": 0, "INTPTLAT10": "+37.884009", "INTPTLON10": "-122.289530" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.289762, 37.884948 ], [ -122.288818, 37.884744 ], [ -122.289333, 37.883322 ], [ -122.290106, 37.883186 ], [ -122.290277, 37.883186 ], [ -122.289762, 37.884948 ] ] ] } } , @@ -1648,7 +1648,7 @@ , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3017", "population": 12, "NAME10": "Block 3017", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 6343, "AWATER10": 0, "INTPTLAT10": "+37.884079", "INTPTLON10": "-122.290980" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.291179, 37.884981 ], [ -122.290406, 37.883220 ], [ -122.290835, 37.883322 ], [ -122.291179, 37.883999 ], [ -122.291522, 37.884914 ], [ -122.291179, 37.884981 ] ] ] } } , -{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": 32, "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885219 ], [ -122.289848, 37.884507 ], [ -122.290320, 37.883051 ], [ -122.290320, 37.883220 ], [ -122.290406, 37.883220 ], [ -122.291179, 37.884981 ], [ -122.290192, 37.885219 ] ] ] } } +{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": "", "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885219 ], [ -122.289848, 37.884507 ], [ -122.290320, 37.883051 ], [ -122.290320, 37.883220 ], [ -122.290406, 37.883220 ], [ -122.291179, 37.884981 ], [ -122.290192, 37.885219 ] ] ] } } , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "1023", "population": 41, "NAME10": "Block 1023", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 15260, "AWATER10": 0, "INTPTLAT10": "+37.884009", "INTPTLON10": "-122.289530" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.289720, 37.884914 ], [ -122.288775, 37.884710 ], [ -122.289333, 37.883288 ], [ -122.289977, 37.883152 ], [ -122.290106, 37.883186 ], [ -122.290277, 37.883186 ], [ -122.289720, 37.884914 ] ] ] } } , @@ -1976,7 +1976,7 @@ , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3017", "population": 12, "NAME10": "Block 3017", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 6343, "AWATER10": 0, "INTPTLAT10": "+37.884079", "INTPTLON10": "-122.290980" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.291179, 37.884981 ], [ -122.290943, 37.884372 ], [ -122.290385, 37.883220 ], [ -122.290835, 37.883322 ], [ -122.291157, 37.883999 ], [ -122.291522, 37.884914 ], [ -122.291179, 37.884981 ] ] ] } } , -{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": 32, "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290170, 37.885219 ], [ -122.289848, 37.884507 ], [ -122.290170, 37.883576 ], [ -122.290299, 37.883034 ], [ -122.290320, 37.883203 ], [ -122.290385, 37.883220 ], [ -122.290943, 37.884372 ], [ -122.291179, 37.884981 ], [ -122.290170, 37.885219 ] ] ] } } +{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": "", "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290170, 37.885219 ], [ -122.289848, 37.884507 ], [ -122.290170, 37.883576 ], [ -122.290299, 37.883034 ], [ -122.290320, 37.883203 ], [ -122.290385, 37.883220 ], [ -122.290943, 37.884372 ], [ -122.291179, 37.884981 ], [ -122.290170, 37.885219 ] ] ] } } , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "1023", "population": 41, "NAME10": "Block 1023", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 15260, "AWATER10": 0, "INTPTLAT10": "+37.884009", "INTPTLON10": "-122.289530" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.289720, 37.884897 ], [ -122.288754, 37.884694 ], [ -122.289312, 37.883288 ], [ -122.289355, 37.883305 ], [ -122.289526, 37.883271 ], [ -122.289762, 37.883186 ], [ -122.289977, 37.883152 ], [ -122.290106, 37.883169 ], [ -122.290256, 37.883186 ], [ -122.290170, 37.883576 ], [ -122.289720, 37.884897 ] ] ] } } , diff --git a/tests/join-population/joined-no-tile-stats.mbtiles.json b/tests/join-population/joined-no-tile-stats.mbtiles.json index 1fd778b..3460c63 100644 --- a/tests/join-population/joined-no-tile-stats.mbtiles.json +++ b/tests/join-population/joined-no-tile-stats.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\": \"population\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Land area\", \"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\": \"Mixed\"} } ]}", "maxzoom": "12", "minzoom": "0", "name": "tests/join-population/tabblock_06001420.mbtiles", @@ -472,7 +472,7 @@ , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3017", "population": 12, "NAME10": "Block 3017", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 6343, "AWATER10": 0, "INTPTLAT10": "+37.884079", "INTPTLON10": "-122.290980" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290878, 37.885693 ], [ -122.290878, 37.884609 ], [ -122.292252, 37.884609 ], [ -122.292252, 37.885693 ], [ -122.290878, 37.885693 ] ] ] } } , -{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": 32, "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.884067 ], [ -122.290192, 37.882983 ], [ -122.291565, 37.882983 ], [ -122.291565, 37.884067 ], [ -122.290192, 37.884067 ] ] ] } } +{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": "", "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.884067 ], [ -122.290192, 37.882983 ], [ -122.291565, 37.882983 ], [ -122.291565, 37.884067 ], [ -122.290192, 37.884067 ] ] ] } } , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "1023", "population": 41, "NAME10": "Block 1023", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 15260, "AWATER10": 0, "INTPTLAT10": "+37.884009", "INTPTLON10": "-122.289530" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.288818, 37.885151 ], [ -122.289505, 37.883525 ], [ -122.290192, 37.883525 ], [ -122.290192, 37.885151 ], [ -122.288818, 37.885151 ] ] ] } } , @@ -880,7 +880,7 @@ , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420500", "BLOCKCE10": "2016", "NAME10": "Block 2016", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 5264, "AWATER10": 0, "INTPTLAT10": "+37.883995", "INTPTLON10": "-122.291315" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.291565, 37.885151 ], [ -122.291222, 37.883254 ], [ -122.291908, 37.884880 ], [ -122.291565, 37.885151 ] ] ] } } , -{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": 32, "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885422 ], [ -122.289848, 37.884609 ], [ -122.290535, 37.883254 ], [ -122.291222, 37.885151 ], [ -122.290192, 37.885422 ] ] ] } } +{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": "", "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885422 ], [ -122.289848, 37.884609 ], [ -122.290535, 37.883254 ], [ -122.291222, 37.885151 ], [ -122.290192, 37.885422 ] ] ] } } , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "2016", "NAME10": "Block 2016", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 1094, "AWATER10": 0, "INTPTLAT10": "+37.885399", "INTPTLON10": "-122.289471" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.289162, 37.886235 ], [ -122.289162, 37.885693 ], [ -122.289848, 37.885693 ], [ -122.289848, 37.886235 ], [ -122.289162, 37.886235 ] ] ] } } , @@ -1344,7 +1344,7 @@ , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420500", "BLOCKCE10": "2016", "NAME10": "Block 2016", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 5264, "AWATER10": 0, "INTPTLAT10": "+37.883995", "INTPTLON10": "-122.291315" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.291565, 37.885015 ], [ -122.290878, 37.883389 ], [ -122.291222, 37.883254 ], [ -122.291393, 37.883254 ], [ -122.291908, 37.884880 ], [ -122.291565, 37.885015 ] ] ] } } , -{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": 32, "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885286 ], [ -122.289848, 37.884609 ], [ -122.290363, 37.883119 ], [ -122.290535, 37.883254 ], [ -122.291222, 37.885015 ], [ -122.290192, 37.885286 ] ] ] } } +{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": "", "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885286 ], [ -122.289848, 37.884609 ], [ -122.290363, 37.883119 ], [ -122.290535, 37.883254 ], [ -122.291222, 37.885015 ], [ -122.290192, 37.885286 ] ] ] } } , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "2016", "NAME10": "Block 2016", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 1094, "AWATER10": 0, "INTPTLAT10": "+37.885399", "INTPTLON10": "-122.289471" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.289677, 37.885964 ], [ -122.289333, 37.885964 ], [ -122.289333, 37.885557 ], [ -122.289677, 37.885557 ], [ -122.289677, 37.885964 ] ] ] } } , @@ -1856,7 +1856,7 @@ , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420500", "BLOCKCE10": "2016", "NAME10": "Block 2016", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 5264, "AWATER10": 0, "INTPTLAT10": "+37.883995", "INTPTLON10": "-122.291315" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.291565, 37.884948 ], [ -122.290878, 37.883322 ], [ -122.291136, 37.883254 ], [ -122.291307, 37.883254 ], [ -122.291822, 37.884880 ], [ -122.291565, 37.884948 ] ] ] } } , -{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": 32, "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885219 ], [ -122.289848, 37.884541 ], [ -122.290363, 37.883051 ], [ -122.290449, 37.883254 ], [ -122.291222, 37.885015 ], [ -122.290192, 37.885219 ] ] ] } } +{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": "", "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885219 ], [ -122.289848, 37.884541 ], [ -122.290363, 37.883051 ], [ -122.290449, 37.883254 ], [ -122.291222, 37.885015 ], [ -122.290192, 37.885219 ] ] ] } } , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "2016", "NAME10": "Block 2016", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 1094, "AWATER10": 0, "INTPTLAT10": "+37.885399", "INTPTLON10": "-122.289471" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.289333, 37.885896 ], [ -122.289677, 37.884880 ], [ -122.289762, 37.884948 ], [ -122.289333, 37.885896 ] ] ] } } , @@ -2380,7 +2380,7 @@ , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420500", "BLOCKCE10": "2016", "NAME10": "Block 2016", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 5264, "AWATER10": 0, "INTPTLAT10": "+37.883995", "INTPTLON10": "-122.291315" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.291522, 37.884914 ], [ -122.290835, 37.883322 ], [ -122.291093, 37.883254 ], [ -122.291265, 37.883254 ], [ -122.291780, 37.884880 ], [ -122.291522, 37.884914 ] ] ] } } , -{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": 32, "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885219 ], [ -122.289848, 37.884507 ], [ -122.290320, 37.883051 ], [ -122.290320, 37.883220 ], [ -122.290406, 37.883220 ], [ -122.291179, 37.884981 ], [ -122.290192, 37.885219 ] ] ] } } +{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": "", "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885219 ], [ -122.289848, 37.884507 ], [ -122.290320, 37.883051 ], [ -122.290320, 37.883220 ], [ -122.290406, 37.883220 ], [ -122.291179, 37.884981 ], [ -122.290192, 37.885219 ] ] ] } } , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "2016", "NAME10": "Block 2016", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 1094, "AWATER10": 0, "INTPTLAT10": "+37.885399", "INTPTLON10": "-122.289471" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.289333, 37.885998 ], [ -122.289290, 37.885862 ], [ -122.289634, 37.884880 ], [ -122.289720, 37.884914 ], [ -122.289333, 37.885998 ] ] ] } } , diff --git a/tests/join-population/joined.mbtiles.json b/tests/join-population/joined.mbtiles.json index 5eb8c26..0bef268 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\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"tabblock_06001420\",\"count\": 1484,\"geometry\": \"Polygon\",\"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,\"max\": 542505},{\"attribute\": \"AWATER10\",\"count\": 4,\"type\": \"number\",\"values\": [0,1111196,1632801,24],\"min\": 0,\"max\": 1632801},{\"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\": 257,\"type\": \"string\",\"values\": [\"+37.882724\",\"+37.882857\",\"+37.882965\",\"+37.883224\",\"+37.883323\",\"+37.883462\",\"+37.883465\",\"+37.883481\",\"+37.883493\",\"+37.883527\",\"+37.883536\",\"+37.883579\",\"+37.883655\",\"+37.883693\",\"+37.883707\",\"+37.883745\",\"+37.883836\",\"+37.883871\",\"+37.883875\",\"+37.883931\",\"+37.883973\",\"+37.883995\",\"+37.884009\",\"+37.884079\",\"+37.884198\",\"+37.884202\",\"+37.884338\",\"+37.884369\",\"+37.884436\",\"+37.884677\",\"+37.884743\",\"+37.884747\",\"+37.884757\",\"+37.884896\",\"+37.884902\",\"+37.884919\",\"+37.884942\",\"+37.885307\",\"+37.885308\",\"+37.885399\",\"+37.885448\",\"+37.885491\",\"+37.885644\",\"+37.885646\",\"+37.885673\",\"+37.885811\",\"+37.885827\",\"+37.885997\",\"+37.886159\",\"+37.886194\",\"+37.886197\",\"+37.886237\",\"+37.886278\",\"+37.886322\",\"+37.886339\",\"+37.886439\",\"+37.886460\",\"+37.886495\",\"+37.886587\",\"+37.886596\",\"+37.886608\",\"+37.886758\",\"+37.886830\",\"+37.886929\",\"+37.887099\",\"+37.887163\",\"+37.887238\",\"+37.887267\",\"+37.887324\",\"+37.887379\",\"+37.887412\",\"+37.887570\",\"+37.887764\",\"+37.887776\",\"+37.887789\",\"+37.887852\",\"+37.887885\",\"+37.887916\",\"+37.887945\",\"+37.888027\",\"+37.888122\",\"+37.888238\",\"+37.888325\",\"+37.888332\",\"+37.888340\",\"+37.888416\",\"+37.888418\",\"+37.888441\",\"+37.888458\",\"+37.888506\",\"+37.888511\",\"+37.888540\",\"+37.888616\",\"+37.888634\",\"+37.888734\",\"+37.888782\",\"+37.888823\",\"+37.888848\",\"+37.888859\",\"+37.888863\"]},{\"attribute\": \"INTPTLON10\",\"count\": 259,\"type\": \"string\",\"values\": [\"-122.282320\",\"-122.282371\",\"-122.282679\",\"-122.282689\",\"-122.282947\",\"-122.283067\",\"-122.283212\",\"-122.283424\",\"-122.283651\",\"-122.283723\",\"-122.283797\",\"-122.283828\",\"-122.283924\",\"-122.283973\",\"-122.284471\",\"-122.284571\",\"-122.284590\",\"-122.284831\",\"-122.285020\",\"-122.285076\",\"-122.285093\",\"-122.285175\",\"-122.285609\",\"-122.285651\",\"-122.285682\",\"-122.285901\",\"-122.285971\",\"-122.286179\",\"-122.286324\",\"-122.286349\",\"-122.286366\",\"-122.286615\",\"-122.286636\",\"-122.286818\",\"-122.286865\",\"-122.286913\",\"-122.287055\",\"-122.287082\",\"-122.287097\",\"-122.287125\",\"-122.287205\",\"-122.287275\",\"-122.287323\",\"-122.287379\",\"-122.287583\",\"-122.287591\",\"-122.287634\",\"-122.287747\",\"-122.287757\",\"-122.287836\",\"-122.287926\",\"-122.287969\",\"-122.288150\",\"-122.288221\",\"-122.288237\",\"-122.288313\",\"-122.288382\",\"-122.288473\",\"-122.288602\",\"-122.288628\",\"-122.288677\",\"-122.288696\",\"-122.288764\",\"-122.288787\",\"-122.288910\",\"-122.289020\",\"-122.289219\",\"-122.289471\",\"-122.289472\",\"-122.289530\",\"-122.289570\",\"-122.289573\",\"-122.289663\",\"-122.289764\",\"-122.289959\",\"-122.290117\",\"-122.290340\",\"-122.290441\",\"-122.290522\",\"-122.290573\",\"-122.290615\",\"-122.290964\",\"-122.290980\",\"-122.291137\",\"-122.291217\",\"-122.291315\",\"-122.291350\",\"-122.291391\",\"-122.291474\",\"-122.291484\",\"-122.291592\",\"-122.291817\",\"-122.291926\",\"-122.292014\",\"-122.292116\",\"-122.292153\",\"-122.292289\",\"-122.292309\",\"-122.292394\",\"-122.292415\"]},{\"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,\"max\": 1118}]}]}}", +"json": "{\"vector_layers\": [ { \"id\": \"tabblock_06001420\", \"description\": \"population\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Land area\", \"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\": \"Mixed\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"tabblock_06001420\",\"count\": 1484,\"geometry\": \"Polygon\",\"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,\"max\": 542505},{\"attribute\": \"AWATER10\",\"count\": 4,\"type\": \"number\",\"values\": [0,1111196,1632801,24],\"min\": 0,\"max\": 1632801},{\"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\": 257,\"type\": \"string\",\"values\": [\"+37.882724\",\"+37.882857\",\"+37.882965\",\"+37.883224\",\"+37.883323\",\"+37.883462\",\"+37.883465\",\"+37.883481\",\"+37.883493\",\"+37.883527\",\"+37.883536\",\"+37.883579\",\"+37.883655\",\"+37.883693\",\"+37.883707\",\"+37.883745\",\"+37.883836\",\"+37.883871\",\"+37.883875\",\"+37.883931\",\"+37.883973\",\"+37.883995\",\"+37.884009\",\"+37.884079\",\"+37.884198\",\"+37.884202\",\"+37.884338\",\"+37.884369\",\"+37.884436\",\"+37.884677\",\"+37.884743\",\"+37.884747\",\"+37.884757\",\"+37.884896\",\"+37.884902\",\"+37.884919\",\"+37.884942\",\"+37.885307\",\"+37.885308\",\"+37.885399\",\"+37.885448\",\"+37.885491\",\"+37.885644\",\"+37.885646\",\"+37.885673\",\"+37.885811\",\"+37.885827\",\"+37.885997\",\"+37.886159\",\"+37.886194\",\"+37.886197\",\"+37.886237\",\"+37.886278\",\"+37.886322\",\"+37.886339\",\"+37.886439\",\"+37.886460\",\"+37.886495\",\"+37.886587\",\"+37.886596\",\"+37.886608\",\"+37.886758\",\"+37.886830\",\"+37.886929\",\"+37.887099\",\"+37.887163\",\"+37.887238\",\"+37.887267\",\"+37.887324\",\"+37.887379\",\"+37.887412\",\"+37.887570\",\"+37.887764\",\"+37.887776\",\"+37.887789\",\"+37.887852\",\"+37.887885\",\"+37.887916\",\"+37.887945\",\"+37.888027\",\"+37.888122\",\"+37.888238\",\"+37.888325\",\"+37.888332\",\"+37.888340\",\"+37.888416\",\"+37.888418\",\"+37.888441\",\"+37.888458\",\"+37.888506\",\"+37.888511\",\"+37.888540\",\"+37.888616\",\"+37.888634\",\"+37.888734\",\"+37.888782\",\"+37.888823\",\"+37.888848\",\"+37.888859\",\"+37.888863\"]},{\"attribute\": \"INTPTLON10\",\"count\": 259,\"type\": \"string\",\"values\": [\"-122.282320\",\"-122.282371\",\"-122.282679\",\"-122.282689\",\"-122.282947\",\"-122.283067\",\"-122.283212\",\"-122.283424\",\"-122.283651\",\"-122.283723\",\"-122.283797\",\"-122.283828\",\"-122.283924\",\"-122.283973\",\"-122.284471\",\"-122.284571\",\"-122.284590\",\"-122.284831\",\"-122.285020\",\"-122.285076\",\"-122.285093\",\"-122.285175\",\"-122.285609\",\"-122.285651\",\"-122.285682\",\"-122.285901\",\"-122.285971\",\"-122.286179\",\"-122.286324\",\"-122.286349\",\"-122.286366\",\"-122.286615\",\"-122.286636\",\"-122.286818\",\"-122.286865\",\"-122.286913\",\"-122.287055\",\"-122.287082\",\"-122.287097\",\"-122.287125\",\"-122.287205\",\"-122.287275\",\"-122.287323\",\"-122.287379\",\"-122.287583\",\"-122.287591\",\"-122.287634\",\"-122.287747\",\"-122.287757\",\"-122.287836\",\"-122.287926\",\"-122.287969\",\"-122.288150\",\"-122.288221\",\"-122.288237\",\"-122.288313\",\"-122.288382\",\"-122.288473\",\"-122.288602\",\"-122.288628\",\"-122.288677\",\"-122.288696\",\"-122.288764\",\"-122.288787\",\"-122.288910\",\"-122.289020\",\"-122.289219\",\"-122.289471\",\"-122.289472\",\"-122.289530\",\"-122.289570\",\"-122.289573\",\"-122.289663\",\"-122.289764\",\"-122.289959\",\"-122.290117\",\"-122.290340\",\"-122.290441\",\"-122.290522\",\"-122.290573\",\"-122.290615\",\"-122.290964\",\"-122.290980\",\"-122.291137\",\"-122.291217\",\"-122.291315\",\"-122.291350\",\"-122.291391\",\"-122.291474\",\"-122.291484\",\"-122.291592\",\"-122.291817\",\"-122.291926\",\"-122.292014\",\"-122.292116\",\"-122.292153\",\"-122.292289\",\"-122.292309\",\"-122.292394\",\"-122.292415\"]},{\"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\": 74,\"type\": \"mixed\",\"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,\"max\": 1118}]}]}}", "maxzoom": "12", "minzoom": "0", "name": "tests/join-population/tabblock_06001420.mbtiles", @@ -472,7 +472,7 @@ , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3017", "population": 12, "NAME10": "Block 3017", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 6343, "AWATER10": 0, "INTPTLAT10": "+37.884079", "INTPTLON10": "-122.290980" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290878, 37.885693 ], [ -122.290878, 37.884609 ], [ -122.292252, 37.884609 ], [ -122.292252, 37.885693 ], [ -122.290878, 37.885693 ] ] ] } } , -{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": 32, "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.884067 ], [ -122.290192, 37.882983 ], [ -122.291565, 37.882983 ], [ -122.291565, 37.884067 ], [ -122.290192, 37.884067 ] ] ] } } +{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": "", "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.884067 ], [ -122.290192, 37.882983 ], [ -122.291565, 37.882983 ], [ -122.291565, 37.884067 ], [ -122.290192, 37.884067 ] ] ] } } , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "1023", "population": 41, "NAME10": "Block 1023", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 15260, "AWATER10": 0, "INTPTLAT10": "+37.884009", "INTPTLON10": "-122.289530" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.288818, 37.885151 ], [ -122.289505, 37.883525 ], [ -122.290192, 37.883525 ], [ -122.290192, 37.885151 ], [ -122.288818, 37.885151 ] ] ] } } , @@ -880,7 +880,7 @@ , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420500", "BLOCKCE10": "2016", "NAME10": "Block 2016", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 5264, "AWATER10": 0, "INTPTLAT10": "+37.883995", "INTPTLON10": "-122.291315" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.291565, 37.885151 ], [ -122.291222, 37.883254 ], [ -122.291908, 37.884880 ], [ -122.291565, 37.885151 ] ] ] } } , -{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": 32, "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885422 ], [ -122.289848, 37.884609 ], [ -122.290535, 37.883254 ], [ -122.291222, 37.885151 ], [ -122.290192, 37.885422 ] ] ] } } +{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": "", "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885422 ], [ -122.289848, 37.884609 ], [ -122.290535, 37.883254 ], [ -122.291222, 37.885151 ], [ -122.290192, 37.885422 ] ] ] } } , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "2016", "NAME10": "Block 2016", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 1094, "AWATER10": 0, "INTPTLAT10": "+37.885399", "INTPTLON10": "-122.289471" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.289162, 37.886235 ], [ -122.289162, 37.885693 ], [ -122.289848, 37.885693 ], [ -122.289848, 37.886235 ], [ -122.289162, 37.886235 ] ] ] } } , @@ -1344,7 +1344,7 @@ , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420500", "BLOCKCE10": "2016", "NAME10": "Block 2016", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 5264, "AWATER10": 0, "INTPTLAT10": "+37.883995", "INTPTLON10": "-122.291315" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.291565, 37.885015 ], [ -122.290878, 37.883389 ], [ -122.291222, 37.883254 ], [ -122.291393, 37.883254 ], [ -122.291908, 37.884880 ], [ -122.291565, 37.885015 ] ] ] } } , -{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": 32, "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885286 ], [ -122.289848, 37.884609 ], [ -122.290363, 37.883119 ], [ -122.290535, 37.883254 ], [ -122.291222, 37.885015 ], [ -122.290192, 37.885286 ] ] ] } } +{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": "", "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885286 ], [ -122.289848, 37.884609 ], [ -122.290363, 37.883119 ], [ -122.290535, 37.883254 ], [ -122.291222, 37.885015 ], [ -122.290192, 37.885286 ] ] ] } } , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "2016", "NAME10": "Block 2016", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 1094, "AWATER10": 0, "INTPTLAT10": "+37.885399", "INTPTLON10": "-122.289471" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.289677, 37.885964 ], [ -122.289333, 37.885964 ], [ -122.289333, 37.885557 ], [ -122.289677, 37.885557 ], [ -122.289677, 37.885964 ] ] ] } } , @@ -1856,7 +1856,7 @@ , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420500", "BLOCKCE10": "2016", "NAME10": "Block 2016", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 5264, "AWATER10": 0, "INTPTLAT10": "+37.883995", "INTPTLON10": "-122.291315" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.291565, 37.884948 ], [ -122.290878, 37.883322 ], [ -122.291136, 37.883254 ], [ -122.291307, 37.883254 ], [ -122.291822, 37.884880 ], [ -122.291565, 37.884948 ] ] ] } } , -{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": 32, "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885219 ], [ -122.289848, 37.884541 ], [ -122.290363, 37.883051 ], [ -122.290449, 37.883254 ], [ -122.291222, 37.885015 ], [ -122.290192, 37.885219 ] ] ] } } +{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": "", "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885219 ], [ -122.289848, 37.884541 ], [ -122.290363, 37.883051 ], [ -122.290449, 37.883254 ], [ -122.291222, 37.885015 ], [ -122.290192, 37.885219 ] ] ] } } , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "2016", "NAME10": "Block 2016", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 1094, "AWATER10": 0, "INTPTLAT10": "+37.885399", "INTPTLON10": "-122.289471" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.289333, 37.885896 ], [ -122.289677, 37.884880 ], [ -122.289762, 37.884948 ], [ -122.289333, 37.885896 ] ] ] } } , @@ -2380,7 +2380,7 @@ , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420500", "BLOCKCE10": "2016", "NAME10": "Block 2016", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 5264, "AWATER10": 0, "INTPTLAT10": "+37.883995", "INTPTLON10": "-122.291315" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.291522, 37.884914 ], [ -122.290835, 37.883322 ], [ -122.291093, 37.883254 ], [ -122.291265, 37.883254 ], [ -122.291780, 37.884880 ], [ -122.291522, 37.884914 ] ] ] } } , -{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": 32, "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885219 ], [ -122.289848, 37.884507 ], [ -122.290320, 37.883051 ], [ -122.290320, 37.883220 ], [ -122.290406, 37.883220 ], [ -122.291179, 37.884981 ], [ -122.290192, 37.885219 ] ] ] } } +{ "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "3018", "population": "", "NAME10": "Block 3018", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 14557, "AWATER10": 0, "INTPTLAT10": "+37.884369", "INTPTLON10": "-122.290441" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.290192, 37.885219 ], [ -122.289848, 37.884507 ], [ -122.290320, 37.883051 ], [ -122.290320, 37.883220 ], [ -122.290406, 37.883220 ], [ -122.291179, 37.884981 ], [ -122.290192, 37.885219 ] ] ] } } , { "type": "Feature", "properties": { "STATEFP10": "06", "COUNTYFP10": "001", "TRACTCE10": "420600", "BLOCKCE10": "2016", "NAME10": "Block 2016", "MTFCC10": "G5040", "UR10": "U", "UACE10": "78904", "UATYP10": "U", "FUNCSTAT10": "S", "ALAND10": 1094, "AWATER10": 0, "INTPTLAT10": "+37.885399", "INTPTLON10": "-122.289471" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -122.289333, 37.885998 ], [ -122.289290, 37.885862 ], [ -122.289634, 37.884880 ], [ -122.289720, 37.884914 ], [ -122.289333, 37.885998 ] ] ] } } , diff --git a/tests/join-population/merged-folder.mbtiles.json b/tests/join-population/merged-folder.mbtiles.json index f909f59..5db51bc 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\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"macarthur\",\"count\": 169,\"geometry\": \"LineString\",\"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\": 1484,\"geometry\": \"Polygon\",\"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,\"max\": 542505},{\"attribute\": \"AWATER10\",\"count\": 4,\"type\": \"number\",\"values\": [0,1111196,1632801,24],\"min\": 0,\"max\": 1632801},{\"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\": 257,\"type\": \"string\",\"values\": [\"+37.882724\",\"+37.882857\",\"+37.882965\",\"+37.883224\",\"+37.883323\",\"+37.883462\",\"+37.883465\",\"+37.883481\",\"+37.883493\",\"+37.883527\",\"+37.883536\",\"+37.883579\",\"+37.883655\",\"+37.883693\",\"+37.883707\",\"+37.883745\",\"+37.883836\",\"+37.883871\",\"+37.883875\",\"+37.883931\",\"+37.883973\",\"+37.883995\",\"+37.884009\",\"+37.884079\",\"+37.884198\",\"+37.884202\",\"+37.884338\",\"+37.884369\",\"+37.884436\",\"+37.884677\",\"+37.884743\",\"+37.884747\",\"+37.884757\",\"+37.884896\",\"+37.884902\",\"+37.884919\",\"+37.884942\",\"+37.885307\",\"+37.885308\",\"+37.885399\",\"+37.885448\",\"+37.885491\",\"+37.885644\",\"+37.885646\",\"+37.885673\",\"+37.885811\",\"+37.885827\",\"+37.885997\",\"+37.886159\",\"+37.886194\",\"+37.886197\",\"+37.886237\",\"+37.886278\",\"+37.886322\",\"+37.886339\",\"+37.886439\",\"+37.886460\",\"+37.886495\",\"+37.886587\",\"+37.886596\",\"+37.886608\",\"+37.886758\",\"+37.886830\",\"+37.886929\",\"+37.887099\",\"+37.887163\",\"+37.887238\",\"+37.887267\",\"+37.887324\",\"+37.887379\",\"+37.887412\",\"+37.887570\",\"+37.887764\",\"+37.887776\",\"+37.887789\",\"+37.887852\",\"+37.887885\",\"+37.887916\",\"+37.887945\",\"+37.888027\",\"+37.888122\",\"+37.888238\",\"+37.888325\",\"+37.888332\",\"+37.888340\",\"+37.888416\",\"+37.888418\",\"+37.888441\",\"+37.888458\",\"+37.888506\",\"+37.888511\",\"+37.888540\",\"+37.888616\",\"+37.888634\",\"+37.888734\",\"+37.888782\",\"+37.888823\",\"+37.888848\",\"+37.888859\",\"+37.888863\"]},{\"attribute\": \"INTPTLON10\",\"count\": 259,\"type\": \"string\",\"values\": [\"-122.282320\",\"-122.282371\",\"-122.282679\",\"-122.282689\",\"-122.282947\",\"-122.283067\",\"-122.283212\",\"-122.283424\",\"-122.283651\",\"-122.283723\",\"-122.283797\",\"-122.283828\",\"-122.283924\",\"-122.283973\",\"-122.284471\",\"-122.284571\",\"-122.284590\",\"-122.284831\",\"-122.285020\",\"-122.285076\",\"-122.285093\",\"-122.285175\",\"-122.285609\",\"-122.285651\",\"-122.285682\",\"-122.285901\",\"-122.285971\",\"-122.286179\",\"-122.286324\",\"-122.286349\",\"-122.286366\",\"-122.286615\",\"-122.286636\",\"-122.286818\",\"-122.286865\",\"-122.286913\",\"-122.287055\",\"-122.287082\",\"-122.287097\",\"-122.287125\",\"-122.287205\",\"-122.287275\",\"-122.287323\",\"-122.287379\",\"-122.287583\",\"-122.287591\",\"-122.287634\",\"-122.287747\",\"-122.287757\",\"-122.287836\",\"-122.287926\",\"-122.287969\",\"-122.288150\",\"-122.288221\",\"-122.288237\",\"-122.288313\",\"-122.288382\",\"-122.288473\",\"-122.288602\",\"-122.288628\",\"-122.288677\",\"-122.288696\",\"-122.288764\",\"-122.288787\",\"-122.288910\",\"-122.289020\",\"-122.289219\",\"-122.289471\",\"-122.289472\",\"-122.289530\",\"-122.289570\",\"-122.289573\",\"-122.289663\",\"-122.289764\",\"-122.289959\",\"-122.290117\",\"-122.290340\",\"-122.290441\",\"-122.290522\",\"-122.290573\",\"-122.290615\",\"-122.290964\",\"-122.290980\",\"-122.291137\",\"-122.291217\",\"-122.291315\",\"-122.291350\",\"-122.291391\",\"-122.291474\",\"-122.291484\",\"-122.291592\",\"-122.291817\",\"-122.291926\",\"-122.292014\",\"-122.292116\",\"-122.292153\",\"-122.292289\",\"-122.292309\",\"-122.292394\",\"-122.292415\"]},{\"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\"]}]}]}}", +"json": "{\"vector_layers\": [ { \"id\": \"macarthur\", \"description\": \"\", \"minzoom\": 5, \"maxzoom\": 11, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} }, { \"id\": \"tabblock_06001420\", \"description\": \"population\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Land area\", \"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\": 169,\"geometry\": \"LineString\",\"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\": 1484,\"geometry\": \"Polygon\",\"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,\"max\": 542505},{\"attribute\": \"AWATER10\",\"count\": 4,\"type\": \"number\",\"values\": [0,1111196,1632801,24],\"min\": 0,\"max\": 1632801},{\"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\": 257,\"type\": \"string\",\"values\": [\"+37.882724\",\"+37.882857\",\"+37.882965\",\"+37.883224\",\"+37.883323\",\"+37.883462\",\"+37.883465\",\"+37.883481\",\"+37.883493\",\"+37.883527\",\"+37.883536\",\"+37.883579\",\"+37.883655\",\"+37.883693\",\"+37.883707\",\"+37.883745\",\"+37.883836\",\"+37.883871\",\"+37.883875\",\"+37.883931\",\"+37.883973\",\"+37.883995\",\"+37.884009\",\"+37.884079\",\"+37.884198\",\"+37.884202\",\"+37.884338\",\"+37.884369\",\"+37.884436\",\"+37.884677\",\"+37.884743\",\"+37.884747\",\"+37.884757\",\"+37.884896\",\"+37.884902\",\"+37.884919\",\"+37.884942\",\"+37.885307\",\"+37.885308\",\"+37.885399\",\"+37.885448\",\"+37.885491\",\"+37.885644\",\"+37.885646\",\"+37.885673\",\"+37.885811\",\"+37.885827\",\"+37.885997\",\"+37.886159\",\"+37.886194\",\"+37.886197\",\"+37.886237\",\"+37.886278\",\"+37.886322\",\"+37.886339\",\"+37.886439\",\"+37.886460\",\"+37.886495\",\"+37.886587\",\"+37.886596\",\"+37.886608\",\"+37.886758\",\"+37.886830\",\"+37.886929\",\"+37.887099\",\"+37.887163\",\"+37.887238\",\"+37.887267\",\"+37.887324\",\"+37.887379\",\"+37.887412\",\"+37.887570\",\"+37.887764\",\"+37.887776\",\"+37.887789\",\"+37.887852\",\"+37.887885\",\"+37.887916\",\"+37.887945\",\"+37.888027\",\"+37.888122\",\"+37.888238\",\"+37.888325\",\"+37.888332\",\"+37.888340\",\"+37.888416\",\"+37.888418\",\"+37.888441\",\"+37.888458\",\"+37.888506\",\"+37.888511\",\"+37.888540\",\"+37.888616\",\"+37.888634\",\"+37.888734\",\"+37.888782\",\"+37.888823\",\"+37.888848\",\"+37.888859\",\"+37.888863\"]},{\"attribute\": \"INTPTLON10\",\"count\": 259,\"type\": \"string\",\"values\": [\"-122.282320\",\"-122.282371\",\"-122.282679\",\"-122.282689\",\"-122.282947\",\"-122.283067\",\"-122.283212\",\"-122.283424\",\"-122.283651\",\"-122.283723\",\"-122.283797\",\"-122.283828\",\"-122.283924\",\"-122.283973\",\"-122.284471\",\"-122.284571\",\"-122.284590\",\"-122.284831\",\"-122.285020\",\"-122.285076\",\"-122.285093\",\"-122.285175\",\"-122.285609\",\"-122.285651\",\"-122.285682\",\"-122.285901\",\"-122.285971\",\"-122.286179\",\"-122.286324\",\"-122.286349\",\"-122.286366\",\"-122.286615\",\"-122.286636\",\"-122.286818\",\"-122.286865\",\"-122.286913\",\"-122.287055\",\"-122.287082\",\"-122.287097\",\"-122.287125\",\"-122.287205\",\"-122.287275\",\"-122.287323\",\"-122.287379\",\"-122.287583\",\"-122.287591\",\"-122.287634\",\"-122.287747\",\"-122.287757\",\"-122.287836\",\"-122.287926\",\"-122.287969\",\"-122.288150\",\"-122.288221\",\"-122.288237\",\"-122.288313\",\"-122.288382\",\"-122.288473\",\"-122.288602\",\"-122.288628\",\"-122.288677\",\"-122.288696\",\"-122.288764\",\"-122.288787\",\"-122.288910\",\"-122.289020\",\"-122.289219\",\"-122.289471\",\"-122.289472\",\"-122.289530\",\"-122.289570\",\"-122.289573\",\"-122.289663\",\"-122.289764\",\"-122.289959\",\"-122.290117\",\"-122.290340\",\"-122.290441\",\"-122.290522\",\"-122.290573\",\"-122.290615\",\"-122.290964\",\"-122.290980\",\"-122.291137\",\"-122.291217\",\"-122.291315\",\"-122.291350\",\"-122.291391\",\"-122.291474\",\"-122.291484\",\"-122.291592\",\"-122.291817\",\"-122.291926\",\"-122.292014\",\"-122.292116\",\"-122.292153\",\"-122.292289\",\"-122.292309\",\"-122.292394\",\"-122.292415\"]},{\"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 2fa3b55..0bdfc09 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\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"macarthur\",\"count\": 169,\"geometry\": \"LineString\",\"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\": 1484,\"geometry\": \"Polygon\",\"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,\"max\": 542505},{\"attribute\": \"AWATER10\",\"count\": 4,\"type\": \"number\",\"values\": [0,1111196,1632801,24],\"min\": 0,\"max\": 1632801},{\"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\": 257,\"type\": \"string\",\"values\": [\"+37.882724\",\"+37.882857\",\"+37.882965\",\"+37.883224\",\"+37.883323\",\"+37.883462\",\"+37.883465\",\"+37.883481\",\"+37.883493\",\"+37.883527\",\"+37.883536\",\"+37.883579\",\"+37.883655\",\"+37.883693\",\"+37.883707\",\"+37.883745\",\"+37.883836\",\"+37.883871\",\"+37.883875\",\"+37.883931\",\"+37.883973\",\"+37.883995\",\"+37.884009\",\"+37.884079\",\"+37.884198\",\"+37.884202\",\"+37.884338\",\"+37.884369\",\"+37.884436\",\"+37.884677\",\"+37.884743\",\"+37.884747\",\"+37.884757\",\"+37.884896\",\"+37.884902\",\"+37.884919\",\"+37.884942\",\"+37.885307\",\"+37.885308\",\"+37.885399\",\"+37.885448\",\"+37.885491\",\"+37.885644\",\"+37.885646\",\"+37.885673\",\"+37.885811\",\"+37.885827\",\"+37.885997\",\"+37.886159\",\"+37.886194\",\"+37.886197\",\"+37.886237\",\"+37.886278\",\"+37.886322\",\"+37.886339\",\"+37.886439\",\"+37.886460\",\"+37.886495\",\"+37.886587\",\"+37.886596\",\"+37.886608\",\"+37.886758\",\"+37.886830\",\"+37.886929\",\"+37.887099\",\"+37.887163\",\"+37.887238\",\"+37.887267\",\"+37.887324\",\"+37.887379\",\"+37.887412\",\"+37.887570\",\"+37.887764\",\"+37.887776\",\"+37.887789\",\"+37.887852\",\"+37.887885\",\"+37.887916\",\"+37.887945\",\"+37.888027\",\"+37.888122\",\"+37.888238\",\"+37.888325\",\"+37.888332\",\"+37.888340\",\"+37.888416\",\"+37.888418\",\"+37.888441\",\"+37.888458\",\"+37.888506\",\"+37.888511\",\"+37.888540\",\"+37.888616\",\"+37.888634\",\"+37.888734\",\"+37.888782\",\"+37.888823\",\"+37.888848\",\"+37.888859\",\"+37.888863\"]},{\"attribute\": \"INTPTLON10\",\"count\": 259,\"type\": \"string\",\"values\": [\"-122.282320\",\"-122.282371\",\"-122.282679\",\"-122.282689\",\"-122.282947\",\"-122.283067\",\"-122.283212\",\"-122.283424\",\"-122.283651\",\"-122.283723\",\"-122.283797\",\"-122.283828\",\"-122.283924\",\"-122.283973\",\"-122.284471\",\"-122.284571\",\"-122.284590\",\"-122.284831\",\"-122.285020\",\"-122.285076\",\"-122.285093\",\"-122.285175\",\"-122.285609\",\"-122.285651\",\"-122.285682\",\"-122.285901\",\"-122.285971\",\"-122.286179\",\"-122.286324\",\"-122.286349\",\"-122.286366\",\"-122.286615\",\"-122.286636\",\"-122.286818\",\"-122.286865\",\"-122.286913\",\"-122.287055\",\"-122.287082\",\"-122.287097\",\"-122.287125\",\"-122.287205\",\"-122.287275\",\"-122.287323\",\"-122.287379\",\"-122.287583\",\"-122.287591\",\"-122.287634\",\"-122.287747\",\"-122.287757\",\"-122.287836\",\"-122.287926\",\"-122.287969\",\"-122.288150\",\"-122.288221\",\"-122.288237\",\"-122.288313\",\"-122.288382\",\"-122.288473\",\"-122.288602\",\"-122.288628\",\"-122.288677\",\"-122.288696\",\"-122.288764\",\"-122.288787\",\"-122.288910\",\"-122.289020\",\"-122.289219\",\"-122.289471\",\"-122.289472\",\"-122.289530\",\"-122.289570\",\"-122.289573\",\"-122.289663\",\"-122.289764\",\"-122.289959\",\"-122.290117\",\"-122.290340\",\"-122.290441\",\"-122.290522\",\"-122.290573\",\"-122.290615\",\"-122.290964\",\"-122.290980\",\"-122.291137\",\"-122.291217\",\"-122.291315\",\"-122.291350\",\"-122.291391\",\"-122.291474\",\"-122.291484\",\"-122.291592\",\"-122.291817\",\"-122.291926\",\"-122.292014\",\"-122.292116\",\"-122.292153\",\"-122.292289\",\"-122.292309\",\"-122.292394\",\"-122.292415\"]},{\"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\"]}]}]}}", +"json": "{\"vector_layers\": [ { \"id\": \"macarthur\", \"description\": \"\", \"minzoom\": 5, \"maxzoom\": 11, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} }, { \"id\": \"tabblock_06001420\", \"description\": \"population\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Land area\", \"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\": 169,\"geometry\": \"LineString\",\"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\": 1484,\"geometry\": \"Polygon\",\"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,\"max\": 542505},{\"attribute\": \"AWATER10\",\"count\": 4,\"type\": \"number\",\"values\": [0,1111196,1632801,24],\"min\": 0,\"max\": 1632801},{\"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\": 257,\"type\": \"string\",\"values\": [\"+37.882724\",\"+37.882857\",\"+37.882965\",\"+37.883224\",\"+37.883323\",\"+37.883462\",\"+37.883465\",\"+37.883481\",\"+37.883493\",\"+37.883527\",\"+37.883536\",\"+37.883579\",\"+37.883655\",\"+37.883693\",\"+37.883707\",\"+37.883745\",\"+37.883836\",\"+37.883871\",\"+37.883875\",\"+37.883931\",\"+37.883973\",\"+37.883995\",\"+37.884009\",\"+37.884079\",\"+37.884198\",\"+37.884202\",\"+37.884338\",\"+37.884369\",\"+37.884436\",\"+37.884677\",\"+37.884743\",\"+37.884747\",\"+37.884757\",\"+37.884896\",\"+37.884902\",\"+37.884919\",\"+37.884942\",\"+37.885307\",\"+37.885308\",\"+37.885399\",\"+37.885448\",\"+37.885491\",\"+37.885644\",\"+37.885646\",\"+37.885673\",\"+37.885811\",\"+37.885827\",\"+37.885997\",\"+37.886159\",\"+37.886194\",\"+37.886197\",\"+37.886237\",\"+37.886278\",\"+37.886322\",\"+37.886339\",\"+37.886439\",\"+37.886460\",\"+37.886495\",\"+37.886587\",\"+37.886596\",\"+37.886608\",\"+37.886758\",\"+37.886830\",\"+37.886929\",\"+37.887099\",\"+37.887163\",\"+37.887238\",\"+37.887267\",\"+37.887324\",\"+37.887379\",\"+37.887412\",\"+37.887570\",\"+37.887764\",\"+37.887776\",\"+37.887789\",\"+37.887852\",\"+37.887885\",\"+37.887916\",\"+37.887945\",\"+37.888027\",\"+37.888122\",\"+37.888238\",\"+37.888325\",\"+37.888332\",\"+37.888340\",\"+37.888416\",\"+37.888418\",\"+37.888441\",\"+37.888458\",\"+37.888506\",\"+37.888511\",\"+37.888540\",\"+37.888616\",\"+37.888634\",\"+37.888734\",\"+37.888782\",\"+37.888823\",\"+37.888848\",\"+37.888859\",\"+37.888863\"]},{\"attribute\": \"INTPTLON10\",\"count\": 259,\"type\": \"string\",\"values\": [\"-122.282320\",\"-122.282371\",\"-122.282679\",\"-122.282689\",\"-122.282947\",\"-122.283067\",\"-122.283212\",\"-122.283424\",\"-122.283651\",\"-122.283723\",\"-122.283797\",\"-122.283828\",\"-122.283924\",\"-122.283973\",\"-122.284471\",\"-122.284571\",\"-122.284590\",\"-122.284831\",\"-122.285020\",\"-122.285076\",\"-122.285093\",\"-122.285175\",\"-122.285609\",\"-122.285651\",\"-122.285682\",\"-122.285901\",\"-122.285971\",\"-122.286179\",\"-122.286324\",\"-122.286349\",\"-122.286366\",\"-122.286615\",\"-122.286636\",\"-122.286818\",\"-122.286865\",\"-122.286913\",\"-122.287055\",\"-122.287082\",\"-122.287097\",\"-122.287125\",\"-122.287205\",\"-122.287275\",\"-122.287323\",\"-122.287379\",\"-122.287583\",\"-122.287591\",\"-122.287634\",\"-122.287747\",\"-122.287757\",\"-122.287836\",\"-122.287926\",\"-122.287969\",\"-122.288150\",\"-122.288221\",\"-122.288237\",\"-122.288313\",\"-122.288382\",\"-122.288473\",\"-122.288602\",\"-122.288628\",\"-122.288677\",\"-122.288696\",\"-122.288764\",\"-122.288787\",\"-122.288910\",\"-122.289020\",\"-122.289219\",\"-122.289471\",\"-122.289472\",\"-122.289530\",\"-122.289570\",\"-122.289573\",\"-122.289663\",\"-122.289764\",\"-122.289959\",\"-122.290117\",\"-122.290340\",\"-122.290441\",\"-122.290522\",\"-122.290573\",\"-122.290615\",\"-122.290964\",\"-122.290980\",\"-122.291137\",\"-122.291217\",\"-122.291315\",\"-122.291350\",\"-122.291391\",\"-122.291474\",\"-122.291484\",\"-122.291592\",\"-122.291817\",\"-122.291926\",\"-122.292014\",\"-122.292116\",\"-122.292153\",\"-122.292289\",\"-122.292309\",\"-122.292394\",\"-122.292415\"]},{\"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 3970dda..c0ac35d 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\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"tabblock_06001420\",\"count\": 1484,\"geometry\": \"Polygon\",\"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,\"max\": 542505},{\"attribute\": \"AWATER10\",\"count\": 4,\"type\": \"number\",\"values\": [0,1111196,1632801,24],\"min\": 0,\"max\": 1632801},{\"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\": 257,\"type\": \"string\",\"values\": [\"+37.882724\",\"+37.882857\",\"+37.882965\",\"+37.883224\",\"+37.883323\",\"+37.883462\",\"+37.883465\",\"+37.883481\",\"+37.883493\",\"+37.883527\",\"+37.883536\",\"+37.883579\",\"+37.883655\",\"+37.883693\",\"+37.883707\",\"+37.883745\",\"+37.883836\",\"+37.883871\",\"+37.883875\",\"+37.883931\",\"+37.883973\",\"+37.883995\",\"+37.884009\",\"+37.884079\",\"+37.884198\",\"+37.884202\",\"+37.884338\",\"+37.884369\",\"+37.884436\",\"+37.884677\",\"+37.884743\",\"+37.884747\",\"+37.884757\",\"+37.884896\",\"+37.884902\",\"+37.884919\",\"+37.884942\",\"+37.885307\",\"+37.885308\",\"+37.885399\",\"+37.885448\",\"+37.885491\",\"+37.885644\",\"+37.885646\",\"+37.885673\",\"+37.885811\",\"+37.885827\",\"+37.885997\",\"+37.886159\",\"+37.886194\",\"+37.886197\",\"+37.886237\",\"+37.886278\",\"+37.886322\",\"+37.886339\",\"+37.886439\",\"+37.886460\",\"+37.886495\",\"+37.886587\",\"+37.886596\",\"+37.886608\",\"+37.886758\",\"+37.886830\",\"+37.886929\",\"+37.887099\",\"+37.887163\",\"+37.887238\",\"+37.887267\",\"+37.887324\",\"+37.887379\",\"+37.887412\",\"+37.887570\",\"+37.887764\",\"+37.887776\",\"+37.887789\",\"+37.887852\",\"+37.887885\",\"+37.887916\",\"+37.887945\",\"+37.888027\",\"+37.888122\",\"+37.888238\",\"+37.888325\",\"+37.888332\",\"+37.888340\",\"+37.888416\",\"+37.888418\",\"+37.888441\",\"+37.888458\",\"+37.888506\",\"+37.888511\",\"+37.888540\",\"+37.888616\",\"+37.888634\",\"+37.888734\",\"+37.888782\",\"+37.888823\",\"+37.888848\",\"+37.888859\",\"+37.888863\"]},{\"attribute\": \"INTPTLON10\",\"count\": 259,\"type\": \"string\",\"values\": [\"-122.282320\",\"-122.282371\",\"-122.282679\",\"-122.282689\",\"-122.282947\",\"-122.283067\",\"-122.283212\",\"-122.283424\",\"-122.283651\",\"-122.283723\",\"-122.283797\",\"-122.283828\",\"-122.283924\",\"-122.283973\",\"-122.284471\",\"-122.284571\",\"-122.284590\",\"-122.284831\",\"-122.285020\",\"-122.285076\",\"-122.285093\",\"-122.285175\",\"-122.285609\",\"-122.285651\",\"-122.285682\",\"-122.285901\",\"-122.285971\",\"-122.286179\",\"-122.286324\",\"-122.286349\",\"-122.286366\",\"-122.286615\",\"-122.286636\",\"-122.286818\",\"-122.286865\",\"-122.286913\",\"-122.287055\",\"-122.287082\",\"-122.287097\",\"-122.287125\",\"-122.287205\",\"-122.287275\",\"-122.287323\",\"-122.287379\",\"-122.287583\",\"-122.287591\",\"-122.287634\",\"-122.287747\",\"-122.287757\",\"-122.287836\",\"-122.287926\",\"-122.287969\",\"-122.288150\",\"-122.288221\",\"-122.288237\",\"-122.288313\",\"-122.288382\",\"-122.288473\",\"-122.288602\",\"-122.288628\",\"-122.288677\",\"-122.288696\",\"-122.288764\",\"-122.288787\",\"-122.288910\",\"-122.289020\",\"-122.289219\",\"-122.289471\",\"-122.289472\",\"-122.289530\",\"-122.289570\",\"-122.289573\",\"-122.289663\",\"-122.289764\",\"-122.289959\",\"-122.290117\",\"-122.290340\",\"-122.290441\",\"-122.290522\",\"-122.290573\",\"-122.290615\",\"-122.290964\",\"-122.290980\",\"-122.291137\",\"-122.291217\",\"-122.291315\",\"-122.291350\",\"-122.291391\",\"-122.291474\",\"-122.291484\",\"-122.291592\",\"-122.291817\",\"-122.291926\",\"-122.292014\",\"-122.292116\",\"-122.292153\",\"-122.292289\",\"-122.292309\",\"-122.292394\",\"-122.292415\"]},{\"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\"]}]}]}}", +"json": "{\"vector_layers\": [ { \"id\": \"tabblock_06001420\", \"description\": \"population\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Land area\", \"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\": 1484,\"geometry\": \"Polygon\",\"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,\"max\": 542505},{\"attribute\": \"AWATER10\",\"count\": 4,\"type\": \"number\",\"values\": [0,1111196,1632801,24],\"min\": 0,\"max\": 1632801},{\"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\": 257,\"type\": \"string\",\"values\": [\"+37.882724\",\"+37.882857\",\"+37.882965\",\"+37.883224\",\"+37.883323\",\"+37.883462\",\"+37.883465\",\"+37.883481\",\"+37.883493\",\"+37.883527\",\"+37.883536\",\"+37.883579\",\"+37.883655\",\"+37.883693\",\"+37.883707\",\"+37.883745\",\"+37.883836\",\"+37.883871\",\"+37.883875\",\"+37.883931\",\"+37.883973\",\"+37.883995\",\"+37.884009\",\"+37.884079\",\"+37.884198\",\"+37.884202\",\"+37.884338\",\"+37.884369\",\"+37.884436\",\"+37.884677\",\"+37.884743\",\"+37.884747\",\"+37.884757\",\"+37.884896\",\"+37.884902\",\"+37.884919\",\"+37.884942\",\"+37.885307\",\"+37.885308\",\"+37.885399\",\"+37.885448\",\"+37.885491\",\"+37.885644\",\"+37.885646\",\"+37.885673\",\"+37.885811\",\"+37.885827\",\"+37.885997\",\"+37.886159\",\"+37.886194\",\"+37.886197\",\"+37.886237\",\"+37.886278\",\"+37.886322\",\"+37.886339\",\"+37.886439\",\"+37.886460\",\"+37.886495\",\"+37.886587\",\"+37.886596\",\"+37.886608\",\"+37.886758\",\"+37.886830\",\"+37.886929\",\"+37.887099\",\"+37.887163\",\"+37.887238\",\"+37.887267\",\"+37.887324\",\"+37.887379\",\"+37.887412\",\"+37.887570\",\"+37.887764\",\"+37.887776\",\"+37.887789\",\"+37.887852\",\"+37.887885\",\"+37.887916\",\"+37.887945\",\"+37.888027\",\"+37.888122\",\"+37.888238\",\"+37.888325\",\"+37.888332\",\"+37.888340\",\"+37.888416\",\"+37.888418\",\"+37.888441\",\"+37.888458\",\"+37.888506\",\"+37.888511\",\"+37.888540\",\"+37.888616\",\"+37.888634\",\"+37.888734\",\"+37.888782\",\"+37.888823\",\"+37.888848\",\"+37.888859\",\"+37.888863\"]},{\"attribute\": \"INTPTLON10\",\"count\": 259,\"type\": \"string\",\"values\": [\"-122.282320\",\"-122.282371\",\"-122.282679\",\"-122.282689\",\"-122.282947\",\"-122.283067\",\"-122.283212\",\"-122.283424\",\"-122.283651\",\"-122.283723\",\"-122.283797\",\"-122.283828\",\"-122.283924\",\"-122.283973\",\"-122.284471\",\"-122.284571\",\"-122.284590\",\"-122.284831\",\"-122.285020\",\"-122.285076\",\"-122.285093\",\"-122.285175\",\"-122.285609\",\"-122.285651\",\"-122.285682\",\"-122.285901\",\"-122.285971\",\"-122.286179\",\"-122.286324\",\"-122.286349\",\"-122.286366\",\"-122.286615\",\"-122.286636\",\"-122.286818\",\"-122.286865\",\"-122.286913\",\"-122.287055\",\"-122.287082\",\"-122.287097\",\"-122.287125\",\"-122.287205\",\"-122.287275\",\"-122.287323\",\"-122.287379\",\"-122.287583\",\"-122.287591\",\"-122.287634\",\"-122.287747\",\"-122.287757\",\"-122.287836\",\"-122.287926\",\"-122.287969\",\"-122.288150\",\"-122.288221\",\"-122.288237\",\"-122.288313\",\"-122.288382\",\"-122.288473\",\"-122.288602\",\"-122.288628\",\"-122.288677\",\"-122.288696\",\"-122.288764\",\"-122.288787\",\"-122.288910\",\"-122.289020\",\"-122.289219\",\"-122.289471\",\"-122.289472\",\"-122.289530\",\"-122.289570\",\"-122.289573\",\"-122.289663\",\"-122.289764\",\"-122.289959\",\"-122.290117\",\"-122.290340\",\"-122.290441\",\"-122.290522\",\"-122.290573\",\"-122.290615\",\"-122.290964\",\"-122.290980\",\"-122.291137\",\"-122.291217\",\"-122.291315\",\"-122.291350\",\"-122.291391\",\"-122.291474\",\"-122.291484\",\"-122.291592\",\"-122.291817\",\"-122.291926\",\"-122.292014\",\"-122.292116\",\"-122.292153\",\"-122.292289\",\"-122.292309\",\"-122.292394\",\"-122.292415\"]},{\"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/population.csv b/tests/join-population/population.csv index 993b68b..b1d9a6f 100644 --- a/tests/join-population/population.csv +++ b/tests/join-population/population.csv @@ -160,4 +160,4 @@ GEOID10, population "060014206003014",66 "060014206003015",15 "060014206003017",12 -"060014206003018",32 +"060014206003018", diff --git a/tests/join-population/raw-merged-folder-compare/metadata.json b/tests/join-population/raw-merged-folder-compare/metadata.json index e940e08..6f6ebe8 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\"} } ],\"tilestats\": {\"layerCount\": 2,\"layers\": [{\"layer\": \"macarthur\",\"count\": 169,\"geometry\": \"LineString\",\"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\": 1484,\"geometry\": \"Polygon\",\"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,\"max\": 542505},{\"attribute\": \"AWATER10\",\"count\": 4,\"type\": \"number\",\"values\": [0,1111196,1632801,24],\"min\": 0,\"max\": 1632801},{\"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\": 257,\"type\": \"string\",\"values\": [\"+37.882724\",\"+37.882857\",\"+37.882965\",\"+37.883224\",\"+37.883323\",\"+37.883462\",\"+37.883465\",\"+37.883481\",\"+37.883493\",\"+37.883527\",\"+37.883536\",\"+37.883579\",\"+37.883655\",\"+37.883693\",\"+37.883707\",\"+37.883745\",\"+37.883836\",\"+37.883871\",\"+37.883875\",\"+37.883931\",\"+37.883973\",\"+37.883995\",\"+37.884009\",\"+37.884079\",\"+37.884198\",\"+37.884202\",\"+37.884338\",\"+37.884369\",\"+37.884436\",\"+37.884677\",\"+37.884743\",\"+37.884747\",\"+37.884757\",\"+37.884896\",\"+37.884902\",\"+37.884919\",\"+37.884942\",\"+37.885307\",\"+37.885308\",\"+37.885399\",\"+37.885448\",\"+37.885491\",\"+37.885644\",\"+37.885646\",\"+37.885673\",\"+37.885811\",\"+37.885827\",\"+37.885997\",\"+37.886159\",\"+37.886194\",\"+37.886197\",\"+37.886237\",\"+37.886278\",\"+37.886322\",\"+37.886339\",\"+37.886439\",\"+37.886460\",\"+37.886495\",\"+37.886587\",\"+37.886596\",\"+37.886608\",\"+37.886758\",\"+37.886830\",\"+37.886929\",\"+37.887099\",\"+37.887163\",\"+37.887238\",\"+37.887267\",\"+37.887324\",\"+37.887379\",\"+37.887412\",\"+37.887570\",\"+37.887764\",\"+37.887776\",\"+37.887789\",\"+37.887852\",\"+37.887885\",\"+37.887916\",\"+37.887945\",\"+37.888027\",\"+37.888122\",\"+37.888238\",\"+37.888325\",\"+37.888332\",\"+37.888340\",\"+37.888416\",\"+37.888418\",\"+37.888441\",\"+37.888458\",\"+37.888506\",\"+37.888511\",\"+37.888540\",\"+37.888616\",\"+37.888634\",\"+37.888734\",\"+37.888782\",\"+37.888823\",\"+37.888848\",\"+37.888859\",\"+37.888863\"]},{\"attribute\": \"INTPTLON10\",\"count\": 259,\"type\": \"string\",\"values\": [\"-122.282320\",\"-122.282371\",\"-122.282679\",\"-122.282689\",\"-122.282947\",\"-122.283067\",\"-122.283212\",\"-122.283424\",\"-122.283651\",\"-122.283723\",\"-122.283797\",\"-122.283828\",\"-122.283924\",\"-122.283973\",\"-122.284471\",\"-122.284571\",\"-122.284590\",\"-122.284831\",\"-122.285020\",\"-122.285076\",\"-122.285093\",\"-122.285175\",\"-122.285609\",\"-122.285651\",\"-122.285682\",\"-122.285901\",\"-122.285971\",\"-122.286179\",\"-122.286324\",\"-122.286349\",\"-122.286366\",\"-122.286615\",\"-122.286636\",\"-122.286818\",\"-122.286865\",\"-122.286913\",\"-122.287055\",\"-122.287082\",\"-122.287097\",\"-122.287125\",\"-122.287205\",\"-122.287275\",\"-122.287323\",\"-122.287379\",\"-122.287583\",\"-122.287591\",\"-122.287634\",\"-122.287747\",\"-122.287757\",\"-122.287836\",\"-122.287926\",\"-122.287969\",\"-122.288150\",\"-122.288221\",\"-122.288237\",\"-122.288313\",\"-122.288382\",\"-122.288473\",\"-122.288602\",\"-122.288628\",\"-122.288677\",\"-122.288696\",\"-122.288764\",\"-122.288787\",\"-122.288910\",\"-122.289020\",\"-122.289219\",\"-122.289471\",\"-122.289472\",\"-122.289530\",\"-122.289570\",\"-122.289573\",\"-122.289663\",\"-122.289764\",\"-122.289959\",\"-122.290117\",\"-122.290340\",\"-122.290441\",\"-122.290522\",\"-122.290573\",\"-122.290615\",\"-122.290964\",\"-122.290980\",\"-122.291137\",\"-122.291217\",\"-122.291315\",\"-122.291350\",\"-122.291391\",\"-122.291474\",\"-122.291484\",\"-122.291592\",\"-122.291817\",\"-122.291926\",\"-122.292014\",\"-122.292116\",\"-122.292153\",\"-122.292289\",\"-122.292309\",\"-122.292394\",\"-122.292415\"]},{\"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\"]}]}]}}" +"json": "{\"vector_layers\": [ { \"id\": \"macarthur\", \"description\": \"\", \"minzoom\": 5, \"maxzoom\": 11, \"fields\": {\"FULLNAME\": \"String\", \"LINEARID\": \"String\", \"MTFCC\": \"String\", \"RTTYP\": \"String\"} }, { \"id\": \"tabblock_06001420\", \"description\": \"population\", \"minzoom\": 3, \"maxzoom\": 12, \"fields\": {\"ALAND10\": \"Land area\", \"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\": 169,\"geometry\": \"LineString\",\"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\": 1484,\"geometry\": \"Polygon\",\"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,\"max\": 542505},{\"attribute\": \"AWATER10\",\"count\": 4,\"type\": \"number\",\"values\": [0,1111196,1632801,24],\"min\": 0,\"max\": 1632801},{\"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\": 257,\"type\": \"string\",\"values\": [\"+37.882724\",\"+37.882857\",\"+37.882965\",\"+37.883224\",\"+37.883323\",\"+37.883462\",\"+37.883465\",\"+37.883481\",\"+37.883493\",\"+37.883527\",\"+37.883536\",\"+37.883579\",\"+37.883655\",\"+37.883693\",\"+37.883707\",\"+37.883745\",\"+37.883836\",\"+37.883871\",\"+37.883875\",\"+37.883931\",\"+37.883973\",\"+37.883995\",\"+37.884009\",\"+37.884079\",\"+37.884198\",\"+37.884202\",\"+37.884338\",\"+37.884369\",\"+37.884436\",\"+37.884677\",\"+37.884743\",\"+37.884747\",\"+37.884757\",\"+37.884896\",\"+37.884902\",\"+37.884919\",\"+37.884942\",\"+37.885307\",\"+37.885308\",\"+37.885399\",\"+37.885448\",\"+37.885491\",\"+37.885644\",\"+37.885646\",\"+37.885673\",\"+37.885811\",\"+37.885827\",\"+37.885997\",\"+37.886159\",\"+37.886194\",\"+37.886197\",\"+37.886237\",\"+37.886278\",\"+37.886322\",\"+37.886339\",\"+37.886439\",\"+37.886460\",\"+37.886495\",\"+37.886587\",\"+37.886596\",\"+37.886608\",\"+37.886758\",\"+37.886830\",\"+37.886929\",\"+37.887099\",\"+37.887163\",\"+37.887238\",\"+37.887267\",\"+37.887324\",\"+37.887379\",\"+37.887412\",\"+37.887570\",\"+37.887764\",\"+37.887776\",\"+37.887789\",\"+37.887852\",\"+37.887885\",\"+37.887916\",\"+37.887945\",\"+37.888027\",\"+37.888122\",\"+37.888238\",\"+37.888325\",\"+37.888332\",\"+37.888340\",\"+37.888416\",\"+37.888418\",\"+37.888441\",\"+37.888458\",\"+37.888506\",\"+37.888511\",\"+37.888540\",\"+37.888616\",\"+37.888634\",\"+37.888734\",\"+37.888782\",\"+37.888823\",\"+37.888848\",\"+37.888859\",\"+37.888863\"]},{\"attribute\": \"INTPTLON10\",\"count\": 259,\"type\": \"string\",\"values\": [\"-122.282320\",\"-122.282371\",\"-122.282679\",\"-122.282689\",\"-122.282947\",\"-122.283067\",\"-122.283212\",\"-122.283424\",\"-122.283651\",\"-122.283723\",\"-122.283797\",\"-122.283828\",\"-122.283924\",\"-122.283973\",\"-122.284471\",\"-122.284571\",\"-122.284590\",\"-122.284831\",\"-122.285020\",\"-122.285076\",\"-122.285093\",\"-122.285175\",\"-122.285609\",\"-122.285651\",\"-122.285682\",\"-122.285901\",\"-122.285971\",\"-122.286179\",\"-122.286324\",\"-122.286349\",\"-122.286366\",\"-122.286615\",\"-122.286636\",\"-122.286818\",\"-122.286865\",\"-122.286913\",\"-122.287055\",\"-122.287082\",\"-122.287097\",\"-122.287125\",\"-122.287205\",\"-122.287275\",\"-122.287323\",\"-122.287379\",\"-122.287583\",\"-122.287591\",\"-122.287634\",\"-122.287747\",\"-122.287757\",\"-122.287836\",\"-122.287926\",\"-122.287969\",\"-122.288150\",\"-122.288221\",\"-122.288237\",\"-122.288313\",\"-122.288382\",\"-122.288473\",\"-122.288602\",\"-122.288628\",\"-122.288677\",\"-122.288696\",\"-122.288764\",\"-122.288787\",\"-122.288910\",\"-122.289020\",\"-122.289219\",\"-122.289471\",\"-122.289472\",\"-122.289530\",\"-122.289570\",\"-122.289573\",\"-122.289663\",\"-122.289764\",\"-122.289959\",\"-122.290117\",\"-122.290340\",\"-122.290441\",\"-122.290522\",\"-122.290573\",\"-122.290615\",\"-122.290964\",\"-122.290980\",\"-122.291137\",\"-122.291217\",\"-122.291315\",\"-122.291350\",\"-122.291391\",\"-122.291474\",\"-122.291484\",\"-122.291592\",\"-122.291817\",\"-122.291926\",\"-122.292014\",\"-122.292116\",\"-122.292153\",\"-122.292289\",\"-122.292309\",\"-122.292394\",\"-122.292415\"]},{\"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/tabblock_06001420.json.sort.joined.standard b/tests/join-population/tabblock_06001420.json.sort.joined.standard index faac351..7ef7acd 100644 --- a/tests/join-population/tabblock_06001420.json.sort.joined.standard +++ b/tests/join-population/tabblock_06001420.json.sort.joined.standard @@ -257,4 +257,4 @@ {"type":"Feature","properties":{"STATEFP10":"06","COUNTYFP10":"001","TRACTCE10":"420600","BLOCKCE10":"3015","GEOID10":"060014206003015","NAME10":"Block 3015","MTFCC10":"G5040","UR10":"U","UACE10":"78904","UATYP10":"U","FUNCSTAT10":"S","ALAND10":10776.000000,"AWATER10":0.000000,"INTPTLAT10":"+37.886322","INTPTLON10":"-122.291817","population":15},"geometry":{"type":"Polygon","coordinates":[[[-122.292106,37.887778],[-122.29117,37.884974],[-122.291516,37.884897],[-122.291677,37.885275],[-122.291733,37.885447],[-122.292038,37.886378],[-122.292198,37.886874],[-122.292278,37.887138],[-122.29245,37.887705],[-122.292381,37.887719],[-122.292174,37.887763],[-122.292106,37.887778]]]}} {"type":"Feature","properties":{"STATEFP10":"06","COUNTYFP10":"001","TRACTCE10":"420600","BLOCKCE10":"3016","GEOID10":"060014206003016","NAME10":"Block 3016","MTFCC10":"G5040","UR10":"U","UACE10":"78904","UATYP10":"U","FUNCSTAT10":"S","ALAND10":253.000000,"AWATER10":0.000000,"INTPTLAT10":"+37.887776","INTPTLON10":"-122.292289"},"geometry":{"type":"Polygon","coordinates":[[[-122.292473,37.887775],[-122.292129,37.887848],[-122.292106,37.887778],[-122.292174,37.887763],[-122.292381,37.887719],[-122.29245,37.887705],[-122.292473,37.887775]]]}} {"type":"Feature","properties":{"STATEFP10":"06","COUNTYFP10":"001","TRACTCE10":"420600","BLOCKCE10":"3017","GEOID10":"060014206003017","NAME10":"Block 3017","MTFCC10":"G5040","UR10":"U","UACE10":"78904","UATYP10":"U","FUNCSTAT10":"S","ALAND10":6343.000000,"AWATER10":0.000000,"INTPTLAT10":"+37.884079","INTPTLON10":"-122.290980","population":12},"geometry":{"type":"Polygon","coordinates":[[[-122.29117,37.884974],[-122.291107,37.884764],[-122.290933,37.884357],[-122.290817,37.88414],[-122.290383,37.883205],[-122.290831,37.883311],[-122.291152,37.883996],[-122.291358,37.884474],[-122.291516,37.884897],[-122.29117,37.884974]]]}} -{"type":"Feature","properties":{"STATEFP10":"06","COUNTYFP10":"001","TRACTCE10":"420600","BLOCKCE10":"3018","GEOID10":"060014206003018","NAME10":"Block 3018","MTFCC10":"G5040","UR10":"U","UACE10":"78904","UATYP10":"U","FUNCSTAT10":"S","ALAND10":14557.000000,"AWATER10":0.000000,"INTPTLAT10":"+37.884369","INTPTLON10":"-122.290441","population":32},"geometry":{"type":"Polygon","coordinates":[[[-122.290383,37.883205],[-122.290817,37.88414],[-122.290933,37.884357],[-122.291107,37.884764],[-122.29117,37.884974],[-122.290166,37.885213],[-122.290031,37.884888],[-122.289845,37.884492],[-122.290151,37.883572],[-122.290231,37.883308],[-122.29028,37.883025],[-122.290283,37.883037],[-122.290316,37.883189],[-122.290383,37.883205]]]}} +{"type":"Feature","properties":{"STATEFP10":"06","COUNTYFP10":"001","TRACTCE10":"420600","BLOCKCE10":"3018","GEOID10":"060014206003018","NAME10":"Block 3018","MTFCC10":"G5040","UR10":"U","UACE10":"78904","UATYP10":"U","FUNCSTAT10":"S","ALAND10":14557.000000,"AWATER10":0.000000,"INTPTLAT10":"+37.884369","INTPTLON10":"-122.290441","population":""},"geometry":{"type":"Polygon","coordinates":[[[-122.290383,37.883205],[-122.290817,37.88414],[-122.290933,37.884357],[-122.291107,37.884764],[-122.29117,37.884974],[-122.290166,37.885213],[-122.290031,37.884888],[-122.289845,37.884492],[-122.290151,37.883572],[-122.290231,37.883308],[-122.29028,37.883025],[-122.290283,37.883037],[-122.290316,37.883189],[-122.290383,37.883205]]]}} diff --git a/tests/layer-json/out.mbtiles.json b/tests/layer-json/out.mbtiles.json new file mode 100644 index 0000000..3a978b7 --- /dev/null +++ b/tests/layer-json/out.mbtiles.json @@ -0,0 +1,502 @@ +{ "type": "FeatureCollection", "properties": { +"bounds": "-175.220564,-41.299973,179.216647,64.150023", +"center": "0.000000,0.000000,0", +"description": "tests/layer-json/out.mbtiles", +"format": "pbf", +"json": "{\"vector_layers\": [ { \"id\": \"places\", \"description\": \"World cities\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"NAME\": \"String\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"places\",\"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": "0", +"minzoom": "0", +"name": "tests/layer-json/out.mbtiles", +"type": "overlay", +"version": "2" +}, "features": [ +{ "type": "FeatureCollection", "properties": { "zoom": 0, "x": 0, "y": 0 }, "features": [ +{ "type": "FeatureCollection", "properties": { "layer": "places", "version": 2, "extent": 4096 }, "features": [ +{ "type": "Feature", "properties": { "NAME": "Vancouver" }, "geometry": { "type": "Point", "coordinates": [ -123.134766, 49.325122 ] } } +, +{ "type": "Feature", "properties": { "NAME": "San Francisco" }, "geometry": { "type": "Point", "coordinates": [ -122.431641, 37.788081 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Los Angeles" }, "geometry": { "type": "Point", "coordinates": [ -118.212891, 34.016242 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Denver" }, "geometry": { "type": "Point", "coordinates": [ -105.029297, 39.774769 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Monterrey" }, "geometry": { "type": "Point", "coordinates": [ -100.371094, 25.720735 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Houston" }, "geometry": { "type": "Point", "coordinates": [ -95.361328, 29.840644 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Mexico City" }, "geometry": { "type": "Point", "coordinates": [ -99.140625, 19.476950 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Guatemala" }, "geometry": { "type": "Point", "coordinates": [ -90.615234, 14.689881 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Chicago" }, "geometry": { "type": "Point", "coordinates": [ -87.802734, 41.836828 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Toronto" }, "geometry": { "type": "Point", "coordinates": [ -79.453125, 43.707594 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Ottawa" }, "geometry": { "type": "Point", "coordinates": [ -75.761719, 45.460131 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Atlanta" }, "geometry": { "type": "Point", "coordinates": [ -84.462891, 33.870416 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Havana" }, "geometry": { "type": "Point", "coordinates": [ -82.441406, 23.160563 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Miami" }, "geometry": { "type": "Point", "coordinates": [ -80.244141, 25.799891 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Washington, D.C." }, "geometry": { "type": "Point", "coordinates": [ -77.080078, 38.959409 ] } } +, +{ "type": "Feature", "properties": { "NAME": "New York" }, "geometry": { "type": "Point", "coordinates": [ -74.003906, 40.780541 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Nassau" }, "geometry": { "type": "Point", "coordinates": [ -77.431641, 25.085599 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Belmopan" }, "geometry": { "type": "Point", "coordinates": [ -88.769531, 17.308688 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tegucigalpa" }, "geometry": { "type": "Point", "coordinates": [ -87.275391, 14.179186 ] } } +, +{ "type": "Feature", "properties": { "NAME": "San Salvador" }, "geometry": { "type": "Point", "coordinates": [ -89.208984, 13.752725 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Managua" }, "geometry": { "type": "Point", "coordinates": [ -86.308594, 12.211180 ] } } +, +{ "type": "Feature", "properties": { "NAME": "San Jose" }, "geometry": { "type": "Point", "coordinates": [ -84.111328, 9.968851 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Panama City" }, "geometry": { "type": "Point", "coordinates": [ -79.541016, 9.015302 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kingston" }, "geometry": { "type": "Point", "coordinates": [ -76.816406, 17.978733 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Port-au-Prince" }, "geometry": { "type": "Point", "coordinates": [ -72.421875, 18.562947 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Santo Domingo" }, "geometry": { "type": "Point", "coordinates": [ -69.960938, 18.479609 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bogota" }, "geometry": { "type": "Point", "coordinates": [ -74.091797, 4.653080 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Basseterre" }, "geometry": { "type": "Point", "coordinates": [ -62.753906, 17.308688 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Saint John's" }, "geometry": { "type": "Point", "coordinates": [ -61.875000, 17.140790 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Roseau" }, "geometry": { "type": "Point", "coordinates": [ -61.435547, 15.368950 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Castries" }, "geometry": { "type": "Point", "coordinates": [ -61.083984, 14.008696 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kingstown" }, "geometry": { "type": "Point", "coordinates": [ -61.259766, 13.154376 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Saint George's" }, "geometry": { "type": "Point", "coordinates": [ -61.787109, 12.125264 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bridgetown" }, "geometry": { "type": "Point", "coordinates": [ -59.677734, 13.154376 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Caracas" }, "geometry": { "type": "Point", "coordinates": [ -66.972656, 10.574222 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Port-of-Spain" }, "geometry": { "type": "Point", "coordinates": [ -61.523438, 10.660608 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Georgetown" }, "geometry": { "type": "Point", "coordinates": [ -58.183594, 6.839170 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Paramaribo" }, "geometry": { "type": "Point", "coordinates": [ -55.195312, 5.878332 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Reykjavík" }, "geometry": { "type": "Point", "coordinates": [ -21.972656, 64.168107 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Dublin" }, "geometry": { "type": "Point", "coordinates": [ -6.328125, 53.383328 ] } } +, +{ "type": "Feature", "properties": { "NAME": "London" }, "geometry": { "type": "Point", "coordinates": [ -0.175781, 51.508742 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Praia" }, "geometry": { "type": "Point", "coordinates": [ -23.554688, 14.944785 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Laayoune" }, "geometry": { "type": "Point", "coordinates": [ -13.271484, 27.215556 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Lisbon" }, "geometry": { "type": "Point", "coordinates": [ -9.228516, 38.754083 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Casablanca" }, "geometry": { "type": "Point", "coordinates": [ -7.646484, 33.651208 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Rabat" }, "geometry": { "type": "Point", "coordinates": [ -6.855469, 34.089061 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Madrid" }, "geometry": { "type": "Point", "coordinates": [ -3.691406, 40.446947 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bir Lehlou" }, "geometry": { "type": "Point", "coordinates": [ -9.667969, 26.194877 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Dakar" }, "geometry": { "type": "Point", "coordinates": [ -17.490234, 14.774883 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Nouakchott" }, "geometry": { "type": "Point", "coordinates": [ -15.996094, 18.145852 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Banjul" }, "geometry": { "type": "Point", "coordinates": [ -16.611328, 13.496473 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bissau" }, "geometry": { "type": "Point", "coordinates": [ -15.644531, 11.867351 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Conakry" }, "geometry": { "type": "Point", "coordinates": [ -13.710938, 9.535749 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Freetown" }, "geometry": { "type": "Point", "coordinates": [ -13.271484, 8.494105 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bamako" }, "geometry": { "type": "Point", "coordinates": [ -8.085938, 12.726084 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Ouagadougou" }, "geometry": { "type": "Point", "coordinates": [ -1.582031, 12.382928 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Monrovia" }, "geometry": { "type": "Point", "coordinates": [ -10.810547, 6.315299 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Yamoussoukro" }, "geometry": { "type": "Point", "coordinates": [ -5.361328, 6.839170 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Abidjan" }, "geometry": { "type": "Point", "coordinates": [ -4.042969, 5.353521 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Accra" }, "geometry": { "type": "Point", "coordinates": [ -0.263672, 5.615986 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Nukualofa" }, "geometry": { "type": "Point", "coordinates": [ -175.253906, -21.125498 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Apia" }, "geometry": { "type": "Point", "coordinates": [ -171.826172, -13.838080 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Quito" }, "geometry": { "type": "Point", "coordinates": [ -78.574219, -0.175781 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Lima" }, "geometry": { "type": "Point", "coordinates": [ -77.080078, -12.039321 ] } } +, +{ "type": "Feature", "properties": { "NAME": "La Paz" }, "geometry": { "type": "Point", "coordinates": [ -68.203125, -16.467695 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Valparaiso" }, "geometry": { "type": "Point", "coordinates": [ -71.630859, -32.990236 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Santiago" }, "geometry": { "type": "Point", "coordinates": [ -70.751953, -33.431441 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Sucre" }, "geometry": { "type": "Point", "coordinates": [ -65.302734, -18.979026 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Brasilia" }, "geometry": { "type": "Point", "coordinates": [ -47.988281, -15.707663 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Asuncion" }, "geometry": { "type": "Point", "coordinates": [ -57.656250, -25.244696 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Buenos Aires" }, "geometry": { "type": "Point", "coordinates": [ -58.447266, -34.597042 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Sao Paulo" }, "geometry": { "type": "Point", "coordinates": [ -46.669922, -23.483401 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Montevideo" }, "geometry": { "type": "Point", "coordinates": [ -56.250000, -34.813803 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Rio de Janeiro" }, "geometry": { "type": "Point", "coordinates": [ -43.242188, -22.917923 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Oslo" }, "geometry": { "type": "Point", "coordinates": [ 10.722656, 59.933000 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Stockholm" }, "geometry": { "type": "Point", "coordinates": [ 18.017578, 59.355596 ] } } +, +{ "type": "Feature", "properties": { "NAME": "The Hague" }, "geometry": { "type": "Point", "coordinates": [ 4.218750, 52.106505 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Amsterdam" }, "geometry": { "type": "Point", "coordinates": [ 4.833984, 52.375599 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Brussels" }, "geometry": { "type": "Point", "coordinates": [ 4.306641, 50.847573 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Luxembourg" }, "geometry": { "type": "Point", "coordinates": [ 6.064453, 49.667628 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Paris" }, "geometry": { "type": "Point", "coordinates": [ 2.285156, 48.922499 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Andorra" }, "geometry": { "type": "Point", "coordinates": [ 1.494141, 42.553080 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Geneva" }, "geometry": { "type": "Point", "coordinates": [ 6.064453, 46.255847 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bern" }, "geometry": { "type": "Point", "coordinates": [ 7.382812, 46.920255 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Vaduz" }, "geometry": { "type": "Point", "coordinates": [ 9.492188, 47.159840 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Monaco" }, "geometry": { "type": "Point", "coordinates": [ 7.382812, 43.771094 ] } } +, +{ "type": "Feature", "properties": { "NAME": "København" }, "geometry": { "type": "Point", "coordinates": [ 12.480469, 55.727110 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Berlin" }, "geometry": { "type": "Point", "coordinates": [ 13.359375, 52.536273 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Prague" }, "geometry": { "type": "Point", "coordinates": [ 14.414062, 50.120578 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Warsaw" }, "geometry": { "type": "Point", "coordinates": [ 20.917969, 52.268157 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Vienna" }, "geometry": { "type": "Point", "coordinates": [ 16.347656, 48.224673 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Ljubljana" }, "geometry": { "type": "Point", "coordinates": [ 14.501953, 46.073231 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Zagreb" }, "geometry": { "type": "Point", "coordinates": [ 15.996094, 45.828799 ] } } +, +{ "type": "Feature", "properties": { "NAME": "San Marino" }, "geometry": { "type": "Point", "coordinates": [ 12.392578, 43.961191 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Vatican City" }, "geometry": { "type": "Point", "coordinates": [ 12.392578, 41.967659 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Rome" }, "geometry": { "type": "Point", "coordinates": [ 12.480469, 41.902277 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bratislava" }, "geometry": { "type": "Point", "coordinates": [ 17.050781, 48.166085 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Budapest" }, "geometry": { "type": "Point", "coordinates": [ 19.072266, 47.517201 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Sarajevo" }, "geometry": { "type": "Point", "coordinates": [ 18.369141, 43.897892 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Podgorica" }, "geometry": { "type": "Point", "coordinates": [ 19.248047, 42.488302 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Belgrade" }, "geometry": { "type": "Point", "coordinates": [ 20.390625, 44.840291 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tirana" }, "geometry": { "type": "Point", "coordinates": [ 19.775391, 41.376809 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Pristina" }, "geometry": { "type": "Point", "coordinates": [ 21.093750, 42.682435 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Skopje" }, "geometry": { "type": "Point", "coordinates": [ 21.357422, 42.032974 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Helsinki" }, "geometry": { "type": "Point", "coordinates": [ 24.873047, 60.196156 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tallinn" }, "geometry": { "type": "Point", "coordinates": [ 24.697266, 59.445075 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Riga" }, "geometry": { "type": "Point", "coordinates": [ 24.082031, 56.992883 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Vilnius" }, "geometry": { "type": "Point", "coordinates": [ 25.312500, 54.724620 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Minsk" }, "geometry": { "type": "Point", "coordinates": [ 27.509766, 53.904338 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kiev" }, "geometry": { "type": "Point", "coordinates": [ 30.498047, 50.457504 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Sofia" }, "geometry": { "type": "Point", "coordinates": [ 23.291016, 42.747012 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bucharest" }, "geometry": { "type": "Point", "coordinates": [ 26.015625, 44.465151 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Chisinau" }, "geometry": { "type": "Point", "coordinates": [ 28.828125, 47.040182 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Istanbul" }, "geometry": { "type": "Point", "coordinates": [ 29.003906, 41.112469 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Moscow" }, "geometry": { "type": "Point", "coordinates": [ 37.529297, 55.776573 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tbilisi" }, "geometry": { "type": "Point", "coordinates": [ 44.736328, 41.771312 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Algiers" }, "geometry": { "type": "Point", "coordinates": [ 2.988281, 36.809285 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tunis" }, "geometry": { "type": "Point", "coordinates": [ 10.107422, 36.809285 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tripoli" }, "geometry": { "type": "Point", "coordinates": [ 13.095703, 32.916485 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Valletta" }, "geometry": { "type": "Point", "coordinates": [ 14.501953, 35.960223 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Niamey" }, "geometry": { "type": "Point", "coordinates": [ 2.109375, 13.581921 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Lome" }, "geometry": { "type": "Point", "coordinates": [ 1.142578, 6.140555 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Cotonou" }, "geometry": { "type": "Point", "coordinates": [ 2.460938, 6.402648 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Porto-Novo" }, "geometry": { "type": "Point", "coordinates": [ 2.548828, 6.489983 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Lagos" }, "geometry": { "type": "Point", "coordinates": [ 3.339844, 6.489983 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Abuja" }, "geometry": { "type": "Point", "coordinates": [ 7.470703, 9.102097 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Sao Tome" }, "geometry": { "type": "Point", "coordinates": [ 6.679688, 0.351560 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Malabo" }, "geometry": { "type": "Point", "coordinates": [ 8.701172, 3.776559 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Libreville" }, "geometry": { "type": "Point", "coordinates": [ 9.404297, 0.439449 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Ndjamena" }, "geometry": { "type": "Point", "coordinates": [ 15.029297, 12.125264 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Yaounde" }, "geometry": { "type": "Point", "coordinates": [ 11.513672, 3.951941 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bangui" }, "geometry": { "type": "Point", "coordinates": [ 18.544922, 4.390229 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Athens" }, "geometry": { "type": "Point", "coordinates": [ 23.730469, 37.996163 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Ankara" }, "geometry": { "type": "Point", "coordinates": [ 32.783203, 39.977120 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Nicosia" }, "geometry": { "type": "Point", "coordinates": [ 33.310547, 35.173808 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Cairo" }, "geometry": { "type": "Point", "coordinates": [ 31.201172, 30.069094 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tel Aviv-Yafo" }, "geometry": { "type": "Point", "coordinates": [ 34.716797, 32.101190 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Beirut" }, "geometry": { "type": "Point", "coordinates": [ 35.419922, 33.943360 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Damascus" }, "geometry": { "type": "Point", "coordinates": [ 36.210938, 33.504759 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Yerevan" }, "geometry": { "type": "Point", "coordinates": [ 44.472656, 40.245992 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Baghdad" }, "geometry": { "type": "Point", "coordinates": [ 44.384766, 33.358062 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Jerusalem" }, "geometry": { "type": "Point", "coordinates": [ 35.156250, 31.802893 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Amman" }, "geometry": { "type": "Point", "coordinates": [ 35.859375, 31.952162 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Khartoum" }, "geometry": { "type": "Point", "coordinates": [ 32.519531, 15.623037 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Juba" }, "geometry": { "type": "Point", "coordinates": [ 31.552734, 4.915833 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kampala" }, "geometry": { "type": "Point", "coordinates": [ 32.519531, 0.351560 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Asmara" }, "geometry": { "type": "Point", "coordinates": [ 38.847656, 15.368950 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Sanaa" }, "geometry": { "type": "Point", "coordinates": [ 44.121094, 15.368950 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Djibouti" }, "geometry": { "type": "Point", "coordinates": [ 43.066406, 11.609193 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Addis Ababa" }, "geometry": { "type": "Point", "coordinates": [ 38.671875, 9.102097 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Hargeysa" }, "geometry": { "type": "Point", "coordinates": [ 44.033203, 9.622414 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Astana" }, "geometry": { "type": "Point", "coordinates": [ 71.367188, 51.234407 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tashkent" }, "geometry": { "type": "Point", "coordinates": [ 69.257812, 41.376809 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bishkek" }, "geometry": { "type": "Point", "coordinates": [ 74.531250, 42.875964 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Urumqi" }, "geometry": { "type": "Point", "coordinates": [ 87.539062, 43.834527 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Baku" }, "geometry": { "type": "Point", "coordinates": [ 49.833984, 40.446947 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tehran" }, "geometry": { "type": "Point", "coordinates": [ 51.416016, 35.675147 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kuwait" }, "geometry": { "type": "Point", "coordinates": [ 47.900391, 29.382175 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Riyadh" }, "geometry": { "type": "Point", "coordinates": [ 46.757812, 24.686952 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Manama" }, "geometry": { "type": "Point", "coordinates": [ 50.537109, 26.273714 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Doha" }, "geometry": { "type": "Point", "coordinates": [ 51.503906, 25.324167 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Dubai" }, "geometry": { "type": "Point", "coordinates": [ 55.195312, 25.244696 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Abu Dhabi" }, "geometry": { "type": "Point", "coordinates": [ 54.316406, 24.527135 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Ashgabat" }, "geometry": { "type": "Point", "coordinates": [ 58.359375, 37.996163 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Muscat" }, "geometry": { "type": "Point", "coordinates": [ 58.535156, 23.644524 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Mogadishu" }, "geometry": { "type": "Point", "coordinates": [ 45.351562, 2.108899 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Dushanbe" }, "geometry": { "type": "Point", "coordinates": [ 68.730469, 38.616870 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kabul" }, "geometry": { "type": "Point", "coordinates": [ 69.169922, 34.524661 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Islamabad" }, "geometry": { "type": "Point", "coordinates": [ 73.125000, 33.724340 ] } } +, +{ "type": "Feature", "properties": { "NAME": "New Delhi" }, "geometry": { "type": "Point", "coordinates": [ 77.167969, 28.613459 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kathmandu" }, "geometry": { "type": "Point", "coordinates": [ 85.253906, 27.761330 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Thimphu" }, "geometry": { "type": "Point", "coordinates": [ 89.560547, 27.527758 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kolkata" }, "geometry": { "type": "Point", "coordinates": [ 88.242188, 22.512557 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Mumbai" }, "geometry": { "type": "Point", "coordinates": [ 72.773438, 19.062118 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bangalore" }, "geometry": { "type": "Point", "coordinates": [ 77.519531, 12.983148 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Male" }, "geometry": { "type": "Point", "coordinates": [ 73.476562, 4.214943 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Colombo" }, "geometry": { "type": "Point", "coordinates": [ 79.804688, 7.013668 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Sri Jawewardenepura Kotte" }, "geometry": { "type": "Point", "coordinates": [ 79.892578, 6.926427 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Ulaanbaatar" }, "geometry": { "type": "Point", "coordinates": [ 106.875000, 47.931066 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Dhaka" }, "geometry": { "type": "Point", "coordinates": [ 90.351562, 23.725012 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Chengdu" }, "geometry": { "type": "Point", "coordinates": [ 104.062500, 30.675715 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Naypyidaw" }, "geometry": { "type": "Point", "coordinates": [ 96.064453, 19.808054 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Rangoon" }, "geometry": { "type": "Point", "coordinates": [ 96.152344, 16.804541 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bangkok" }, "geometry": { "type": "Point", "coordinates": [ 100.458984, 13.752725 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Vientiane" }, "geometry": { "type": "Point", "coordinates": [ 102.568359, 17.978733 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Hanoi" }, "geometry": { "type": "Point", "coordinates": [ 105.820312, 21.043491 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Phnom Penh" }, "geometry": { "type": "Point", "coordinates": [ 104.853516, 11.609193 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kuala Lumpur" }, "geometry": { "type": "Point", "coordinates": [ 101.689453, 3.250209 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Putrajaya" }, "geometry": { "type": "Point", "coordinates": [ 101.689453, 2.986927 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Singapore" }, "geometry": { "type": "Point", "coordinates": [ 103.798828, 1.318243 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Beijing" }, "geometry": { "type": "Point", "coordinates": [ 116.367188, 39.977120 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Hong Kong" }, "geometry": { "type": "Point", "coordinates": [ 114.169922, 22.350076 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Shanghai" }, "geometry": { "type": "Point", "coordinates": [ 121.376953, 31.278551 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Taipei" }, "geometry": { "type": "Point", "coordinates": [ 121.552734, 25.085599 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Pyongyang" }, "geometry": { "type": "Point", "coordinates": [ 125.683594, 39.027719 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Seoul" }, "geometry": { "type": "Point", "coordinates": [ 126.914062, 37.579413 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Baguio City" }, "geometry": { "type": "Point", "coordinates": [ 120.498047, 16.467695 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Manila" }, "geometry": { "type": "Point", "coordinates": [ 120.937500, 14.689881 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bandar Seri Begawan" }, "geometry": { "type": "Point", "coordinates": [ 114.873047, 4.915833 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Melekeok" }, "geometry": { "type": "Point", "coordinates": [ 134.560547, 7.536764 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Osaka" }, "geometry": { "type": "Point", "coordinates": [ 135.439453, 34.813803 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kyoto" }, "geometry": { "type": "Point", "coordinates": [ 135.703125, 35.101934 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tokyo" }, "geometry": { "type": "Point", "coordinates": [ 139.746094, 35.746512 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Palikir" }, "geometry": { "type": "Point", "coordinates": [ 158.115234, 6.926427 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Majuro" }, "geometry": { "type": "Point", "coordinates": [ 171.298828, 7.188101 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tarawa" }, "geometry": { "type": "Point", "coordinates": [ 172.968750, 1.406109 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Brazzaville" }, "geometry": { "type": "Point", "coordinates": [ 15.205078, -4.214943 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kinshasa" }, "geometry": { "type": "Point", "coordinates": [ 15.292969, -4.302591 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Luanda" }, "geometry": { "type": "Point", "coordinates": [ 13.183594, -8.754795 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Windhoek" }, "geometry": { "type": "Point", "coordinates": [ 17.050781, -22.512557 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Cape Town" }, "geometry": { "type": "Point", "coordinates": [ 18.369141, -33.870416 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kigali" }, "geometry": { "type": "Point", "coordinates": [ 29.970703, -1.933227 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bujumbura" }, "geometry": { "type": "Point", "coordinates": [ 29.355469, -3.337954 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Lusaka" }, "geometry": { "type": "Point", "coordinates": [ 28.212891, -15.368950 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Harare" }, "geometry": { "type": "Point", "coordinates": [ 31.025391, -17.811456 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Nairobi" }, "geometry": { "type": "Point", "coordinates": [ 36.738281, -1.230374 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Dodoma" }, "geometry": { "type": "Point", "coordinates": [ 35.683594, -6.140555 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Dar es Salaam" }, "geometry": { "type": "Point", "coordinates": [ 39.199219, -6.751896 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Lilongwe" }, "geometry": { "type": "Point", "coordinates": [ 33.750000, -13.923404 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Moroni" }, "geometry": { "type": "Point", "coordinates": [ 43.154297, -11.695273 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Gaborone" }, "geometry": { "type": "Point", "coordinates": [ 25.839844, -24.607069 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Johannesburg" }, "geometry": { "type": "Point", "coordinates": [ 27.949219, -26.115986 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bloemfontein" }, "geometry": { "type": "Point", "coordinates": [ 26.191406, -29.075375 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Maseru" }, "geometry": { "type": "Point", "coordinates": [ 27.421875, -29.305561 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Pretoria" }, "geometry": { "type": "Point", "coordinates": [ 28.212891, -25.641526 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Mbabane" }, "geometry": { "type": "Point", "coordinates": [ 31.113281, -26.273714 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Lobamba" }, "geometry": { "type": "Point", "coordinates": [ 31.113281, -26.431228 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Maputo" }, "geometry": { "type": "Point", "coordinates": [ 32.519531, -25.878994 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Victoria" }, "geometry": { "type": "Point", "coordinates": [ 55.371094, -4.565474 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Antananarivo" }, "geometry": { "type": "Point", "coordinates": [ 47.460938, -18.895893 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Port Louis" }, "geometry": { "type": "Point", "coordinates": [ 57.480469, -20.138470 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Jakarta" }, "geometry": { "type": "Point", "coordinates": [ 106.787109, -6.140555 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Dili" }, "geometry": { "type": "Point", "coordinates": [ 125.507812, -8.494105 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Port Moresby" }, "geometry": { "type": "Point", "coordinates": [ 147.128906, -9.449062 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Melbourne" }, "geometry": { "type": "Point", "coordinates": [ 144.931641, -37.788081 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Sydney" }, "geometry": { "type": "Point", "coordinates": [ 151.171875, -33.870416 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Canberra" }, "geometry": { "type": "Point", "coordinates": [ 149.062500, -35.245619 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Honiara" }, "geometry": { "type": "Point", "coordinates": [ 159.873047, -9.362353 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Port Vila" }, "geometry": { "type": "Point", "coordinates": [ 168.310547, -17.727759 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Funafuti" }, "geometry": { "type": "Point", "coordinates": [ 179.208984, -8.494105 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Suva" }, "geometry": { "type": "Point", "coordinates": [ 178.417969, -18.062312 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Auckland" }, "geometry": { "type": "Point", "coordinates": [ 174.726562, -36.809285 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Wellington" }, "geometry": { "type": "Point", "coordinates": [ 174.726562, -41.244772 ] } } +] } +] } +] } diff --git a/tests/ne_110m_populated_places/out/-z0_-r1_-yNAME_-ySOV0NAME_-yELEVATION_-YNAME@City_-YSOV0NAME@Country.json b/tests/ne_110m_populated_places/out/-z0_-r1_-yNAME_-ySOV0NAME_-yELEVATION_-YNAME@City_-YSOV0NAME@Country.json new file mode 100644 index 0000000..62bcdfa --- /dev/null +++ b/tests/ne_110m_populated_places/out/-z0_-r1_-yNAME_-ySOV0NAME_-yELEVATION_-YNAME@City_-YSOV0NAME@Country.json @@ -0,0 +1,502 @@ +{ "type": "FeatureCollection", "properties": { +"bounds": "-175.220564,-41.299973,179.216647,64.150023", +"center": "0.000000,0.000000,0", +"description": "tests/ne_110m_populated_places/out/-z0_-r1_-yNAME_-ySOV0NAME_-yELEVATION_-YNAME@City_-YSOV0NAME@Country.json.check.mbtiles", +"format": "pbf", +"json": "{\"vector_layers\": [ { \"id\": \"in\", \"description\": \"\", \"minzoom\": 0, \"maxzoom\": 0, \"fields\": {\"ELEVATION\": \"Number\", \"NAME\": \"City\", \"SOV0NAME\": \"Country\"} } ],\"tilestats\": {\"layerCount\": 1,\"layers\": [{\"layer\": \"in\",\"count\": 243,\"geometry\": \"Point\",\"attributeCount\": 3,\"attributes\": [{\"attribute\": \"ELEVATION\",\"count\": 19,\"type\": \"number\",\"values\": [0,10,1317,16,171,179,187,2,2320,284,308,320,5,7,70,74,850,89,920],\"min\": 0,\"max\": 2320},{\"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\"]},{\"attribute\": \"SOV0NAME\",\"count\": 197,\"type\": \"string\",\"values\": [\"Afghanistan\",\"Albania\",\"Algeria\",\"Andorra\",\"Angola\",\"Antigua and Barbuda\",\"Argentina\",\"Armenia\",\"Australia\",\"Austria\",\"Azerbaijan\",\"Bahamas, The\",\"Bahrain\",\"Bangladesh\",\"Barbados\",\"Belarus\",\"Belgium\",\"Belize\",\"Benin\",\"Bhutan\",\"Bolivia\",\"Bosnia and Herzegovina\",\"Botswana\",\"Brazil\",\"Brunei\",\"Bulgaria\",\"Burkina Faso\",\"Burundi\",\"Cambodia\",\"Cameroon\",\"Canada\",\"Cape Verde\",\"Central African Republic\",\"Chad\",\"Chile\",\"China\",\"Colombia\",\"Comoros\",\"Congo (Brazzaville)\",\"Congo (Kinshasa)\",\"Costa Rica\",\"Croatia\",\"Cuba\",\"Cyprus\",\"Czech Republic\",\"Denmark\",\"Djibouti\",\"Dominica\",\"Dominican Republic\",\"East Timor\",\"Ecuador\",\"Egypt\",\"El Salvador\",\"Equatorial Guinea\",\"Eritrea\",\"Estonia\",\"Ethiopia\",\"Federated States of Micronesia\",\"Fiji\",\"Finland\",\"French Republic\",\"Gabon\",\"Gambia, The\",\"Georgia\",\"Germany\",\"Ghana\",\"Greece\",\"Grenada\",\"Guatemala\",\"Guinea\",\"Guinea Bissau\",\"Guyana\",\"Haiti\",\"Honduras\",\"Hungary\",\"Iceland\",\"India\",\"Indonesia\",\"Iran\",\"Iraq\",\"Ireland\",\"Israel\",\"Italy\",\"Ivory Coast\",\"Jamaica\",\"Japan\",\"Jordan\",\"Kazakhstan\",\"Kenya\",\"Kingdom of Norway\",\"Kingdom of Spain\",\"Kingdom of the Netherlands\",\"Kiribati\",\"Korea, North\",\"Korea, South\",\"Kosovo\",\"Kuwait\",\"Kyrgyzstan\",\"Laos\",\"Latvia\"]}]}]}}", +"maxzoom": "0", +"minzoom": "0", +"name": "tests/ne_110m_populated_places/out/-z0_-r1_-yNAME_-ySOV0NAME_-yELEVATION_-YNAME@City_-YSOV0NAME@Country.json.check.mbtiles", +"type": "overlay", +"version": "2" +}, "features": [ +{ "type": "FeatureCollection", "properties": { "zoom": 0, "x": 0, "y": 0 }, "features": [ +{ "type": "FeatureCollection", "properties": { "layer": "in", "version": 2, "extent": 4096 }, "features": [ +{ "type": "Feature", "properties": { "NAME": "Vancouver", "SOV0NAME": "Canada", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -123.134766, 49.325122 ] } } +, +{ "type": "Feature", "properties": { "NAME": "San Francisco", "SOV0NAME": "United States", "ELEVATION": 16 }, "geometry": { "type": "Point", "coordinates": [ -122.431641, 37.788081 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Los Angeles", "SOV0NAME": "United States", "ELEVATION": 89 }, "geometry": { "type": "Point", "coordinates": [ -118.212891, 34.016242 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Denver", "SOV0NAME": "United States", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -105.029297, 39.774769 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Monterrey", "SOV0NAME": "Mexico", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -100.371094, 25.720735 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Houston", "SOV0NAME": "United States", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -95.361328, 29.840644 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Mexico City", "SOV0NAME": "Mexico", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -99.140625, 19.476950 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Guatemala", "SOV0NAME": "Guatemala", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -90.615234, 14.689881 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Chicago", "SOV0NAME": "United States", "ELEVATION": 179 }, "geometry": { "type": "Point", "coordinates": [ -87.802734, 41.836828 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Toronto", "SOV0NAME": "Canada", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -79.453125, 43.707594 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Ottawa", "SOV0NAME": "Canada", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -75.761719, 45.460131 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Atlanta", "SOV0NAME": "United States", "ELEVATION": 320 }, "geometry": { "type": "Point", "coordinates": [ -84.462891, 33.870416 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Havana", "SOV0NAME": "Cuba", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -82.441406, 23.160563 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Miami", "SOV0NAME": "United States", "ELEVATION": 2 }, "geometry": { "type": "Point", "coordinates": [ -80.244141, 25.799891 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Washington, D.C.", "SOV0NAME": "United States", "ELEVATION": 7 }, "geometry": { "type": "Point", "coordinates": [ -77.080078, 38.959409 ] } } +, +{ "type": "Feature", "properties": { "NAME": "New York", "SOV0NAME": "United States", "ELEVATION": 10 }, "geometry": { "type": "Point", "coordinates": [ -74.003906, 40.780541 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Nassau", "SOV0NAME": "Bahamas, The", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -77.431641, 25.085599 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Belmopan", "SOV0NAME": "Belize", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -88.769531, 17.308688 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tegucigalpa", "SOV0NAME": "Honduras", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.275391, 14.179186 ] } } +, +{ "type": "Feature", "properties": { "NAME": "San Salvador", "SOV0NAME": "El Salvador", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -89.208984, 13.752725 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Managua", "SOV0NAME": "Nicaragua", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -86.308594, 12.211180 ] } } +, +{ "type": "Feature", "properties": { "NAME": "San Jose", "SOV0NAME": "Costa Rica", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -84.111328, 9.968851 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Panama City", "SOV0NAME": "Panama", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -79.541016, 9.015302 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kingston", "SOV0NAME": "Jamaica", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -76.816406, 17.978733 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Port-au-Prince", "SOV0NAME": "Haiti", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -72.421875, 18.562947 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Santo Domingo", "SOV0NAME": "Dominican Republic", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -69.960938, 18.479609 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bogota", "SOV0NAME": "Colombia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -74.091797, 4.653080 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Basseterre", "SOV0NAME": "Saint Kitts and Nevis", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -62.753906, 17.308688 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Saint John's", "SOV0NAME": "Antigua and Barbuda", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -61.875000, 17.140790 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Roseau", "SOV0NAME": "Dominica", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -61.435547, 15.368950 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Castries", "SOV0NAME": "Saint Lucia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -61.083984, 14.008696 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kingstown", "SOV0NAME": "Saint Vincent and the Grenadines", "ELEVATION": 5 }, "geometry": { "type": "Point", "coordinates": [ -61.259766, 13.154376 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Saint George's", "SOV0NAME": "Grenada", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -61.787109, 12.125264 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bridgetown", "SOV0NAME": "Barbados", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -59.677734, 13.154376 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Caracas", "SOV0NAME": "Venezuela", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -66.972656, 10.574222 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Port-of-Spain", "SOV0NAME": "Trinidad and Tobago", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -61.523438, 10.660608 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Georgetown", "SOV0NAME": "Guyana", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -58.183594, 6.839170 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Paramaribo", "SOV0NAME": "Suriname", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -55.195312, 5.878332 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Reykjavík", "SOV0NAME": "Iceland", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -21.972656, 64.168107 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Dublin", "SOV0NAME": "Ireland", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -6.328125, 53.383328 ] } } +, +{ "type": "Feature", "properties": { "NAME": "London", "SOV0NAME": "United Kingdom", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -0.175781, 51.508742 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Praia", "SOV0NAME": "Cape Verde", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -23.554688, 14.944785 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Laayoune", "SOV0NAME": "Morocco", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -13.271484, 27.215556 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Lisbon", "SOV0NAME": "Portugal", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -9.228516, 38.754083 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Casablanca", "SOV0NAME": "Morocco", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -7.646484, 33.651208 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Rabat", "SOV0NAME": "Morocco", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -6.855469, 34.089061 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Madrid", "SOV0NAME": "Kingdom of Spain", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -3.691406, 40.446947 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bir Lehlou", "SOV0NAME": "Western Sahara", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -9.667969, 26.194877 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Dakar", "SOV0NAME": "Senegal", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -17.490234, 14.774883 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Nouakchott", "SOV0NAME": "Mauritania", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -15.996094, 18.145852 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Banjul", "SOV0NAME": "Gambia, The", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -16.611328, 13.496473 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bissau", "SOV0NAME": "Guinea Bissau", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -15.644531, 11.867351 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Conakry", "SOV0NAME": "Guinea", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -13.710938, 9.535749 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Freetown", "SOV0NAME": "Sierra Leone", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -13.271484, 8.494105 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bamako", "SOV0NAME": "Mali", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -8.085938, 12.726084 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Ouagadougou", "SOV0NAME": "Burkina Faso", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -1.582031, 12.382928 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Monrovia", "SOV0NAME": "Liberia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -10.810547, 6.315299 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Yamoussoukro", "SOV0NAME": "Ivory Coast", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -5.361328, 6.839170 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Abidjan", "SOV0NAME": "Ivory Coast", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -4.042969, 5.353521 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Accra", "SOV0NAME": "Ghana", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -0.263672, 5.615986 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Nukualofa", "SOV0NAME": "Tonga", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -175.253906, -21.125498 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Apia", "SOV0NAME": "Samoa", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -171.826172, -13.838080 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Quito", "SOV0NAME": "Ecuador", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -78.574219, -0.175781 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Lima", "SOV0NAME": "Peru", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -77.080078, -12.039321 ] } } +, +{ "type": "Feature", "properties": { "NAME": "La Paz", "SOV0NAME": "Bolivia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -68.203125, -16.467695 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Valparaiso", "SOV0NAME": "Chile", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -71.630859, -32.990236 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Santiago", "SOV0NAME": "Chile", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -70.751953, -33.431441 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Sucre", "SOV0NAME": "Bolivia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -65.302734, -18.979026 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Brasilia", "SOV0NAME": "Brazil", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -47.988281, -15.707663 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Asuncion", "SOV0NAME": "Paraguay", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -57.656250, -25.244696 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Buenos Aires", "SOV0NAME": "Argentina", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -58.447266, -34.597042 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Sao Paulo", "SOV0NAME": "Brazil", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -46.669922, -23.483401 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Montevideo", "SOV0NAME": "Uruguay", "ELEVATION": 284 }, "geometry": { "type": "Point", "coordinates": [ -56.250000, -34.813803 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Rio de Janeiro", "SOV0NAME": "Brazil", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ -43.242188, -22.917923 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Oslo", "SOV0NAME": "Kingdom of Norway", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 10.722656, 59.933000 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Stockholm", "SOV0NAME": "Sweden", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 18.017578, 59.355596 ] } } +, +{ "type": "Feature", "properties": { "NAME": "The Hague", "SOV0NAME": "Kingdom of the Netherlands", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 4.218750, 52.106505 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Amsterdam", "SOV0NAME": "Kingdom of the Netherlands", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 4.833984, 52.375599 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Brussels", "SOV0NAME": "Belgium", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 4.306641, 50.847573 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Luxembourg", "SOV0NAME": "Luxembourg", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 6.064453, 49.667628 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Paris", "SOV0NAME": "French Republic", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 2.285156, 48.922499 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Andorra", "SOV0NAME": "Andorra", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 1.494141, 42.553080 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Geneva", "SOV0NAME": "Switzerland", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 6.064453, 46.255847 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bern", "SOV0NAME": "Switzerland", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 7.382812, 46.920255 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Vaduz", "SOV0NAME": "Liechtenstein", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 9.492188, 47.159840 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Monaco", "SOV0NAME": "Monaco", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 7.382812, 43.771094 ] } } +, +{ "type": "Feature", "properties": { "NAME": "København", "SOV0NAME": "Denmark", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 12.480469, 55.727110 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Berlin", "SOV0NAME": "Germany", "ELEVATION": 74 }, "geometry": { "type": "Point", "coordinates": [ 13.359375, 52.536273 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Prague", "SOV0NAME": "Czech Republic", "ELEVATION": 308 }, "geometry": { "type": "Point", "coordinates": [ 14.414062, 50.120578 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Warsaw", "SOV0NAME": "Poland", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 20.917969, 52.268157 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Vienna", "SOV0NAME": "Austria", "ELEVATION": 171 }, "geometry": { "type": "Point", "coordinates": [ 16.347656, 48.224673 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Ljubljana", "SOV0NAME": "Slovenia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 14.501953, 46.073231 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Zagreb", "SOV0NAME": "Croatia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 15.996094, 45.828799 ] } } +, +{ "type": "Feature", "properties": { "NAME": "San Marino", "SOV0NAME": "San Marino", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 12.392578, 43.961191 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Vatican City", "SOV0NAME": "Vatican (Holy Sea)", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 12.392578, 41.967659 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Rome", "SOV0NAME": "Italy", "ELEVATION": 187 }, "geometry": { "type": "Point", "coordinates": [ 12.480469, 41.902277 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bratislava", "SOV0NAME": "Slovakia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 17.050781, 48.166085 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Budapest", "SOV0NAME": "Hungary", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 19.072266, 47.517201 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Sarajevo", "SOV0NAME": "Bosnia and Herzegovina", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 18.369141, 43.897892 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Podgorica", "SOV0NAME": "Montenegro", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 19.248047, 42.488302 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Belgrade", "SOV0NAME": "Republic of Serbia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 20.390625, 44.840291 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tirana", "SOV0NAME": "Albania", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 19.775391, 41.376809 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Pristina", "SOV0NAME": "Kosovo", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 21.093750, 42.682435 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Skopje", "SOV0NAME": "Macedonia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 21.357422, 42.032974 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Helsinki", "SOV0NAME": "Finland", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 24.873047, 60.196156 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tallinn", "SOV0NAME": "Estonia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 24.697266, 59.445075 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Riga", "SOV0NAME": "Latvia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 24.082031, 56.992883 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Vilnius", "SOV0NAME": "Lithuania", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 25.312500, 54.724620 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Minsk", "SOV0NAME": "Belarus", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 27.509766, 53.904338 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kiev", "SOV0NAME": "Ukraine", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 30.498047, 50.457504 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Sofia", "SOV0NAME": "Bulgaria", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 23.291016, 42.747012 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bucharest", "SOV0NAME": "Romania", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 26.015625, 44.465151 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Chisinau", "SOV0NAME": "Moldova", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 28.828125, 47.040182 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Istanbul", "SOV0NAME": "Turkey", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 29.003906, 41.112469 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Moscow", "SOV0NAME": "Russia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 37.529297, 55.776573 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tbilisi", "SOV0NAME": "Georgia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 44.736328, 41.771312 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Algiers", "SOV0NAME": "Algeria", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 2.988281, 36.809285 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tunis", "SOV0NAME": "Tunisia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 10.107422, 36.809285 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tripoli", "SOV0NAME": "Libya", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 13.095703, 32.916485 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Valletta", "SOV0NAME": "Malta", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 14.501953, 35.960223 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Niamey", "SOV0NAME": "Niger", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 2.109375, 13.581921 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Lome", "SOV0NAME": "Togo", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 1.142578, 6.140555 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Cotonou", "SOV0NAME": "Benin", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 2.460938, 6.402648 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Porto-Novo", "SOV0NAME": "Benin", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 2.548828, 6.489983 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Lagos", "SOV0NAME": "Nigeria", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 3.339844, 6.489983 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Abuja", "SOV0NAME": "Nigeria", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 7.470703, 9.102097 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Sao Tome", "SOV0NAME": "Sao Tome and Principe", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 6.679688, 0.351560 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Malabo", "SOV0NAME": "Equatorial Guinea", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 8.701172, 3.776559 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Libreville", "SOV0NAME": "Gabon", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 9.404297, 0.439449 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Ndjamena", "SOV0NAME": "Chad", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 15.029297, 12.125264 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Yaounde", "SOV0NAME": "Cameroon", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 11.513672, 3.951941 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bangui", "SOV0NAME": "Central African Republic", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 18.544922, 4.390229 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Athens", "SOV0NAME": "Greece", "ELEVATION": 70 }, "geometry": { "type": "Point", "coordinates": [ 23.730469, 37.996163 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Ankara", "SOV0NAME": "Turkey", "ELEVATION": 850 }, "geometry": { "type": "Point", "coordinates": [ 32.783203, 39.977120 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Nicosia", "SOV0NAME": "Cyprus", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 33.310547, 35.173808 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Cairo", "SOV0NAME": "Egypt", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 31.201172, 30.069094 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tel Aviv-Yafo", "SOV0NAME": "Israel", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 34.716797, 32.101190 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Beirut", "SOV0NAME": "Lebanon", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 35.419922, 33.943360 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Damascus", "SOV0NAME": "Syria", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 36.210938, 33.504759 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Yerevan", "SOV0NAME": "Armenia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 44.472656, 40.245992 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Baghdad", "SOV0NAME": "Iraq", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 44.384766, 33.358062 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Jerusalem", "SOV0NAME": "Israel", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 35.156250, 31.802893 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Amman", "SOV0NAME": "Jordan", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 35.859375, 31.952162 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Khartoum", "SOV0NAME": "Sudan", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 32.519531, 15.623037 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Juba", "SOV0NAME": "South Sudan", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 31.552734, 4.915833 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kampala", "SOV0NAME": "Uganda", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 32.519531, 0.351560 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Asmara", "SOV0NAME": "Eritrea", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 38.847656, 15.368950 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Sanaa", "SOV0NAME": "Yemen", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 44.121094, 15.368950 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Djibouti", "SOV0NAME": "Djibouti", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 43.066406, 11.609193 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Addis Ababa", "SOV0NAME": "Ethiopia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 38.671875, 9.102097 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Hargeysa", "SOV0NAME": "Somaliland", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 44.033203, 9.622414 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Astana", "SOV0NAME": "Kazakhstan", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 71.367188, 51.234407 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tashkent", "SOV0NAME": "Uzbekistan", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 69.257812, 41.376809 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bishkek", "SOV0NAME": "Kyrgyzstan", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 74.531250, 42.875964 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Urumqi", "SOV0NAME": "China", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 87.539062, 43.834527 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Baku", "SOV0NAME": "Azerbaijan", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 49.833984, 40.446947 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tehran", "SOV0NAME": "Iran", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 51.416016, 35.675147 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kuwait", "SOV0NAME": "Kuwait", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 47.900391, 29.382175 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Riyadh", "SOV0NAME": "Saudi Arabia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 46.757812, 24.686952 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Manama", "SOV0NAME": "Bahrain", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 50.537109, 26.273714 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Doha", "SOV0NAME": "Qatar", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 51.503906, 25.324167 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Dubai", "SOV0NAME": "United Arab Emirates", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 55.195312, 25.244696 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Abu Dhabi", "SOV0NAME": "United Arab Emirates", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 54.316406, 24.527135 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Ashgabat", "SOV0NAME": "Turkmenistan", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 58.359375, 37.996163 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Muscat", "SOV0NAME": "Oman", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 58.535156, 23.644524 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Mogadishu", "SOV0NAME": "Somalia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 45.351562, 2.108899 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Dushanbe", "SOV0NAME": "Tajikistan", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 68.730469, 38.616870 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kabul", "SOV0NAME": "Afghanistan", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 69.169922, 34.524661 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Islamabad", "SOV0NAME": "Pakistan", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 73.125000, 33.724340 ] } } +, +{ "type": "Feature", "properties": { "NAME": "New Delhi", "SOV0NAME": "India", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 77.167969, 28.613459 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kathmandu", "SOV0NAME": "Nepal", "ELEVATION": 1317 }, "geometry": { "type": "Point", "coordinates": [ 85.253906, 27.761330 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Thimphu", "SOV0NAME": "Bhutan", "ELEVATION": 2320 }, "geometry": { "type": "Point", "coordinates": [ 89.560547, 27.527758 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kolkata", "SOV0NAME": "India", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 88.242188, 22.512557 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Mumbai", "SOV0NAME": "India", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 72.773438, 19.062118 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bangalore", "SOV0NAME": "India", "ELEVATION": 920 }, "geometry": { "type": "Point", "coordinates": [ 77.519531, 12.983148 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Male", "SOV0NAME": "Maldives", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 73.476562, 4.214943 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Colombo", "SOV0NAME": "Sri Lanka", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 79.804688, 7.013668 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Sri Jawewardenepura Kotte", "SOV0NAME": "Sri Lanka", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 79.892578, 6.926427 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Ulaanbaatar", "SOV0NAME": "Mongolia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 106.875000, 47.931066 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Dhaka", "SOV0NAME": "Bangladesh", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 90.351562, 23.725012 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Chengdu", "SOV0NAME": "China", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 104.062500, 30.675715 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Naypyidaw", "SOV0NAME": "Myanmar", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 96.064453, 19.808054 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Rangoon", "SOV0NAME": "Myanmar", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 96.152344, 16.804541 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bangkok", "SOV0NAME": "Thailand", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 100.458984, 13.752725 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Vientiane", "SOV0NAME": "Laos", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 102.568359, 17.978733 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Hanoi", "SOV0NAME": "Vietnam", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 105.820312, 21.043491 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Phnom Penh", "SOV0NAME": "Cambodia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 104.853516, 11.609193 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kuala Lumpur", "SOV0NAME": "Malaysia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 101.689453, 3.250209 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Putrajaya", "SOV0NAME": "Malaysia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 101.689453, 2.986927 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Singapore", "SOV0NAME": "Singapore", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 103.798828, 1.318243 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Beijing", "SOV0NAME": "China", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 116.367188, 39.977120 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Hong Kong", "SOV0NAME": "China", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 114.169922, 22.350076 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Shanghai", "SOV0NAME": "China", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 121.376953, 31.278551 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Taipei", "SOV0NAME": "Taiwan", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 121.552734, 25.085599 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Pyongyang", "SOV0NAME": "Korea, North", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 125.683594, 39.027719 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Seoul", "SOV0NAME": "Korea, South", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 126.914062, 37.579413 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Baguio City", "SOV0NAME": "Philippines", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 120.498047, 16.467695 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Manila", "SOV0NAME": "Philippines", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 120.937500, 14.689881 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bandar Seri Begawan", "SOV0NAME": "Brunei", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 114.873047, 4.915833 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Melekeok", "SOV0NAME": "Palau", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 134.560547, 7.536764 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Osaka", "SOV0NAME": "Japan", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 135.439453, 34.813803 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kyoto", "SOV0NAME": "Japan", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 135.703125, 35.101934 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tokyo", "SOV0NAME": "Japan", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 139.746094, 35.746512 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Palikir", "SOV0NAME": "Federated States of Micronesia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 158.115234, 6.926427 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Majuro", "SOV0NAME": "Marshall Islands", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 171.298828, 7.188101 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Tarawa", "SOV0NAME": "Kiribati", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 172.968750, 1.406109 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Brazzaville", "SOV0NAME": "Congo (Brazzaville)", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 15.205078, -4.214943 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kinshasa", "SOV0NAME": "Congo (Kinshasa)", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 15.292969, -4.302591 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Luanda", "SOV0NAME": "Angola", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 13.183594, -8.754795 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Windhoek", "SOV0NAME": "Namibia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 17.050781, -22.512557 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Cape Town", "SOV0NAME": "South Africa", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 18.369141, -33.870416 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Kigali", "SOV0NAME": "Rwanda", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 29.970703, -1.933227 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bujumbura", "SOV0NAME": "Burundi", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 29.355469, -3.337954 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Lusaka", "SOV0NAME": "Zambia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 28.212891, -15.368950 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Harare", "SOV0NAME": "Zimbabwe", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 31.025391, -17.811456 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Nairobi", "SOV0NAME": "Kenya", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 36.738281, -1.230374 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Dodoma", "SOV0NAME": "United Republic of Tanzania", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 35.683594, -6.140555 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Dar es Salaam", "SOV0NAME": "United Republic of Tanzania", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 39.199219, -6.751896 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Lilongwe", "SOV0NAME": "Malawi", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 33.750000, -13.923404 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Moroni", "SOV0NAME": "Comoros", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 43.154297, -11.695273 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Gaborone", "SOV0NAME": "Botswana", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 25.839844, -24.607069 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Johannesburg", "SOV0NAME": "South Africa", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 27.949219, -26.115986 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Bloemfontein", "SOV0NAME": "South Africa", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 26.191406, -29.075375 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Maseru", "SOV0NAME": "Lesotho", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 27.421875, -29.305561 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Pretoria", "SOV0NAME": "South Africa", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 28.212891, -25.641526 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Mbabane", "SOV0NAME": "Swaziland", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 31.113281, -26.273714 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Lobamba", "SOV0NAME": "Swaziland", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 31.113281, -26.431228 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Maputo", "SOV0NAME": "Mozambique", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 32.519531, -25.878994 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Victoria", "SOV0NAME": "Seychelles", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 55.371094, -4.565474 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Antananarivo", "SOV0NAME": "Madagascar", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 47.460938, -18.895893 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Port Louis", "SOV0NAME": "Mauritius", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 57.480469, -20.138470 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Jakarta", "SOV0NAME": "Indonesia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 106.787109, -6.140555 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Dili", "SOV0NAME": "East Timor", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 125.507812, -8.494105 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Port Moresby", "SOV0NAME": "Papua New Guinea", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 147.128906, -9.449062 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Melbourne", "SOV0NAME": "Australia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 144.931641, -37.788081 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Sydney", "SOV0NAME": "Australia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 151.171875, -33.870416 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Canberra", "SOV0NAME": "Australia", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 149.062500, -35.245619 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Honiara", "SOV0NAME": "Solomon Islands", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 159.873047, -9.362353 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Port Vila", "SOV0NAME": "Vanuatu", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 168.310547, -17.727759 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Funafuti", "SOV0NAME": "Tuvalu", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 179.208984, -8.494105 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Suva", "SOV0NAME": "Fiji", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 178.417969, -18.062312 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Auckland", "SOV0NAME": "New Zealand", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 174.726562, -36.809285 ] } } +, +{ "type": "Feature", "properties": { "NAME": "Wellington", "SOV0NAME": "New Zealand", "ELEVATION": 0 }, "geometry": { "type": "Point", "coordinates": [ 174.726562, -41.244772 ] } } +] } +] } +] } diff --git a/tile-join.cpp b/tile-join.cpp index f00031d..ee9269c 100644 --- a/tile-join.cpp +++ b/tile-join.cpp @@ -573,7 +573,46 @@ void handle_tasks(std::map> &tasks, std::vector &layermap, sqlite3 *outdb, const char *outdir, struct stats *st, std::vector &header, std::map> &mapping, std::set &exclude, int ifmatched, std::string &attribution, std::string &description, std::set &keep_layers, std::set &remove_layers, std::string &name, json_object *filter) { +void handle_vector_layers(json_object *vector_layers, std::map &layermap, std::map &attribute_descriptions) { + if (vector_layers != NULL && vector_layers->type == JSON_ARRAY) { + for (size_t i = 0; i < vector_layers->length; i++) { + if (vector_layers->array[i]->type == JSON_HASH) { + json_object *id = json_hash_get(vector_layers->array[i], "id"); + json_object *desc = json_hash_get(vector_layers->array[i], "description"); + + if (id != NULL && desc != NULL && id->type == JSON_STRING && desc->type == JSON_STRING) { + std::string sid = id->string; + std::string sdesc = desc->string; + + if (sdesc.size() != 0) { + auto f = layermap.find(sid); + if (f != layermap.end()) { + f->second.description = sdesc; + } + } + } + + json_object *fields = json_hash_get(vector_layers->array[i], "fields"); + if (fields != NULL && fields->type == JSON_HASH) { + for (size_t j = 0; j < fields->length; j++) { + if (fields->keys[j]->type == JSON_STRING && fields->values[j]->type) { + const char *desc2 = fields->values[j]->string; + + if (strcmp(desc2, "Number") != 0 && + strcmp(desc2, "String") != 0 && + strcmp(desc2, "Boolean") != 0 && + strcmp(desc2, "Mixed") != 0) { + attribute_descriptions.insert(std::pair(fields->keys[j]->string, desc2)); + } + } + } + } + } + } + } +} + +void decode(struct reader *readers, std::map &layermap, sqlite3 *outdb, const char *outdir, struct stats *st, std::vector &header, std::map> &mapping, std::set &exclude, int ifmatched, std::string &attribution, std::string &description, std::set &keep_layers, std::set &remove_layers, std::string &name, json_object *filter, std::map &attribute_descriptions) { std::vector> layermaps; for (size_t i = 0; i < CPUS; i++) { layermaps.push_back(std::map()); @@ -749,6 +788,27 @@ void decode(struct reader *readers, std::map &layer } sqlite3_finalize(r->stmt); } + if (sqlite3_prepare_v2(db, "SELECT value from metadata where name = 'json'", -1, &r->stmt, NULL) == SQLITE_OK) { + if (sqlite3_step(r->stmt) == SQLITE_ROW) { + const unsigned char *s = sqlite3_column_text(r->stmt, 0); + + if (s != NULL) { + json_pull *jp = json_begin_string((const char *) s); + json_object *o = json_read_tree(jp); + + if (o != NULL && o->type == JSON_HASH) { + json_object *vector_layers = json_hash_get(o, "vector_layers"); + + handle_vector_layers(vector_layers, layermap, attribute_descriptions); + json_free(o); + } + + json_end(jp); + } + } + + sqlite3_finalize(r->stmt); + } // Closes either real db or temp mirror of metadata.json if (sqlite3_close(db) != SQLITE_OK) { @@ -990,7 +1050,9 @@ int main(int argc, char **argv) { *rr = r; } - decode(readers, layermap, outdb, out_dir, &st, header, mapping, exclude, ifmatched, attribution, description, keep_layers, remove_layers, name, filter); + std::map attribute_descriptions; + + decode(readers, layermap, outdb, out_dir, &st, header, mapping, exclude, ifmatched, attribution, description, keep_layers, remove_layers, name, filter, attribute_descriptions); if (set_attribution.size() != 0) { attribution = set_attribution; @@ -1002,7 +1064,7 @@ int main(int argc, char **argv) { name = set_name; } - 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(), !pg); + 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(), !pg, attribute_descriptions); if (outdb != NULL) { mbtiles_close(outdb, argv[0]); diff --git a/version.hpp b/version.hpp index 465ccfc..83d12f6 100644 --- a/version.hpp +++ b/version.hpp @@ -1,6 +1,6 @@ #ifndef VERSION_HPP #define VERSION_HPP -#define VERSION "tippecanoe v1.28.1\n" +#define VERSION "tippecanoe v1.29.0\n" #endif