:py:mod:`wolfhece.picc` ======================= .. py:module:: wolfhece.picc .. autoapi-nested-parse:: 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 --------------- .. py:class:: Picc_data(idx: str = '', plotted: bool = True, mapviewer=None, need_for_wx: bool = False, data_dir: pathlib.Path = Path('./data/PICC'), bbox: Union[shapely.geometry.Polygon, list[float]] = None) Bases: :py:obj:`wolfhece.drawing_obj.Element_To_Draw` .. autoapi-inheritance-diagram:: wolfhece.picc.Picc_data :parts: 1 :private-bases: Read and show PICC data -- see https://geoportail.wallonie.be/georeferentiel/PICC .. py:method:: read_data(data_dir: pathlib.Path = None, bbox: Union[shapely.geometry.Polygon, list[float]] = None, colorize: bool = True) -> None Read data from PICC directory :param data_dir: directory where PICC data are stored :param bbox: bounding box to select data .. py:method:: plot(sx=None, sy=None, xmin=None, ymin=None, xmax=None, ymax=None, size=None) Plot data in OpenGL context :param sx: x scaling factor :param sy: y scaling factor :param xmin: minimum x value :param ymin: minimum y value :param xmax: maximum x value :param ymax: maximum y value :param size: size of the points .. py:method:: check_plot() Generic function responding to check operation from mapviewer .. py:method:: uncheck_plot(unload: bool = True) Generic function responding to uncheck operation from mapviewer .. py:method:: show_properties() Showing properties of the object .. py:method:: Active_vector(vector_to_activate: wolfhece.PyVertexvectors.vector) Activate a vector .. py:method:: Active_zone(zone_to_activate: wolfhece.PyVertexvectors.zone) Activate a zone .. py:class:: Cadaster_data(idx: str = '', plotted: bool = True, mapviewer=None, need_for_wx: bool = False, data_dir: pathlib.Path = Path('./data/Cadastre'), bbox: Union[shapely.geometry.Polygon, list[float]] = None) Bases: :py:obj:`Picc_data` .. autoapi-inheritance-diagram:: wolfhece.picc.Cadaster_data :parts: 1 :private-bases: Read and show cadaster data .. py:method:: read_data(data_dir: pathlib.Path = None, bbox: Union[shapely.geometry.Polygon, List[float]] = None, colorize: bool = True) -> None Read data from PICC directory :param data_dir: directory where PICC data are stored :param bbox: bounding box to select data