Giter VIP home page Giter VIP logo

Comments (4)

jieter avatar jieter commented on July 17, 2024

Hmm, I see it contains a numerical id, but that doesn't matter for the target failing...

from world-atlas.

jieter avatar jieter commented on July 17, 2024

Never mind this, 50m and 110m targets work like charm.

from world-atlas.

mbostock avatar mbostock commented on July 17, 2024
bounds: -1.5768348533065902e+308 -1.7728960695858624e+308 1.753085161088212e+308 1.641883998050292e+308 (cartesian)

Something is very wrong here.

from world-atlas.

seemantk avatar seemantk commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.