d3.js - displaying whole world map with topoJSON and D3 -



d3.js - displaying whole world map with topoJSON and D3 -

first of i'm totally new 2 libraries (which believe awesome), sorry if sounds stupid question. display whole world using d3 + topojson. i'm next this tutorial so. downloaded both files when comes using ogr2ogr avoid filtering england + republic of ireland whole world. follow tutorial print map in end uncaught typeerror: cannot read property 'type' of undefined on line 1 of optimised topojson library :-).

now, i'm pretty sure did wrong conversion when calling ogr2ogr, can't figure right filter apply whole map. little bit more experience willing help?

thanks

p.s. if follow tutorial using uk map, shows correctly, think it's related ogr2ogr conversion.

edit:

these commands used convert maps , merge them: ogr2ogr -f geojson subunits.json ne_10m_admin_0_map_subunits.shp, used ogr2ogr -f geojson places.json ne_10m_populated_places.shp , merge them: topojson --id-property su_a3 -p name=name -p name -o world.json subunits.json places.json.

maps d3.js

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -