Learning patterns/Enriching lists of monuments with coordinates
What problem does this solve?
Lists of monuments, the basis for Wiki Loves Monuments, come from various governmental sources. Those institutions are not always in a position to provide a list that also includes coordinates for every object. Having coordinates makes it possible to do more with the data, like projecting them onto a map.
What is the solution?
User:1Veertje has written a jQuery script that queries the Google Maps API which then returns coordinates based on an address. Not all objects have an address of their own, like bridges and sculptures, so this won't be a complete solution. Something is better than nothing.
Things to consider
The Google Maps API is a bit too eager to return a result. If it doesn't understand an address, it wants to return the center of town. To eliminate these inaccurate results there is an array of placenames in the jQuery that needs to be filled.
Don't forget to change region from "NL" to your country code.
When to use
When no other source of coordinates has been provided for lists of listed buildings.
- WLM-table-gen, interface for generating Dutch lists of municipal monuments