GithubHelp home page GithubHelp logo

geojson-pojo's Introduction

GeoJSON-POJO

Simple POJO implementation of GeoJSON Format Specification 1.0.

Specification: http://geojson.org

What is GeoJSON?

GeoJSON is a format for encoding a variety of geographic data structures. A GeoJSON object may represent a geometry, a feature, or a collection of features. GeoJSON supports the following geometry types: Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, and GeometryCollection. Features in GeoJSON contain a geometry object and additional properties, and a feature collection represents a list of features.

Maven

Step 1. Add the JitPack repository to your build file

<repository>
  <id>jitpack.io</id>
  <url>https://jitpack.io</url>
</repository>

Step 2. Add the dependency to your build file.

<dependency>
  <groupId>com.github.MPriess</groupId>
  <artifactId>GeoJSON-POJO</artifactId>
  <version>1.0.1</version>
</dependency>

Example

Point

Linestring

Polygon

Dependency Status

geojson-pojo's People

Contributors

dependabot[bot] avatar mpriess avatar rma-rripken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

geojson-pojo's Issues

License?

How is this code licensed?

If you want it to be free to use (in personal and commercial software), I would suggest including the MIT license.

Incorrect initialisation of Point in constructor?

Constructor for Point class as below does not seem to correctly populate altitude parameter

     public Point(double longtitude, double latitude, double altitude) {
        this();
        coordinates = new double[3];
        coordinates[0] = longtitude;
        coordinates[1] = latitude;
        coordinates[2] = latitude;
    }

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.