django_website.Managers package

Submodules

django_website.Managers.ImageFilterManager module

class django_website.Managers.ImageFilterManager.ImageFilterManager[source]

Bases: object

ImageFilterManager: Responsible for keeping track of registered image filters and for encapsulating responses from requests delegated to them.

getAvailableImageFilters()[source]
processImageFromFeatureCollection(filterId, featureCollection: geojson.feature.FeatureCollection) → geojson.feature.FeatureCollection[source]
registerFilter(filter: django_website.ImageFilters.ImageFilter.ImageFilter)[source]

Used during initialization to make some implemented image filter available to clients (e.g. front-end).

filterImageFilter

The ImageFilter object, it should be a specialization of the class ImageFilter (e.g. GreeneryFilter)

none

KeyError

when a key error

OtherError

when an other error

django_website.Managers.ImageProviderManager module

class django_website.Managers.ImageProviderManager.ImageProviderManager[source]

Bases: object

Mediator class instantiated as a singleton responsible for managing all the image platforms adaptors implemented

property ImageProviders
getAvailableImageProviders()[source]
getImageForFeatureCollection(imageProviderId, featureCollection: geojson.feature.FeatureCollection) → List[django_website.Primitives.GeoImage.GeoImage][source]
registerImageProvider(provider: django_website.ImageProviders.ImageProvider.ImageProvider)[source]

django_website.Managers.MapMinerManager module

class django_website.Managers.MapMinerManager.MapMinerManager[source]

Bases: object

getAvailableMapMinersAndQueries()[source]
registerMapMiner(mapMiner: django_website.MapMiners.MapMiner.MapMiner)[source]
requestQueryToMapMiner(mapMinerId: str, query: str, region: geojson.feature.FeatureCollection) → List[geojson.feature.FeatureCollection][source]

Delegate the requested query call to the selected MapMiner

django_website.Managers.UserManager module

class django_website.Managers.UserManager.UserManager[source]

Bases: object

createUser(userData)[source]

Module contents