Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias Import alias ImportFrom alias Import alias identifier FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore AttributeLoad Call NameLoad NameLoad attr Assign NameStore DictComp BinOpMod Str TupleLoad NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str handlers ExceptHandler type NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Return BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Return Call AttributeLoad NameLoad attr keyword Dict NameLoad BinOpMod NameLoad TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Return SubscriptLoad NameLoad Index Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Return BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Str orelse Assign NameStore Str Return BinOpMod NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Return IfExp NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Dict Str BinOpMod Str TupleLoad Str NameLoad orelse Assign NameStore Dict Str BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad attr Str keyword NameLoad attr Index Num If UnaryOpNot NameLoad body Return TupleLoad TryExcept body TryExcept body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Num body Expr Str Assign NameStore BoolOpOr NameLoad Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad UnaryOpUSub NameLoad UnaryOpUSub NameLoad BinOpDiv NameLoad BinOpSub NameLoad NameLoad BinOpDiv NameLoad BinOpSub NameLoad NameLoad Return Call AttributeLoad NameLoad attr keyword Dict Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num Num NameLoad NameLoad kwarg body Expr Str If UnaryOpNot Call NameLoad TupleLoad NameLoad NameLoad NameLoad body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot BoolOpOr NameLoad NameLoad body Return NameLoad Assign NameStore BinOpMod Str NameLoad Return Call AttributeLoad NameLoad attr keyword Dict AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore IfExp AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr If CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad Str NameLoad If CompareGt Call NameLoad NameLoad Str Num Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr TupleLoad NameLoad Num attr keyword Num handlers ExceptHandler type NameLoad body Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Expr Call NameLoad NameLoad NameLoad NameLoad Return ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A os N/A tempfile N/A zipfile django.core exceptions django.contrib.gis geos django.contrib.gis.db.models query django.db connection models django.utils.functional cached_property N/A greenwich greenwich.io MemFileIO N/A numpy np filter_geometry N/A N/A queryset N/A filters N/A N/A Helper function for spatial lookups filters.

    Provide spatial lookup types as keywords without underscores instead of the
    usual "geometryfield__lookuptype" format.
     N/A fieldname N/A N/A geo_field queryset name N/A query N/A N/A %s__%s N/A fieldname k v N/A N/A k v N/A N/A filters items N/A N/A N/A queryset filter query N/A geo_field N/A N/A queryset N/A N/A N/A N/A N/A N/A N/A queryset _geo_field N/A N/A N/A AttributeError N/A N/A N/A N/A N/A queryset query _geo_field N/A get_srid N/A N/A queryset N/A N/A N/A Returns the GeoQuerySet spatial reference identifier. N/A N/A N/A srid N/A N/A N/A queryset query get_context transformed_srid N/A N/A N/A AttributeError N/A N/A srid N/A N/A queryset query transformed_srid N/A N/A srid N/A N/A queryset geo_field srid N/A GeoQuerySet N/A N/A query GeoQuerySet N/A N/A Extends the default GeoQuerySet with some unimplemented PostGIS
    functionality.
     N/A _scale N/A %s(%%s, %%s, %%s) N/A N/A connection ops scale N/A _formats N/A geojson kml svg N/A %s(%%s, %%s) N/A N/A connection ops geojson N/A %s(%%s, %%s) N/A N/A connection ops kml N/A %s(%%s, 0, %%s) N/A N/A connection ops svg _as_format N/A N/A self sql format precision N/A None 8 N/A N/A val N/A N/A N/A self _formats get format N/A N/A self _formats N/A geojson N/A N/A N/A self extra select N/A format N/A val N/A sql precision N/A _transform N/A N/A self srid N/A None N/A N/A N/A args geo_field N/A N/A self _spatial_setup transform N/A N/A srid N/A N/A N/A args N/A geo_col N/A N/A N/A N/A N/A N/A self query add_context transformed_srid srid N/A N/A N/A AttributeError N/A N/A N/A N/A self query transformed_srid srid N/A N/A %s(%s, %s) N/A N/A args N/A function N/A args N/A geo_col srid N/A _trans_scale N/A N/A self colname deltax deltay xfactor yfactor N/A N/A N/A N/A N/A connection ops spatialite N/A N/A sql ScaleCoords(ShiftCoords(%s, %.12f, %.12f), %.12f, %.12f) N/A N/A sql ST_TransScale(%s, %.12f, %.12f, %.12f, %.12f) N/A N/A sql N/A colname deltax deltay xfactor yfactor N/A _simplify N/A N/A self colname tolerance N/A 0.0 N/A N/A N/A tolerance N/A ST_Simplify(%s, %s) N/A colname tolerance colname N/A extent N/A N/A self srid N/A None N/A N/A Returns the GeoQuerySet extent as a 4-tuple.

        The method chaining approach of
        geoqset.objects.transform(srid).extent() returns the extent in the
        original coordinate system, this method allows for transformation.

        Keyword args:
        srid -- EPSG id for for transforming the output geometry.
         N/A N/A N/A srid N/A N/A N/A connection ops spatialite N/A N/A N/A N/A N/A super GeoQuerySet self extent N/A transform N/A N/A self _transform srid N/A N/A N/A connection ops spatialite N/A N/A ext N/A extent N/A AsText(%s(%s)) N/A Extent transform N/A N/A ext N/A extent N/A %s(%s) N/A N/A N/A connection ops extent transform N/A extent N/A N/A N/A N/A N/A N/A N/A self extra select ext values_list extent flat True order_by N/A 0 N/A N/A extent N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A connection ops convert_extent extent N/A N/A N/A TypeError N/A N/A N/A N/A N/A connection ops convert_extent extent N/A get_srid self N/A N/A N/A NotImplementedError N/A N/A N/A N/A N/A geos GEOSGeometry extent srid extent N/A filter_geometry N/A N/A self N/A kwargs N/A N/A Convenience method for spatial lookup filters. N/A N/A filter_geometry self kwargs N/A geo_field N/A N/A self N/A N/A N/A Returns model geometry field. N/A N/A geo_field self N/A property has_format N/A N/A self format N/A N/A N/A N/A format N/A self _formats N/A pbf N/A N/A self bbox geo_col scale N/A None 4096 N/A N/A Returns tranlated and scaled geometries suitable for Mapbox vector
        tiles.
         N/A col N/A geo_col N/A N/A self _transform N/A N/A w s e n N/A bbox extent N/A trans N/A N/A self _trans_scale col N/A w N/A s N/A scale N/A e w N/A scale N/A n s N/A N/A N/A self extra select N/A pbf N/A ST_AsText(%s) trans N/A scale N/A N/A self x y z tolerance precision srid format N/A 0.0 0.0 8 None None kwargs N/A N/A Returns a GeoQuerySet with scaled and optionally reprojected and
        simplified geometries, serialized to a supported format.
         N/A N/A N/A any N/A tolerance srid format N/A N/A N/A N/A N/A super GeoQuerySet self scale x y z kwargs N/A transform N/A N/A self _transform srid N/A scale N/A N/A self _scale N/A transform x y N/A simplify N/A N/A self _simplify scale tolerance N/A N/A N/A self _as_format simplify format precision N/A simplify N/A N/A self tolerance srid format precision N/A 0.0 None None 8 N/A N/A Returns a GeoQuerySet with simplified geometries serialized to
        a supported geometry format.
         N/A transform N/A N/A self _transform srid N/A simplify N/A N/A self _simplify transform tolerance N/A format N/A N/A N/A N/A self _as_format simplify format precision N/A N/A N/A connection ops spatialite N/A N/A N/A N/A tolerance srid N/A N/A self N/A simplify N/A AsEWKT(%s) simplify N/A N/A N/A self extra select N/A N/A N/A self geo_field name simplify N/A tile N/A N/A self bbox tolerance format clip N/A 0.0 None False N/A N/A Returns a GeoQuerySet intersecting a tile boundary.

        Arguments:
        bbox -- tile extent as geometry
        Keyword args:
        tolerance -- geometry simplification tolerance
        format -- vector tile format as str
        clip -- clip geometries to tile boundary as boolean
         N/A clone N/A filter_geometry self intersects N/A bbox ewkt N/A tile_srid 3857 N/A coord_srid N/A bbox srid N/A transform N/A N/A clone _transform N/A clip N/A N/A ewkt N/A N/A N/A connection ops spatialite GeomFromEWKT ST_GeomFromEWKT N/A transform N/A ST_Intersection(%s, %s('%s')) N/A transform ewkt N/A bbox ewkt N/A N/A N/A N/A clone geo_field srid tile_srid N/A N/A transform N/A ST_Transform(%s, %s) N/A transform tile_srid N/A simplify N/A N/A clone _simplify transform tolerance N/A latlng N/A ST_Transform(%s, %s) N/A simplify coord_srid N/A N/A format pbf N/A N/A N/A N/A clone pbf bbox geo_col latlng N/A N/A N/A clone _as_format latlng format N/A N/A RasterQuerySet N/A GeoQuerySet N/A arrays N/A N/A self field_name N/A None N/A N/A Returns a list of ndarrays.

        Keyword args:
        field_name -- raster field name as str
         N/A fieldname N/A field_name N/A N/A self raster_field name N/A arrays N/A N/A obj self N/A N/A arr N/A getattr obj fieldname N/A N/A isinstance arr N/A np ndarray N/A N/A N/A N/A arrays append arr N/A N/A N/A N/A arrays append N/A N/A obj array N/A arrays N/A aggregate_periods N/A N/A self periods N/A N/A N/A Returns list of ndarrays averaged to a given number of periods.

        Arguments:
        periods -- desired number of periods as int
         N/A N/A N/A fieldname N/A N/A self raster_field name N/A N/A N/A TypeError N/A N/A N/A N/A exceptions FieldDoesNotExist Raster field not found N/A arrays N/A N/A self arrays fieldname N/A arr N/A arrays N/A 0 N/A fill N/A getattr arr fill_value None N/A N/A N/A getattr arr ndim 0 2 N/A N/A arrays N/A N/A np vstack arrays N/A marr N/A N/A N/A np ma array arrays fill_value fill copy False N/A N/A N/A means N/A N/A N/A N/A marr reshape N/A periods -1 mean axis 1 N/A N/A N/A ValueError N/A N/A means N/A N/A N/A a mean N/A a N/A N/A np array_split marr periods N/A obj N/A self N/A 0 N/A N/A setattr obj fieldname means N/A N/A obj N/A raster_field N/A N/A self N/A N/A N/A Returns the raster FileField instance on the model. N/A field N/A N/A N/A self model _meta fields N/A N/A N/A isinstance field N/A models FileField N/A N/A field N/A False N/A cached_property summarize N/A N/A self geom stat N/A None N/A N/A Returns a new RasterQuerySet with subsetted/summarized ndarrays.

        Arguments:
        geom -- geometry for masking or spatial subsetting
        Keyword args:
        stat -- numpy supported summary stat as str (min/max/mean/etc)
         N/A N/A N/A hasattr geom num_coords N/A N/A N/A TypeError N/A Need OGR or GEOS geometry, %s found N/A type geom N/A clone N/A N/A self _clone N/A obj clone N/A N/A N/A obj image N/A N/A obj array geom stat N/A clone N/A warp N/A N/A self format srid geom N/A None None None N/A N/A Returns a new RasterQuerySet with possibly warped/converted rasters.

        Keyword args:
        format -- raster file extension format as str
        geom -- geometry for masking or spatial subsetting
        srid -- spatial reference identifier as int for warping to
         N/A clone N/A N/A self _clone N/A obj clone N/A N/A N/A N/A obj convert format geom N/A srid N/A N/A f N/A N/A obj image file N/A N/A isinstance f MemFileIO N/A N/A r N/A N/A greenwich Raster N/A f name N/A N/A r N/A N/A obj raster N/A memio N/A MemFileIO delete False N/A dswarp N/A N/A r warp srid memio N/A N/A N/A obj image file memio N/A N/A N/A dswarp close N/A N/A N/A r close N/A clone N/A N/A