Geojson

Encoder/decoder for simple GIS features
Download

Geojson Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Sean Gillies
  • Publisher web site:
  • http://plone.org/products/pleiadesgeocoder

Geojson Tags


Geojson Description

Encoder/decoder for simple GIS features Geojson is a Python module that contains:* The reference implementation of the Python geo interface: http://trac.gispython.org/lab/wiki/PythonGeoInterface* Functions for encoding and decoding GeoJSON (http://geojson.org) formatted data.Geojson provides geometry, feature, and collection classes, and supports pickle-style dump and load of objects that provide the lab's Python geo interface. Here's an example of a round-trip through the GeoJSON format:>>> import geojson>>> p = geojson.Point()>>> pPoint(coordinates=)>>> data = geojson.dumps(p)>>> data'{"type": "Point", "coordinates": }'>>> q = geojson.loads(data, object_hook=geojson.GeoJSON.to_instance)>>> qPoint(coordinates=)The geometry classes interoperate with Shapely via the geo interface:>>> from shapely.geometry import asShape>>> x = asShape(p)>>> x.wkt'POINT (0.0000000000000000 0.0000000000000000)' Requirements: · Python


Geojson Related Software