Fink

Package geojson-py26-1.0.1-1

SystemCVS/rsync Source DistributionsDebian Binary Distributions
stable RSS feed stableunstable RSS feed unstablestableunstable
10.9/x86_64
 
 
 
 
10.8/x86_64
 
 
 
 
10.7/x86_64
 
 
 
 
10.6/x86_64
1.0.1-1
 
 
 
10.6/i386
 
 
 
10.5/i386 *
 
 
 
10.5/powerpc *
 
 
 
10.4/i386 *
 
 
 
10.4/powerpc *
 
 
 
10.3/powerpc *
 
 
 
 
10.2-gcc3.3/powerpc *
 
 
 
 
10.2/powerpc *
 
 
 
 
10.1/powerpc *
 
 
 
 
Description:   Encoder/decoder for simple GIS features (1.0.1-1)
This package 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.
Usage Hints:   
Here's an example of a round-trip through the GeoJSON format: >>> import geojson >>> p = geojson.Point([0.0, 0.0]) >>> p Point(coordinates=[0.0, 0.0]) >>> data = geojson.dumps(p) >>> data '{"type": "Point", "coordinates": [0.0, 0.0]}' >>> q = geojson.loads(data, object_hook=geojson.GeoJSON.to_instance) >>> q Point(coordinates=[0.0, 0.0]) 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)'
Section:   sci
Maintainer:   Kurt Schwehr <goatbarATusersDOTsourceforgeDOTnet>
Website:   http://pypi.python.org/pypi/geojson/
License:   BSD
Info-File:   dists/10.4/stable/main/finkinfo/sci/geojson-py.info
CVS log, Last Changed: Sat, 23 Nov 2013 20:33:33 (UTC)

Section list - Flat package list - Search packages

(*) = Unsupported distribution.