-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shp_to_inp coordinates for outfall are missing #15
Comments
@DoeringA Any idea? |
If i may interject, you probably don't loop over the whole Range of Nodes [Junctions, Outfall, Dividers and Storage] when you make the Coordinate section |
It works if I include the outfall (Out1) in both path_point and path_outfall and remove it from $junction afterwards. example1$junction <- example1$junction[example1$junction$Name != "Out1", ] |
Is this issue still unsolved? Otherwise please consider to close and comment. Thanks! |
In the current version the coordinate section is only made for junction nodes. As dickinsonre commented, looping over the whole range of nodes still needs to be implemented. Currently, coordinates for other than junction nodes, must be added to the inp object manually (inp$coordinates). |
I'm using shp_to_inp to create an input file out of my shapefiles (subcatchments, conduits, junctions, outfall).
It is working for all except the outfall where coordinates in swmm are missing.
My impression: Coordinates for junctions are saved but the outfall is not.
list_of_sections[["coordinates"]] <- junction
(Zeile 226 in https://github.com/dleutnant/swmmr/blob/master/R/shp_to_inp.R)
thank you for help
The text was updated successfully, but these errors were encountered: