Dear All,
I am trying to import some alignments from Civil 3d to mx using landxml. Alignments without spirals are importing without problems but alignments with spirals like the one i attached are not importing. can any one point me to what is wrong with the xml file.
regards
Viknesh
It imports into InRoads OK. I do not know much about MX, but I used an XML report to create these:
HALGN_GENIO.xsl wrote this...
MOSS
EDIT,DESIGN
004,3=M101
004,3=GC
999
HALGN,DESIGN,DESIGN
300,LB=M101,SC=0.00,CF=35.80,CE=0,TL=0.500
301,1,RE,RA=60.00
301,2,SX,X1=2673121.1079,Y1=219578.1617,X2=2673227.2794,Y2=219679.9103
301,3,LE,RA=500.00
301,4,SX,X1=2673395.1566,Y1=219796.8365,X2=2673417.4180,Y2=219807.6619
301,5,RE,RA=500.00
301,6,SX,X1=2673700.2217,Y1=220122.4134,X2=2673727.2930,Y2=220197.5568
and VERAT_GENIO.xsl wrote this:
VERAT,DESIGN,DESIGN
,0.00,289.52,7=3
0.00,6.00
0.00,6.00,289.52
489.52,7.45,239.91
HTH
Charles (Chuck) Rheault CADD Manager
MDOT State Highway Administration
Thanks for the reply, but I dont think the halgn and vlagn that you have extracted using XML report is correct as the halgn doesn't have spirals. So is it a known fact that alignments from civil 3d with spirals cannot be imported into mx. Someone from Bentley please clarify.
I think the issue is related to the LandXML version 1.2 file. I have saved the file back to version 1.0 using InRoads and you should be able to load this attached file with spirals into MX. For further information and to follow up on the technical reasons why the LandXML 1.2 file does not load into your version of MX I would suggest to log a Service Ticket at www.bentley.com/support
Regards
Paul
Hello,
I got same problem but with XML generated as V1.0...XML file attached to postAny ideas - I don't have Inroads :)
<?xml version="1.0"?> <LandXML xmlns="http://www.landxml.org/schema/LandXML-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.landxml.org/schema/LandXML-1.0 http://www.landxml.org/schema/LandXML-1.0/LandXML-1.0.xsd" date="2015-08-25" time="12:23:23" version="1.0" language="English" readOnly="false"> <Units> <Metric areaUnit="squareMeter" linearUnit="meter" volumeUnit="cubicMeter" temperatureUnit="celsius" pressureUnit="milliBars" diameterUnit="millimeter" angularUnit="decimal degrees" directionUnit="decimal degrees"></Metric> </Units> <CoordinateSystem desc="Poland CS2000 Zone 7 (19d 30m to 22d 30m E), ETRS89 datum" ogcWktCode="PROJCS["PCS2000-7",GEOGCS["LL-ETRS89",DATUM["ETRS89",SPHEROID["WGS84",6378137.000,298.25722293],TOWGS84[0.0000,0.0000,0.0000,0.000000,0.000000,0.000000,0.00000000]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["false_easting",7500000.000],PARAMETER["false_northing",0.000],PARAMETER["scale_factor",0.999923000000],PARAMETER["central_meridian",21.00000000000000],PARAMETER["latitude_of_origin",0.00000000000000],UNIT["Meter",1.00000000000000]]" horizontalDatum="ETRS89" horizontalCoordinateSystemName="PCS2000-7" fileLocation="AutoCAD Map Zone Name"></CoordinateSystem> <Project name="P:\0351.00_S61_Zad6_Obw.Stawiski-Obw.Szczuczyn\06_P-WST\MX\P1\04_Sytuacja\01_trasa_glowna.dwg"></Project> <Application name="AutoCAD Civil 3D" desc="Civil 3D" manufacturer="Autodesk, Inc." version="2012" manufacturerURL="www.autodesk.com/civil" timeStamp="2015-08-25T12:23:23"></Application> <Alignments name=""> <Alignment name="S61_os" length="16421.427458567479" staStart="0." desc=""> <CoordGeom> <Line dir="75.095395327068" length="3342.903489981732"> <Start>5919753.4935726952 7577034.8027433557</Start> <End>5922983.9264496444 7577894.6324769994</End> </Line> <Curve rot="cw" chord="773.123240823779" crvType="arc" delta="12.682072727217" dirEnd="62.413322599849" dirStart="75.095395327066" external="21.544433253114" length="774.703737735591" midOrd="21.412626708288" radius="3500." tangent="388.941120705941"> <Start>5922983.9264496444 7577894.6324769994</Start> <Center>5922083.6898508994 7581276.8764164988</Center> <End>5923704.5047097672 7578174.7869282225</End> <PI>5923359.7818063106 7577994.6722003184</PI> </Curve> <Line dir="62.413322599863" length="801.331518144585"> <Start>5923704.5047097672 7578174.7869282225</Start> <End>5924414.7338752132 7578545.8755086474</End> </Line> <Curve rot="cw" chord="837.22870155509" crvType="arc" delta="13.738509274655" dirEnd="48.674813325182" dirStart="62.413322599837" external="25.305824916315" length="839.237774054782" midOrd="25.124171236748" radius="3500." tangent="421.64103119704"> <Start>5924414.7338752132 7578545.8755086474</Start> <Center>5922793.9190163445 7581647.9649969237</Center> <End>5925105.0805007396 7579019.5562400809</End> <PI>5924788.4390782686 7578741.1332367817</PI> </Curve> <Line dir="48.674813325248" length="310.122263498995"> <Start>5925105.0805007396 7579019.5562400809</Start> <End>5925337.9742359035 7579224.3398488956</End> </Line> <Curve rot="ccw" chord="1740.990959324386" crvType="arc" delta="28.802733764286" dirEnd="77.477547089476" dirStart="48.67481332519" external="113.547685169038" length="1759.458882167449" midOrd="109.97970214223" radius="3500." tangent="898.736264423837"> <Start>5925337.9742359035 7579224.3398488956</Start> <Center>5927649.1357202986 7576595.9310920527</Center> <End>5926890.2580711544 7580012.6699924711</End> <PI>5926012.9017409058 7579817.8040314578</PI> </Curve> <Line dir="77.477547089636" length="140.141856476145"> <Start>5926890.2580711544 7580012.6699924711</Start> <End>5927027.0661090398 7580043.0558560677</End> </Line> <Curve rot="cw" chord="930.009303101801" crvType="arc" delta="15.269607737562" dirEnd="62.207939351916" dirStart="77.477547089478" external="31.304950285123" length="932.767256779627" midOrd="31.027432504543" radius="3500." tangent="469.163779407801"> <Start>5927027.0661090398 7580043.0558560677</Start> <Center>5926268.1884598956 7583459.7947564861</Center> <End>5927900.1126747793 7580363.5351813091</End> <PI>5927485.0690049753 7580144.7809720626</PI> </Curve> <Line dir="62.207939351916" length="3531.034531832375"> <Start>5927900.1126747793 7580363.5351813091</Start> <End>5931023.82681177 7582009.9296830483</End> </Line> <Spiral length="224.45" radiusEnd="2000." radiusStart="INF" rot="cw" spiType="clothoid" theta="3.215009427928" totalY="4.197206135141" totalX="224.379339689774" tanLong="149.658019400321" tanShort="74.839109061638"> <Start>5931023.82681177 7582009.9296830483</Start> <PI>5931156.2211190686 7582079.7098389901</PI> <End>5931220.3659993866 7582118.2627451755</End> </Spiral> <Curve rot="cw" chord="468.309888014298" crvType="arc" delta="13.446930010806" dirEnd="45.54599991333" dirStart="58.992929924135" external="13.849677756003" length="469.386405946648" midOrd="13.75443054065" radius="1999.999999995974" tangent="235.776429266889"> <Start>5931220.3659993866 7582118.2627451755</Start> <Center>5930190.078315204 7583832.4702261426</Center> <End>5931590.7511259746 7582404.8443377707</End> <PI>5931422.4508588295 7582239.7215208225</PI> </Curve> <Spiral length="224.45" radiusEnd="INF" radiusStart="2000." rot="cw" spiType="clothoid" theta="3.215009427928" totalY="4.197206135141" totalX="224.379339689774" tanLong="149.658019400321" tanShort="74.839109061638"> <Start>5931590.7511259746 7582404.8443377707</Start> <PI>5931644.1722507486 7582457.2568903882</PI> <End>5931744.9538274258 7582567.8941199975</End> </Spiral> <Line dir="42.330990485271" length="705.281102983264"> <Start>5931744.9538274258 7582567.8941199975</Start> <End>5932219.8989178417 7583089.2851395933</End> </Line> <Spiral length="252.083333333333" radiusEnd="1200." radiusStart="INF" rot="ccw" spiType="clothoid" theta="6.018046285662" totalY="8.818881796689" totalX="251.805369624709" tanLong="168.152774517597" tanShort="84.116165772689"> <Start>5932219.8989178417 7583089.2851395933</Start> <PI>5932333.1350932578 7583213.5949306544</PI> <End>5932395.9873020193 7583269.4977856688</End> </Spiral> <Curve rot="ccw" chord="957.610966434989" crvType="arc" delta="47.031928078186" dirEnd="95.380964848982" dirStart="48.349036770796" external="108.687922706276" length="985.034398231303" midOrd="99.661275224293" radius="1200.000000000841" tangent="522.172461010201"> <Start>5932395.9873020193 7583269.4977856688</Start> <Center>5933193.496620208 7582372.8490877924</Center> <End>5933306.0296880119 7583567.560897667</End> <PI>5932786.1583497124 7583616.5289551327</PI> </Curve> <Spiral length="252.083333333333" radiusEnd="INF" radiusStart="1200." rot="ccw" spiType="clothoid" theta="6.018046285662" totalY="8.818881796689" totalX="251.805369624709" tanLong="168.152774517597" tanShort="84.116165772689"> <Start>5933306.0296880119 7583567.560897666</Start> <PI>5933389.7751685483 7583559.672689178</PI> <End>5933554.6110599507 7583526.4389038784</End> </Spiral> <Line dir="101.399011134093" length="11.995793464366"> <Start>5933554.6110599507 7583526.4389038784</Start> <End>5933566.3702314207 7583524.0680501973</End> </Line> <Spiral length="140.083333333333" radiusEnd="1200." radiusStart="INF" rot="cw" spiType="clothoid" theta="3.344243241718" totalY="2.724800771356" totalX="140.035616850964" tanLong="93.405559852918" tanShort="46.709600243255"> <Start>5933566.3702314207 7583524.0680501973</Start> <PI>5933657.9333279245 7583505.60733594</PI> <End>5933704.1821185062 7583499.0624047499</End> </Spiral> <Curve rot="cw" chord="549.176623870742" crvType="arc" delta="26.455643329833" dirEnd="71.599124563217" dirStart="98.05476789305" external="32.706279420336" length="554.085698205643" midOrd="31.838513326027" radius="1199.999999997843" tangent="282.072280315148"> <Start>5933704.1821185062 7583499.0624047499</Start> <Center>5933872.3256561859 7584687.2239050232</Center> <End>5934251.121898219 7583548.5784786427</End> <PI>5933983.4716383107 7583459.5385455051</PI> </Curve> <Spiral length="140.083333333333" radiusEnd="INF" radiusStart="1200." rot="cw" spiType="clothoid" theta="3.344243241718" totalY="2.724800771356" totalX="140.035616850964" tanLong="93.405559852918" tanShort="46.709600243255"> <Start>5934251.121898219 7583548.5784786427</Start> <PI>5934295.4432921177 7583563.3229961731</PI> <End>5934382.2022168757 7583597.9277297715</End> </Spiral> <Line dir="68.254881321408" length="30.709415731638"> <Start>5934382.2022168757 7583597.9277297715</Start> <End>5934410.7263849536 7583609.3049020935</End> </Line> </CoordGeom> <Superelevation staStart="3342.903489981732" staEnd="4117.607227717323"></Superelevation> <Superelevation staStart="4918.938745861908" staEnd="5758.17651991669"></Superelevation> <Superelevation staStart="6068.298783415685" staEnd="7827.757665583134"></Superelevation> <Superelevation staStart="7967.899522059279" staEnd="8900.666778838906"></Superelevation> <Superelevation staStart="12656.151310671281" staEnd="13125.537716617928"> <BeginRunoutSta>12509.95714</BeginRunoutSta> <BeginRunoffSta>12534.95714</BeginRunoffSta> <FullSuperSta>12564.95714</FullSuperSta> <FullSuperelev>3.</FullSuperelev> <RunoffSta>13216.73286</RunoffSta> <StartofRunoutSta>13246.73286</StartofRunoutSta> <EndofRunoutSta>13271.73286</EndofRunoutSta> </Superelevation> <Superelevation staStart="14307.352152934527" staEnd="15292.38655116583"> <BeginRunoutSta>14095.0319</BeginRunoutSta> <BeginRunoffSta>14118.365239999999</BeginRunoffSta> <FullSuperSta>14165.0319</FullSuperSta> <FullSuperelev>-5.</FullSuperelev> <RunoffSta>15404.79351</RunoffSta> <StartofRunoutSta>15451.46018</StartofRunoutSta> <EndofRunoutSta>15474.79351</EndofRunoutSta> </Superelevation> <Superelevation staStart="15696.549011296864" staEnd="16250.634709502507"> <BeginRunoutSta>15598.27702</BeginRunoutSta> <BeginRunoffSta>15621.610350000001</BeginRunoffSta> <FullSuperSta>15668.27702</FullSuperSta> <FullSuperelev>5.</FullSuperelev> <RunoffSta>16250.64157</RunoffSta> <StartofRunoutSta>16290.64157</StartofRunoutSta> <EndofRunoutSta>16310.64157</EndofRunoutSta> </Superelevation> </Alignment> </Alignments> </LandXML>
RegardsAleksander Zamorski