XPSWMM can import and export pipe networks (nodes and links and associated data) and TINs in LandXML format. 

Import LandXML Data

To import LandXML data into a project, go to  File > Import/Export Data > Import LandXML. In the Windows Explorer window that opens, navigate to the .xml file and then click Open.

If you are using the 32-bit engine and you try to import more than 2 million surface points, the application will display a warning message that says "Import failed: LandXML Surface should contain less than 2 million surface points."

If you are using the 64-bit engine, no warning will be shown. The import will proceed and a message will display showing the location of the imported .xml file.

Export LandXML Data

The features that are supported during export of an XPSWMM project to LandXML are the same features which can be imported from LandXML into an XPSWMM project.

To export a LandXML data, go to File > Import/Export Data > Export LandXML. Navigate to the folder where you want to export the file, provide a filename, and then click Save.

If you try to export only one node, the application will display an error message that says "Pipe network validation failed: Please make sure that you have at least 2 nodes with both of them connected to a link."

NODES (structs in LandXML)

The nodes are exported to the LandXML file as circular structures. Properties that are exported are as follows:

XPSWMM property

LandXML property

Description

Ground Elevation (Spill Crest)

ElevRim


Invert Elevation

ElevSump


Diameter

Diameter

Calculated from the Area

Name (Label)

Name


Location (X, Y)

Center


Down Stream Invert Elevation

FlowDir (In)

Connected Link

Up Stream Invert Elevation

FlowDir (Out)

Connected Link

Elevation

elev

Connected Link

Links (Conduits)

The links are exported to a LandXml file only as circular, egg, rectangular, ellipse, and trapezoidal. Natural Channels are exported as trapezoidal as well. This is because LandXML does not support natural channels in the same fashion as xp. All other conduit types are exported as circular. Properties that are exported are as follows:

XPSWMM property

LandXML property

Description

Name

Name


Description

Desc


Downstream node

RefEnd


Upstream node

RefStart


Length

Length


Slope

Slope


Mannings

Mannings


XPSWMM property

LandXML property

Description

Diameter

Diameter


XPSWMM property

LandXML property

Description

Height (Diameter)

Height


Span

Span

Calculated: Diameter/1.5

XPSWMM property

LandXML property

Description

Height

Height


Width

Width


Ellipse Link (Horizontal/Vertical)

XPSWMM property

LandXML property

Description

Height (Diameter)

Height


Span

Span

Calculated: Diameter/1.6

XPSWMM property

LandXML property

Description

Height (Diameter)

Height


Width

Bottom width


Width, Theta and Phi

Top width

Width + Theta + Phi

Natural channel

XPSWMM property

LandXML property

Description

Height (Diameter)

Height


Width

Bottom width


Width, XNLen_L, XNLen_R

Top width

Width + XNLen_L + XNLen_R

TINs (Surfaces)

Multiple TIN’s can also be exported as LandXML.