All Downloads are FREE. Search and download functionalities are using the official Maven repository.

test.resources.de.k3b.geo.io.regressionTests.https-mapservice-urls.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<someRoot 	xmlns:expectedTestResult="uri://some/url" >
    <!--
		k3b-geoHelper/k3b-geoHelper/src/test/resources/de/k3b/geo/io/regressionTests/https-mapservice-urls.xml
		This file conatain regression test data for http(s) urls that can be interpreted as
        geopoint by extracting geo data from uri.
        "poi" is de.k3b.geo internal format for "points of interest"

        expectedTestResult:id contain the expected parsing result
        -->

    <!-- not a known geo url -->
    <poi geoUri="ftp://path/to/somewhere">
        <expectedTestResult:id>geo:</expectedTestResult:id>
    </poi>
    <poi geoUri="https://github.com/k3b/k3b-geoHelper">
        <expectedTestResult:id>geo:</expectedTestResult:id>
    </poi>

    <!-- google maps -->
    <poi geoUri="http://maps.google.com/maps?q=loc:52.1,9.2(theName)">
        <expectedTestResult:id>geo:52.1,9.2?q=(theName)</expectedTestResult:id>
    </poi>
    <poi geoUri="https://maps.google.de/maps?q=loc:52.1,9.2(theName)">
        <expectedTestResult:id>geo:52.1,9.2?q=(theName)</expectedTestResult:id>
    </poi>
    <poi geoUri="https://maps.google.com/?ll=52.1,9.2&amp;z=14">
        <!-- http://stackoverflow.com/questions/2660201/what-parameters-should-i-use-in-a-google-maps-url-to-go-to-a-lat-lon -->
        <expectedTestResult:id>geo:52.1,9.2?z=14</expectedTestResult:id>
    </poi>
    <poi geoUri="https://www.google.com/maps/@52.1,9.2,14z">
        <expectedTestResult:id>geo:52.1,9.2?z=14</expectedTestResult:id>
    </poi>
    <poi geoUri="http://maps.google.com/maps?q=N52.1,E9.2">
        <expectedTestResult:id>geo:52.1,9.2</expectedTestResult:id>
    </poi>

    <poi geoUri="https://www.openstreetmap.org/?#map=14/52.1/9.2">
        <expectedTestResult:id>geo:52.1,9.2?z=14</expectedTestResult:id>
    </poi>
    <poi geoUri="https://www.openstreetmap.org/#map=14/52.1/9.2">
        <expectedTestResult:id>geo:52.1,9.2?z=14</expectedTestResult:id>
    </poi>
    <poi geoUri="https://www.openstreetmap.org/#14/52.1/9.2">
        <expectedTestResult:id>geo:52.1,9.2?z=14</expectedTestResult:id>
    </poi>

    <poi geoUri="https://wego.here.com/?map=52.1,9.2,14">
        <expectedTestResult:id>geo:52.1,9.2?z=14</expectedTestResult:id>
    </poi>
    <poi geoUri="https://www.here.com/?map=52.1,9.2,14">
        <expectedTestResult:id>geo:52.1,9.2?z=14</expectedTestResult:id>
    </poi>
    <poi geoUri="https://share.here.com/52.1,9.2,14">
        <expectedTestResult:id>geo:52.1,9.2?z=14</expectedTestResult:id>
    </poi>

    <poi geoUri="https://www.yandex.com/maps/?ll=9.2,52.1&amp;z=14">
        <expectedTestResult:id>geo:52.1,9.2?z=14</expectedTestResult:id>
    </poi>
    <poi geoUri="https://www.yandex.ru/maps/?ll=9.2,52.1&amp;z=14">
        <expectedTestResult:id>geo:52.1,9.2?z=14</expectedTestResult:id>
    </poi>


</someRoot>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy