The Power of LandXML

 The ability to import and export to LandXML has been around for quite awhile, but I still get a lot of curious looks when I mention it in my training classes. So, what is it? And why should you be using it?

Why Should We Be Using It?

We’ve all become accustomed to saving archive copies of our drawings for various purposes but saving the corresponding project data is often overlooked. Retrieving the drawing file may allow you to recover proposed contours and profile grid, but the underlying “surface” is lost unless the project was also archived.

Importing and exporting using XML files is the most convenient way to convert, transfer and archive data created in Carlson Software, Land Desktop, Civil 3D, Eagle Point, TerraModel and, I’m sure, other programs.

But, What Is LandXML?

LandXML refers to a file format (.xml) containing data created in a civil/survey program. My recommendation is that ALL civil and survey data should be archived – progress, submittal and final archive – using LandXML.

The way I like to explain it is that we use XML files in the same way we used to rely on DXF files. They’re mostly outdated now, but DXF files are a generic file format that, for example, we used to convert MicroStation DGN files to AutoCAD DWG files. At that time, AutoCAD couldn’t read DGN files and Microstation couldn’t read DWG files; but both could read DXF files. So, we had to convert our drawing files to the generic DXF format that could then be read into the other program.

Similarly, Carlson Software, Land Desktop, Civil 3D and the other programs create their own unique files for civil/survey project data such as points, point groups, surfaces, centerlines, profiles, etc. When we have to pass that data onto someone using a different civil/survey program – it’s a nightmare!

That’s where LandXML files prove their value.

Exporting your civil/survey data to an XML file breaks it all down into, basically, a text file. Specifically, it’s an HTML file that can be viewed through a web browser such as Internet Explorer or Firefox. For instance, when a surface model (TIN) is exported to XML, the X, Y, Z values of each point on the TIN is assigned a number, and then each “face” (triangle) of the TIN is defined by specifying the 3 corners. See the examples below:

xmlpost_01 

xmlpost_02

Note that one type of data that is currently not supported in XML files is typical cross-sections or template files.

Another benefit of using LandXML to transfer or archive project data is that any combination or all of your project data can be saved in a single XML file. This is valuable because exporting ALL of the data for a project can create a massive XML file.

Even if you archive your project data in its native format, you should consider additional archiving in XML format. No one knows what kind data files we’ll be using 10 or 20 years down the road so saving your data in such a generic, text-based format such as XML files allows for easier retrieval down the road.

Originally posted on Carlson Connection by Jennifer Dibona