Is there an option to export alignments back out to ALG? We have a few clients that still require these files to be submitted separately.
Line 2 shows the LandXML version = 2.- Are you absolutely sure there is an Active Profile on the alignment (I just have to check.)?
And fortunately, above attachement label the version as 1.0 though I used 2.0 for output
<?xml version="1.0" encoding="utf-8"?> <LandXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.landxml.org/schema/LandXML-2.0 http://www.landxml.org/schema/landxml-2.0/LandXML-2.0.xsd" version="2.0" date="2020-02-28" time="07:09:25" xmlns="http://www.landxml.org/schema/LandXML-2.0"> <Units> <Metric areaUnit="squareMeter" linearUnit="meter" volumeUnit="cubicMeter" temperatureUnit="celsius" pressureUnit="HPA" /> </Units> <Application name="OpenRoads Designer" version="10.07.03.18" manufacturer="Bentley Systems, Inc." manufacturerURL="http://www.bentley.com" /> <Alignments> <Alignment name="CL-ACCESS TRACK 1" length="1212.095232650709" state="proposed" staStart="0"> <CoordGeom name="CL-ACCESS TRACK 1" state="proposed"> <Line length="383.32111458449106"> <Start>5768541.6030249894 676267.37340366223 0</Start> <End>5768522.7977166483 676650.23295658536 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Line> <Curve crvType="arc" rot="cw" radius="10000" length="2.3531587093295059" chord="2.3531587039002235"> <Start>5768522.7977166483 676650.23295658536 0</Start> <Center>5758534.8388398141 676159.64405060036 0</Center> <End>5768522.681996759 676652.58326822286 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Curve> <Line length="826.42095935688849"> <Start>5768522.68199676 676652.58326822298 0</Start> <End>5768481.9444672568 677477.99956061994 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Line> </CoordGeom> <Profile /> </Alignment> <Alignment name="CL-ACCESS TRACK 2" length="1048.9245294593354" state="proposed" staStart="0"> <CoordGeom name="CL-ACCESS TRACK 2" state="proposed"> <Line length="38.377749704525002"> <Start>5768481.6284144912 677484.3776339076 0</Start> <End>5768479.7053049905 677522.70716980658 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Line> <Curve crvType="arc" rot="ccw" radius="2008.8000000000002" length="264.36306122133806" chord="264.17232918106447"> <Start>5768479.7053049915 677522.70716980682 0</Start> <Center>5770485.9816579996 677623.36816205061 0</Center> <End>5768483.8447774975 677786.84706507507 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Curve> <Line length="746.1837185334723"> <Start>5768483.8447774975 677786.84706507495 0</Start> <End>5768544.5702333702 678530.55571825407 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Line> </CoordGeom> <Profile /> </Alignment> <Alignment name="CL-ACCESS TRACK 3" length="232.92767198019197" state="proposed" staStart="0"> <CoordGeom name="CL-ACCESS TRACK 3" state="proposed"> <Line length="97.349995410125487"> <Start>5768520.3399535017 678547.51918177318 0</Start> <End>5768528.4409997491 678644.53152457578 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Line> <Curve crvType="arc" rot="ccw" radius="3000" length="37.314452181496094" chord="37.314211647415412"> <Start>5768528.4409997491 678644.53152457566 0</Start> <Center>5771518.0356800742 678394.88447898591 0</Center> <End>5768531.7773207845 678681.69628413115 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Curve> <Line length="61.940462435286285"> <Start>5768531.7773207854 678681.69628413115 0</Start> <End>5768537.6990727326 678743.35302537307 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Line> <Curve crvType="arc" rot="cw" radius="1500" length="20.976192413853845" chord="20.976021496896482"> <Start>5768537.6990727326 678743.35302537307 0</Start> <Center>5767044.5698930938 678886.75892800733 0</Center> <End>5768539.5584212206 678764.24647652498 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Curve> <Line length="15.346569539430256"> <Start>5768539.5584212197 678764.24647652509 0</Start> <End>5768540.8118517902 678779.54177346348 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Line> </CoordGeom> <Profile /> </Alignment> </Alignments> </LandXML>
Hi Mark,
In fact my alignment got vertical too but unfortunately even with 2.0 version its not picking up for some reason.
If you notice, you do not have anything in the <Profile /> part of the XMl (LINES 75 AND 102) - so no profile data.
I have just tried it for one alignment, and the result contains the profile data (line 50). See attached. I used version 2.0 and checked on 'Only Active Profile' to get the attached. ORD 2020 R1 (10.0.8)
<?xml version="1.0" encoding="utf-8"?> <LandXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.landxml.org/schema/LandXML-2.0 http://www.landxml.org/schema/landxml-2.0/LandXML-2.0.xsd" version="2.0" date="2020-02-27" time="07:12:46" xmlns="http://www.landxml.org/schema/LandXML-2.0"> <Units> <Metric areaUnit="squareMeter" linearUnit="meter" volumeUnit="cubicMeter" temperatureUnit="celsius" pressureUnit="HPA" /> </Units> <Application name="OpenRoads Designer" version="10.08.00.88" manufacturer="Bentley Systems, Inc." manufacturerURL="http://www.bentley.com" /> <CgPoints /> <Alignments> <Alignment name="GeomBL" length="712.43056285395244" state="proposed" staStart="0"> <CoordGeom name="GeomBL" state="proposed"> <Line length="98.586800327290192"> <Start>7088.6546520671609 7814.5510125352121 0</Start> <End>7123.7677978295687 7906.6728025386683 0</End> <Feature> <Property label="style" value="Alignment\Geom_Baseline" /> </Feature> </Line> <Spiral spiType="clothoid" length="85.950511568627448" rot="cw" radiusStart="INF" radiusEnd="510"> <Start>7123.7677978295706 7906.6728025386683 0</Start> <PI>7144.1837568243473 7960.2354966920802 0</PI> <End>7152.1038607074306 7987.7893637499765 0</End> <Feature> <Property label="style" value="Alignment\Geom_Baseline" /> </Feature> </Spiral> <Curve crvType="arc" rot="cw" radius="510" length="354.97035366794461" chord="347.84847805287268"> <Start>7152.1038607074306 7987.7893637499756 0</Start> <Center>6661.9508028757446 8128.6793204475616 0</Center> <End>7128.4284560381111 8334.8312040191904 0</End> <Feature> <Property label="style" value="Alignment\Geom_Baseline" /> </Feature> </Curve> <Spiral spiType="clothoid" length="85.950511568627448" rot="cw" radiusStart="510" radiusEnd="INF"> <Start>7128.4284560381102 8334.8312040191904 0</Start> <PI>7116.8396645312378 8361.0541624101352 0</PI> <End>7089.338555106905 8411.3479251156568 0</End> <Feature> <Property label="style" value="Alignment\Geom_Baseline" /> </Feature> </Spiral> <Line length="86.972385721462686"> <Start>7089.3385551069068 8411.3479251156568 0</Start> <End>7047.6119760827578 8487.6570889233171 0</End> <Feature> <Property label="style" value="Alignment\Geom_Baseline" /> </Feature> </Line> </CoordGeom> <Profile> <ProfAlign name="GeomBL"> <PVI>-1.4967699248753721 63.248325970368008</PVI> <ParaCurve length="144.79621563999754">233.84888450340151 59.356680923390151</ParaCurve> <ParaCurve length="200.55442367789664">451.14615020411827 69.041695542961818</ParaCurve> <PVI>712.43056285395244 52.136627535510144</PVI> <Feature> <Property label="style" value="Alignment\Geom_Baseline" /> </Feature> </ProfAlign> </Profile> </Alignment> </Alignments> </LandXML>
<?xml version="1.0" encoding="utf-8"?> <LandXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.landxml.org/schema/LandXML-1.2 http://www.landxml.org/schema/landxml-1.2/LandXML-1.2.xsd" version="1.2" date="2020-02-26" time="11:20:50" xmlns="http://www.landxml.org/schema/LandXML-1.2"> <Units> <Metric areaUnit="squareMeter" linearUnit="meter" volumeUnit="cubicMeter" temperatureUnit="celsius" pressureUnit="HPA" /> </Units> <Application name="OpenRoads Designer" version="10.07.03.18" manufacturer="Bentley Systems, Inc." manufacturerURL="http://www.bentley.com" /> <Alignments> <Alignment name="CL-ACCESS TRACK 3" length="232.92767198019197" state="proposed" staStart="0"> <CoordGeom name="CL-ACCESS TRACK 3" state="proposed"> <Line length="97.349995410125487"> <Start>5768520.3399535017 678547.51918177318 0</Start> <End>5768528.4409997491 678644.53152457578 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Line> <Curve crvType="arc" rot="ccw" radius="3000" length="37.314452181496094" chord="37.314211647415412"> <Start>5768528.4409997491 678644.53152457566 0</Start> <Center>5771518.0356800742 678394.88447898591 0</Center> <End>5768531.7773207845 678681.69628413115 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Curve> <Line length="61.940462435286285"> <Start>5768531.7773207854 678681.69628413115 0</Start> <End>5768537.6990727326 678743.35302537307 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Line> <Curve crvType="arc" rot="cw" radius="1500" length="20.976192413853845" chord="20.976021496896482"> <Start>5768537.6990727326 678743.35302537307 0</Start> <Center>5767044.5698930938 678886.75892800733 0</Center> <End>5768539.5584212206 678764.24647652498 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Curve> <Line length="15.346569539430256"> <Start>5768539.5584212197 678764.24647652509 0</Start> <End>5768540.8118517902 678779.54177346348 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Line> </CoordGeom> <Profile /> </Alignment> <Alignment name="CL-ACCESS TRACK 2" length="1048.9245294593354" state="proposed" staStart="0"> <CoordGeom name="CL-ACCESS TRACK 2" state="proposed"> <Line length="38.377749704525002"> <Start>5768481.6284144912 677484.3776339076 0</Start> <End>5768479.7053049905 677522.70716980658 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Line> <Curve crvType="arc" rot="ccw" radius="2008.8000000000002" length="264.36306122133806" chord="264.17232918106447"> <Start>5768479.7053049915 677522.70716980682 0</Start> <Center>5770485.9816579996 677623.36816205061 0</Center> <End>5768483.8447774975 677786.84706507507 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Curve> <Line length="746.1837185334723"> <Start>5768483.8447774975 677786.84706507495 0</Start> <End>5768544.5702333702 678530.55571825407 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Line> </CoordGeom> <Profile /> </Alignment> <Alignment name="CL-ACCESS TRACK 1" length="1212.095232650709" state="proposed" staStart="0"> <CoordGeom name="CL-ACCESS TRACK 1" state="proposed"> <Line length="383.32111458449106"> <Start>5768541.6030249894 676267.37340366223 0</Start> <End>5768522.7977166483 676650.23295658536 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Line> <Curve crvType="arc" rot="cw" radius="10000" length="2.3531587093295059" chord="2.3531587039002235"> <Start>5768522.7977166483 676650.23295658536 0</Start> <Center>5758534.8388398141 676159.64405060036 0</Center> <End>5768522.681996759 676652.58326822286 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Curve> <Line length="826.42095935688849"> <Start>5768522.68199676 676652.58326822298 0</Start> <End>5768481.9444672568 677477.99956061994 0</End> <Feature> <Property label="style" value="Alignment\D-GEOM-CL 10m CH" /> </Feature> </Line> </CoordGeom> <Profile /> </Alignment> </Alignments> </LandXML>
Yes it does, unfortunately, its not working....I have uploaded an xml file just in case you want to look at. Thanks for the help Mark