diff --git a/CHANGELOG.md b/CHANGELOG.md index c838250..e0902bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ ## 1.29.0 * Add the option to specify layer file, name, and description as JSON +* 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 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/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..8263f48 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\": \"\", \"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\": \"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..2080008 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\": \"\", \"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\": \"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..b55ad77 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\": \"\", \"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\": \"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/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/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]]]}}