diff --git a/templates/index.html b/templates/index.html index cdd6513..05c5e2a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,15 +6,33 @@ -

Geocode UK coordinates to Commons Category

+

Geocode coordinates to Commons Category

+ +
    +
  1. Overpass query to find OSM polygon that contain given lat/lon.
  2. +
  3. Sort list of OSM polygons by admin_level descending.
  4. +
  5. Check each polygon for wikidata tag, starting with highest admin_level first.
  6. +
  7. If the wikidata tag isn't found try looking for a 'ref:gss' tag and look for matching Wikidata item using the +Wikidata Query service (WDQS)
  8. +
  9. Finally try match by name. Look for nearby items with the same name using WDQS.
  10. +
  11. Return the most specific Wikidata QID and Commons Category.
  12. +
+ +
+Latitude/Longitude: (e.g. 54.375, -2.999) +

Examples

+

source code: https://github.com/EdwardBetts/uk-geocode

+