hubermedia documentation 2015 html
Xml

http://meta.et4.de/rest.ashx/routing/?template=ET2014A.xml&experience=demo-dahoam&provider=hiking&slat=49.259135&slon=12.970268&dlat=49.255676&dlon=12.973272 

response
Copy Code
<result xmlns="http://meta.et4.de/ET2014A">
    <status>OK</status>
    <count>1</count>
    <overallcount>0</overallcount>
    <items>
        <item>
            <global_id>8DE381BC4BF28D46C3C42B24B76AE764</global_id>
            <type>Tour</type>
            <categories>
                <category>Route</category>
            </categories>
            <texts>
                <text rel="details" type="text/html">
                    <style type="text/css"> .routing-description { font-family: Helvetica, Arial, sans-serif; max-width: 480px; } .routing-description h2 { font-size: 110%; } .routing-description ul.info { list-style: none; margin: 0; padding: 0; } .routing-description ul.info .label { float: left; } .routing-description ul.info .value { float: right; } </style><div class="routing-description"><h2>Angaben zur Route</h2><ul class="info"><li><div class="label">Länge</div><div class="value">0.52 km</div><div style="clear:both"></div></li><li><div class="label">Dauer</div><div class="value">6 min.</div><div style="clear:both"></div></li></ul><h2>Teilabschnitt 1</h2><ul class="steps"><li>Geradeaus auf Marktstraße, St 2154</li><li>Geradeaus auf Marktplatz, St 2154</li><li>Geradeaus auf Walching, St 2154</li><li>Ziel erreicht!</li></ul></div>
                </text>
            </texts>
            <geo>
                <main latitude="49.259130000000006" longitude="12.970310000000001"/>
                <geometry>
                    49.25913 12.97031 49.25905 12.97032 49.2586 12.9703 49.2585 12.97025 49.25821 12.97001 49.25787 12.96985 49.25762 12.96985 49.25748 12.96993 49.25739 12.97005 49.25719 12.97065 49.25709 12.97121 49.25705 12.97138 49.25698 12.97156 49.25681 12.97177 49.25652 12.97197 49.25609 12.97253 49.25566 12.97317 49.25564 12.97322
                </geometry>
            </geo>
            <media_objects>
                <media_object rel="default" url="http://ecmaps.de/images/api/route.png" type="image/jpeg"/>
            </media_objects>
            <created>0001-01-01T00:00:00Z</created>
            <changed>0001-01-01T00:00:00Z</changed>
            <duration>360</duration>
            <length>520</length>
            <subitems>
                <subitem>
                    <title>Abschnitt 1 (A - B)</title>
                    <type>routing-leg</type>
                    <geo>
                        <main latitude="49.25913" longitude="12.97031"/>
                    </geo>
                    <numbers>
                        <number type="distance">520.29</number>
                        <number type="duration">373</number>
                    </numbers>
                    <instructions>
                        <instruction action="Continue" lat="49.25913" lon="12.97031" distance="9.475" time="6">Geradeaus auf Marktstraße, St 2154</instruction>
                        <instruction action="Continue" lat="49.25905" lon="12.97032" distance="99.695" time="71">Geradeaus auf Marktplatz, St 2154</instruction>
                        <instruction action="Continue" lat="49.25821" lon="12.97001" distance="411.12" time="296">Geradeaus auf Walching, St 2154</instruction>
                        <instruction action="Arrive" lat="49.25564" lon="12.97322" distance="0" time="0">Ziel erreicht!</instruction>
                    </instructions>
                </subitem>
            </subitems>
        </item>
    </items>
</result>

 

 


© hubermedia 2018 Privacy Statement Imprint