LandXML Writer Parameters

Writer Parameters

Try and determine LandXML type automatically

If the intended interpretation of a feature cannot be determined on the basis of either the landxml_landxml_type attribute, or the feature type, then this parameter tells the writer either to drop the feature entirely (No), or attempt to establish the intended interpretation based on the geometry of the feature (Yes).

Note: It is preferable to ensure routing manually by using the feature type or the identifying attribute landxml_landxml_type.

Convert embedded point references to full points

In LandXML, coordinates may be specified directly on a feature, or may refer to a point established elsewhere in the document (for example, if several geometries make use of the same point). During the reading process, these point ‘references’ are followed, and the point geometry is added to the referencing geometry. This leads to a duplication of data. When this parameter is set to Yes, the writer will attempt to determine if a point is meant to refer to another point, and if so, it will remove the geometry on that point, allowing the referenced geometry to determine the referencer’s geometry. Obviously, if these values are different, there will be a loss of data.

Coordinate Precision (Maximum Number of Fractional Digits)

The writer will use the value of this parameter to limit the number of decimal digits printed for each coordinate.

Valid values range from 1 to 15. The default value is 12, which was the default fixed value for LandXML 1.1. A lower number of digits can dramatically reduce the size of the output file when writing a large number of coordinates.

This parameter has no effect on attribute values that contain floating point numbers.