gws.plugin.alkis.data.index
¶
Source code: gws.plugin.alkis.data.index
Module Contents¶
- gws.plugin.alkis.data.index.make_fsnummer(r: gws.plugin.alkis.data.types.FlurstueckRecord)¶
Create a ‘fsnummer’ for a Flurstueck, which is ‘flur-zaeher/nenner (folge)’.
- gws.plugin.alkis.data.index.normalize_hausnummer(s)¶
Clean up house number formatting.
- class gws.plugin.alkis.data.index.Object¶
Bases:
gws.Node
Configurable GWS object.
- ALL_TABLES¶
- columnDct¶
- excludeGemarkung: set[str]¶
- HAUSNUMMER_NOT_NULL_VALUE = '*'¶
- INSERT_SIZE = 5000¶
- saMeta: gws.lib.sa.MetaData¶
- schema: str¶
- tables: dict[str, gws.lib.sa.Table]¶
- TABLES_BASIC¶
- TABLES_BUCHUNG¶
- TABLES_EIGENTUEMER¶
- VERSION = '8'¶
- activate()¶
Activation hook.
- configure()¶
Configuration hook.
- create_table(table_id: str, values: list[dict], progress: gws.lib.cli.ProgressIndicator | None = None)¶
- drop()¶
- drop_table(table_id: str)¶
- find_adresse(q: gws.plugin.alkis.data.types.AdresseQuery) list[gws.plugin.alkis.data.types.Adresse] ¶
- find_flurstueck(q: gws.plugin.alkis.data.types.FlurstueckQuery) list[gws.plugin.alkis.data.types.Flurstueck] ¶
- has_table(table_id: str) bool ¶
- load_flurstueck(fs_uids: list[str], qo: gws.plugin.alkis.data.types.FlurstueckQueryOptions) list[gws.plugin.alkis.data.types.Flurstueck] ¶
- strasse_list() list[gws.plugin.alkis.data.types.Strasse] ¶
- table(table_id: str) gws.lib.sa.Table ¶
- table_size(table_id) int ¶
- gws.plugin.alkis.data.index.parse_fsnummer(s)¶
Parse a Flurstueck fsnummer into parts.
- gws.plugin.alkis.data.index.serialize(o: gws.plugin.alkis.data.types.Object) dict ¶
- class gws.plugin.alkis.data.index.Status(*args, **kwargs)¶
Bases:
gws.Data
Index status
- basic: bool¶
- buchung: bool¶
- complete: bool¶
- eigentuemer: bool¶
- gws.plugin.alkis.data.index.strasse_key(s)¶
Normalize a steet name for full-text search.
- gws.plugin.alkis.data.index.TABLE_BUCHUNGSBLATT = 'buchungsblatt'¶
- gws.plugin.alkis.data.index.TABLE_FLURSTUECK = 'flurstueck'¶
- gws.plugin.alkis.data.index.TABLE_INDEXBUCHUNGSBLATT = 'indexbuchungsblatt'¶
- gws.plugin.alkis.data.index.TABLE_INDEXFLURSTUECK = 'indexflurstueck'¶
- gws.plugin.alkis.data.index.TABLE_INDEXGEOM = 'indexgeom'¶
- gws.plugin.alkis.data.index.TABLE_INDEXLAGE = 'indexlage'¶
- gws.plugin.alkis.data.index.TABLE_INDEXPERSON = 'indexperson'¶
- gws.plugin.alkis.data.index.TABLE_LAGE = 'lage'¶
- gws.plugin.alkis.data.index.TABLE_PART = 'part'¶
- gws.plugin.alkis.data.index.TABLE_PLACE = 'place'¶
- gws.plugin.alkis.data.index.text_key(s)¶
Normalize a text string for full-text search.
- gws.plugin.alkis.data.index.text_search_clause(column, val, tso: gws.TextSearchOptions)¶
- gws.plugin.alkis.data.index.unserialize(data: dict)¶