Giter Site home page Giter Site logo

geojson's Introduction

What is GeoJSON?

GeoJSON is a JSON representation of Simple Feature geometries defined by Open Geospatial Consortium (OGC). Simple features is a standard for representing geographic objects. You can read the GeoJSON spec at: http://geojson.org/geojson-spec.html

Using GeoJSON

Prerequisits

This GeoJSON is an extension to the GeoRuby gem.

  
    gem install nofxx-georuby
    git clone [email protected]:sabman/geojson.git
    cd geojson
    
    irb
    require 'geo_ruby'
    require 'geojson'
    geojson = '{ "type": "LineString", "coordinates": [ [100.0, 0.0], [101.0, 1.0] ] }'
    # read geometry
    geom = Geometry.from_geojson(geojson)
    # write geometry
    geom.to_json
  

You can see the tests for more examples

geojson's People

Contributors

sabman avatar

Stargazers

Wadson avatar NothingRealHappen avatar c00001 avatar Steven Heinrich avatar Roland avatar Paulo Henrique Deléo avatar Patrick Schmitz avatar Andre Brühl avatar Georg Kreimer avatar Marcus Mateus avatar  avatar

Watchers

 avatar James Cloos avatar

Forkers

paulodeleo

geojson's Issues

Consider adding a license

See https://choosealicense.com/ for tl;dr and to confirmation that it is a real problem

Currently no license is mentioned anywhere, what makes this code fully copyrighted. This is a default for any creative work - what includes software.

Please, please add a license. The fact none is listed makes using this software a legal quagmire.

For example currently it is not legal to use, improve or distribute this code. Hopefully this is not the intended effect, given that code was open sourced.

In case that for some reason not releasing it under open license is intentional - mentioning it in the readme also would be a good idea. Though note that given that it is open sourced it will not stop anyone not caring about copyrights.

Popular licences include:

  • MIT license that allows people to use code for any purpose
  • GNU GPLv3 that intends to allow everything but to block people from distributing closed source versions that build on open source project

Feel free to ask me questions :) I know and understand that people often prefer to ignore copyright law, unfortunately it will not make it disappear.

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.