Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This might be a too localized question, but I hope I'm not the only one here doing pipe network analyses in Mike Urban.

I have a model in Mike Urban, and the client wants it in EPAnet format (since the rest of their models are in EPAnet). The network representation is not very similar. MU uses shapefiles and EPAnet, from what I understand, uses (at least) three different tables in text file format. One for node ID's and Z coordinates, one for node ID's and coordinates and one for link ID's and their corresponding breakpoint coordinates. There's some more stuff in each of these tables, but lets not worry about that for now.

Is there a tool, of any kind, that converts shapefile networks (from MU) to EPAnet style networks?

If not, what could be an efficient way of extracting necessary information from the shapefile? I have no problem extracting xyz coordinates for points (eg. nodes), but how can I get the breakpoints for lines into a text file/other table? Since there will be a lot of pipes, Python solutions are preferred.

Thank you!

share|improve this question
Can you edit your question to embed links to Mike Urban and EPAnet, please? – PolyGeo Jul 11 '13 at 8:00
Links added @PolyGeo. Also, MU can use the EPAnet engine to model pipe flow. However, the conversion made in that process can't be accessed and is not complete (breakpoints for pipes are not considered, for example). – Martin Jul 11 '13 at 8:15
up vote 3 down vote accepted

The plugin GHydraulics for QGIS 1.8 will go from a shapefile (or any vector that QGIS supports) to an EPANET .inp file. However it does have a few bugs and can be difficult to use.

WaterGEMS and WaterCAD can import and export EPANET files, as well as shapefiles and some other data formats, but they require licenses, unlike GHydraulics.

share|improve this answer
Thanks, I will try it out! – Martin Jul 12 '13 at 6:00
If there are GHydraulics bugs, please report them: I'm also interested in ideas to make the tool easier to use. – Steffen Macke Jul 13 '13 at 9:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.