qgisred / QGISRed

GNU General Public License v2.0
23 stars 8 forks source link

Inserting Junctions SHP file #139

Open XxGeekoxX12 opened 1 month ago

XxGeekoxX12 commented 1 month ago

Hello there, is there a sample of how the junction shp file should be? i have my junctions saved as circles drawn in autocad and apparently i can't upload it in the junction tab as it doesn't give me the option. Also, can i add an inp file with the junctions on top of the shp files with the pipes ( i have the junctions saved as an inp file ), and will it take care of the connections junction-pipe itself? Thank you

fmartine commented 1 month ago

QGISRed creates the nodes at the pipe ends automatically, whether the pipes are drawn individually or when the pipes are imported as shapefiles. However, when creating the nodes automatically, QGISRed assigns them an ID and an elevation according to the project defaults.

If you also want to import the nodes to keep the node IDs or their elevations available in a shapefile, import the pipes and junctions at the same time from the import shapefile dialog. In such a case, the nodes will be created automatically first, and then the created nodes will be compared with the imported ones to take the latter's properties whenever there is a spatial match.

Hope this solves your problem