TileStache.Vector.Arc module

Arc-specific Vector provider helpers.

TileStache.Vector.Arc.reserialize_to_arc(content, point_objects)

Convert from “geo” (GeoJSON) to ESRI’s GeoServices REST serialization.

Second argument is a boolean flag for whether to use the class _amfGeometryMapPoint for points in ring and path arrays, or tuples. The formal class is needed for AMF responses, plain tuples otherwise.

Much of this cribbed from sample server queries and page 191+ of:
http://www.esri.com/library/whitepapers/pdfs/geoservices-rest-spec.pdf