xml file format import

To post any request/idea for new functionalities
Post Reply
Mauro Graziani
Posts: 3
Joined: Fri Feb 10, 2017 10:07 pm

xml file format import

Post by Mauro Graziani »

Hy all, i wish to know if there's any project to implement xml profiles/curve/sections file format.

Best regards, Mauro G
daniel
Site Admin
Posts: 7701
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: xml file format import

Post by daniel »

Is it a 'real' format? Which software opens it? Is there a description of it somewhere?
Daniel, CloudCompare admin
Mauro Graziani
Posts: 3
Joined: Fri Feb 10, 2017 10:07 pm

Re: xml file format import

Post by Mauro Graziani »

Yes, it's a standard in roads and tunnel plan and vertical axis and sections definitions.

here's and example:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<LandXML xmlns="http://www.landxml.org/schema/LandXML-1.1" date="2016-08-24" time="10:07:02" version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.landxml.org/schema/LandXML-1.1 http://www.landxml.org/schema/LandXML-1 ... ML-1.1.xsd">

<Application manufacturer="Amberg Technologies AG" name="AmbergRail3" version="3.2.0.0"/>

<Project name=""/>

<Units>
<Metric angularUnit="radians" areaUnit="squareMeter" linearUnit="meter" pressureUnit="HPA" temperatureUnit="celsius" volumeUnit="cubicMeter"/>
</Units>

<Alignments>
<Alignment length="2710.6235190008" name="" staStart="24.334">
<CoordGeom>
<Line staStart="24.334">
<Start> 150402.158698 51363.703506 0.000000</Start>
<End> 150452.326956 51468.180866 0.000000</End>
</Line>
<Spiral dirEnd="1.1006900849961" dirStart="1.1231275849961" length="46.67" radiusEnd="1040" radiusStart="INF" rot="ccw" spiType="clothoid">
<Start> 150452.326956 51468.180866 0.000000</Start>
<PI> 150465.795190 51496.228990 0.000000</PI>
<End> 150472.842402 51510.098737 0.000000</End>
</Spiral>
<Curve dirEnd="1.067741930907" dirStart="1.1006900850708" radius="1040" rot="ccw" staStart="186.90211392385">
<Start> 150472.842402 51510.098737 0.000000</Start>
<Center> 151400.023376 51038.998492 0.000000</Center>
<End> 150488.864697 51540.386426 0.000000</End>
</Curve>
<Spiral dirEnd="1.0453050199535" dirStart="1.0677425199535" length="46.67" radiusEnd="INF" radiusStart="1040" rot="ccw" spiType="clothoid">
<Start> 150488.864697 51540.386426 0.000000</Start>
<PI> 150496.364976 51554.016499 0.000000</PI>
<End> 150511.973021 51580.932657 0.000000</End>
</Spiral>
<Line staStart="267.83819425415">
<Start> 150511.973045 51580.932643 0.000000</Start>
<End> 150668.738392 51851.274966 0.000000</End>
</Line>
<Spiral dirEnd="0.98566299386306" dirStart="1.0453044309717" length="150.3" radiusEnd="1260.03" radiusStart="INF" rot="ccw" spiType="clothoid">
<Start> 150668.738392 51851.274966 0.000000</Start>
<PI> 150719.011948 51937.971867 0.000000</PI>
<End> 150746.692083 51979.751307 0.000000</End>
</Spiral>
<Curve dirEnd="0.063071421033689" dirStart="0.9856629937983" radius="1260.03" rot="ccw" staStart="730.64474744523">
<Start> 150746.692083 51979.751307 0.000000</Start>
<Center> 151797.101542 51283.823459 0.000000</Center>
<End> 151717.682339 52541.348088 0.000000</End>
</Curve>
<Spiral dirEnd="0.0034307478011547" dirStart="0.063072184909795" length="150.3" radiusEnd="INF" radiusStart="1260.03" rot="ccw" spiType="clothoid">
<Start> 151717.682339 52541.348088 0.000000</Start>
<PI> 151767.699666 52544.506979 0.000000</PI>
<End> 151867.917752 52544.850804 0.000000</End>
</Spiral>
<Line staStart="2043.4378068758">
<Start> 151867.917754 52544.850689 0.000000</Start>
<End> 152024.455884 52545.387614 0.000000</End>
</Line>
<Spiral dirEnd="6.2591152911273" dirStart="0.0034299839476855" length="110" radiusEnd="2000" radiusStart="INF" rot="ccw" spiType="clothoid">
<Start> 152024.455884 52545.387614 0.000000</Start>
<PI> 152097.791691 52545.639156 0.000000</PI>
<End> 152134.450377 52544.756610 0.000000</End>
</Spiral>
<Curve dirEnd="6.191328307462" dirStart="6.2591152911046" radius="2000" rot="ccw" staStart="2309.9768570454">
<Start> 152134.450377 52544.756610 0.000000</Start>
<Center> 152086.314993 50545.335948 0.000000</Center>
<End> 152269.770747 52536.904171 0.000000</End>
</Curve>
<Spiral dirEnd="6.1638282795813" dirStart="6.1913282795813" length="110" radiusEnd="INF" radiusStart="2000" rot="ccw" spiType="clothoid">
<Start> 152269.770747 52536.904171 0.000000</Start>
<PI> 152306.285461 52533.540572 0.000000</PI>
<End> 152379.099942 52524.808145 0.000000</End>
</Spiral>
<Line staStart="2555.5508243306">
<Start> 152379.099942 52524.808148 0.000000</Start>
<End> 152557.230231 52503.445510 0.000000</End>
</Line>
</CoordGeom>
<Profile>
<ProfAlign/>
</Profile>
</Alignment>
</Alignments>

</LandXML>
VITO CASANOVA
Posts: 1
Joined: Wed Feb 15, 2017 4:51 pm

Re: xml file format import

Post by VITO CASANOVA »

Hi all guys,

the question said by Mauro Graziani is very attractive; also I work in tunnels and do monitoring project profiles.
If possible enter the XML file inside CLOUDCOMPARE, would be great !!!!!

Thank's for your time Daniel, and best regards.

Vito C.
daniel
Site Admin
Posts: 7701
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: xml file format import

Post by daniel »

Then I guess it's interesting for some users (at least 2 ;).

I see that the format is LandXML (http://www.landxml.org/). This format is huge, but I guess we could restrict its usage to polylines only.

Of course we can add this to the TODO list. But as for a lot of items that remain in the TODO list for ages, the biggest issue is that it's hard to develop such things when we are not involved at all in the process and we don't use the format or any tool that can load it for instance. To speed up things you would need to find a developer with at least some motivation (or a friend, a colleague, etc.).
Daniel, CloudCompare admin
Mauro Graziani
Posts: 3
Joined: Fri Feb 10, 2017 10:07 pm

Re: xml file format import

Post by Mauro Graziani »

Thanks for ur time aniway.

Bye, u maded a great software.
asagn6
Posts: 1
Joined: Sun Jul 28, 2024 4:10 pm

Re: xml file format import

Post by asagn6 »

I am a new member here, but I just ask you to please let me know if can I discuss this on an old post. I would be very happy if you could let me know, thanks admin
daniel
Site Admin
Posts: 7701
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: xml file format import

Post by daniel »

Well, why not if it's directly related?
Daniel, CloudCompare admin
Post Reply