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

Inheritance diagram of wolfhece.picc.Picc_data

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

check_plot()[source]

Generic function responding to check operation from mapviewer

uncheck_plot(unload: bool = True)[source]

Generic function responding to uncheck operation from mapviewer

show_properties()[source]

Showing properties of the object

Active_vector(vector_to_activate: wolfhece.PyVertexvectors.vector)[source]

Activate a vector

Active_zone(zone_to_activate: wolfhece.PyVertexvectors.zone)[source]

Activate a zone

class wolfhece.picc.Cadaster_data(idx: str = '', plotted: bool = True, mapviewer=None, need_for_wx: bool = False, data_dir: pathlib.Path = Path('./data/Cadastre'), bbox: shapely.geometry.Polygon | list[float] = None)[source]

Bases: Picc_data

Inheritance diagram of wolfhece.picc.Cadaster_data

Read and show cadaster data

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