wolfhece.picc
Author: HECE - University of Liege, Pierre Archambeau Date: 2024
Copyright (c) 2024 University of Liege. All rights reserved.
This script and its content are protected by copyright law. Unauthorized copying or distribution of this file, via any medium, is strictly prohibited.
Module Contents
- class wolfhece.picc.Picc_data(idx: str = '', plotted: bool = True, mapviewer=None, need_for_wx: bool = False, data_dir: pathlib.Path = Path('./data/PICC'), bbox: shapely.geometry.Polygon | list[float] = None)[source]
Bases:
wolfhece.drawing_obj.Element_To_Draw
Read and show PICC data – see https://geoportail.wallonie.be/georeferentiel/PICC
- read_data(data_dir: pathlib.Path = None, bbox: shapely.geometry.Polygon | list[float] = None, colorize: bool = True) None [source]
Read data from PICC directory
- Parameters:
data_dir – directory where PICC data are stored
bbox – bounding box to select data
- plot(sx=None, sy=None, xmin=None, ymin=None, xmax=None, ymax=None, size=None)[source]
Plot data in OpenGL context
- Parameters:
sx – x scaling factor
sy – y scaling factor
xmin – minimum x value
ymin – minimum y value
xmax – maximum x value
ymax – maximum y value
size – size of the points
- uncheck_plot(unload: bool = True)[source]
Generic function responding to uncheck operation from mapviewer
- Active_vector(vector_to_activate: wolfhece.PyVertexvectors.vector)[source]
Activate a vector
- Active_zone(zone_to_activate: wolfhece.PyVertexvectors.zone)[source]
Activate a zone