QGEP / QGEP

QGIS project and useful stuff for TEKSI wastewater module (Project QGEP)
https://www.teksi.ch
47 stars 28 forks source link

Connect catchment_area to networkelement choose the wrong layer #653

Open urskaufmann opened 3 years ago

urskaufmann commented 3 years ago

with the "connect wastewater networkelements" button catchment areas can be connected. If there is an other layer with the name "catchment" (e.g. a shape-layer with filename "catchment*") in the project, then the connect-tool snap's to this layer and not to the QGEP-catchment-layer.

Workaround: rename the other layer.

To be considered: ask the user, which one is the correct layer if there are several layers with catchment in the name.

ponceta commented 3 years ago

Is this a QGEP related issue or is it an issue due to a customization of the project?

@m-kuhn is there something simple we could do to avoid such issues?

Otherwise it should be documented that adding layers with some specific keywords is not supported?

m-kuhn commented 3 years ago

As @urskaufmann proposed, the user could be asked.

Ideally it would be good to check if a layer "catchment areas" is loaded from the "current" qgep database, but for this we need a definition of the "current qgep database".

ponceta commented 3 years ago

To include in project parameters?

image