Comments (4)
Hmm, I see it contains a numerical id, but that doesn't matter for the target failing...
from world-atlas.
Never mind this, 50m and 110m targets work like charm.
from world-atlas.
bounds: -1.5768348533065902e+308 -1.7728960695858624e+308 1.753085161088212e+308 1.641883998050292e+308 (cartesian)
Something is very wrong here.
from world-atlas.
I have a different error on this (running on Gentoo Linux -- of course ;)
seemant@lucky ~/Projects/d3 $ git clone [email protected]:mbostock/world-atlas.git
Cloning into 'world-atlas'...
aremote: Counting objects: 78, done.
remote: Total 78 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (78/78), 12.59 KiB | 0 bytes/s, done.
Resolving deltas: 100% (38/38), done.
Checking connectivity... done.
seemant@lucky ~/Projects/d3 $ cd world-atlas/
seemant@lucky ~/Projects/d3/world-atlas $ npm install
> [email protected] install /home/seemant/Projects/d3/world-atlas/node_modules/topojson/node_modules/d3/node_modules/jsdom/node_modules/contextify
> node-gyp rebuild
make: Entering directory '/home/seemant/Projects/d3/world-atlas/node_modules/topojson/node_modules/d3/node_modules/jsdom/node_modules/contextify/build'
CXX(target) Release/obj.target/contextify/src/contextify.o
SOLINK_MODULE(target) Release/obj.target/contextify.node
SOLINK_MODULE(target) Release/obj.target/contextify.node: Finished
COPY Release/contextify.node
make: Leaving directory '/home/seemant/Projects/d3/world-atlas/node_modules/topojson/node_modules/d3/node_modules/jsdom/node_modules/contextify/build'
[email protected] node_modules/topojson
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected])
seemant@lucky ~/Projects/d3/world-atlas $ make topo/world-10m.json
mkdir -p zip/
curl "http://naciscdn.org/naturalearth/10m/cultural/ne_10m_admin_0_countries.zip" -o zip/ne_10m_admin_0_countries.zip.download
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5236k 100 5236k 0 0 278k 0 0:00:18 0:00:18 --:--:-- 305k
mv zip/ne_10m_admin_0_countries.zip.download zip/ne_10m_admin_0_countries.zip
mkdir -p shp/
unzip -d shp zip/ne_10m_admin_0_countries.zip
Archive: zip/ne_10m_admin_0_countries.zip
inflating: shp/ne_10m_admin_0_countries.README.html
extracting: shp/ne_10m_admin_0_countries.VERSION.txt
inflating: shp/ne_10m_admin_0_countries.dbf
inflating: shp/ne_10m_admin_0_countries.prj
inflating: shp/ne_10m_admin_0_countries.shp
inflating: shp/ne_10m_admin_0_countries.shx
extracting: shp/ne_10m_admin_0_countries.cpg
touch shp/ne_10m_admin_0_countries.shp
mkdir -p topo/
node_modules/.bin/topojson \
--quantization 1e5 \
--id-property=+iso_n3 \
-- countries=shp/ne_10m_admin_0_countries.shp \
| node_modules/.bin/topojson-merge \
-o topo/world-10m.json \
--io=countries \
--oo=land \
--no-key
undefined:0
^
SyntaxError: Unexpected end of input
at Object.parse (native)
at Object.<anonymous> (/home/seemant/Projects/d3/world-atlas/node_modules/topojson/bin/topojson-merge:60:21)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
Makefile:75: recipe for target 'topo/world-10m.json' failed
make: *** [topo/world-10m.json] Error 8
from world-atlas.
Related Issues (20)
- `npm install` on freshly cloned repo fails HOT 4
- Missing IDs for several features HOT 11
- Fails when running prepublish script HOT 1
- Redirect to active fork HOT 2
- The countries-110m.json file seems to be invalid HOT 4
- add iso 3611-1-alpha codes HOT 2
- Add POP_EST attribute HOT 1
- should quantization be more aggressive?
- French Guiana is labelled as France HOT 2
- Rename "eSwatini" to "Eswatini" HOT 1
- Tuvalu shows as part of Fiji
- Is there any way to separate out French Guiana from France on map ? HOT 1
- countries-10m.json shows Russia in a way that is not accurate HOT 2
- Rebuilt on Natural Earth Vector 5.0.0
- Why no Makefile
- Same country id for "Australia" and "Ashmore and Cartier Is"
- Country borders are shown not according to United Nation regulations. HOT 3
- Is the quantisation precision too low for 10m?
- Maldives path remains open when rendering chart in D3 HOT 1
- Please use the correct map of India!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from world-atlas.