geogson - GeoJSON support for Google gson library

  •        158

GeoJSON support for Google Gson

https://github.com/filosganga/geogson
http://github.com/filosganga/geogson

Dependencies:

com.github.filosganga:geogson-core:null
com.github.filosganga:geogson-core:null
com.google.code.gson:gson:2.8.1
com.vividsolutions:jts-core:1.14.0
junit:junit:4.12
org.hamcrest:hamcrest-all:1.3
org.openjdk.jmh:jmh-core:1.19
org.openjdk.jmh:jmh-generator-annprocess:1.19

Tags
Implementation
License
Platform

   




Related Projects

Kotson - Kotlin bindings for JSON manipulation via Gson

  •    Kotlin

Kotson enables you to parse and write JSON with Google's Gson using a conciser and easier syntax. Kotson is a set of extension functions, meaning that it adds utility functions and syntactic sugars to Gson in Kotlin. It does not add new features to Gson nor does it creates new types. It is therefore usable on any Gson object, whether created from java or kotlin in source or library.

Moshi - A modern JSON library for Android and Java

  •    Java

Moshi is a modern JSON library for Android and Java. It makes it easy to parse JSON into Java objects. It has has built-in support for reading and writing Java’s core data types like Primitives (int, float, char...), Collections, String, Enum. Moshi uses the same streaming and binding mechanisms as Gson. If you’re a Gson user you’ll find Moshi works similarly.

esri2open - this repo is an ESRI toolbox and tool(s) that export ESRI Feature Classes to open data formats, CSV, JSON, and GeoJSON

  •    Python

This repo is an ESRI toolbox and tool(s) that exports ESRI Feature Classes to open data formats, CSV, JSON, SQLite, and GeoJSON. Much of the data in government coffers is contained in spatial databases. A large percentage of government spatial data is created and managed using ESRI software. While the common interchange format, the ESRI Shapefile, is easily exported and imported by many other softwares, this data file format (the Shapefile) is not intrinsically part of the www ecology. Moreover, ESRI software does not provide an export of its generic 'feature class' (shapefile, file geodatabase, and personal geodatabase) to the most common open data file formats, CSV, JSON, and/or GeoJSON. Finally while open source tools easily transform ESRI shapefiles to open data, most government geospatial infrastructures only have ESRI tools. Lacking this basic export feature presented here, means the lion's share of government spatial data users cannot export their data to the most common open data formats.

stag-java - Speedy Type Adapter Generation

  •    Java

Stag improves Gson performance by automatically generating reflection-less TypeAdapters for your model objects. Gson is the essential JSON parsing library. It greatly simplifies what can be the verbose and boilerplate-ridden process of parsing JSON into model objects. It does this by leveraging reflection. Unfortunately, using reflection can be slow (particularly on the Android OS).


countries - An example Android app using Retrofit, Realm, Parceler, Dagger and the MVVM pattern with the data binding lib

  •    Kotlin

A sample Android app written in Kotlin, which lists all countries with some additional information (currencies, languages, …). The app uses the MVVM pattern with the Android data binding lib. Countries can be bookmarked and are then stored locally with Realm. Retrofit is used to fetch the country information from the free REST Countries service. For JSON parsing, custom Gson TypeAdapters are used. PaperParcel is used to make the Country objects Parcelable. Also, Dagger 2 is used for dependency injection. This project can also be used as a template for new apps. Check out the template branch for a cleaned up version of this project.

LoganSquare - Screaming fast JSON parsing and serialization library for Android.

  •    Java

The fastest JSON parsing and serializing library available for Android. Based on Jackson's streaming API, LoganSquare is able to consistently outperform GSON and Jackson's Databind library by 400% or more1. By relying on compile-time annotation processing to generate code, you know that your JSON will parse and serialize faster than any other method available. By using this library, you'll be able to utilize the power of Jackson's streaming API without having to code tedius, low-level code involving JsonParsers or JsonGenerators. Instead, just annotate your model objects as a @JsonObject and your fields as @JsonFields and we'll do the heavy lifting for you.

JTS Topology Suite

  •    Java

The JTS Topology Suite is an API for modelling and manipulating 2-dimensional linear geometry. It provides numerous geometric predicates and functions. JTS conforms to the Simple Features Specification for SQL published by the Open GIS Consortium.

Flummi - Elastic Search HTTP REST Client

  •    Java

Flummi is a client library for Elastic Search. It has been successfully tested with Elastic Search versions 2.3, 2.4 and 5.1. It provides a comprehensive Java query DSL API and communicates with the Elastic Search Cluster via HTTP/JSON. Flummi uses HTTP and JSON for communication with Elastic Search. Its only dependencies are Gson and AsyncHttpClient, so it is good for you if you don't want to have your application depend on the full ElasticSearch JAR.

GsonFormat - 根据Gson库使用的要求,将JSONObject格式的String 解析成实体

  •    Java

This is a plugin you can generate Json model from Json String. Please do aware This Plugin is only for Android Studio and IntelliJ IDEA. Restart IDE.

auto-value-gson - AutoValue Extension to add Gson De/Serializer support

  •    Java

An extension for Google's AutoValue that creates a simple Gson TypeAdapterFactory for each AutoValue annotated object. Simply include auto-value-gson in your project and add a public static method to your @AutoValue annotated class returning a TypeAdapter. You can also annotate your properties using @SerializedName to define an alternate name for de/serialization.

shapefile - A cross-platform streaming parser for the ESRI Shapefile spatial data format.

  •    Javascript

For a live example, see bl.ocks.org/2dd741099154a4da55a7db31fd96a892. See also ndjson-cli for examples of manipulating GeoJSON using newline-delimited JSON streams. See Command-Line Cartography for a longer introduction. In-browser parsing of dBASE table files requires TextDecoder, part of the Encoding living standard, which is not supported in IE or Safari as of September, 2016. See text-encoding for a browser polyfill.

geojson-google-maps - A simple utility to convert GeoJSON objects to Google Maps vector objects (Marker, Polyline, Polygon)

  •    Javascript

Google Maps now has proper support for GeoJSON, so you should probably use that instead. GeoJSON is used to create Google Maps API v3 vectors (Marker, Polyline, Polygon) from GeoJSON objects (Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, Feature, GeometryCollection, FeatureCollection). Specifically, I'm translating some GeoJSON types to arrays of Google Maps vectors as there aren't really Google Maps equivalents of MultiPoint, MultiLineString, etc.

iGeospatial: Spatial Schema

  •    

The Open Geospatial Library aims to provide an open source GIS library for the .NET framework. The library will implement various Open Geospatial Consortium (OGC) and ISO specifications. Currently, we are in the process of porting and enhancing the JTS Topology Suite library,...

JTS Archiver

  •    

A free, Open Source Multi-Format Archiver supporting most popular compression formats.

NetTopologySuite - A .NET GIS solution that is fast and reliable for the .NET platform.

  •    CSharp

A .NET GIS solution that is fast and reliable for the .NET platform. NetTopologySuite is a direct-port of all the functionalities offered by JTS Topology Suite: NTS expose JTS in a '.NET way', as example using Properties, Indexers etc...

JTS 2 GML (DOM)

  •    

This project aims to produce a fast and reliable Java library for converting JTS (Java Topology Suite) Geometry Objects into OGC GML-conformant DOM Elements

jsts - JavaScript Topology Suite

  •    Javascript

JSTS is an ECMAScript library of spatial predicates and functions for processing geometry conforming to the Simple Features Specification for SQL published by the Open Geospatial Consortium. JSTS is also a port of the well established Java library JTS. The primary goal of the project is to provide web mapping applications with a complete library for processing and analyzing simple geometries but JSTS can also be used as a free standing geometry library.

python-geojson - Python bindings and utilities for GeoJSON

  •    Python

This library implements all the GeoJSON Objects described in The GeoJSON Format Specification. All object keys can also be used as attributes.