django_website.ImageProviders package

Submodules

django_website.ImageProviders.GoogleStreetViewProvider module

class django_website.ImageProviders.GoogleStreetViewProvider.GoogleStreetViewProvider[source]

Bases: django_website.ImageProviders.ImageProvider.ImageProvider

Google Street View wrapper (DEPRECATED) GSV is now managed by javascript (home/GSVService.js)

createGeoImageFromStreetViewPanoramaData()[source]
getImageForFeatureCollection() → geojson.feature.FeatureCollection[source]

Receives a feature collection of point/line or their multi equivalents and returns a list of GeoImage’s

imageProviderId = 'gsvProvider'
imageProviderName = 'Google Street View'
class django_website.ImageProviders.GoogleStreetViewProvider.Size(width, height)[source]

Bases: object

django_website.ImageProviders.ImageProvider module

class django_website.ImageProviders.ImageProvider.ImageProvider[source]

Bases: abc.ABC

abstract class describing the common interface to all Image Providers classes

abstract getImageForFeatureCollection() → List[django_website.Primitives.GeoImage.GeoImage][source]

An image provider coupled with a GIS must be able to get images by coordinates

imageProviderId = None
imageProviderName = None

Module contents