All Projects → ngageoint → simple-features-geojson-java

ngageoint / simple-features-geojson-java

Licence: MIT License
Simple Features GeoJSON Java Library

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to simple-features-geojson-java

krawler
A minimalist (geospatial) ETL
Stars: ✭ 51 (+112.5%)
Mutual labels:  geojson, ogc
state-of-rust
The current state of Rust’s various stable/unstable features.
Stars: ✭ 16 (-33.33%)
Mutual labels:  features
leaflet-examples
🍁 A collection of examples of leaflet map usage
Stars: ✭ 90 (+275%)
Mutual labels:  geojson
InViewer
A Three.js-based viewer for visualizing OGC IndoorGML data
Stars: ✭ 18 (-25%)
Mutual labels:  ogc
MNGA
💬 A refreshing NGA Forum App in SwiftUI. Make NGA Great Again! aka "NGA 论坛 iOS 开源客户端"
Stars: ✭ 124 (+416.67%)
Mutual labels:  nga
stylish-hub
🍹 A browser extension that brings new GitHub features and experience.
Stars: ✭ 14 (-41.67%)
Mutual labels:  features
skynet-scrub-server
Backing store for developmentseed/skynet-scrub
Stars: ✭ 13 (-45.83%)
Mutual labels:  geojson
geoh
Transform a geoJSON into a list of geohashes that intersect with it
Stars: ✭ 26 (+8.33%)
Mutual labels:  geojson
geojson-to-svg-cli
Command line tool to convert GeoJSON to SVG.
Stars: ✭ 22 (-8.33%)
Mutual labels:  geojson
GeoJSON.Net.Contrib
Repository for all GeoJSON.Net *.Contrib projects
Stars: ✭ 31 (+29.17%)
Mutual labels:  geojson
pygeoif
Basic implementation of the __geo_interface__
Stars: ✭ 44 (+83.33%)
Mutual labels:  geojson
GeoJSON4EntityFramework
Create GeoJSON from Entity Framework Spatial Data or WKT
Stars: ✭ 18 (-25%)
Mutual labels:  geojson
WPS
The 52°North Web Processing Service enables the deployment of geo-processes on the web in a standardized way.
Stars: ✭ 57 (+137.5%)
Mutual labels:  ogc
geojson-python-utils
Python helper functions for manipulating GeoJSON
Stars: ✭ 86 (+258.33%)
Mutual labels:  geojson
featurehub
FeatureHub - cloud native feature flags, A/B testing and remote configuration service. Real-time streaming feature updates. Provided with Java, JavaScript, Go, .Net, Android and Flutter SDKs.
Stars: ✭ 136 (+466.67%)
Mutual labels:  features
geojson
GeoJSON classes for R
Stars: ✭ 32 (+33.33%)
Mutual labels:  geojson
xyz-spaces-python
Manage your XYZ Hub or HERE Data Hub spaces from Python.
Stars: ✭ 29 (+20.83%)
Mutual labels:  geojson
civil-services-geojson-app
Electron App for Loading GeoJSON files with Mapbox
Stars: ✭ 18 (-25%)
Mutual labels:  geojson
TomboloDigitalConnector
The Tombolo Digital Connector enables users to combine different sources of data in a transparent and reproducible way.
Stars: ✭ 56 (+133.33%)
Mutual labels:  geojson
ITKTextureFeatures
Fast, Texture Feature Maps from N-Dimensional Images
Stars: ✭ 16 (-33.33%)
Mutual labels:  features

Simple Features GeoJSON Java

Simple Features GeoJSON Lib

The Simple Features Libraries were developed at the National Geospatial-Intelligence Agency (NGA) in collaboration with BIT Systems. The government has "unlimited rights" and is releasing this software to increase the impact of government investments by providing developers with the opportunity to take things in new directions. The software use, modification, and distribution rights are stipulated within the MIT license.

Pull Requests

If you'd like to contribute to this project, please make a pull request. We'll review the pull request and discuss the changes. All pull request contributions to this project will be released under the MIT license.

Software source code previously released under an open source license and then modified by NGA staff is considered a "joint work" (see 17 USC § 101); it is partially copyrighted, partially public domain, and as a whole is protected by the copyrights of the non-government authors and must be released according to the terms of the original open source license.

About

Simple Features GeoJSON is a Java library for writing and reading Simple Feature Geometries to and from GeoJSON.

Usage

View the latest Javadoc

Read

//String content = ...    

Geometry geometry = FeatureConverter.toGeometry(content);
mil.nga.sf.Geometry simpleGeometry = geometry.getGeometry();

/* Read as a generic GeoJSON object, Feature, or Feature Collection */
//GeoJsonObject geoJsonObject = FeatureConverter.toGeoJsonObject(content);
//Feature feature = FeatureConverter.toFeature(content);
//FeatureCollection featureCollection = FeatureConverter.toFeatureCollection(content);

Write

//Geometry geometry = ...

String content = FeatureConverter.toStringValue(geometry);

Feature feature = FeatureConverter.toFeature(geometry);
String featureContent = FeatureConverter.toStringValue(feature);

FeatureCollection featureCollection = FeatureConverter.toFeatureCollection(geometry);
String featureCollectionContent = FeatureConverter.toStringValue(featureCollection);

Map<String, Object> contentMap = FeatureConverter.toMap(geometry);

Installation

Pull from the Maven Central Repository (JAR, POM, Source, Javadoc)

<dependency>
    <groupId>mil.nga.sf</groupId>
    <artifactId>sf-geojson</artifactId>
    <version>3.0.1</version>
</dependency>

Build

Build & Test

Build this repository using Eclipse and/or Maven:

mvn clean install

Remote Dependencies

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].