gws.types¶
-
gws.types.
Extent
= typing.Tuple[float, float, float, float]¶ alias An array of 4 elements representing extent coordinates [minx, miny, maxx, maxy]
-
gws.types.
Point
= typing.Tuple[float, float]¶ alias Point coordinates [x, y]
-
gws.types.
Size
= typing.Tuple[float, float]¶ alias Size [width, height]
-
gws.types.
Measurement
= typing.Tuple[float, str]¶ alias A value with a unit
-
gws.types.
Tag
¶ alias of
builtins.tuple
-
gws.types.
Literal
¶ alias of
builtins.str
-
gws.types.
FilePath
¶ alias of
builtins.str
-
gws.types.
DirPath
¶ alias of
builtins.str
-
gws.types.
Duration
¶ alias of
builtins.str
-
gws.types.
Color
¶ alias of
builtins.str
-
gws.types.
Regex
¶ alias of
builtins.str
-
gws.types.
FormatStr
¶ alias of
builtins.str
-
gws.types.
Crs
¶ alias of
builtins.str
-
gws.types.
Date
¶ alias of
builtins.str
-
gws.types.
DateTime
¶ alias of
builtins.str
-
gws.types.
Url
¶ alias of
builtins.str
-
class
gws.types.
Access
(*args, **kwargs)[source]¶ Access rights definition for authorization roles
-
type
= None¶ access type (deny or allow)
-
role
= None¶ a role to which this rule applies
-
-
class
gws.types.
WithTypeAndAccess
(*args, **kwargs)[source]¶ -
type
= None¶ object type
-
access
= None¶ access rights
-
-
class
gws.types.
AttributeType
[source]¶ -
bool
= 'bool'¶
-
bytes
= 'bytes'¶
-
date
= 'date'¶
-
datetime
= 'datetime'¶
-
float
= 'float'¶
-
geometry
= 'geometry'¶
-
int
= 'int'¶
-
list
= 'list'¶
-
str
(bytes_or_buffer[, encoding[, errors]]) → str = 'str'¶
-
text
= 'text'¶
-
time
= 'time'¶
-
-
class
gws.types.
GeometryType
[source]¶ -
curve
= 'CURVE'¶
-
geomcollection
= 'GEOMCOLLECTION'¶
-
geometry
= 'GEOMETRY'¶
-
linestring
= 'LINESTRING'¶
-
multicurve
= 'MULTICURVE'¶
-
multilinestring
= 'MULTILINESTRING'¶
-
multipoint
= 'MULTIPOINT'¶
-
multipolygon
= 'MULTIPOLYGON'¶
-
multisurface
= 'MULTISURFACE'¶
-
point
= 'POINT'¶
-
polygon
= 'POLYGON'¶
-
polyhedralsurface
= 'POLYHEDRALSURFACE'¶
-
surface
= 'SURFACE'¶
-
-
class
gws.types.
Attribute
(*args, **kwargs)[source]¶ -
title
= ''¶
-
type
= 'str'¶
-
value
= None¶
-
editable
= True¶
-
-
class
gws.types.
Params
(*args, **kwargs)[source]¶ -
projectUid
= None¶ project uid
-
locale
= None¶ locale for this request
-
-
class
gws.types.
IBaseRequest
[source]¶
-
class
gws.types.
IFeature
[source]¶ -
-
apply_templates
(templates: List[ITemplate] = None, extra_context: dict = None, keys: List[str] = None) → gws.types.IFeature[source]¶
-
-
class
gws.types.
MapRenderInputItemType
[source]¶ -
features
= 'features'¶
-
fragment
= 'fragment'¶
-
image
= 'image'¶
-
image_layer
= 'image_layer'¶
-
svg_layer
= 'svg_layer'¶
-
-
class
gws.types.
MetaInspireDegreeOfConformity
[source]¶ -
conformant
= 'conformant'¶
-
notConformant
= 'notConformant'¶
-
notEvaluated
= 'notEvaluated'¶
-
-
class
gws.types.
MetaInspireMandatoryKeyword
[source]¶ -
chainDefinitionService
= 'chainDefinitionService'¶
-
comEncodingService
= 'comEncodingService'¶
-
comGeographicCompressionService
= 'comGeographicCompressionService'¶
-
comGeographicFormatConversionService
= 'comGeographicFormatConversionService'¶
-
comMessagingService
= 'comMessagingService'¶
-
comRemoteFileAndExecutableManagement
= 'comRemoteFileAndExecutableManagement'¶
-
comService
= 'comService'¶
-
comTransferService
= 'comTransferService'¶
-
humanCatalogueViewer
= 'humanCatalogueViewer'¶
-
humanChainDefinitionEditor
= 'humanChainDefinitionEditor'¶
-
humanFeatureGeneralizationEditor
= 'humanFeatureGeneralizationEditor'¶
-
humanGeographicDataStructureViewer
= 'humanGeographicDataStructureViewer'¶
-
humanGeographicFeatureEditor
= 'humanGeographicFeatureEditor'¶
-
humanGeographicSpreadsheetViewer
= 'humanGeographicSpreadsheetViewer'¶
-
humanGeographicSymbolEditor
= 'humanGeographicSymbolEditor'¶
-
humanGeographicViewer
= 'humanGeographicViewer'¶
-
humanInteractionService
= 'humanInteractionService'¶
-
humanServiceEditor
= 'humanServiceEditor'¶
-
humanWorkflowEnactmentManager
= 'humanWorkflowEnactmentManager'¶
-
infoCatalogueService
= 'infoCatalogueService'¶
-
infoCoverageAccessService
= 'infoCoverageAccessService'¶
-
infoFeatureAccessService
= 'infoFeatureAccessService'¶
-
infoFeatureTypeService
= 'infoFeatureTypeService'¶
-
infoGazetteerService
= 'infoGazetteerService'¶
-
infoManagementService
= 'infoManagementService'¶
-
infoMapAccessService
= 'infoMapAccessService'¶
-
infoOrderHandlingService
= 'infoOrderHandlingService'¶
-
infoProductAccessService
= 'infoProductAccessService'¶
-
infoRegistryService
= 'infoRegistryService'¶
-
infoSensorDescriptionService
= 'infoSensorDescriptionService'¶
-
infoStandingOrderService
= 'infoStandingOrderService'¶
-
metadataGeographicAnnotationService
= 'metadataGeographicAnnotationService'¶
-
metadataProcessingService
= 'metadataProcessingService'¶
-
metadataStatisticalCalculationService
= 'metadataStatisticalCalculationService'¶
-
spatialCoordinateConversionService
= 'spatialCoordinateConversionService'¶
-
spatialCoordinateTransformationService
= 'spatialCoordinateTransformationService'¶
-
spatialCoverageVectorConversionService
= 'spatialCoverageVectorConversionService'¶
-
spatialDimensionMeasurementService
= 'spatialDimensionMeasurementService'¶
-
spatialFeatureGeneralizationService
= 'spatialFeatureGeneralizationService'¶
-
spatialFeatureManipulationService
= 'spatialFeatureManipulationService'¶
-
spatialFeatureMatchingService
= 'spatialFeatureMatchingService'¶
-
spatialImageCoordinateConversionService
= 'spatialImageCoordinateConversionService'¶
-
spatialImageGeometryModelConversionService
= 'spatialImageGeometryModelConversionService'¶
-
spatialOrthorectificationService
= 'spatialOrthorectificationService'¶
-
spatialPositioningService
= 'spatialPositioningService'¶
-
spatialProcessingService
= 'spatialProcessingService'¶
-
spatialProximityAnalysisService
= 'spatialProximityAnalysisService'¶
-
spatialRectificationService
= 'spatialRectificationService'¶
-
spatialRouteDeterminationService
= 'spatialRouteDeterminationService'¶
-
spatialSamplingService
= 'spatialSamplingService'¶
-
spatialSensorGeometryModelAdjustmentService
= 'spatialSensorGeometryModelAdjustmentService'¶
-
spatialSubsettingService
= 'spatialSubsettingService'¶
-
spatialTilingChangeService
= 'spatialTilingChangeService'¶
-
subscriptionService
= 'subscriptionService'¶
-
taskManagementService
= 'taskManagementService'¶
-
temporalProcessingService
= 'temporalProcessingService'¶
-
temporalProximityAnalysisService
= 'temporalProximityAnalysisService'¶
-
temporalReferenceSystemTransformationService
= 'temporalReferenceSystemTransformationService'¶
-
temporalSamplingService
= 'temporalSamplingService'¶
-
temporalSubsettingService
= 'temporalSubsettingService'¶
-
thematicChangeDetectionService
= 'thematicChangeDetectionService'¶
-
thematicClassificationService
= 'thematicClassificationService'¶
-
thematicFeatureGeneralizationService
= 'thematicFeatureGeneralizationService'¶
-
thematicGeocodingService
= 'thematicGeocodingService'¶
-
thematicGeographicInformationExtractionService
= 'thematicGeographicInformationExtractionService'¶
-
thematicGeoparsingService
= 'thematicGeoparsingService'¶
-
thematicGoparameterCalculationService
= 'thematicGoparameterCalculationService'¶
-
thematicImageManipulationService
= 'thematicImageManipulationService'¶
-
thematicImageProcessingService
= 'thematicImageProcessingService'¶
-
thematicImageSynthesisService
= 'thematicImageSynthesisService'¶
-
thematicImageUnderstandingService
= 'thematicImageUnderstandingService'¶
-
thematicMultibandImageManipulationService
= 'thematicMultibandImageManipulationService'¶
-
thematicObjectDetectionService
= 'thematicObjectDetectionService'¶
-
thematicProcessingService
= 'thematicProcessingService'¶
-
thematicReducedResolutionGenerationService
= 'thematicReducedResolutionGenerationService'¶
-
thematicSpatialCountingService
= 'thematicSpatialCountingService'¶
-
thematicSubsettingService
= 'thematicSubsettingService'¶
-
workflowEnactmentService
= 'workflowEnactmentService'¶
-
-
class
gws.types.
MetaInspireResourceType
[source]¶ -
dataset
= 'dataset'¶
-
series
= 'series'¶
-
service
= 'service'¶
-
-
class
gws.types.
MetaInspireSpatialDataServiceType
[source]¶ -
discovery
= 'discovery'¶
-
download
= 'download'¶
-
invoke
= 'invoke'¶
-
other
= 'other'¶
-
transformation
= 'transformation'¶
-
view
= 'view'¶
-
-
class
gws.types.
MetaInspireTheme
[source]¶ -
ac
= 'ac'¶
-
ad
= 'ad'¶
-
af
= 'af'¶
-
am
= 'am'¶
-
au
= 'au'¶
-
br
= 'br'¶
-
bu
= 'bu'¶
-
cp
= 'cp'¶
-
ef
= 'ef'¶
-
el
= 'el'¶
-
er
= 'er'¶
-
ge
= 'ge'¶
-
gg
= 'gg'¶
-
gn
= 'gn'¶
-
hb
= 'hb'¶
-
hh
= 'hh'¶
-
hy
= 'hy'¶
-
lc
= 'lc'¶
-
lu
= 'lu'¶
-
mf
= 'mf'¶
-
mr
= 'mr'¶
-
nz
= 'nz'¶
-
of
= 'of'¶
-
oi
= 'oi'¶
-
pd
= 'pd'¶
-
pf
= 'pf'¶
-
ps
= 'ps'¶
-
rs
= 'rs'¶
-
sd
= 'sd'¶
-
so
= 'so'¶
-
sr
= 'sr'¶
-
su
= 'su'¶
-
tn
= 'tn'¶
-
us
= 'us'¶
-
-
class
gws.types.
MetaIsoMaintenanceFrequencyCode
[source]¶ -
annually
= 'annually'¶
-
asNeeded
= 'asNeeded'¶
-
biannually
= 'biannually'¶
-
continual
= 'continual'¶
-
daily
= 'daily'¶
-
fortnightly
= 'fortnightly'¶
-
irregular
= 'irregular'¶
-
monthly
= 'monthly'¶
-
notPlanned
= 'notPlanned'¶
-
quarterly
= 'quarterly'¶
-
unknown
= 'unknown'¶
-
weekly
= 'weekly'¶
-
-
class
gws.types.
MetaIsoOnLineFunction
[source]¶ -
download
= 'download'¶
-
information
= 'information'¶
-
offlineAccess
= 'offlineAccess'¶
-
order
= 'order'¶
-
search
= 'search'¶
-
-
class
gws.types.
MetaIsoScope
[source]¶ -
attribute
= 'attribute'¶
-
attributeType
= 'attributeType'¶
-
collectionHardware
= 'collectionHardware'¶
-
collectionSession
= 'collectionSession'¶
-
dataset
= 'dataset'¶
-
dimensionGroup
= 'dimensionGroup'¶
-
feature
= 'feature'¶
-
featureType
= 'featureType'¶
-
fieldSession
= 'fieldSession'¶
-
initiative
= 'initiative'¶
-
model
= 'model'¶
-
nonGeographicDataset
= 'nonGeographicDataset'¶
-
otherAggregate
= 'otherAggregate'¶
-
platformSeries
= 'platformSeries'¶
-
productionSeries
= 'productionSeries'¶
-
propertyType
= 'propertyType'¶
-
sensor
= 'sensor'¶
-
sensorSeries
= 'sensorSeries'¶
-
series
= 'series'¶
-
service
= 'service'¶
-
software
= 'software'¶
-
stereomate
= 'stereomate'¶
-
tile
= 'tile'¶
-
transferAggregate
= 'transferAggregate'¶
-
-
class
gws.types.
MetaIsoSpatialRepresentationType
[source]¶ -
grid
= 'grid'¶
-
stereoModel
= 'stereoModel'¶
-
textTable
= 'textTable'¶
-
tin
= 'tin'¶
-
vector
= 'vector'¶
-
video
= 'video'¶
-
-
class
gws.types.
MetaIsoTopicCategory
[source]¶ -
biota
= 'biota'¶
-
boundaries
= 'boundaries'¶
-
climatologyMeteorologyAtmosphere
= 'climatologyMeteorologyAtmosphere'¶
-
economy
= 'economy'¶
-
elevation
= 'elevation'¶
-
environment
= 'environment'¶
-
farming
= 'farming'¶
-
geoscientificInformation
= 'geoscientificInformation'¶
-
health
= 'health'¶
-
imageryBaseMapsEarthCover
= 'imageryBaseMapsEarthCover'¶
-
inlandWaters
= 'inlandWaters'¶
-
intelligenceMilitary
= 'intelligenceMilitary'¶
-
location
= 'location'¶
-
oceans
= 'oceans'¶
-
planningCadastre
= 'planningCadastre'¶
-
society
= 'society'¶
-
structure
= 'structure'¶
-
transportation
= 'transportation'¶
-
utilitiesCommunication
= 'utilitiesCommunication'¶
-
-
class
gws.types.
StyleMarker
[source]¶ -
arrow
= 'arrow'¶
-
circle
= 'circle'¶
-
cross
= 'cross'¶
-
square
= 'square'¶
-
-
class
gws.types.
IAuthManager
[source]¶ -
authenticate
(method: gws.types.IAuthMethod, login, password, **kw) → Optional[gws.types.IUser][source]¶
-
close_session
(sess: gws.types.ISession, req: gws.types.IRequest, res: gws.types.IResponse) → gws.types.ISession[source]¶
-
create_stored_session
(type: str, method: gws.types.IAuthMethod, user: gws.types.IUser) → gws.types.ISession[source]¶
-
-
class
gws.types.
IAuthMethod
[source]¶ -
close_session
(auth: gws.types.IAuthManager, sess: gws.types.ISession, req: gws.types.IRequest, res: gws.types.IResponse)[source]¶
-
login
(auth: gws.types.IAuthManager, login: str, password: str, req: gws.types.IRequest) → Optional[gws.types.ISession][source]¶
-
-
class
gws.types.
IAuthProvider
[source]¶
-
class
gws.types.
ILayer
[source]¶ -
-
edit_operation
(operation: str, feature_props: List[FeatureProps]) → List[gws.types.IFeature][source]¶
-