adhocracy_core.resources.geo module

Geo location types.

interface IMultiPolygon[source]

Extends: adhocracy_core.interfaces.ISimple

Geo location MultiPolygon.

Polygons can store a large list of geo location points. To allow long term caching it cannot be modified after creation.

interface ILocationsService[source]

Extends: adhocracy_core.interfaces.IServicePool

The ‘locations’ ServicePool.

add_locations_service(context: <InterfaceClass adhocracy_core.interfaces.IPool>, registry: pyramid.registry.Registry, options: dict)[source]

Add locations service to context.

includeme(config)[source]

Add resource type to registry.