Vici.org

All content on Vici.org is published under the Creative Commons Attribution-ShareAlike 3.0 (CC BY-SA 3.0) license. It may be shared, adapted or commercially used under the condition that a reference with link to https://vici.org/, or to the relevant page on Vici.org, as the source is provided. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

Obtaining data from Vici.org

An API to obtain or use data from Vici.org is available. If you intend to use data from Vici.org, please let me know so that we can work out the best solution together.

Multiple language support

Vici.org supports annotations in multiple languages. Http content negotiation is used to determine the desired language. This can be overruled by supplying the 'lang' parameter. Supported languages are English (lang=en), Dutch (lang=nl), German (lang=de) and French (lang=fr). When an unknown language is requested, English is used as a default.
Mind that the 'summary'-field might be returned in a language other than requested, when no summary is available in the requested language.

Data calls

https://vici.org/geojson.php?bounds=38.0,-7.0,40.0,-5.0&zoom=11
Returns all markers and lines for given bounds area in Geo-JSON format. The bounds parameters is specified as atitude, longitude of south-west point, latitude, longitude of north-east point. The higher the value of 'zoom', the more 'detail' markers are returned.

https://vici.org/vici/49/json
Returns the data for marker '49' in Geo-JSON format. For other serializations, try https://vici.org/vici/49/rdf (RDF / Linked Data) or https://vici.org/vici/49/kml (KML - Keyhole Markup Language).
Adding a '&lang=en'-parameter will return the data in Dutch, regardless http content negotation.

Cross-origin Resource Sharing

The /geojson.php interface has Cross-origin Resource Sharing (CORS) enabled. Alternatively /geojson.php will return JSONP when a 'callback' parameter has been supplied.