Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

world-atlas

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

world-atlas

Roll your own TopoJSON from Natural Earth.

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

World Atlas TopoJSON

This repository provides a convenient mechanism for generating TopoJSON files from Natural Earth.

Installing via Homebrew

Before you can run make, you’ll need to install Node.js. Here’s how to do that using Homebrew on Mac OS X:

brew install node

And then, from this repository’s root directory, install the dependencies:

npm install

If you want to install this software using an alternate method see the website for TopoJSON. I also recommend reading my tutorial, Let’s Make a Map.

Generating TopoJSON

Once you have everything installed, simply run:

make

This will generate various TopoJSON files in the topo directory. As a by-product of producing these files, you’ll also download the shapefiles directly from Natural Earth and convert them into GeoJSON and filter.

If you want to generate a custom map, I recommend modifying the Makefile. Or, just use the Makefile as a set of examples, and run the appropriate ogr2ogr and topojson commands from the terminal.

Keywords

FAQs

Package last updated on 10 May 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc