Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=916432

            Bug ID: 916432
           Summary: Review Request: python-geojson - Encoder/decoder for
                    simple GIS features
           Product: Fedora
           Version: rawhide
         Component: Package Review
          Severity: unspecified
          Priority: unspecified
          Reporter: rb...@redhat.com


Spec URL: http://ralph.fedorapeople.org//python-geojson.spec
SRPM URL: http://ralph.fedorapeople.org//python-geojson-1.0.1-1.fc18.src.rpm

Description:
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([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])

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=RoLf9ekvq0&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to