SMS:LandXML Files: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
Line 1: Line 1:
SMS supports importing TINs from a LandXML file. When importing LandXML files, SMS will check for duplicate points in the file.
SMS supports importing TINs from a LandXML file. <!--When importing LandXML files, SMS will check for duplicate points in the file.-->


==LandXML Files (*.xml)==
==LandXML Files (*.xml)==
Line 6: Line 6:
===Locating Data in a LandXML file===
===Locating Data in a LandXML file===


SMS only supports a subset of the LandXML definition specific to TINs. The specific data SMS looks for point location, and triangular connectivity information. To locate this data within the LandXML file, start by looking under the identifier "Definition surfType". Make sure that this is defined as "TIN".  Then, look for the 'Pnts' identifier to read point locations by id. Next, look for the 'Faces' identifier to read the connectivity information.  
SMS only supports a subset of the LandXML definition specific to TINs. The specific data SMS looks for point location, and triangular connectivity information. To locate this data within the LandXML file, start by looking under the identifier "Definition surfType". Make sure that this is defined as "TIN".  Then, look for the 'Pnts' identifier to read point locations by id. Next, look for the 'Faces' identifier to read the connectivity information.
Note: In the LandXML file, the points are identified by their id number as well as by their coordinates (y,x,z) respectively.  
Note: In the LandXML file, the points are identified by their id number as well as by their coordinates (y,x,z) respectively.  



Revision as of 16:47, 4 February 2019

SMS supports importing TINs from a LandXML file.

LandXML Files (*.xml)

A LandXML file is a non-proprietary file format that stores civil/survey data such as points, faces, etc. making it easier to share surfaces between different programs. Several CAD and other packages support exporting data into the LandXML format. This makes LandXML a good choice for getting bathymetry/topographic data into SMS as the connectivity will be maintained.

Locating Data in a LandXML file

SMS only supports a subset of the LandXML definition specific to TINs. The specific data SMS looks for point location, and triangular connectivity information. To locate this data within the LandXML file, start by looking under the identifier "Definition surfType". Make sure that this is defined as "TIN". Then, look for the 'Pnts' identifier to read point locations by id. Next, look for the 'Faces' identifier to read the connectivity information.

Note: In the LandXML file, the points are identified by their id number as well as by their coordinates (y,x,z) respectively.

LandXML Identifiers

A complete list of LandXML identifiers with their respective definitions can be found at www.landxml.org on the right side of the page under LandXML-1.2 Schema. Click on the LandXML-1.2 Data Diagram.

Related Topics