Module Expr Str Import alias alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad If BoolOpAnd NameLoad Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore NameLoad If NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body If CompareEq Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str body Assign NameStore Call NameLoad AttributeLoad Call NameLoad Call AttributeLoad NameLoad attr Str attr Expr Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad orelse Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad NameLoad Call NameLoad Call NameLoad orelse If NameLoad body If NameLoad body Assign NameStore Call NameLoad NameLoad orelse Raise Call NameLoad Str orelse Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad Call NameLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Call NameLoad Call NameLoad Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad orelse Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad If Call NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return UnaryOpNot Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Return Call NameLoad Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return AttributeLoad AttributeLoad NameLoad attr attr orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Raise Call NameLoad Str decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Str attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body If NameLoad body Return Call NameLoad AttributeLoad NameLoad attr orelse Raise Call NameLoad Str decorator_list NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Num orelse Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call BinOpMult NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Return Call NameLoad Call NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr Call NameLoad Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad If Call NameLoad NameLoad NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If Call NameLoad NameLoad NameLoad body Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Return Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr Num body Return Call NameLoad AttributeLoad NameLoad attr Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr Num body Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Num body Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd CompareGtE NameLoad Num CompareLt NameLoad AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore TupleLoad Call NameLoad Call NameLoad Call NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad Num body Return TupleLoad AttributeLoad NameLoad attr orelse If CompareEq NameLoad Num body Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq NameLoad Num body Return TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Yield SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad decorator_list NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return ListComp Call NameLoad AttributeLoad NameLoad attr NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr Num body Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Yield SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpOr CompareLt NameLoad Num CompareGtE NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad orelse Return Call NameLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad NameLoad Index Num decorator_list NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad ListComp AttributeLoad SubscriptLoad NameLoad Index NameLoad attr comprehension NameStore Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad ListComp AttributeLoad SubscriptLoad NameLoad Index NameLoad attr comprehension NameStore Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Call NameLoad Str Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpOr CompareLt NameLoad Num CompareGtE NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad orelse Return Call NameLoad Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Yield SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body If Call NameLoad NameLoad AttributeLoad NameLoad attr body For NameStore NameLoad body Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad ListComp AttributeLoad SubscriptLoad NameLoad Index NameLoad attr comprehension NameStore Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad ListComp AttributeLoad SubscriptLoad NameLoad Index NameLoad attr comprehension NameStore Call NameLoad AttributeLoad NameLoad attr decorator_list NameLoad Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list Assign NameStore Dict Num Num Num Num Num Num Num Num NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad
N/A N/A 
 The OGRGeometry is a wrapper for using the OGR Geometry class
 (see http://www.gdal.org/ogr/classOGRGeometry.html).  OGRGeometry
 may be instantiated when reading geometries from OGR Data Sources
 (e.g. SHP files), or when given OGC WKT (a string).

 While the 'full' API is not present yet, the API is "pythonic" unlike
 the traditional and "next-generation" OGR Python bindings.  One major
 advantage OGR Geometries have over their GEOS counterparts is support
 for spatial reference systems and their transformation.

 Example:
  >>> from django.contrib.gis.gdal import OGRGeometry, OGRGeomType, SpatialReference
  >>> wkt1, wkt2 = 'POINT(-90 30)', 'POLYGON((0 0, 5 0, 5 5, 0 5)'
  >>> pnt = OGRGeometry(wkt1)
  >>> print pnt
  POINT (-90 30)
  >>> mpnt = OGRGeometry(OGRGeomType('MultiPoint'), SpatialReference('WGS84'))
  >>> mpnt.add(wkt1)
  >>> mpnt.add(wkt1)
  >>> print mpnt
  MULTIPOINT (-90 30,-90 30)
  >>> print mpnt.srs.name
  WGS 84
  >>> print mpnt.srs.proj
  +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs
  >>> mpnt.transform_to(SpatialReference('NAD27'))
  >>> print mpnt.proj
  +proj=longlat +ellps=clrk66 +datum=NAD27 +no_defs
  >>> print mpnt
  MULTIPOINT (-89.999930378602485 29.999797886557641,-89.999930378602485 29.999797886557641)
  
  The OGRGeomType class is to make it easy to specify an OGR geometry type:
  >>> from django.contrib.gis.gdal import OGRGeomType
  >>> gt1 = OGRGeomType(3) # Using an integer for the type
  >>> gt2 = OGRGeomType('Polygon') # Using a string
  >>> gt3 = OGRGeomType('POLYGON') # It's case-insensitive
  >>> print gt1 == 3, gt1 == 'Polygon' # Equivalence works w/non-OGRGeomType objects
  True
 N/A re sys binascii a2b_hex ctypes byref string_at c_char_p c_double c_ubyte c_void_p django.contrib.gis.gdal.envelope Envelope OGREnvelope django.contrib.gis.gdal.error OGRException OGRIndexError SRSException django.contrib.gis.gdal.geomtype OGRGeomType django.contrib.gis.gdal.srs SpatialReference CoordTransform django.contrib.gis.gdal.prototypes.geom * django.contrib.gis.gdal.prototypes.srs clone_srs N/A hex_regex N/A N/A re compile ^[0-9A-F]+$ N/A re I N/A wkt_regex N/A N/A re compile ^(?P<type>POINT|LINESTRING|LINEARRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)[ACEGIMLONPSRUTY\d,\.\-\(\) ]+$ N/A re I N/A json_regex N/A N/A re compile ^(\s+)?\{[\s\w,\[\]\{\}\-\."\':]+\}(\s+)?$ OGRGeometry N/A object N/A N/A Generally encapsulates an OGR geometry. __init__ N/A N/A self geom_input srs N/A None N/A N/A Initializes Geometry on either WKT or an OGR pointer as input. N/A N/A self _ptr N/A c_void_p None N/A str_instance N/A isinstance geom_input basestring N/A N/A str_instance N/A N/A hex_regex match geom_input N/A N/A geom_input N/A buffer N/A a2b_hex N/A N/A geom_input upper N/A str_instance False N/A str_instance N/A N/A N/A isinstance geom_input unicode N/A N/A geom_input N/A N/A geom_input encode ascii N/A wkt_m N/A N/A wkt_regex match geom_input N/A json_m N/A N/A json_regex match geom_input N/A wkt_m N/A N/A N/A N/A N/A N/A N/A wkt_m group type upper LINEARRING N/A N/A g N/A create_geom N/A N/A OGRGeomType N/A N/A wkt_m group type num N/A N/A import_wkt g N/A byref N/A c_char_p geom_input N/A N/A g N/A from_wkt N/A byref N/A c_char_p geom_input None N/A byref N/A c_void_p N/A N/A json_m N/A N/A GEOJSON N/A N/A g N/A from_json geom_input N/A N/A N/A NotImplementedError GeoJSON input only supported on GDAL 1.5+. N/A N/A ogr_t N/A OGRGeomType geom_input N/A g N/A create_geom N/A N/A OGRGeomType geom_input num N/A N/A N/A isinstance geom_input buffer N/A N/A g N/A from_wkb N/A str geom_input None N/A byref N/A c_void_p N/A len geom_input N/A N/A N/A isinstance geom_input OGRGeomType N/A N/A g N/A create_geom N/A geom_input num N/A N/A N/A isinstance geom_input c_void_p N/A N/A g geom_input N/A N/A N/A OGRException N/A Invalid input type for OGR Geometry construction: %s N/A type geom_input N/A N/A g N/A N/A N/A OGRException N/A Cannot create OGR Geometry from input: %s N/A str geom_input N/A N/A self _ptr g N/A N/A bool srs N/A N/A N/A self srs srs N/A N/A self __class__ N/A GEO_CLASSES N/A N/A N/A self geom_type num N/A __del__ N/A N/A self N/A N/A N/A Deletes this Geometry. N/A N/A self _ptr N/A N/A N/A destroy_geom N/A self _ptr N/A __or__ N/A N/A self other N/A N/A N/A Returns the union of the two geometries. N/A N/A N/A self union other N/A __and__ N/A N/A self other N/A N/A N/A Returns the intersection of this Geometry and the other. N/A N/A N/A self intersection other N/A __sub__ N/A N/A self other N/A N/A N/A Return the difference this Geometry and the other. N/A N/A N/A self difference other N/A __xor__ N/A N/A self other N/A N/A N/A Return the symmetric difference of this Geometry and the other. N/A N/A N/A self sym_difference other N/A __eq__ N/A N/A self other N/A N/A N/A Is this Geometry equal to the other? N/A N/A N/A self equals other N/A __ne__ N/A N/A self other N/A N/A N/A Tests for inequality. N/A N/A N/A N/A self equals other N/A __str__ N/A N/A self N/A N/A N/A WKT is used for the string representation. N/A N/A self wkt N/A dimension N/A N/A self N/A N/A N/A Returns 0 for points, 1 for lines, and 2 for surfaces. N/A N/A get_dims N/A self _ptr N/A property coord_dim N/A N/A self N/A N/A N/A Returns the coordinate dimension of the Geometry. N/A N/A get_coord_dims N/A self _ptr N/A property geom_count N/A N/A self N/A N/A N/A The number of elements in this Geometry. N/A N/A get_geom_count N/A self _ptr N/A property point_count N/A N/A self N/A N/A N/A Returns the number of Points in this Geometry. N/A N/A get_point_count N/A self _ptr N/A property num_points N/A N/A self N/A N/A N/A Alias for `point_count` (same name method in GEOS API.) N/A N/A self point_count N/A property num_coords N/A N/A self N/A N/A N/A Alais for `point_count`. N/A N/A self point_count N/A property geom_type N/A N/A self N/A N/A N/A Returns the Type for this Geometry. N/A N/A N/A N/A OGRGeomType N/A get_geom_type N/A self _ptr N/A N/A N/A OGRException N/A N/A N/A OGRGeomType N/A get_geom_name N/A self _ptr N/A property geom_name N/A N/A self N/A N/A N/A Returns the Name of this Geometry. N/A N/A get_geom_name N/A self _ptr N/A property area N/A N/A self N/A N/A N/A Returns the area for a LinearRing, Polygon, or MultiPolygon; 0 otherwise. N/A N/A get_area N/A self _ptr N/A property envelope N/A N/A self N/A N/A N/A Returns the envelope for this Geometry. N/A N/A Envelope N/A get_envelope N/A self _ptr N/A byref N/A OGREnvelope N/A property extent N/A N/A self N/A N/A N/A Returns the envelope as a 4-tuple, instead of as an Envelope object. N/A N/A N/A self envelope tuple N/A property get_srs N/A N/A self N/A N/A N/A Returns the Spatial Reference for this Geometry. N/A N/A N/A srs_ptr N/A get_geom_srs N/A self _ptr N/A N/A SpatialReference N/A clone_srs srs_ptr N/A N/A N/A SRSException N/A N/A None N/A set_srs N/A N/A self srs N/A N/A N/A Sets the SpatialReference for this geometry. N/A N/A isinstance srs SpatialReference N/A N/A srs_ptr N/A clone_srs N/A srs _ptr N/A N/A N/A isinstance srs N/A int long basestring N/A N/A sr N/A SpatialReference srs N/A srs_ptr N/A clone_srs N/A sr _ptr N/A N/A N/A TypeError N/A Cannot assign spatial reference with object of type: %s N/A type srs N/A N/A assign_srs N/A self _ptr srs_ptr N/A N/A srs N/A property get_srs set_srs get_srid N/A N/A self N/A N/A N/A N/A self srs N/A N/A N/A N/A self srs srid N/A N/A None N/A set_srid N/A N/A self srid N/A N/A N/A N/A isinstance srid N/A int long N/A N/A N/A self srs srid N/A N/A N/A TypeError SRID must be set with an integer. N/A N/A srid N/A property get_srid set_srid geos N/A N/A self N/A N/A N/A Returns a GEOSGeometry object from this OGRGeometry. django.contrib.gis.geos GEOSGeometry N/A N/A GEOSGeometry N/A self wkb N/A self srid N/A property gml N/A N/A self N/A N/A N/A Returns the GML representation of the Geometry. N/A N/A to_gml N/A self _ptr N/A property hex N/A N/A self N/A N/A N/A Returns the hexadecimal representation of the WKB (a string). N/A N/A N/A N/A N/A N/A str N/A self wkb encode hex upper N/A property json N/A N/A self N/A N/A N/A GEOJSON N/A N/A N/A to_json N/A self _ptr N/A N/A N/A NotImplementedError GeoJSON output only supported on GDAL 1.5+. N/A property N/A geojson json wkb_size N/A N/A self N/A N/A N/A Returns the size of the WKB buffer. N/A N/A get_wkbsize N/A self _ptr N/A property wkb N/A N/A self N/A N/A N/A Returns the WKB representation of the Geometry. N/A N/A N/A sys byteorder little N/A N/A byteorder 1 N/A N/A byteorder 0 N/A sz N/A self wkb_size N/A buf N/A N/A c_ubyte sz N/A wkb N/A to_wkb N/A self _ptr byteorder N/A byref buf N/A N/A buffer N/A string_at buf sz N/A property wkt N/A N/A self N/A N/A N/A Returns the WKT representation of the Geometry. N/A N/A to_wkt N/A self _ptr N/A byref N/A c_char_p N/A property clone N/A N/A self N/A N/A N/A Clones this OGR Geometry. N/A N/A OGRGeometry N/A clone_geom N/A self _ptr N/A self srs N/A close_rings N/A N/A self N/A N/A N/A 
        If there are any rings within this geometry that have not been
        closed, this routine will do so by adding the starting point at the
        end.
         N/A N/A geom_close_rings N/A self _ptr N/A transform N/A N/A self coord_trans clone N/A False N/A N/A 
        Transforms this geometry to a different spatial reference system.
        May take a CoordTransform object, a SpatialReference object, string
        WKT or PROJ.4, and/or an integer SRID.  By default nothing is returned
        and the geometry is transformed in-place.  However, if the `clone`
        keyword is set, then a transformed clone of this geometry will be
        returned.
         N/A clone N/A N/A klone N/A N/A self clone N/A N/A N/A klone transform coord_trans N/A klone N/A N/A isinstance coord_trans CoordTransform N/A N/A N/A geom_transform N/A self _ptr N/A coord_trans _ptr N/A N/A N/A isinstance coord_trans SpatialReference N/A N/A N/A geom_transform_to N/A self _ptr N/A coord_trans _ptr N/A N/A N/A isinstance coord_trans N/A int long basestring N/A N/A sr N/A SpatialReference coord_trans N/A N/A geom_transform_to N/A self _ptr N/A sr _ptr N/A N/A N/A TypeError Transform only accepts CoordTransform, SpatialReference, string, and integer objects. N/A transform_to N/A N/A self srs N/A N/A N/A For backwards-compatibility. N/A N/A N/A self transform srs N/A _topology N/A N/A self func other N/A N/A N/A A generalized function for topology operations, takes a GDAL function and
        the other geometry to perform the operation on. N/A N/A N/A isinstance other OGRGeometry N/A N/A N/A TypeError Must use another OGRGeometry object for topology operations! N/A N/A func N/A self _ptr N/A other _ptr N/A intersects N/A N/A self other N/A N/A N/A Returns True if this geometry intersects with the other. N/A N/A N/A self _topology ogr_intersects other N/A equals N/A N/A self other N/A N/A N/A Returns True if this geometry is equivalent to the other. N/A N/A N/A self _topology ogr_equals other N/A disjoint N/A N/A self other N/A N/A N/A Returns True if this geometry and the other are spatially disjoint. N/A N/A N/A self _topology ogr_disjoint other N/A touches N/A N/A self other N/A N/A N/A Returns True if this geometry touches the other. N/A N/A N/A self _topology ogr_touches other N/A crosses N/A N/A self other N/A N/A N/A Returns True if this geometry crosses the other. N/A N/A N/A self _topology ogr_crosses other N/A within N/A N/A self other N/A N/A N/A Returns True if this geometry is within the other. N/A N/A N/A self _topology ogr_within other N/A contains N/A N/A self other N/A N/A N/A Returns True if this geometry contains the other. N/A N/A N/A self _topology ogr_contains other N/A overlaps N/A N/A self other N/A N/A N/A Returns True if this geometry overlaps the other. N/A N/A N/A self _topology ogr_overlaps other N/A _geomgen N/A N/A self gen_func other N/A None N/A N/A A helper routine for the OGR routines that generate geometries. N/A N/A isinstance other OGRGeometry N/A N/A N/A OGRGeometry N/A gen_func N/A self _ptr N/A other _ptr N/A self srs N/A N/A N/A OGRGeometry N/A gen_func N/A self _ptr N/A self srs N/A boundary N/A N/A self N/A N/A N/A Returns the boundary of this geometry. N/A N/A N/A self _geomgen get_boundary N/A property convex_hull N/A N/A self N/A N/A N/A 
        Returns the smallest convex Polygon that contains all the points in 
        this Geometry.
         N/A N/A N/A self _geomgen geom_convex_hull N/A property difference N/A N/A self other N/A N/A N/A 
        Returns a new geometry consisting of the region which is the difference
        of this geometry and the other.
         N/A N/A N/A self _geomgen geom_diff other N/A intersection N/A N/A self other N/A N/A N/A 
        Returns a new geometry consisting of the region of intersection of this
        geometry and the other.
         N/A N/A N/A self _geomgen geom_intersection other N/A sym_difference N/A N/A self other N/A N/A N/A                                                                                                                                                 
        Returns a new geometry which is the symmetric difference of this
        geometry and the other.
         N/A N/A N/A self _geomgen geom_sym_diff other N/A union N/A N/A self other N/A N/A N/A 
        Returns a new geometry consisting of the region which is the union of
        this geometry and the other.
         N/A N/A N/A self _geomgen geom_union other N/A N/A Point N/A OGRGeometry N/A x N/A N/A self N/A N/A N/A Returns the X coordinate for this Point. N/A N/A getx N/A self _ptr 0 N/A property y N/A N/A self N/A N/A N/A Returns the Y coordinate for this Point. N/A N/A gety N/A self _ptr 0 N/A property z N/A N/A self N/A N/A N/A Returns the Z coordinate for this Point. N/A N/A N/A self coord_dim 3 N/A N/A N/A getz N/A self _ptr 0 N/A property tuple N/A N/A self N/A N/A N/A Returns the tuple of this point. N/A N/A N/A self coord_dim 2 N/A N/A N/A N/A self x N/A self y N/A N/A N/A N/A self coord_dim 3 N/A N/A N/A N/A self x N/A self y N/A self z N/A property N/A coords tuple N/A LineString N/A OGRGeometry N/A __getitem__ N/A N/A self index N/A N/A N/A Returns the Point at the given index. N/A N/A N/A index 0 N/A index N/A self point_count N/A N/A N/A x y z N/A N/A c_double N/A c_double N/A c_double N/A N/A get_point N/A self _ptr index N/A byref x N/A byref y N/A byref z N/A dim N/A self coord_dim N/A N/A dim 1 N/A N/A N/A N/A x value N/A N/A N/A dim 2 N/A N/A N/A N/A x value N/A y value N/A N/A N/A dim 3 N/A N/A N/A N/A x value N/A y value N/A z value N/A N/A N/A OGRIndexError N/A index out of range: %s N/A str index N/A __iter__ N/A N/A self N/A N/A N/A Iterates over each point in the LineString. N/A i N/A xrange N/A self point_count N/A N/A N/A N/A self N/A i N/A __len__ N/A N/A self N/A N/A N/A The length returns the number of points in the LineString. N/A N/A self point_count N/A tuple N/A N/A self N/A N/A N/A Returns the tuple representation of this LineString. N/A N/A tuple N/A N/A self N/A i N/A i N/A xrange N/A len self N/A property N/A coords tuple _listarr N/A N/A self func N/A N/A N/A 
        Internal routine that returns a sequence (list) corresponding with
        the given function.
         N/A N/A N/A func N/A self _ptr i N/A i N/A xrange N/A len self N/A x N/A N/A self N/A N/A N/A Returns the X coordinates in a list. N/A N/A N/A self _listarr getx N/A property y N/A N/A self N/A N/A N/A Returns the Y coordinates in a list. N/A N/A N/A self _listarr gety N/A property z N/A N/A self N/A N/A N/A Returns the Z coordinates in a list. N/A N/A N/A self coord_dim 3 N/A N/A N/A N/A self _listarr getz N/A property N/A LinearRing N/A LineString N/A N/A N/A Polygon N/A OGRGeometry N/A __len__ N/A N/A self N/A N/A N/A The number of interior rings in this Polygon. N/A N/A self geom_count N/A __iter__ N/A N/A self N/A N/A N/A Iterates through each ring in the Polygon. N/A i N/A xrange N/A self geom_count N/A N/A N/A N/A self N/A i N/A __getitem__ N/A N/A self index N/A N/A N/A Gets the ring at the specified index. N/A N/A N/A index 0 N/A index N/A self geom_count N/A N/A N/A OGRIndexError N/A index out of range: %s index N/A N/A N/A OGRGeometry N/A clone_geom N/A get_geom_ref N/A self _ptr index N/A self srs N/A shell N/A N/A self N/A N/A N/A Returns the shell of this Polygon. N/A N/A self N/A 0 N/A property N/A exterior_ring shell tuple N/A N/A self N/A N/A N/A Returns a tuple of LinearRing coordinate tuples. N/A N/A tuple N/A N/A N/A self N/A i tuple N/A i N/A xrange N/A self geom_count N/A property N/A coords tuple point_count N/A N/A self N/A N/A N/A The number of Points in this Polygon. N/A N/A sum N/A N/A N/A self N/A i point_count N/A i N/A xrange N/A self geom_count N/A property centroid N/A N/A self N/A N/A N/A Returns the centroid (a Point) of this Polygon. N/A p N/A OGRGeometry N/A OGRGeomType Point N/A N/A get_centroid N/A self _ptr N/A p _ptr N/A p N/A property N/A GeometryCollection N/A OGRGeometry N/A N/A The Geometry Collection class. __getitem__ N/A N/A self index N/A N/A N/A Gets the Geometry at the specified index. N/A N/A N/A index 0 N/A index N/A self geom_count N/A N/A N/A OGRIndexError N/A index out of range: %s index N/A N/A N/A OGRGeometry N/A clone_geom N/A get_geom_ref N/A self _ptr index N/A self srs N/A __iter__ N/A N/A self N/A N/A N/A Iterates over each Geometry. N/A i N/A xrange N/A self geom_count N/A N/A N/A N/A self N/A i N/A __len__ N/A N/A self N/A N/A N/A The number of geometries in this Geometry Collection. N/A N/A self geom_count N/A add N/A N/A self geom N/A N/A N/A Add the geometry to this Geometry Collection. N/A N/A isinstance geom OGRGeometry N/A N/A N/A isinstance geom N/A self __class__ N/A N/A g geom N/A N/A N/A add_geom N/A self _ptr N/A g _ptr N/A N/A N/A add_geom N/A self _ptr N/A geom _ptr N/A N/A N/A isinstance geom basestring N/A N/A tmp N/A OGRGeometry geom N/A N/A add_geom N/A self _ptr N/A tmp _ptr N/A N/A N/A OGRException Must add an OGRGeometry. N/A point_count N/A N/A self N/A N/A N/A The number of Points in this Geometry Collection. N/A N/A sum N/A N/A N/A self N/A i point_count N/A i N/A xrange N/A self geom_count N/A property tuple N/A N/A self N/A N/A N/A Returns a tuple representation of this Geometry Collection. N/A N/A tuple N/A N/A N/A self N/A i tuple N/A i N/A xrange N/A self geom_count N/A property N/A coords tuple N/A MultiPoint N/A GeometryCollection N/A N/A N/A MultiLineString N/A GeometryCollection N/A N/A N/A MultiPolygon N/A GeometryCollection N/A N/A N/A N/A GEO_CLASSES N/A 1 2 3 4 5 6 7 101 Point LineString Polygon MultiPoint MultiLineString MultiPolygon GeometryCollection LinearRing