Dies ist eine alte Version des Dokuments!
Eine Installation ist nicht erforderlich. Die Dateien DHI.DBM.Tools.EPANETToShp.exe, GeoAPI.dll, NetTopologySuite.dll und NetTopologySuite.IO.GeoTools.dll müssen im gleichen Verzeichnis gespeichert sein.
DHI.DBM.Tools.EPANETToShp.exe resfilename:value shapefilename:value shapefilefieldname:value destination:value resulttype:value timestepnumber:value fieldstocopy:value1|value2..
DHI.DBM.Tools.EPANETToShp.exe resfilename:C:\Test\OevreEiker-2011-2-Uke-KSNberegninger.res destination:C:\Test\Results shapefilename:C:\Test\ShapeFiles\Junctions.shp resulttype:3 "starttime:10/01/2014 15:00:00" fieldstocopy:Asset
Parameter müssen mit doppelten Anführungszeichen eingefasst werden, wenn sie Sonderzeichen (Leerzeichen, Pfeifensymbol) enthalten.
Folgende Pfadangaben sind möglich:
Absoluter Pfad: e:\Haupt\Arbeit\Unter
Relativer Pfad zum
Shapefilefieldname is by defeulat set to MUID and is the field that is used to look up data in the res file
If starttime is defined it will export all time steps with each shape file names with the date time
If timestepnumber is not defined a start time is not defined, it will export every time step with the time step numer as the file name
If timestepnumber is defined it will only export this one time step
If fieldstocopy is defined it specifies which field from the shapefilename thatshould be copied to the output shape files. The list is | separated for specification of mulitple field
The available result types are
1 - Demand at Each Node 2 - Hydraulic Head at Each Node 3 - Pressure at Each Node 4 - Water Quality at Each Node 5 - Flow in Each Link 6 - Velocity in Each Link 7 - Headloss per 1000 Units of Length for Each Link 8 - Average Water Quality in Each Link 9 - Status Code for Each Link 10 - Setting for Each Link: (Roughness Coefficient for Pipes, Speed for Pumps, Setting for Valves) 11 - Reaction Rate for Each Link 12 - Friction Factor for Each Link 13 - Flow in Each Link with geometry inverted if flow is negative