gws.plugin.gekos.index

GekoS index, loaded from gek-online.

Source code: gws.plugin.gekos.index

Module Contents

class gws.plugin.gekos.index.Object

Bases: gws.Node

GekoS index.

Loads GekoS records from gek-online and stores them in a PostGIS table.

crs: gws.Crs

CRS of the GekoS coordinates.

db: gws.DatabaseProvider

Database provider for the index table.

position: gws.plugin.gekos.core.PositionConfig

Position correction for points, or None.

tableName: str

Name of the index table.

configure()

Configuration hook.

Called when the node is initialized. Raising an exception here aborts the creation of the node.

create()

Load the records of all sources and recreate the index table.

The table is dropped, created again and filled with the records.