Module Expr Str Import alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias identifier ImportFrom alias alias alias alias alias alias ImportFrom alias alias alias ClassDef bases NameLoad NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If Call NameLoad NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body If Call AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call NameLoad attr Call AttributeLoad NameLoad attr Str orelse If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad Call NameLoad attr NameLoad orelse If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad Call NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr orelse Raise Call NameLoad Str orelse If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad Call NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Raise Call NameLoad BinOpMod Str Call NameLoad Call NameLoad NameLoad If Call NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd NameLoad Call NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr 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 BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad Call NameLoad attr Call NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Return CompareEq AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return UnaryOpNot CompareEq NameLoad 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 defaults body Expr Str If Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad body Return NameLoad orelse Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr 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 Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If BoolOpOr UnaryOpNot Call NameLoad NameLoad NameLoad CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq NameLoad Num body Return NameLoad orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Raise Call NameLoad Str Return Call AttributeLoad Call NameLoad attr NameLoad orelse Return Call AttributeLoad Call NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return AttributeLoad AttributeLoad NameLoad attr attr orelse Raise Call NameLoad Str decorator_list NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Raise Call NameLoad Str Return Call AttributeLoad Call NameLoad attr NameLoad orelse Return Call AttributeLoad Call NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Return BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If NameLoad body Return Call NameLoad NameLoad orelse Raise Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Raise Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Return NameLoad orelse Raise Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr If NameLoad body Return Call NameLoad NameLoad keyword AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad body Expr Str If NameLoad body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad orelse Assign TupleStore NameStore NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Assign TupleStore NameStore NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias Assign NameStore Dict Num Num Num Num Num Num Num Num NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad If NameLoad body ImportFrom alias
N/A N/A 
 This module contains the 'base' GEOSGeometry object -- all GEOS Geometries
 inherit from this object.
 N/A re ctypes addressof byref c_double c_size_t django.contrib.gis.geos.mutable_list ListMixin django.contrib.gis.geos.base GEOSBase gdal django.contrib.gis.geos.coordseq GEOSCoordSeq django.contrib.gis.geos.error GEOSException GEOSIndexError django.contrib.gis.geos.libgeos GEOM_PTR GEOS_PREPARE django.contrib.gis.geos.mutable_list ListMixin django.contrib.gis.geos prototypes capi django.contrib.gis.geos.prototypes.io wkt_r wkt_w wkb_r wkb_w ewkb_w ewkb_w3d django.contrib.gis.geometry.regex hex_regex wkt_regex json_regex GEOSGeometry N/A GEOSBase ListMixin N/A N/A A class that, generally, encapsulates a GEOS geometry. N/A _IndexError GEOSIndexError N/A ptr_type GEOM_PTR __init__ N/A N/A self geo_input srid N/A None N/A N/A 
        The base constructor for GEOS geometry objects, and may take the
        following inputs:

         * strings:
            - WKT
            - HEXEWKB (a PostGIS-specific canonical form)
            - GeoJSON (requires GDAL)
         * buffer:
            - WKB

        The `srid` keyword is used to specify the Source Reference Identifier
        (SRID) number for this Geometry.  If not set, the SRID will be None.
         N/A N/A isinstance geo_input basestring N/A N/A N/A isinstance geo_input unicode N/A N/A geo_input N/A N/A geo_input encode ascii N/A wkt_m N/A N/A wkt_regex match geo_input N/A wkt_m N/A N/A N/A N/A wkt_m group srid N/A N/A srid N/A int N/A N/A wkt_m group srid N/A g N/A N/A N/A wkt_r read N/A N/A wkt_m group wkt N/A N/A N/A N/A hex_regex match geo_input N/A N/A g N/A N/A N/A wkb_r read geo_input N/A N/A N/A N/A gdal GEOJSON N/A N/A json_regex match geo_input N/A N/A g N/A N/A N/A wkb_r read N/A N/A N/A gdal OGRGeometry geo_input wkb N/A N/A N/A ValueError String or unicode input unrecognized as WKT EWKT, and HEXEWKB. N/A N/A N/A isinstance geo_input GEOM_PTR N/A N/A g geo_input N/A N/A N/A isinstance geo_input buffer N/A N/A g N/A N/A N/A wkb_r read geo_input N/A N/A N/A isinstance geo_input GEOSGeometry N/A N/A g N/A N/A capi geom_clone N/A geo_input ptr N/A N/A N/A TypeError N/A Improper geometry input type: %s N/A str N/A type geo_input N/A N/A bool g N/A N/A N/A self ptr g N/A N/A N/A GEOSException Could not initialize GEOS Geometry with given input. N/A N/A N/A self _post_init srid N/A _post_init N/A N/A self srid N/A N/A N/A Helper routine for performing post-initialization setup. N/A N/A srid N/A isinstance srid int N/A N/A N/A self srid srid N/A N/A self __class__ N/A GEOS_CLASSES N/A N/A self geom_typeid N/A N/A N/A self _set_cs N/A __del__ N/A N/A self N/A N/A N/A 
        Destroys this Geometry; in other words, frees the memory used by the
        GEOS C++ object.
         N/A N/A self _ptr N/A N/A N/A N/A capi destroy_geom N/A self _ptr N/A __copy__ N/A N/A self N/A N/A N/A 
        Returns a clone because the copy of a GEOSGeometry may contain an
        invalid pointer location if the original is garbage collected.
         N/A N/A N/A self clone N/A __deepcopy__ N/A N/A self memodict N/A N/A N/A 
        The `deepcopy` routine is used by the `Node` class of django.utils.tree;
        thus, the protocol routine needs to be implemented to return correct
        copies (clones) of these GEOS objects, which use C pointers.
         N/A N/A N/A self clone 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 __repr__ N/A N/A self N/A N/A N/A Short-hand representation because WKT may be very large. N/A N/A <%s object at %s> N/A N/A self geom_type N/A hex N/A addressof N/A self ptr N/A __getstate__ N/A N/A self N/A N/A N/A N/A N/A str N/A self wkb N/A self srid N/A __setstate__ N/A N/A self state N/A N/A N/A N/A wkb srid state N/A ptr N/A N/A N/A wkb_r read N/A buffer wkb N/A N/A ptr N/A N/A N/A GEOSException Invalid Geometry loaded from pickled state. N/A N/A self ptr ptr N/A N/A N/A self _post_init srid N/A __eq__ N/A N/A self other N/A N/A N/A 
        Equivalence testing, a Geometry may be compared with another Geometry
        or a WKT representation.
         N/A N/A isinstance other basestring N/A N/A N/A N/A self wkt other N/A N/A N/A isinstance other GEOSGeometry N/A N/A N/A N/A self equals_exact other N/A N/A False N/A __ne__ N/A N/A self other N/A N/A N/A The not equals operator. N/A N/A N/A self other N/A __or__ N/A N/A self other N/A N/A N/A Returns the union of this Geometry and the other. 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 has_cs N/A N/A self N/A N/A N/A Returns True if this Geometry has a coordinate sequence, False if not. N/A N/A isinstance self N/A Point LineString LinearRing N/A N/A True N/A N/A False N/A property _set_cs N/A N/A self N/A N/A N/A Sets the coordinate sequence for this Geometry. N/A N/A self has_cs N/A N/A N/A self _cs N/A GEOSCoordSeq N/A N/A capi get_cs N/A self ptr N/A self hasz N/A N/A N/A self _cs None N/A coord_seq N/A N/A self N/A N/A N/A Returns a clone of the coordinate sequence for this Geometry. N/A N/A self has_cs N/A N/A N/A N/A N/A self _cs clone N/A property geom_type N/A N/A self N/A N/A N/A Returns a string representing the Geometry type, e.g. 'Polygon' N/A N/A N/A capi geos_type N/A self ptr N/A property geom_typeid N/A N/A self N/A N/A N/A Returns an integer representing the Geometry type. N/A N/A N/A capi geos_typeid N/A self ptr N/A property num_geom N/A N/A self N/A N/A N/A Returns the number of geometries in the Geometry. N/A N/A N/A capi get_num_geoms N/A self ptr N/A property num_coords N/A N/A self N/A N/A N/A Returns the number of coordinates in the Geometry. N/A N/A N/A capi get_num_coords N/A self ptr N/A property num_points N/A N/A self N/A N/A N/A Returns the number points, or coordinates, in the Geometry. N/A N/A self num_coords N/A property dims N/A N/A self N/A N/A N/A Returns the dimension of this Geometry (0=point, 1=line, 2=surface). N/A N/A N/A capi get_dims N/A self ptr N/A property normalize N/A N/A self N/A N/A N/A Converts this Geometry to normal form (or canonical form). N/A N/A N/A capi geos_normalize N/A self ptr N/A empty N/A N/A self N/A N/A N/A 
        Returns a boolean indicating whether the set of points in this Geometry
        are empty.
         N/A N/A N/A capi geos_isempty N/A self ptr N/A property hasz N/A N/A self N/A N/A N/A Returns whether the geometry has a 3D dimension. N/A N/A N/A capi geos_hasz N/A self ptr N/A property ring N/A N/A self N/A N/A N/A Returns whether or not the geometry is a ring. N/A N/A N/A capi geos_isring N/A self ptr N/A property simple N/A N/A self N/A N/A N/A Returns false if the Geometry not simple. N/A N/A N/A capi geos_issimple N/A self ptr N/A property valid N/A N/A self N/A N/A N/A This property tests the validity of this Geometry. N/A N/A N/A capi geos_isvalid N/A self ptr N/A property contains N/A N/A self other N/A N/A N/A Returns true if other.within(this) returns true. N/A N/A N/A capi geos_contains N/A self ptr N/A other ptr N/A crosses N/A N/A self other N/A N/A N/A 
        Returns true if the DE-9IM intersection matrix for the two Geometries
        is T*T****** (for a point and a curve,a point and an area or a line and
        an area) 0******** (for two curves).
         N/A N/A N/A capi geos_crosses N/A self ptr N/A other ptr N/A disjoint N/A N/A self other N/A N/A N/A 
        Returns true if the DE-9IM intersection matrix for the two Geometries
        is FF*FF****.
         N/A N/A N/A capi geos_disjoint N/A self ptr N/A other ptr N/A equals N/A N/A self other N/A N/A N/A 
        Returns true if the DE-9IM intersection matrix for the two Geometries
        is T*F**FFF*.
         N/A N/A N/A capi geos_equals N/A self ptr N/A other ptr N/A equals_exact N/A N/A self other tolerance N/A 0 N/A N/A 
        Returns true if the two Geometries are exactly equal, up to a
        specified tolerance.
         N/A N/A N/A capi geos_equalsexact N/A self ptr N/A other ptr N/A float tolerance N/A intersects N/A N/A self other N/A N/A N/A Returns true if disjoint returns false. N/A N/A N/A capi geos_intersects N/A self ptr N/A other ptr N/A overlaps N/A N/A self other N/A N/A N/A 
        Returns true if the DE-9IM intersection matrix for the two Geometries
        is T*T***T** (for two points or two surfaces) 1*T***T** (for two curves).
         N/A N/A N/A capi geos_overlaps N/A self ptr N/A other ptr N/A relate_pattern N/A N/A self other pattern N/A N/A N/A 
        Returns true if the elements in the DE-9IM intersection matrix for the
        two Geometries match the elements in pattern.
         N/A N/A N/A N/A isinstance pattern basestring N/A N/A len pattern 9 N/A N/A N/A GEOSException invalid intersection matrix pattern N/A N/A N/A capi geos_relatepattern N/A self ptr N/A other ptr pattern N/A touches N/A N/A self other N/A N/A N/A 
        Returns true if the DE-9IM intersection matrix for the two Geometries
        is FT*******, F**T***** or F***T****.
         N/A N/A N/A capi geos_touches N/A self ptr N/A other ptr N/A within N/A N/A self other N/A N/A N/A 
        Returns true if the DE-9IM intersection matrix for the two Geometries
        is T*F**F***.
         N/A N/A N/A capi geos_within N/A self ptr N/A other ptr N/A get_srid N/A N/A self N/A N/A N/A Gets the SRID for the geometry, returns None if no SRID is set. N/A s N/A N/A capi geos_get_srid N/A self ptr N/A N/A s 0 N/A N/A None N/A N/A s N/A set_srid N/A N/A self srid N/A N/A N/A Sets the SRID for the geometry. N/A N/A N/A capi geos_set_srid N/A self ptr srid N/A N/A srid N/A property get_srid set_srid ewkt N/A N/A self N/A N/A N/A 
        Returns the EWKT (WKT + SRID) of the Geometry.  Note that Z values
        are *not* included in this representation because GEOS does not yet
        support serializing them.
         N/A N/A N/A self get_srid N/A N/A N/A SRID=%s;%s N/A N/A self srid N/A self wkt N/A N/A N/A self wkt N/A property wkt N/A N/A self N/A N/A N/A Returns the WKT (Well-Known Text) representation of this Geometry. N/A N/A N/A N/A wkt_w write self N/A property hex N/A N/A self N/A N/A N/A 
        Returns the WKB of this Geometry in hexadecimal form.  Please note
        that the SRID and Z values are not included in this representation
        because it is not a part of the OGC specification (use the `hexewkb` 
        property instead).
         N/A N/A N/A N/A wkb_w write_hex self N/A property hexewkb N/A N/A self N/A N/A N/A 
        Returns the EWKB of this Geometry in hexadecimal form.  This is an 
        extension of the WKB specification that includes SRID and Z values 
        that are a part of this geometry.
         N/A N/A self hasz N/A N/A N/A GEOS_PREPARE N/A N/A N/A GEOSException Upgrade GEOS to 3.1 to get valid 3D HEXEWKB. N/A N/A N/A N/A ewkb_w3d write_hex self N/A N/A N/A N/A N/A ewkb_w write_hex self N/A property json N/A N/A self N/A N/A N/A 
        Returns GeoJSON representation of this Geometry if GDAL 1.5+
        is installed.
         N/A N/A gdal GEOJSON N/A N/A N/A N/A self ogr json N/A N/A N/A GEOSException GeoJSON output only supported on GDAL 1.5+. N/A property N/A geojson json wkb N/A N/A self N/A N/A N/A 
        Returns the WKB (Well-Known Binary) representation of this Geometry
        as a Python buffer.  SRID and Z values are not included, use the
        `ewkb` property instead.
         N/A N/A N/A N/A wkb_w write self N/A property ewkb N/A N/A self N/A N/A N/A 
        Return the EWKB representation of this Geometry as a Python buffer.
        This is an extension of the WKB specification that includes any SRID
        and Z values that are a part of this geometry.
         N/A N/A self hasz N/A N/A N/A GEOS_PREPARE N/A N/A N/A GEOSException Upgrade GEOS to 3.1 to get valid 3D EWKB. N/A N/A N/A N/A ewkb_w3d write self N/A N/A N/A N/A N/A ewkb_w write self N/A property kml N/A N/A self N/A N/A N/A Returns the KML representation of this Geometry. N/A gtype N/A self geom_type N/A N/A <%s>%s</%s> N/A gtype N/A N/A self coord_seq kml gtype N/A property prepared N/A N/A self N/A N/A N/A 
        Returns a PreparedGeometry corresponding to this geometry -- it is
        optimized for the contains, intersects, and covers operations.
         N/A GEOS_PREPARE N/A N/A N/A PreparedGeometry self N/A N/A N/A GEOSException GEOS 3.1+ required for prepared geometry support. N/A property ogr N/A N/A self N/A N/A N/A Returns the OGR Geometry for this Geometry. N/A N/A gdal HAS_GDAL N/A N/A N/A self srid N/A N/A N/A N/A gdal OGRGeometry N/A self wkb N/A self srid N/A N/A N/A N/A gdal OGRGeometry N/A self wkb N/A N/A N/A GEOSException GDAL required to convert to an OGRGeometry. N/A property srs N/A N/A self N/A N/A N/A Returns the OSR SpatialReference for SRID of this Geometry. N/A N/A gdal HAS_GDAL N/A N/A N/A self srid N/A N/A N/A N/A gdal SpatialReference N/A self srid N/A N/A None N/A N/A N/A GEOSException GDAL required to return a SpatialReference object. N/A property crs N/A N/A self N/A N/A N/A Alias for `srs` property. N/A N/A self srs N/A property transform N/A N/A self ct clone N/A False N/A N/A 
        Requires GDAL. Transforms the geometry according to the given
        transformation object, which may be an integer SRID, and WKT or
        PROJ.4 string. By default, the geometry is transformed in-place and
        nothing is returned. However if the `clone` keyword is set, then this
        geometry will not be modified and a transformed clone will be returned
        instead.
         N/A srid N/A self srid N/A N/A N/A gdal HAS_GDAL srid N/A N/A g N/A N/A gdal OGRGeometry N/A self wkb srid N/A N/A N/A g transform ct N/A ptr N/A N/A N/A wkb_r read N/A g wkb N/A clone N/A N/A N/A GEOSGeometry ptr srid N/A g srid N/A ptr N/A N/A N/A N/A capi destroy_geom N/A self ptr N/A N/A self ptr ptr N/A N/A N/A self _post_init N/A g srid N/A N/A N/A GEOSException Transformed WKB was invalid. N/A _topology N/A N/A self gptr N/A N/A N/A Helper routine to return Geometry from the given pointer. N/A N/A GEOSGeometry gptr srid N/A self srid N/A boundary N/A N/A self N/A N/A N/A Returns the boundary as a newly allocated Geometry object. N/A N/A N/A self _topology N/A N/A capi geos_boundary N/A self ptr N/A property buffer N/A N/A self width quadsegs N/A 8 N/A N/A 
        Returns a geometry that represents all points whose distance from this
        Geometry is less than or equal to distance. Calculations are in the
        Spatial Reference System of this Geometry. The optional third parameter sets
        the number of segment used to approximate a quarter circle (defaults to 8).
        (Text from PostGIS documentation at ch. 6.1.3)
         N/A N/A N/A self _topology N/A N/A capi geos_buffer N/A self ptr width quadsegs N/A centroid N/A N/A self N/A N/A N/A 
        The centroid is equal to the centroid of the set of component Geometries
        of highest dimension (since the lower-dimension geometries contribute zero
        "weight" to the centroid).
         N/A N/A N/A self _topology N/A N/A capi geos_centroid N/A self ptr 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 the Geometry.
         N/A N/A N/A self _topology N/A N/A capi geos_convexhull N/A self ptr N/A property difference N/A N/A self other N/A N/A N/A 
        Returns a Geometry representing the points making up this Geometry
        that do not make up other.
         N/A N/A N/A self _topology N/A N/A capi geos_difference N/A self ptr N/A other ptr N/A envelope N/A N/A self N/A N/A N/A Return the envelope for this geometry (a polygon). N/A N/A N/A self _topology N/A N/A capi geos_envelope N/A self ptr N/A property intersection N/A N/A self other N/A N/A N/A Returns a Geometry representing the points shared by this Geometry and other. N/A N/A N/A self _topology N/A N/A capi geos_intersection N/A self ptr N/A other ptr N/A point_on_surface N/A N/A self N/A N/A N/A Computes an interior point of this Geometry. N/A N/A N/A self _topology N/A N/A capi geos_pointonsurface N/A self ptr N/A property relate N/A N/A self other N/A N/A N/A Returns the DE-9IM intersection matrix for this Geometry and the other. N/A N/A N/A capi geos_relate N/A self ptr N/A other ptr N/A simplify N/A N/A self tolerance preserve_topology N/A 0.0 False N/A N/A 
        Returns the Geometry, simplified using the Douglas-Peucker algorithm
        to the specified tolerance (higher tolerance => less points).  If no
        tolerance provided, defaults to 0.

        By default, this function does not preserve topology - e.g. polygons can
        be split, collapse to lines or disappear holes can be created or
        disappear, and lines can cross. By specifying preserve_topology=True,
        the result will have the same dimension and number of components as the
        input. This is significantly slower.
         N/A preserve_topology N/A N/A N/A N/A self _topology N/A N/A capi geos_preservesimplify N/A self ptr tolerance N/A N/A N/A N/A self _topology N/A N/A capi geos_simplify N/A self ptr tolerance N/A sym_difference N/A N/A self other N/A N/A N/A 
        Returns a set combining the points in this Geometry not in other,
        and the points in other not in this Geometry.
         N/A N/A N/A self _topology N/A N/A capi geos_symdifference N/A self ptr N/A other ptr N/A union N/A N/A self other N/A N/A N/A Returns a Geometry representing all the points in this Geometry and other. N/A N/A N/A self _topology N/A N/A capi geos_union N/A self ptr N/A other ptr N/A area N/A N/A self N/A N/A N/A Returns the area of the Geometry. N/A N/A N/A capi geos_area N/A self ptr N/A byref N/A c_double N/A property distance N/A N/A self other N/A N/A N/A 
        Returns the distance between the closest points on this Geometry
        and the other. Units will be in those of the coordinate system of
        the Geometry.
         N/A N/A N/A isinstance other GEOSGeometry N/A N/A N/A TypeError distance() works only on other GEOS Geometries. N/A N/A N/A capi geos_distance N/A self ptr N/A other ptr N/A byref N/A c_double N/A extent N/A N/A self N/A N/A N/A 
        Returns the extent of this geometry as a 4-tuple, consisting of
        (xmin, ymin, xmax, ymax).
         N/A env N/A self envelope N/A N/A isinstance env Point N/A N/A N/A xmin ymin N/A env tuple N/A N/A xmax ymax N/A xmin ymin N/A N/A N/A xmin ymin N/A N/A env N/A 0 N/A 0 N/A N/A xmax ymax N/A N/A env N/A 0 N/A 2 N/A N/A xmin ymin xmax ymax N/A property length N/A N/A self N/A N/A N/A 
        Returns the length of this Geometry (e.g., 0 for point, or the
        circumfrence of a Polygon).
         N/A N/A N/A capi geos_length N/A self ptr N/A byref N/A c_double N/A property clone N/A N/A self N/A N/A N/A Clones this Geometry. N/A N/A GEOSGeometry N/A N/A capi geom_clone N/A self ptr srid N/A self srid N/A N/A django.contrib.gis.geos.linestring LineString LinearRing django.contrib.gis.geos.point Point django.contrib.gis.geos.polygon Polygon django.contrib.gis.geos.collections GeometryCollection MultiPoint MultiLineString MultiPolygon N/A GEOS_CLASSES N/A 0 1 2 3 4 5 6 7 Point LineString LinearRing Polygon MultiPoint MultiLineString MultiPolygon GeometryCollection N/A GEOS_PREPARE N/A django.contrib.gis.geos.prepared PreparedGeometry