LandXML road alignment format

Default behavior is to read just first alignment from the file. With the content function other aligments can also be read one by one.

Found single line id values are read to the attributes GROUP, NAME and VERSION. Writing writes them back to the file.

See also: LandXML in general.


Example

...
<Alignments name="Test">
<Alignment name="test_road" length="455.996361" staStart="0.000000" state="existing">
<CoordGeom>
<Line dir="93.643074" length="47.455499" staStart="0.000000">
<Start>6697099.299000 3444138.672000 8.704000</Start>
<End>6697104.029768 3444185.891109 7.756666</End>
</Line>
<Curve rot="ccw" chord="21.386317" dirEnd="66.201206" dirStart="93.643074" length="21.552792" radius="50.000000" staStart="47.455499">
<Start>6697104.029768 3444185.891109 7.756666</Start>
<Center>6697153.780703 3444180.906683 7.541541</Center>
<End>6697110.663374 3444206.222607 7.326416</End>
</Curve>
<Line dir="66.201206" length="21.641972" staStart="69.008291">
<Start>6697110.663374 3444206.222607 7.326416</Start>
<End>6697121.621104 3444224.885487 6.894386</End>
</Line>
</CoordGeom>
<Profile staStart="0.000000">
<ProfAlign name="test_road">
<PVI>0.000000 8.704000</PVI>
<PVI>156.339651 5.583056</PVI>
<CircCurve length="99.929380" radius="1000.000000">206.336000 4.585000</CircCurve>
<PVI>256.182497 8.579716</PVI>
<PVI>300.962830 12.168428</PVI>
<CircCurve length="102.248221" radius="-1000.000000">351.968000 16.256000</CircCurve>
<PVI>403.124000 15.116118</PVI>
<PVI>455.996000 13.938000</PVI>
</ProfAlign>
</Profile>
<Feature code="IM_coding">
<Property label="terrainCoding" value="9100"/>
<Property label="terrainCodingDesc" value="9100"/>
</Feature>
</Alignment>
...

Special settings

See also: Common special settings