Coder Social home page Coder Social logo

topojson-rails's Introduction

topojson-rails

TopoJSON is an extension of GeoJSON that encodes topology. Rather than representing geometries discretely, geometries in TopoJSON files are stitched together from shared line segments called arcs. TopoJSON eliminates redundancy, offering much more compact representations of geometry than with GeoJSON; typical TopoJSON files are 80% smaller than their GeoJSON equivalents. In addition, TopoJSON facilitates applications that use topology, such as topology-preserving shape simplification, automatic map coloring, and cartograms.

Want to learn more? See the wiki.

Installation

Add the following to your gemfile:

gem 'topojson-rails'

And then execute:

$ bundle

Add the following directive to your JavaScript manifest file (application.js):

//= require topojson

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

topojson-rails's People

Contributors

bai avatar

Watchers

Bruno Miranda avatar Robert Malko avatar Ben Simpson avatar Carlos Gabaldon avatar Dustin Schneider avatar Shannon McPherson avatar Alex Rockwell avatar Andrew Cox avatar Valentino Stoll avatar David Peters avatar Nick Karpenske avatar Ellis Berner avatar Tomas Mattia avatar Nana Wu avatar Morgan Lagier avatar Daniel Nill avatar Sam Hart avatar Joel Davis avatar Jon Tanner avatar James Cloos avatar Harold S avatar Austin Story avatar Thomson Tan avatar Jason Hagglund avatar Sarah West avatar Juraci de Lima Vieira Neto avatar Colleen Beach avatar Charles Chi avatar Siavash Bonakdar avatar Yaning Zhu avatar Yana Georgiev avatar Woody Woodrich avatar Rahul Ahuja avatar Callum Colvine avatar Anna Ransbotham-Cole avatar Shawn Wang avatar Christopher J Frame avatar Seyoung avatar E Widman avatar Jason Bornhoft avatar Pat Blachly avatar Tai Nguyen avatar Chandler De Angelis avatar Erik Selin avatar William Harvey avatar Dennis Bielinski avatar Jonathan D Kelley avatar  avatar

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.