PWF Files
The PWF file contains a number of spot ground levels and a list of how these levels are connected as triangles to form a solid terrain profile. The file was original created to allow a triangulated surface to be exchanged between the PDS and MicroDrainage design packages commonly used in the UK.
The file format is as follows:
[Section 1 - FileList]
filename
filename
...etc
[Section 2 - Vertices]
Vertex Number, Easting (m), Northing (m), Level (m)
Vertex Number, Easting (m), Northing (m), Level (m)
...etc
[Section 3 - Triangles]
Vertex1, Vertex2, Vertex3, ModelNo, Colour
Vertex1, Vertex2, Vertex3, ModelNo, Colour
...etc
[Section 4 - Zone Descriptions]
Index, Name, PAF, Surface
Index, Name, PAF, Surface
...etc
Notes
Section 1 contains a list of SWS files that are associated with this site.
Section 2 is a list of spot levels (vertices). These should be consecutively numbered from 1 to n.
Section 3 is a list of triangles. Each triangle connects 3 vertices and should list the vertex number from the previous section. Model No is used to split the terrain into separate ‘chunks’. Positive Models are considered to be undeveloped terrain. These triangles can be edited within Simulation A.P.T. Negative Models represent terrain features such as roads. These will be locked. For a basic undeveloped ground model all Model Numbers can be set to 0.
Colour is an AutoCAD colour palette index or RGB value in hex. Specify either an integer in the range 0-255 or an RGB value formatted to #rrggbb. This is the colour the triangle will be drawn in. Colour is ignored for triangles with a positive Model Number.
Section 4 lists name and associated information for each of the model numbers used.