Jannik-Schilling / generate_swmm_inp

a QGIS plugin for the import and export of SWMM input files (conversion of geodata, e.g. shapefiles or geopackage into SWMM models and vice versa)
GNU General Public License v2.0
35 stars 11 forks source link

Tutorial #6

Closed MaciejKolodziejski closed 3 months ago

MaciejKolodziejski commented 2 years ago

Hi Sorry to be impatient. When can the tutorial be expected? Maciej

Jannik-Schilling commented 2 years ago

Hello Maciej, At the moment, there are several tasks, which I´m working on (see other issues). An instructional text is in progress. However I cannot predict when it will be published.

For urgent questions on "how to start" you can write me an email ( -> jannik.schilling[at]uni-rostock.de ).

Kind Regards Jannik

Jannik-Schilling commented 2 years ago
Jannik-Schilling commented 2 years ago

Update: https://github.com/Jannik-Schilling/generate_swmm_inp/blob/dev_v_0_15/documentation/g_s_i_documentation_v_0_1.pdf

... will be merged soon (hopefully) new version see comment below

Jannik-Schilling commented 2 years ago

https://github.com/Jannik-Schilling/generate_swmm_inp/blob/main/documentation/g_s_i_documentation_v_0_28.pdf

danieles-93 commented 2 years ago

Hola, tengo un error que no he podido solucionar,

reading shapfiles done reading tables done preparing data for input file Traceback (most recent call last): File "C:/Users/danie/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\generate_swmm_inp\generate_swmm_inp_file.py", line 438, in processAlgorithm junctions_df['X_Coord'],junctions_df['Y_Coord'] = get_coords_from_geometry(junctions_df) TypeError: cannot unpack non-iterable NoneType object

La ejecución falló después de 0.02 segundos

se trata de las coordenadas pero no logro resolverlo

agradecería mucho tu ayuda

Error

Jannik-Schilling commented 2 years ago

Hola @danieles-93 , por favor escribe un nuevo "issue". Esto aqui es sólo para preguntas sobre el tutorial.

It seems like your point layer has some features without a geometry. This cannot work because SWMM will need the X and Y coordinates.

maheswarialwar commented 2 years ago

sir I am doing PhD work using SWMM model. I am using Generate SWMM INP I received the following error for Conduit ![Error occurred in cresting conduit] (https://user-images.githubusercontent.com/105992496/169680960-eb4a577f-60ab-4587-836d-095aeef94ef5.jpg)

Jannik-Schilling commented 2 years ago

sir I am doing PhD work using SWMM model. I am using Generate SWMM INP I received the following error for Conduit ![Error occurred in cresting conduit] (https://user-images.githubusercontent.com/105992496/169680960-eb4a577f-60ab-4587-836d-095aeef94ef5.jpg)

It seems like in your conduits layer the column "Shape" is missing, isn´t it? If you need to know the required columns for your layers you can take a look at the documentation

Normally there should be a more comprehensive error message... I`ll improve that.

maheswarialwar commented 2 years ago

column can not be kept as shape as I am using the shape file to create the layer. I try to use the standard document given by you, but I was not able to change the coordinate Reference system. so can you please help me in this.

Jannik-Schilling commented 2 years ago

you don´t need to save the attribute table in another file. You simply need a column with the name "Shape" containing strings... There´s no need for a change in coordinate reference system.