core
¶
Interface with GekoS-Bau software.
GekoS settings for gws (Verfahrensadministration/GIS Schnittstelle)
base address:
GIS-URL-Base = http://my-server
client-side call, handled in the client by the Marker element
GIS-URL-ShowXY = /project/PROJECT_ID/?x=<x>&y=<y>&z=SCALE_VALUE
client-side call, handled in the client by js/index.tsx
GIS-URL-GetXYFromMap = /project/PROJECT_ID/?&x=<x>&y=<y>&gekosUrl=<returl>
client-side call, handled in the Alkis plugin
GIS-URL-ShowFs = /project/PROJECT_ID/?alkisFs=<land>_<gem>_<flur>_<zaehler>_<nenner>_<folge>
callback urls, handled by the GekoS action
GIS-URL-GetXYFromFs = /_/gekosGetXY/projectUid/PROJECT_ID/fs/<land>_<gem>_<flur>_<zaehler>_<nenner>_<folge> GIS-URL-GetXYFromGrd = /_/gekosGetXY/projectUid/PROJECT_ID/ad/<str>_<hnr><hnralpha>_<plz>_<ort>_<bishnr><bishnralpha>
NB: the order of placeholders must match COMBINED_FLURSTUECK_FIELDS and COMBINED_ADRESSE_FIELDS in the Alkis Plugin
Source code: core
Module Contents¶
- class core.IndexConfig(*args, **kwargs)¶
Bases:
gws.Config
Configuration for the GekoS index.
- crs: gws.CrsName¶
CRS for GekoS data.
- dbUid: str | None¶
Database provider uid.
- position: PositionConfig | None¶
Position correction for points.
- sources: list[SourceConfig]¶
List of gek-online sources.
- tableName: str¶
SQL table name for storing GekoS data.
- class core.PositionConfig(*args, **kwargs)¶
Bases:
gws.Config
Position correction for points.
- angle: int = 0¶
Angle for points repelling.
- distance: int = 0¶
Radius for points repelling.
- offsetX: int¶
X-offset for points.
- offsetY: int¶
Y-offset for points.
- class core.SourceConfig(*args, **kwargs)¶
Bases:
gws.Config
Configuration for a gek-online source.
- instance: str¶
Instance name for gek-online calls, used to create unique uids.
- params: dict¶
Parameters for gek-online calls.
- url: gws.Url¶
Base URL for gek-online calls.