All Projects → rgeo → Rgeo Geojson

rgeo / Rgeo Geojson

Licence: other
RGeo component for reading and writing GeoJSON

Programming Languages

ruby
36898 projects - #4 most used programming language

Labels

Projects that are alternatives of or similar to Rgeo Geojson

Leaflet Elevation
Leaflet plugin that allows to add elevation profiles using d3js
Stars: ✭ 88 (-45.68%)
Mutual labels:  geojson
Kepler
The open source full-stack geosocial network platform
Stars: ✭ 125 (-22.84%)
Mutual labels:  geojson
Geojsonify
Easily add GeoJson layers to your Maps
Stars: ✭ 141 (-12.96%)
Mutual labels:  geojson
Geojson2h3
Conversion utilities between H3 indexes and GeoJSON
Stars: ✭ 93 (-42.59%)
Mutual labels:  geojson
Gis Dataset Brasil
Geographic Information Systems (GIS) Dataset Brasil - Coleção de shapefiles, GeoJSON e TopoJSON prontas para uso
Stars: ✭ 121 (-25.31%)
Mutual labels:  geojson
Tiler
A no nonsense Vector Tile pipeline
Stars: ✭ 132 (-18.52%)
Mutual labels:  geojson
Leaflet Maps With Google Sheets
Customize Leaflet maps with a linked Google Sheets template and GeoJSON data on GitHub
Stars: ✭ 77 (-52.47%)
Mutual labels:  geojson
Gcoord
地理坐标系转换工具
Stars: ✭ 2,206 (+1261.73%)
Mutual labels:  geojson
Geomet
GeoMet - Convert GeoJSON to WKT/WKB, and vice versa
Stars: ✭ 123 (-24.07%)
Mutual labels:  geojson
Country Iso
🗺 Get the ISO 3166-1 alpha-3 country code from geographic coordinates.
Stars: ✭ 141 (-12.96%)
Mutual labels:  geojson
Geogeometry
GeoGeometry is a set of algorithms and functions for manipulating geo hashes and geometric shapes with geo coordinates.
Stars: ✭ 94 (-41.98%)
Mutual labels:  geojson
Awesome Geojson
GeoJSON utilities that will make your life easier.
Stars: ✭ 1,668 (+929.63%)
Mutual labels:  geojson
Mapbox Gl Native Android
Interactive, thoroughly customizable maps in native Android powered by vector tiles and OpenGL
Stars: ✭ 135 (-16.67%)
Mutual labels:  geojson
Svg To Geojson
Upload SVG, return GeoJSON.
Stars: ✭ 88 (-45.68%)
Mutual labels:  geojson
Arcgis To Geojson Utils
Tools to convert ArcGIS JSON geometries to GeoJSON geometries and vice-versa.
Stars: ✭ 146 (-9.88%)
Mutual labels:  geojson
Geoswift
The Swift Geometry Engine.
Stars: ✭ 1,267 (+682.1%)
Mutual labels:  geojson
Geojsonio
Convert many data formats to & from GeoJSON & TopoJSON
Stars: ✭ 132 (-18.52%)
Mutual labels:  geojson
Mapboxstatic.swift
Static map snapshots with overlays in Swift or Objective-C on iOS, macOS, tvOS, and watchOS
Stars: ✭ 162 (+0%)
Mutual labels:  geojson
Tippecanoe
Build vector tilesets from large collections of GeoJSON features.
Stars: ✭ 1,986 (+1125.93%)
Mutual labels:  geojson
Historical Basemaps
Collection of georeferenced boundaries of world countries and cultural regions for use in mapping historical data on the world scale
Stars: ✭ 134 (-17.28%)
Mutual labels:  geojson

rgeo-geojson

Gem Version Build Status

rgeo-geojson is an extension to RGeo that provides GeoJSON encoding and decoding.

Summary

RGeo is a key component for writing location-aware applications in the Ruby programming language. At its core is an implementation of the industry standard OGC Simple Features Specification, which provides data representations of geometric objects such as points, lines, and polygons, along with a set of geometric analysis operations. See the README for the "rgeo" gem for more information.

RGeo::GeoJSON is an optional RGeo module that provides GeoJSON encoding and decoding. GeoJSON is a JSON format used for geographic data structures.

Example:

require 'rgeo/geo_json'

str1 = '{"type":"Point","coordinates":[1,2]}'
geom = RGeo::GeoJSON.decode(str1)
geom.as_text              # => "POINT (1.0 2.0)"

str2 = '{"type":"Feature","geometry":{"type":"Point","coordinates":[2.5,4.0]},"properties":{"color":"red"}}'
feature = RGeo::GeoJSON.decode(str2)
feature['color']          # => 'red'
feature.geometry.as_text  # => "POINT (2.5 4.0)"

hash = RGeo::GeoJSON.encode(feature)
hash.to_json == str2      # => true

Install

RGeo::GeoJSON requires:

  • Ruby 2.1.0 or later
  • rgeo 1.0.0 or later

Include in your bundle:

gem 'rgeo-geojson'

Install rgeo-geojson as a gem:

gem install rgeo-geojson

See the README for the rgeo gem, a required dependency, for further installation information.

Development and support

RDoc Documentation is available at http://rdoc.info/gems/rgeo-geojson

Source code is hosted on Github at https://github.com/rgeo/rgeo-geojson

Contributions are welcome. Fork the project on Github.

Report bugs on Github issues at http://github.com/rgeo/rgeo-geojson/issues

Acknowledgments

RGeo was created by Daniel Azuma (http://www.daniel-azuma.com).

Development is/was supported by Pirq and Neighborland.

License

Copyright (c) Daniel Azuma, Tee Parham

https://github.com/rgeo/rgeo-geojson/blob/master/LICENSE.txt

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].