Skip to content

Instantly share code, notes, and snippets.

@phoebebright
Forked from dwtkns/README.md
Created September 19, 2013 18:27
Show Gist options
  • Save phoebebright/6627763 to your computer and use it in GitHub Desktop.
Save phoebebright/6627763 to your computer and use it in GitHub Desktop.

Faux-3d SVG globe using d3.geo.orthographic and a few radial gradients. Labels offset or hidden based on radians from current map center to enhance the effect.

Uncomment svg.append("g").attr("class","countries") for hover-able country outlines.

<!DOCTYPE html>
<meta charset="utf-8">
<style>
.land {
fill: rgb(117, 87, 57);
stroke-opacity: 1;
}
.countries path {
stroke: rgb(80, 64, 39);
stroke-linejoin: round;
stroke-width:.5;
fill: rgb(117, 87, 57);
opacity: .1;
}
.countries path:hover {
fill-opacity:.1;
stroke-width:1;
opacity: 1;
}
.graticule {
fill: none;
stroke: black;
stroke-width:.5;
opacity:.2;
}
.labels {
font: 8px sans-serif;
fill: black;
opacity: .5;
}
.noclicks {
pointer-events:none;
}
.point{
opacity:.6;
}
</style>
<body>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="http://d3js.org/queue.v1.min.js"></script>
<script src="http://d3js.org/topojson.v0.min.js"></script>
<script>
// Lots of code from:
// http://bl.ocks.org/3757125
// http://bl.ocks.org/3795040
d3.select(window)
.on("mousemove", mousemove)
.on("mouseup", mouseup);
var width = 960,
height = 500;
var proj = d3.geo.orthographic()
.scale(220)
.translate([width / 2, height / 2])
.clipAngle(90);
var path = d3.geo.path().projection(proj).pointRadius(1.5);
var graticule = d3.geo.graticule();
var svg = d3.select("body").append("svg")
.attr("width", width)
.attr("height", height)
.on("mousedown", mousedown);
queue()
.defer(d3.json, "world-110m.json")
.defer(d3.json, "places.json")
.await(ready);
function ready(error, world, places) {
var ocean_fill = svg.append("defs").append("radialGradient")
.attr("id", "ocean_fill")
.attr("cx", "75%")
.attr("cy", "25%");
ocean_fill.append("stop").attr("offset", "5%").attr("stop-color", "#ddf");
ocean_fill.append("stop").attr("offset", "100%").attr("stop-color", "#9ab");
var globe_highlight = svg.append("defs").append("radialGradient")
.attr("id", "globe_highlight")
.attr("cx", "75%")
.attr("cy", "25%");
globe_highlight.append("stop")
.attr("offset", "5%").attr("stop-color", "#ffd")
.attr("stop-opacity","0.6");
globe_highlight.append("stop")
.attr("offset", "100%").attr("stop-color", "#ba9")
.attr("stop-opacity","0.2");
var globe_shading = svg.append("defs").append("radialGradient")
.attr("id", "globe_shading")
.attr("cx", "50%")
.attr("cy", "40%");
globe_shading.append("stop")
.attr("offset","50%").attr("stop-color", "#9ab")
.attr("stop-opacity","0")
globe_shading.append("stop")
.attr("offset","100%").attr("stop-color", "#3e6184")
.attr("stop-opacity","0.3")
var drop_shadow = svg.append("defs").append("radialGradient")
.attr("id", "drop_shadow")
.attr("cx", "50%")
.attr("cy", "50%");
drop_shadow.append("stop")
.attr("offset","20%").attr("stop-color", "#000")
.attr("stop-opacity",".5")
drop_shadow.append("stop")
.attr("offset","100%").attr("stop-color", "#000")
.attr("stop-opacity","0")
svg.append("ellipse")
.attr("cx", 440).attr("cy", 450)
.attr("rx", proj.scale()*.90)
.attr("ry", proj.scale()*.25)
.attr("class", "noclicks")
.style("fill", "url(#drop_shadow)");
svg.append("circle")
.attr("cx", width / 2).attr("cy", height / 2)
.attr("r", proj.scale())
.attr("class", "noclicks")
.style("fill", "url(#ocean_fill)");
svg.append("path")
.datum(topojson.object(world, world.objects.land))
.attr("class", "land")
.attr("d", path);
svg.append("path")
.datum(graticule)
.attr("class", "graticule noclicks")
.attr("d", path);
svg.append("circle")
.attr("cx", width / 2).attr("cy", height / 2)
.attr("r", proj.scale())
.attr("class","noclicks")
.style("fill", "url(#globe_highlight)");
svg.append("circle")
.attr("cx", width / 2).attr("cy", height / 2)
.attr("r", proj.scale())
.attr("class","noclicks")
.style("fill", "url(#globe_shading)");
svg.append("g").attr("class","points")
.selectAll("text").data(places.features)
.enter().append("path")
.attr("class", "point")
.attr("d", path);
svg.append("g").attr("class","labels")
.selectAll("text").data(places.features)
.enter().append("text")
.attr("class", "label")
.text(function(d) { return d.properties.name })
// uncomment for hover-able country outlines
// svg.append("g").attr("class","countries")
// .selectAll("path")
// .data(topojson.object(world, world.objects.countries).geometries)
// .enter().append("path")
// .attr("d", path);
position_labels();
}
function position_labels() {
var centerPos = proj.invert([width/2,height/2]);
var arc = d3.geo.greatArc();
svg.selectAll(".label")
.attr("text-anchor",function(d) {
var x = proj(d.geometry.coordinates)[0];
return x < width/2-20 ? "end" :
x < width/2+20 ? "middle" :
"start"
})
.attr("transform", function(d) {
var loc = proj(d.geometry.coordinates),
x = loc[0],
y = loc[1];
var offset = x < width/2 ? -5 : 5;
return "translate(" + (x+offset) + "," + (y-2) + ")"
})
.style("display",function(d) {
var d = arc.distance({source: d.geometry.coordinates, target: centerPos});
return (d > 1.57) ? 'none' : 'inline';
})
}
// modified from http://bl.ocks.org/1392560
var m0, o0;
function mousedown() {
m0 = [d3.event.pageX, d3.event.pageY];
o0 = proj.rotate();
d3.event.preventDefault();
}
function mousemove() {
if (m0) {
var m1 = [d3.event.pageX, d3.event.pageY]
, o1 = [o0[0] + (m1[0] - m0[0]) / 6, o0[1] + (m0[1] - m1[1]) / 6];
o1[1] = o1[1] > 30 ? 30 :
o1[1] < -30 ? -30 :
o1[1];
proj.rotate(o1);
refresh();
}
}
function mouseup() {
if (m0) {
mousemove();
m0 = null;
}
}
function refresh() {
svg.selectAll(".land").attr("d", path);
svg.selectAll(".countries path").attr("d", path);
svg.selectAll(".graticule").attr("d", path);
svg.selectAll(".point").attr("d", path);
position_labels();
}
</script>
Display the source blob
Display the rendered blob
Raw
{"type": "FeatureCollection","features": [
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 1, "featurecla": "Populated place", "name": "San Francisco", "nameascii": "San Francisco", "adm0name": "United States of America", "adm0_a3": "USA", "adm1name": "California", "iso_a2": "US", "note": null, "latitude": 37.740007750499998, "longitude": -122.459977663, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 3450000, "pop_min": 732072, "pop_other": 27400, "rank_max": 12, "rank_min": 11, "geonameid": 5391959.0, "meganame": "San Francisco-Oakland", "ls_name": "San Francisco1", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -122.417168773552248, 37.769195629687431 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 1, "featurecla": "Admin-1 capital", "name": "Denver", "nameascii": "Denver", "adm0name": "United States of America", "adm0_a3": "USA", "adm1name": "Colorado", "iso_a2": "US", "note": null, "latitude": 39.739188048400003, "longitude": -104.984015952, "changed": 5.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 2313000, "pop_min": 1548599, "pop_other": 1521278, "rank_max": 12, "rank_min": 12, "geonameid": 5419384.0, "meganame": "Denver-Aurora", "ls_name": "Denver", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -104.985961810968206, 39.741133906965501 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 1, "featurecla": "Populated place", "name": "Houston", "nameascii": "Houston", "adm0name": "United States of America", "adm0_a3": "USA", "adm1name": "Texas", "iso_a2": "US", "note": null, "latitude": 29.819974384599998, "longitude": -95.339979290499997, "changed": 5.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 4459000, "pop_min": 3647574, "pop_other": 3607616, "rank_max": 12, "rank_min": 12, "geonameid": 4699066.0, "meganame": "Houston", "ls_name": "Houston", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -95.341925149145993, 29.821920243188856 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 1, "featurecla": "Populated place", "name": "Miami", "nameascii": "Miami", "adm0name": "United States of America", "adm0_a3": "USA", "adm1name": "Florida", "iso_a2": "US", "note": null, "latitude": 25.787610696400002, "longitude": -80.224106080799999, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 5585000, "pop_min": 382894, "pop_other": 1037811, "rank_max": 13, "rank_min": 10, "geonameid": 4164138.0, "meganame": "Miami", "ls_name": "Miami", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -80.226051939450031, 25.789556555021534 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 1, "featurecla": "Admin-1 capital", "name": "Atlanta", "nameascii": "Atlanta", "adm0name": "United States of America", "adm0_a3": "USA", "adm1name": "Georgia", "iso_a2": "US", "note": null, "latitude": 33.830013854, "longitude": -84.399949383299997, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 4506000, "pop_min": 422908, "pop_other": 2874096, "rank_max": 12, "rank_min": 10, "geonameid": 4180439.0, "meganame": "Atlanta", "ls_name": "Atlanta", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -84.40189524187565, 33.831959712605851 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 1, "featurecla": "Populated place", "name": "Chicago", "nameascii": "Chicago", "adm0name": "United States of America", "adm0_a3": "USA", "adm1name": "Illinois", "iso_a2": "US", "note": null, "latitude": 41.829990660699998, "longitude": -87.750054974099996, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 8990000, "pop_min": 2841952, "pop_other": 3635101, "rank_max": 13, "rank_min": 12, "geonameid": 4887398.0, "meganame": "Chicago", "ls_name": "Chicago", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -87.752000832709314, 41.831936519278429 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 6, "featurecla": "Admin-0 capital", "name": "Caracas", "nameascii": "Caracas", "adm0name": "Venezuela", "adm0_a3": "VEN", "adm1name": "Distrito Capital", "iso_a2": "VE", "note": null, "latitude": 10.500998554400001, "longitude": -66.917037192400002, "changed": 4.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 2985000, "pop_min": 1815679, "pop_other": 2764555, "rank_max": 12, "rank_min": 12, "geonameid": 3646738.0, "meganame": "Caracas", "ls_name": "Caracas", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -66.918983051050418, 10.502944413033333 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 5, "featurecla": "Admin-0 capital", "name": "Kiev", "nameascii": "Kiev", "adm0name": "Ukraine", "adm0_a3": "UKR", "adm1name": "Kiev", "iso_a2": "UA", "note": null, "latitude": 50.433367329, "longitude": 30.5166279691, "changed": 5.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 2709000, "pop_min": 1662508, "pop_other": 1611692, "rank_max": 12, "rank_min": 12, "geonameid": 703448.0, "meganame": "Kyiv", "ls_name": "Kiev", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 30.514682110472165, 50.435313187607221 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 8, "featurecla": "Admin-1 capital", "name": "Dubai", "nameascii": "Dubai", "adm0name": "United Arab Emirates", "adm0_a3": "ARE", "adm1name": "Dubay", "iso_a2": "AE", "note": null, "latitude": 25.229996153799998, "longitude": 55.279974323399998, "changed": 1.0, "namediff": 1, "diffnote": "Name changed.", "pop_max": 1379000, "pop_min": 1137347, "pop_other": 1166878, "rank_max": 12, "rank_min": 12, "geonameid": 292223.0, "meganame": "Dubayy", "ls_name": "Dubayy", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 55.278028464737872, 25.231942012376066 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 6, "featurecla": "Admin-0 capital", "name": "Tashkent", "nameascii": "Tashkent", "adm0name": "Uzbekistan", "adm0_a3": "UZB", "adm1name": "Tashkent", "iso_a2": "UZ", "note": null, "latitude": 41.311701883, "longitude": 69.294932819500005, "changed": 5.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 2184000, "pop_min": 1978028, "pop_other": 2806287, "rank_max": 12, "rank_min": 12, "geonameid": 1512569.0, "meganame": "Tashkent", "ls_name": "Tashkent", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 69.292986960887788, 41.313647741607213 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 3, "featurecla": "Admin-0 capital", "name": "Madrid", "nameascii": "Madrid", "adm0name": "Spain", "adm0_a3": "ESP", "adm1name": "Comunidad de Madrid", "iso_a2": "ES", "note": null, "latitude": 40.400026264499999, "longitude": -3.683351686, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 5567000, "pop_min": 50437, "pop_other": 3673427, "rank_max": 13, "rank_min": 8, "geonameid": 3675707.0, "meganame": "Madrid", "ls_name": "Madrid", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -3.685297544612524, 40.401972123113808 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 7, "featurecla": "Admin-1 capital", "name": "Geneva", "nameascii": "Geneva", "adm0name": "Switzerland", "adm0_a3": "CHE", "adm1name": "Genève", "iso_a2": "CH", "note": null, "latitude": 46.210007547099998, "longitude": 6.14002803409, "changed": 4.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 1240000, "pop_min": 192385, "pop_other": 508284, "rank_max": 12, "rank_min": 9, "geonameid": 2660646.0, "meganame": null, "ls_name": "Geneva", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 6.140028034091699, 46.210007547076259 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 7, "featurecla": "Admin-0 capital", "name": "Stockholm", "nameascii": "Stockholm", "adm0name": "Sweden", "adm0_a3": "SWE", "adm1name": "Stockholm", "iso_a2": "SE", "note": null, "latitude": 59.350759954300003, "longitude": 18.0973347328, "changed": 4.0, "namediff": 0, "diffnote": "Location adjusted.", "pop_max": 1264000, "pop_min": 1253309, "pop_other": 0, "rank_max": 12, "rank_min": 12, "geonameid": 2673730.0, "meganame": "Stockholm", "ls_name": "Stockholm", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 18.095388874180912, 59.35270581286585 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 5, "featurecla": "Admin-0 capital", "name": "Bangkok", "nameascii": "Bangkok", "adm0name": "Thailand", "adm0_a3": "THA", "adm1name": "Bangkok Metropolis", "iso_a2": "TH", "note": null, "latitude": 13.7499992055, "longitude": 100.516644652, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 6704000, "pop_min": 5104476, "pop_other": 5082758, "rank_max": 13, "rank_min": 13, "geonameid": 1609350.0, "meganame": "Krung Thep", "ls_name": "Bangkok", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 100.51469879369489, 13.751945064087977 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 5, "featurecla": "Admin-0 capital", "name": "Lima", "nameascii": "Lima", "adm0name": "Peru", "adm0_a3": "PER", "adm1name": "Lima", "iso_a2": "PE", "note": null, "latitude": -12.048012676100001, "longitude": -77.050062094799998, "changed": 5.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 8012000, "pop_min": 6758234, "pop_other": 6068380, "rank_max": 13, "rank_min": 13, "geonameid": 3936456.0, "meganame": "Lima", "ls_name": "Lima2", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -77.052007953434725, -12.046066817525571 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 8, "featurecla": "Admin-0 capital", "name": "Dakar", "nameascii": "Dakar", "adm0name": "Senegal", "adm0_a3": "SEN", "adm1name": "Dakar", "iso_a2": "SM", "note": null, "latitude": 14.715831725, "longitude": -17.473130128400001, "changed": 5.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 2604000, "pop_min": 2476400, "pop_other": 2470140, "rank_max": 12, "rank_min": 12, "geonameid": 2253354.0, "meganame": "Dakar", "ls_name": "Dakar", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -17.475075987050559, 14.717777583623274 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 3, "featurecla": "Admin-0 capital", "name": "Johannesburg", "nameascii": "Johannesburg", "adm0name": "South Africa", "adm0_a3": "ZAF", "adm1name": "Gauteng", "iso_a2": "ZA", "note": null, "latitude": -26.17004474, "longitude": 28.030009723599999, "changed": 4.0, "namediff": 0, "diffnote": "Changed feature class.", "pop_max": 3435000, "pop_min": 2026469, "pop_other": 3852246, "rank_max": 12, "rank_min": 12, "geonameid": 993800.0, "meganame": "Johannesburg", "ls_name": "Johannesburg", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 28.028063865019476, -26.16809888138414 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 8, "featurecla": "Admin-0 capital", "name": "Amsterdam", "nameascii": "Amsterdam", "adm0name": "Netherlands", "adm0_a3": "NLD", "adm1name": "Noord-Holland", "iso_a2": "NL", "note": null, "latitude": 52.349968688099999, "longitude": 4.91664017601, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 1031000, "pop_min": 741636, "pop_other": 962488, "rank_max": 12, "rank_min": 11, "geonameid": 2759794.0, "meganame": "Amsterdam", "ls_name": "Amsterdam", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 4.914694317400972, 52.351914546664432 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 5, "featurecla": "Admin-1 capital", "name": "Casablanca", "nameascii": "Casablanca", "adm0name": "Morocco", "adm0_a3": "MAR", "adm1name": "Grand Casablanca", "iso_a2": "MA", "note": null, "latitude": 33.599976215600002, "longitude": -7.61636743309, "changed": 4.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 3181000, "pop_min": 3144909, "pop_other": 3718797, "rank_max": 12, "rank_min": 12, "geonameid": 2553604.0, "meganame": "Dar-el-Beida", "ls_name": "Casablanca", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -7.618313291698712, 33.601922074258482 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 3, "featurecla": "Admin-0 capital", "name": "Seoul", "nameascii": "Seoul", "adm0name": "South Korea", "adm0_a3": "KOR", "adm1name": "Seoul", "iso_a2": "KR", "note": null, "latitude": 37.5663490998, "longitude": 126.999730997, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 9796000, "pop_min": 9796000, "pop_other": 12018058, "rank_max": 13, "rank_min": 13, "geonameid": 1835848.0, "meganame": "Seoul", "ls_name": "Seoul", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 126.997785138201948, 37.568294958388947 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 5, "featurecla": "Admin-0 capital", "name": "Manila", "nameascii": "Manila", "adm0name": "Philippines", "adm0_a3": "PHL", "adm1name": "Metropolitan Manila", "iso_a2": "PH", "note": null, "latitude": 14.604158954800001, "longitude": 120.982217162, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 11100000, "pop_min": 3077575, "pop_other": 2381280, "rank_max": 14, "rank_min": 12, "geonameid": 1701668.0, "meganame": "Manila", "ls_name": "Manila", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 120.980271303542395, 14.606104813440538 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 2, "featurecla": "Admin-1 capital", "name": "Monterrey", "nameascii": "Monterrey", "adm0name": "Mexico", "adm0_a3": "MEX", "adm1name": "Nuevo León", "iso_a2": "MX", "note": null, "latitude": 25.669995136499999, "longitude": -100.329984784, "changed": 5.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 3712000, "pop_min": 1122874, "pop_other": 3225636, "rank_max": 12, "rank_min": 12, "geonameid": 3995465.0, "meganame": "Monterrey", "ls_name": "Monterrey", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -100.331930642329951, 25.671940995125283 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 8, "featurecla": "Admin-1 capital", "name": "Auckland", "nameascii": "Auckland", "adm0name": "New Zealand", "adm0_a3": "NZL", "adm1name": "Auckland", "iso_a2": "NZ", "note": null, "latitude": -36.850013001800001, "longitude": 174.764980834, "changed": 4.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 1245000, "pop_min": 274020, "pop_other": 243794, "rank_max": 12, "rank_min": 10, "geonameid": 2193733.0, "meganame": "Auckland", "ls_name": "Auckland", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 174.763034975632536, -36.84806714314567 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 3, "featurecla": "Admin-0 capital", "name": "Berlin", "nameascii": "Berlin", "adm0name": "Germany", "adm0_a3": "DEU", "adm1name": "Berlin", "iso_a2": "DE", "note": null, "latitude": 52.521818663600001, "longitude": 13.4015486233, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 3406000, "pop_min": 3094014, "pop_other": 3013258, "rank_max": 12, "rank_min": 12, "geonameid": 2950159.0, "meganame": "Berlin", "ls_name": "Berlin", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 13.399602764700546, 52.523764522251156 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 1, "featurecla": "Admin-1 capital", "name": "Urumqi", "nameascii": "Urumqi", "adm0name": "China", "adm0_a3": "CHN", "adm1name": "Xinjiang Uygur", "iso_a2": "CN", "note": null, "latitude": 43.805012226400002, "longitude": 87.575005654899996, "changed": 5.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 2151000, "pop_min": 1508225, "pop_other": 2044401, "rank_max": 12, "rank_min": 12, "geonameid": 1529102.0, "meganame": "Ürümqi (Wulumqi)", "ls_name": "Urumqi", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 87.573059796247264, 43.806958085041799 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 1, "featurecla": "Admin-1 capital", "name": "Chengdu", "nameascii": "Chengdu", "adm0name": "China", "adm0_a3": "CHN", "adm1name": "Sichuan", "iso_a2": "CN", "note": null, "latitude": 30.670000019300002, "longitude": 104.07001949, "changed": 5.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 4123000, "pop_min": 3950437, "pop_other": 11622929, "rank_max": 12, "rank_min": 12, "geonameid": 1815286.0, "meganame": "Chengdu", "ls_name": "Chengdu", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 104.068073630948732, 30.671945877957796 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 2, "featurecla": "Admin-1 region capital", "name": "Osaka", "nameascii": "Osaka", "adm0name": "Japan", "adm0_a3": "JPN", "adm1name": "Osaka", "iso_a2": "JP", "note": null, "latitude": 34.750035216299999, "longitude": 135.460144815, "changed": 4.0, "namediff": 0, "diffnote": "Changed feature to Admin-0 region capital.", "pop_max": 11294000, "pop_min": 2592413, "pop_other": 9630783, "rank_max": 14, "rank_min": 12, "geonameid": 1853909.0, "meganame": "Osaka-Kobe", "ls_name": "Osaka", "ls_match": 1, "checkme": 5 }, "geometry": { "type": "Point", "coordinates": [ 135.458198956595197, 34.75198107491417 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 3, "featurecla": "Admin-0 capital", "name": "Kinshasa", "nameascii": "Kinshasa", "adm0name": "Congo (Kinshasa)", "adm0_a3": "COD", "adm1name": "Kinshasa City", "iso_a2": "CD", "note": null, "latitude": -4.32972410189, "longitude": 15.3149718818, "changed": 5.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 7843000, "pop_min": 5565703, "pop_other": 4738154, "rank_max": 13, "rank_min": 13, "geonameid": 2314302.0, "meganame": "Kinshasa", "ls_name": "Kinshasa", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 15.313026023171744, -4.327778243275986 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 1, "featurecla": "Admin-0 capital", "name": "New Delhi", "nameascii": "New Delhi", "adm0name": "India", "adm0_a3": "IND", "adm1name": "Delhi", "iso_a2": "IN", "note": null, "latitude": 28.600023009200001, "longitude": 77.1999800201, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 317797, "pop_min": 317797, "pop_other": 8060107, "rank_max": 10, "rank_min": 10, "geonameid": 1261481.0, "meganame": null, "ls_name": "New Delhi", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 77.199980020053033, 28.600023009245433 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 1, "featurecla": "Admin-1 capital", "name": "Bangalore", "nameascii": "Bangalore", "adm0name": "India", "adm0_a3": "IND", "adm1name": "Karnataka", "iso_a2": "IN", "note": null, "latitude": 12.9699951365, "longitude": 77.560009723799993, "changed": 3.0, "namediff": 1, "diffnote": "Name changed. Changed scale rank.", "pop_max": 6787000, "pop_min": 5104047, "pop_other": 8102712, "rank_max": 13, "rank_min": 13, "geonameid": 1277333.0, "meganame": "Bangalore", "ls_name": "Bangalore", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 77.558063865217548, 12.971940995074419 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 6, "featurecla": "Admin-0 capital", "name": "Athens", "nameascii": "Athens", "adm0name": "Greece", "adm0_a3": "GRC", "adm1name": "Attiki", "iso_a2": "GR", "note": null, "latitude": 37.983326231900001, "longitude": 23.733321084300002, "changed": 4.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 3242000, "pop_min": 729137, "pop_other": 112572, "rank_max": 12, "rank_min": 11, "geonameid": 264371.0, "meganame": "Athínai", "ls_name": "Athens2", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 23.731375225679358, 37.985272090552257 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 5, "featurecla": "Admin-0 capital", "name": "Baghdad", "nameascii": "Baghdad", "adm0name": "Iraq", "adm0_a3": "IRQ", "adm1name": "Baghdad", "iso_a2": "IQ", "note": null, "latitude": 33.338648497500003, "longitude": 44.393868773199998, "changed": 5.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 5054000, "pop_min": 5054000, "pop_other": 4959534, "rank_max": 13, "rank_min": 13, "geonameid": 98182.0, "meganame": "Baghdad", "ls_name": "Baghdad", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 44.391922914564134, 33.340594356158647 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 3, "featurecla": "Admin-0 capital", "name": "Addis Ababa", "nameascii": "Addis Ababa", "adm0name": "Ethiopia", "adm0_a3": "ETH", "adm1name": "Addis Ababa", "iso_a2": "ET", "note": null, "latitude": 9.03331036268, "longitude": 38.700004434, "changed": 5.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 3100000, "pop_min": 2757729, "pop_other": 3013653, "rank_max": 12, "rank_min": 12, "geonameid": 344979.0, "meganame": "Addis Ababa", "ls_name": "Addis Ababa", "ls_match": 1, "checkme": 5 }, "geometry": { "type": "Point", "coordinates": [ 38.698058575348682, 9.035256221295754 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 5, "featurecla": "Admin-0 capital", "name": "Tehran", "nameascii": "Tehran", "adm0name": "Iran", "adm0_a3": "IRN", "adm1name": "Tehran", "iso_a2": "IR", "note": null, "latitude": 35.671942768400001, "longitude": 51.424344033600001, "changed": 5.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 7873000, "pop_min": 7153309, "pop_other": 8209012, "rank_max": 13, "rank_min": 13, "geonameid": 112931.0, "meganame": "Tehran", "ls_name": "Tehran", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 51.422398175008993, 35.673888627001304 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 2, "featurecla": "Populated place", "name": "Vancouver", "nameascii": "Vancouver", "adm0name": "Canada", "adm0_a3": "CAN", "adm1name": "British Columbia", "iso_a2": "CA", "note": null, "latitude": 49.273416584099998, "longitude": -123.121644218, "changed": 5.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 2313328, "pop_min": 603502, "pop_other": 482002, "rank_max": 12, "rank_min": 11, "geonameid": 6173331.0, "meganame": "Vancouver", "ls_name": "Vancouver2", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -123.123590076394294, 49.275362442711753 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 2, "featurecla": "Admin-1 capital", "name": "Toronto", "nameascii": "Toronto", "adm0name": "Canada", "adm0_a3": "CAN", "adm1name": "Ontario", "iso_a2": "CA", "note": null, "latitude": 43.699979877799997, "longitude": -79.420020794400003, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 5213000, "pop_min": 3934421, "pop_other": 3749229, "rank_max": 13, "rank_min": 12, "geonameid": 6167865.0, "meganame": "Toronto", "ls_name": "Toronto", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -79.421966652988431, 43.701925736408441 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 3, "featurecla": "Admin-0 capital", "name": "Buenos Aires", "nameascii": "Buenos Aires", "adm0name": "Argentina", "adm0_a3": "ARG", "adm1name": "Ciudad de Buenos Aires", "iso_a2": "AR", "note": null, "latitude": -34.602501608499999, "longitude": -58.397531373699998, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 12795000, "pop_min": 10929146, "pop_other": 10271457, "rank_max": 14, "rank_min": 14, "geonameid": 3435910.0, "meganame": "Buenos Aires", "ls_name": "Buenos Aires", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -58.399477232331435, -34.600555749907414 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 5, "featurecla": "Admin-0 capital", "name": "Kabul", "nameascii": "Kabul", "adm0name": "Afghanistan", "adm0_a3": "AFG", "adm1name": "Kabul", "iso_a2": "AF", "note": null, "latitude": 34.516690286299998, "longitude": 69.183260049300003, "changed": 5.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 3277000, "pop_min": 3043532, "pop_other": 3475519, "rank_max": 12, "rank_min": 12, "geonameid": 1138958.0, "meganame": "Kabul", "ls_name": "Kabul", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 69.181314190705052, 34.518636144900313 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 7, "featurecla": "Admin-0 capital", "name": "Vienna", "nameascii": "Vienna", "adm0name": "Austria", "adm0_a3": "AUT", "adm1name": "Wien", "iso_a2": "AT", "note": null, "latitude": 48.200015278199999, "longitude": 16.366638955399999, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 2400000, "pop_min": 1731000, "pop_other": 1480886, "rank_max": 12, "rank_min": 12, "geonameid": 2761369.0, "meganame": "Wien", "ls_name": "Vienna", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 16.364693096743736, 48.201961136816863 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 3, "featurecla": "Admin-1 capital", "name": "Melbourne", "nameascii": "Melbourne", "adm0name": "Australia", "adm0_a3": "AUS", "adm1name": "Victoria", "iso_a2": "AU", "note": null, "latitude": -37.820031312300003, "longitude": 144.975016235, "changed": 4.0, "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.0, "meganame": "Melbourne", "ls_name": "Melbourne2", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 144.973070375904058, -37.818085453696312 ] } },
{ "type": "Feature", "properties": { "scalerank": 1, "labelrank": 8, "featurecla": "Admin-0 capital", "name": "Taipei", "nameascii": "Taipei", "adm0name": "Taiwan", "adm0_a3": "TWN", "adm1name": "Taipei City", "iso_a2": "TW", "note": null, "latitude": 25.03583333333, "longitude": 121.568333333330003, "changed": 1.0, "namediff": 0, "diffnote": "Corrected coordinates.", "pop_max": 6900273, "pop_min": 2618772, "pop_other": 5698241, "rank_max": 13, "rank_min": 12, "geonameid": 1668341.0, "meganame": "Taipei", "ls_name": "Taipei", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 121.568333333333001, 25.035833333333301 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 1, "featurecla": "Populated place", "name": "Los Angeles", "nameascii": "Los Angeles", "adm0name": "United States of America", "adm0_a3": "USA", "adm1name": "California", "iso_a2": "US", "note": null, "latitude": 33.989978250199997, "longitude": -118.179980511, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 12500000, "pop_min": 3694820, "pop_other": 142265, "rank_max": 14, "rank_min": 12, "geonameid": 5368361.0, "meganame": "Los Angeles-Long Beach-Santa Ana", "ls_name": "Los Angeles1", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -118.181926369940413, 33.991924108765431 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 1, "featurecla": "Admin-0 capital", "name": "Washington, D.C.", "nameascii": "Washington, D.C.", "adm0name": "United States of America", "adm0_a3": "USA", "adm1name": "District of Columbia", "iso_a2": "US", "note": null, "latitude": 38.899549376499998, "longitude": -77.009418580800002, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 4338000, "pop_min": 552433, "pop_other": 2175991, "rank_max": 12, "rank_min": 11, "geonameid": 4140963.0, "meganame": "Washington, D.C.", "ls_name": "Washington, D.C.", "ls_match": 1, "checkme": 5 }, "geometry": { "type": "Point", "coordinates": [ -77.011364439437159, 38.901495235087054 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 1, "featurecla": "Populated place", "name": "New York", "nameascii": "New York", "adm0name": "United States of America", "adm0_a3": "USA", "adm1name": "New York", "iso_a2": "US", "note": null, "latitude": 40.749979064, "longitude": -73.980016928799998, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 19040000, "pop_min": 8008278, "pop_other": 9292603, "rank_max": 14, "rank_min": 13, "geonameid": 5128581.0, "meganame": "New York-Newark", "ls_name": "New York", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -73.981962787406815, 40.75192492259464 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 5, "featurecla": "Admin-0 capital", "name": "London", "nameascii": "London", "adm0name": "United Kingdom", "adm0_a3": "GBR", "adm1name": "Westminster", "iso_a2": "GB", "note": null, "latitude": 51.499994729699999, "longitude": -0.11672184386, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 8567000, "pop_min": 7421209, "pop_other": 326670, "rank_max": 13, "rank_min": 13, "geonameid": 2643743.0, "meganame": "London", "ls_name": "London2", "ls_match": 1, "checkme": 5 }, "geometry": { "type": "Point", "coordinates": [ -0.118667702475932, 51.5019405883275 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 5, "featurecla": "Admin-1 capital", "name": "Istanbul", "nameascii": "Istanbul", "adm0name": "Turkey", "adm0_a3": "TUR", "adm1name": "Istanbul", "iso_a2": "TR", "note": null, "latitude": 41.104996153800002, "longitude": 29.010001585600001, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 10061000, "pop_min": 9945610, "pop_other": 9651488, "rank_max": 14, "rank_min": 13, "geonameid": 745044.0, "meganame": "Istanbul", "ls_name": "Istanbul", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 29.008055727002613, 41.106942012439788 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 5, "featurecla": "Admin-0 capital", "name": "Riyadh", "nameascii": "Riyadh", "adm0name": "Saudi Arabia", "adm0_a3": "SAU", "adm1name": "Ar Riyad", "iso_a2": "SA", "note": null, "latitude": 24.640833149199999, "longitude": 46.772741657300003, "changed": 4.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 4465000, "pop_min": 4205961, "pop_other": 5148778, "rank_max": 12, "rank_min": 12, "geonameid": 108410.0, "meganame": "Ar-Riyadh", "ls_name": "Riyadh", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 46.770795798688255, 24.642779007816443 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 3, "featurecla": "Admin-0 capital", "name": "Cape Town", "nameascii": "Cape Town", "adm0name": "South Africa", "adm0_a3": "ZAF", "adm1name": "Western Cape", "iso_a2": "ZA", "note": null, "latitude": -33.9200109672, "longitude": 18.434988157799999, "changed": 4.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 3215000, "pop_min": 2432858, "pop_other": 2401318, "rank_max": 12, "rank_min": 12, "geonameid": 3369157.0, "meganame": "Cape Town", "ls_name": "Cape Town", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 18.433042299226031, -33.918065108628753 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 2, "featurecla": "Admin-0 capital", "name": "Moscow", "nameascii": "Moscow", "adm0name": "Russia", "adm0_a3": "RUS", "adm1name": "Moskva", "iso_a2": "RU", "note": null, "latitude": 55.7521641226, "longitude": 37.615522825900001, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 10452000, "pop_min": 10452000, "pop_other": 10585385, "rank_max": 14, "rank_min": 14, "geonameid": 524901.0, "meganame": "Moskva", "ls_name": "Moscow", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 37.613576967271399, 55.754109981248178 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 2, "featurecla": "Admin-0 capital", "name": "Mexico City", "nameascii": "Mexico City", "adm0name": "Mexico", "adm0_a3": "MEX", "adm1name": "Distrito Federal", "iso_a2": "MX", "note": null, "latitude": 19.442442442800001, "longitude": -99.130988201700006, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 19028000, "pop_min": 10811002, "pop_other": 10018444, "rank_max": 14, "rank_min": 14, "geonameid": 3530597.0, "meganame": "Ciudad de México", "ls_name": "Mexico City", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -99.132934060293906, 19.444388301415472 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 2, "featurecla": "Admin-0 capital alt", "name": "Lagos", "nameascii": "Lagos", "adm0name": "Nigeria", "adm0_a3": "NGA", "adm1name": "Lagos", "iso_a2": "NG", "note": null, "latitude": 6.44326165348, "longitude": 3.39153107121, "changed": 4.0, "namediff": 0, "diffnote": "Location adjusted. Changed scale rank.", "pop_max": 9466000, "pop_min": 1536, "pop_other": 6567892, "rank_max": 13, "rank_min": 3, "geonameid": 735497.0, "meganame": "Lagos", "ls_name": "Lagos", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 3.389585212598433, 6.445207512093191 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 3, "featurecla": "Admin-0 capital", "name": "Rome", "nameascii": "Rome", "adm0name": "Italy", "adm0_a3": "ITA", "adm1name": "Lazio", "iso_a2": "IT", "note": null, "latitude": 41.895955626499997, "longitude": 12.4832584215, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 3339000, "pop_min": 35452, "pop_other": 2050212, "rank_max": 12, "rank_min": 7, "geonameid": 4219762.0, "meganame": "Rome", "ls_name": "Rome", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 12.481312562873995, 41.897901485098942 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 1, "featurecla": "Admin-0 capital", "name": "Beijing", "nameascii": "Beijing", "adm0name": "China", "adm0_a3": "CHN", "adm1name": "Beijing", "iso_a2": "CN", "note": null, "latitude": 39.928892231299997, "longitude": 116.388285684, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 11106000, "pop_min": 7480601, "pop_other": 9033231, "rank_max": 14, "rank_min": 13, "geonameid": 1816670.0, "meganame": "Beijing", "ls_name": "Beijing", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 116.386339825659434, 39.930838089909059 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 5, "featurecla": "Admin-0 capital", "name": "Nairobi", "nameascii": "Nairobi", "adm0name": "Kenya", "adm0_a3": "KEN", "adm1name": "Nairobi", "iso_a2": "KE", "note": null, "latitude": -1.28334674185, "longitude": 36.8166568591, "changed": 4.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 3010000, "pop_min": 2750547, "pop_other": 3400962, "rank_max": 12, "rank_min": 12, "geonameid": 184745.0, "meganame": "Nairobi", "ls_name": "Nairobi", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 36.814711000471448, -1.281400883237779 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 1, "featurecla": "Admin-0 capital", "name": "Jakarta", "nameascii": "Jakarta", "adm0name": "Indonesia", "adm0_a3": "IDN", "adm1name": "Jakarta Raya", "iso_a2": "ID", "note": null, "latitude": -6.17441770541, "longitude": 106.829437621, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 9125000, "pop_min": 8540121, "pop_other": 9129613, "rank_max": 13, "rank_min": 13, "geonameid": 1642911.0, "meganame": "Jakarta", "ls_name": "Jakarta", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 106.827491762470117, -6.172471846798885 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 5, "featurecla": "Admin-0 capital", "name": "Bogota", "nameascii": "Bogota", "adm0name": "Colombia", "adm0_a3": "COL", "adm1name": "Bogota", "iso_a2": "CO", "note": null, "latitude": 4.59642356253, "longitude": -74.083343955199993, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 7772000, "pop_min": 6333661, "pop_other": 5754084, "rank_max": 13, "rank_min": 13, "geonameid": 3688689.0, "meganame": "Bogotá", "ls_name": "Bogota", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -74.085289813774409, 4.598369421147822 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 3, "featurecla": "Admin-0 capital", "name": "Cairo", "nameascii": "Cairo", "adm0name": "Egypt", "adm0_a3": "EGY", "adm1name": "Al Qahirah", "iso_a2": "EG", "note": null, "latitude": 30.049960346500001, "longitude": 31.249968219700001, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 11893000, "pop_min": 7734614, "pop_other": 13720557, "rank_max": 14, "rank_min": 13, "geonameid": 360630.0, "meganame": "Al-Qahirah", "ls_name": "Cairo", "ls_match": 1, "checkme": 5 }, "geometry": { "type": "Point", "coordinates": [ 31.248022361126118, 30.051906205103705 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 1, "featurecla": "Admin-1 capital", "name": "Shanghai", "nameascii": "Shanghai", "adm0name": "China", "adm0_a3": "CHN", "adm1name": "Shanghai", "iso_a2": "CN", "note": null, "latitude": 31.216452452599999, "longitude": 121.436504678, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 14987000, "pop_min": 14608512, "pop_other": 16803572, "rank_max": 14, "rank_min": 14, "geonameid": 1796236.0, "meganame": "Shanghai", "ls_name": "Shanghai", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 121.434558819820154, 31.218398311228327 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 2, "featurecla": "Admin-0 capital", "name": "Tokyo", "nameascii": "Tokyo", "adm0name": "Japan", "adm0_a3": "JPN", "adm1name": "Tokyo", "iso_a2": "JP", "note": null, "latitude": 35.685016905799998, "longitude": 139.751407429000011, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 35676000, "pop_min": 8336599, "pop_other": 12945252, "rank_max": 14, "rank_min": 13, "geonameid": 1850147.0, "meganame": "Tokyo", "ls_name": "Tokyo", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 139.749461570544668, 35.686962764371174 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 1, "featurecla": "Admin-1 capital", "name": "Mumbai", "nameascii": "Mumbai", "adm0name": "India", "adm0_a3": "IND", "adm1name": "Maharashtra", "iso_a2": "IN", "note": null, "latitude": 19.016990375700001, "longitude": 72.856989297400006, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 18978000, "pop_min": 12691836, "pop_other": 12426085, "rank_max": 14, "rank_min": 14, "geonameid": 1275339.0, "meganame": "Mumbai", "ls_name": "Mumbai", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 72.855043438766472, 19.018936234356602 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 3, "featurecla": "Admin-0 capital", "name": "Paris", "nameascii": "Paris", "adm0name": "France", "adm0_a3": "FRA", "adm1name": "Île-de-France", "iso_a2": "FR", "note": null, "latitude": 48.866692931199999, "longitude": 2.33333532574, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 9904000, "pop_min": 11177, "pop_other": 7142744, "rank_max": 13, "rank_min": 6, "geonameid": 6942553.0, "meganame": "Paris", "ls_name": "Paris", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 2.33138946713035, 48.868638789814611 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 3, "featurecla": "Admin-0 capital", "name": "Santiago", "nameascii": "Santiago", "adm0name": "Chile", "adm0_a3": "CHL", "adm1name": "Región Metropolitana de Santiago", "iso_a2": "CL", "note": null, "latitude": -33.4500138155, "longitude": -70.667040854600003, "changed": 4.0, "namediff": 0, "diffnote": "Changed scale rank.", "pop_max": 5720000, "pop_min": 46611, "pop_other": 3066651, "rank_max": 13, "rank_min": 7, "geonameid": 3449741.0, "meganame": "Santiago", "ls_name": "Santiago3", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -70.668986713174831, -33.448067956934096 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 1, "featurecla": "Admin-1 capital", "name": "Kolkata", "nameascii": "Kolkata", "adm0name": "India", "adm0_a3": "IND", "adm1name": "West Bengal", "iso_a2": "IN", "note": null, "latitude": 22.494969298299999, "longitude": 88.324675658100006, "changed": 4.0, "namediff": 1, "diffnote": "Name changed. Changed scale rank.", "pop_max": 14787000, "pop_min": 4631392, "pop_other": 7783716, "rank_max": 14, "rank_min": 12, "geonameid": 1275004.0, "meganame": "Kolkata", "ls_name": "Calcutta", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 88.32272979950551, 22.496915156896421 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 1, "featurecla": "Populated place", "name": "Rio de Janeiro", "nameascii": "Rio de Janeiro", "adm0name": "Brazil", "adm0_a3": "BRA", "adm1name": "Rio de Janeiro", "iso_a2": "BR", "note": null, "latitude": -22.9250231742, "longitude": -43.225020794199999, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 11748000, "pop_min": 2010175, "pop_other": 1821489, "rank_max": 14, "rank_min": 12, "geonameid": 3451190.0, "meganame": "Rio de Janeiro", "ls_name": "Rio de Janeiro", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -43.226966652843657, -22.923077315615956 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 1, "featurecla": "Admin-1 capital", "name": "Sao Paulo", "nameascii": "Sao Paulo", "adm0name": "Brazil", "adm0_a3": "BRA", "adm1name": "São Paulo", "iso_a2": "BR", "note": null, "latitude": -23.558679587, "longitude": -46.625019980399998, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 18845000, "pop_min": 10021295, "pop_other": 11522944, "rank_max": 14, "rank_min": 14, "geonameid": 3448439.0, "meganame": "São Paulo", "ls_name": "Sao Paolo", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ -46.626965839055231, -23.556733728378958 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 3, "featurecla": "Admin-1 capital", "name": "Sydney", "nameascii": "Sydney", "adm0name": "Australia", "adm0_a3": "AUS", "adm1name": "New South Wales", "iso_a2": "AU", "note": null, "latitude": -33.9200109672, "longitude": 151.185179809, "changed": 4.0, "namediff": 0, "diffnote": "Changed feature class.", "pop_max": 4630000, "pop_min": 3641422, "pop_other": 2669348, "rank_max": 12, "rank_min": 12, "geonameid": 2147714.0, "meganame": "Sydney", "ls_name": "Sydney1", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 151.183233950147496, -33.918065108628753 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 0, "featurecla": "Admin-0 capital", "name": "Singapore", "nameascii": "Singapore", "adm0name": "Singapore", "adm0_a3": "SGP", "adm1name": null, "iso_a2": "SG", "note": null, "latitude": 1.29303346649, "longitude": 103.855820678, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 5183700, "pop_min": 3289529, "pop_other": 3314179, "rank_max": 13, "rank_min": 12, "geonameid": 1880252.0, "meganame": "Singapore", "ls_name": "Singapore", "ls_match": 1, "checkme": 5 }, "geometry": { "type": "Point", "coordinates": [ 103.853874819099019, 1.294979325105942 ] } },
{ "type": "Feature", "properties": { "scalerank": 0, "labelrank": 0, "featurecla": "Admin-0 region capital", "name": "Hong Kong", "nameascii": "Hong Kong", "adm0name": "Hong Kong S.A.R.", "adm0_a3": "HKG", "adm1name": null, "iso_a2": "HK", "note": null, "latitude": 22.304980895, "longitude": 114.185009317, "changed": 0.0, "namediff": 0, "diffnote": null, "pop_max": 7206000, "pop_min": 4551579, "pop_other": 4549026, "rank_max": 13, "rank_min": 12, "geonameid": 1819729.0, "meganame": "Hong Kong", "ls_name": "Hong Kong", "ls_match": 1, "checkme": 0 }, "geometry": { "type": "Point", "coordinates": [ 114.183063458463039, 22.30692675357551 ] } }
]}
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment