================= Geometry ================= Basically this module helps to speed up and to simplify the interaction with the ``ogr``-API. Extremely convient if you want to save geomtries and their attributes to a GIS format. .. autoclass:: ogr_utils.geometry.Geometry :members: __init__, make_lines, make_points, make_polygons -------------- Example -------------- Save a set of geo objects to a shapefile (or any other file format supported by ogr):: from ogr_utils.geometry import Geometry g = Geometry( [(xy),], [(fieldname_1, type),(fieldname_2, type),], [(value_field_1,...),(value_field_2,...)] ) f = '/home/.../outfile.shp' g.make_points(f)