Copyright © 2008, 2009, 2011, 2012 Steffen Macke
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available from the Free Software Foundation ( http://www.gnu.org ).
$Date: 2012-03-06$
Table of Contents
Table of Contents
Inptools provides functionality to process EPANET INP files in various ways.
Inptools is available from epanet.de/inptools .
This manual describes Inptools version 1.0.1.
A summary of changes.
EPANET 2.0.0.12 along with the documentation were added to the Windows installer.
The Windows version requires Windows 7 or higher.
Improved Windows explorer integration. Double click on *.net and *.inp files opens them in epanet2w.
New functions have been added to the Windows Explorer context menu: "Create CSV file", "Create binary result file", "Help"
The epanet2csv tool was added.
Linux or Windows (7 or higher) are required in order to use the Inptools. .
Inptools 0.2.3 is the last version that supports earlier Windows versions.
How to install Inptools .
How to install Inptools on computers running the Linux operating system
Download the RPM package from epanet.de/inptools and install it.
Table of Contents
Inptools can be used in Windows Explorer or from the commandline.
Inptools adds a context menu to Windows Explorer that can
be activated by right-clicking on *.inp
files.

Windows Explorer Integration
To access Inptools, do the following: Open Windows Explorer.
Navigate to an INP files.
Right-click on the INP file.
Select the Inptools menu.
Choosen → will open the selected INP file in epanet2w for interactive editing.
This option is only available if EPANET is installed.
Choosing → will convert (projects) the selected INP file with Gauß-Krüger coordinates (GK3) into a new INP file with geographic (WGS84) coordinates.
The inptools package contains several commandline tools.
![]() | Note |
|---|---|
The use of the commandline tools is optional for Windows users. If you are not familiar with commandline interfaces, please stick to the Windows Explorer context menu ( the section called “Windows Explorer Integration” ). |
The inpproj command converts (projects) an INP file with Gauß-Krüger coordinates (GK3) into a new INP file with geographic (WGS84) coordinates.
Most of the source code is plain C and should compile with virtually any C compiler.
The C++ code can be compiled using MinGW.
Inptools - Tools to work with EPANET INP files.
Copyright (C) 2001, 2008, 2009, 2011 Steffen Macke
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses/.
The inp2shp and shp2inp commands use shapelib under the terms of the LGPL.
Copyright (c) 1999, Frank Warmerdam
This software is available under the following "MIT Style" license, or at the option of the licensee under the LGPL (see LICENSE.LGPL). This option is discussed in more detail in shapelib.html
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The inpproj command use the PROJ.4 cartographic projections library.
Copyright (c) 2000, Frank Warmerdam
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Several Inptools commands use gettext under the terms of the LGPL.
Copyright (c) 1991 Free Software Foundation
This software is available under the following "MIT Style" license, or at the option of the licensee under the LGPL (see LICENSE.LGPL). This option is discussed in more detail in shapelib.html
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
B
- binary, Create binary result file
C
- coding, Coding style
- commandline, Commandline Usage
- compiler, Development
- CSV, Create CSV result files
D
- development, Development
E
- epanet2csv, Create binary result file, epanet2csv
- epanet2l, epanet2l
- epanet2w, Open INP file with EPANET
- Explorer, Windows Explorer Integration
G
- general, General
- German, Create report in German
- gettext, Gettext License
- GK3, Project from GK3 to WGS84
- GPL, License
I
- indent, Coding style
- inp2shp, inp2shp
- inppproj, inpproj
- installation, Installation
- Linux, Linux Installation
- Windows, Windows Installation
- introduction, Introduction
L
- LGPL, Shapelib License, Gettext License
- license, Introduction, License, Shapelib License, PROJ.4 License, Gettext License
M
- MIT, PROJ.4 License
N
- news, What's New?
P
- PROJ.4, PROJ.4 License
- projection, Project from GK3 to WGS84
R
- reference, Reference
- release process, Release Process
- report, Create report in German, Create binary result file
- requirements, Requirements
- result, Create CSV result files
- RPM, Linux Installation
S
- shapelib, Shapelib License
- source, Development
- style, Coding style
- support, Troubleshooting and Support
- synopsis, Synopsis, Synopsis, Synopsis, Synopsis
T
- troubleshooting, Troubleshooting and Support
U
- usage, Usage
W
- WGS84, Project from GK3 to WGS84
- Windows, Windows Installation, Linux Installation
- Explorer, Windows Explorer Integration
![[Note]](images/note.png)