PastPlace Gazetteer Search API

If you were expecting search results rather than this page, you mis-specified the parameters. The options are:

 

Examples

  1. http://data.pastplace.org/search?q=portsmouth&format=xml&mode=precise — queries the place name "portsmouth" and returns the result as XML data.
  2. http://data.pastplace.org/search?q=portsmouth&format=xml&mode=precise&container=hampshire — queries the place name "portsmouth" in the container named "hampshire" and returns the result as XML data.
  3. http://data.pastplace.org/search?q=portsmouth&format=xml&container=hampshire — queries the place name "portsmouth" and name variants in the container named "hampshire" and returns the result as XML data.
  4. http://data.pastplace.org/search?q=portsmouth&format=json&json_callback=my_callback_func — queries the place name "portsmouth" and name variants and returns the result as JSON data array, using "my_callback_func" as call back, i.e. the returned value is my_callback_func(JSON data) .
  5. http://data.pastplace.org/search?q=-1.7,50.8 — queries for the nearest 20 places for the specified coordinates (longitude=-1.7, latitude=50.8) and sends you to the HTML result page.
  6. http://data.pastplace.org/search?q=-1.7&q=50.8&format=html — same as the above, but with q specified twice.
  7. http://data.pastplace.org/search?q=429&format=xml — queries the place ID "429" and returns the result as XML data.
  8. http://data.pastplace.org/search?q=10200246&type=unit&format=xml — queries the unit ID "10200246" and returns the result as XML data.
© 2004—2015 GBHGIS and University of Portsmouth, UK