And finally there's a RESTful API to get KML

We created an index of all geographical entities and this is about how you can use it!

If you think this is useful, I would appreciate hearing from you. If you would like to report a bug or a feature request, feel free to follow the link to GitLab in the footer.

Base URL

/

REST Path

/{notebook}/fontane.kml

Returns

A document that complies to the Europeana KML Specification.

<kml:kml xmlns:kml="http://www.opengis.net/kml/2.2"> <kml:Placemark> <kml:address>Barsikow</kml:address> <kml:description>&lt;xhtml:h1 xmlns:xhtml="http://www.w3.org/1999/xhtml"&gt;Barsikow (heute: Wusterhausen/Dosse)&lt;/xhtml:h1&gt;&lt;xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml" style="color:lightgrey;list-style:none;"/&gt;&lt;xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml" class="lod"&gt;&lt;xhtml:li&gt;&lt;xhtml:a href="http://d-nb.info/gnd/4524199-5"&gt;GND:4524199-5&lt;/xhtml:a&gt;&lt;/xhtml:li&gt;&lt;/xhtml:ul&gt;&lt;xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml" class="notebooks"&gt;&lt;xhtml:li&gt;&lt;xhtml:a href="https://fontane-nb.dariah.eu/test/edition.html?id=/xml/data/1zzdk.xml&amp;amp;page=4v" target="_blank"&gt;Notizbuch A01: 4v&lt;/xhtml:a&gt;&lt;/xhtml:li&gt;&lt;xhtml:li&gt;&lt;xhtml:a href="https://fontane-nb.dariah.eu/test/edition.html?id=/xml/data/1zzdk.xml&amp;amp;page=53r" target="_blank"&gt;Notizbuch A01: 53r&lt;/xhtml:a&gt;&lt;/xhtml:li&gt;&lt;/xhtml:ul&gt;</kml:description> <kml:name>Barsikow (heute: Wusterhausen/Dosse)</kml:name> <kml:Point> <kml:coordinates>+012.538560, +052.848990</kml:coordinates> </kml:Point> <kml:TimeStamp> <kml:when/> </kml:TimeStamp> </kml:Placemark> <kml:Placemark> <kml:address>Bechlin</kml:address> <kml:description>&lt;xhtml:h1 xmlns:xhtml="http://www.w3.org/1999/xhtml"&gt;Bechlin (heute: Neuruppin)&lt;/xhtml:h1&gt;&lt;xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml" style="color:lightgrey;list-style:none;"/&gt;&lt;xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml" class="lod"&gt;&lt;xhtml:li&gt;&lt;xhtml:a href="http://www.openstreetmap.org/node/1375992619"&gt;OpenStreetMap:1375992619&lt;/xhtml:a&gt;&lt;/xhtml:li&gt;&lt;/xhtml:ul&gt;&lt;xhtml:ul xmlns:xhtml="http://www.w3.org/1999/xhtml" class="notebooks"&gt;&lt;xhtml:li&gt;&lt;xhtml:a href="https://fontane-nb.dariah.eu/test/edition.html?id=/xml/data/1zzdk.xml&amp;amp;page=outer_front_cover" target="_blank"&gt;Notizbuch A01: outer_front_cover&lt;/xhtml:a&gt;&lt;/xhtml:li&gt;&lt;xhtml:li&gt;&lt;xhtml:a href="https://fontane-nb.dariah.eu/test/edition.html?id=/xml/data/1zzdk.xml&amp;amp;page=37r" target="_blank"&gt;Notizbuch A01: 37r&lt;/xhtml:a&gt;&lt;/xhtml:li&gt;&lt;xhtml:li&gt;&lt;xhtml:a href="https://fontane-nb.dariah.eu/test/edition.html?id=/xml/data/1zzdk.xml&amp;amp;page=39r" target="_blank"&gt;Notizbuch A01: 39r&lt;/xhtml:a&gt;&lt;/xhtml:li&gt;&lt;xhtml:li&gt;&lt;xhtml:a href="https://fontane-nb.dariah.eu/test/edition.html?id=/xml/data/1zzdk.xml&amp;amp;page=39r" target="_blank"&gt;Notizbuch A01: 39r&lt;/xhtml:a&gt;&lt;/xhtml:li&gt;&lt;/xhtml:ul&gt;</kml:description> <kml:name>Bechlin (heute: Neuruppin)</kml:name> <kml:Point> <kml:coordinates>, </kml:coordinates> </kml:Point> <kml:TimeStamp> <kml:when/> </kml:TimeStamp> </kml:Placemark> </kml:kml>

Parameter: Notebook

Type: xs:string

A URL encoded Regular Expression evaluated against the signature of a notebook.

According to RFC3986 URLs can not contain several characters that are useful in Regular Expressions. Usually you only have to encode the backslash \ with %5C.

Examples:
  • [A-E]\d\d – all notebooks
    • /%5BA-E%5D%5Cd%5Cd/fontane.kml
    • /[A-E]%5Cd%5Cd/fontane.kml
  • A\d\d – all notebooks from box A
    • /A%5Cd%5Cd/fontane.kml
  • A01 – a single notebook
    • /A01/fontane.kml
  • A01|B11 – two notebooks
    • /A01%7CB11/fontane.kml
    • /A01|B11/fontane.kml