Open
Description
Some sources contain locations which, based on their geographic coordinates, are clearly wrong. Examples include:
- Brazil > Rio de Janeiro > Niterói
- United States > New York > Arlington > Vassar College
- Belgium > Vlaams Gewest > Agentschap Wegen en Verkeer
- Canada > Québec > Montréal
- United States > Maine > Bath
These could be filtered out by either:
- Adding an optional
bounds
toSourceProperties
. This has the advantage of directly working with the existingbounds
argument of theSource.process
method, but is more work to construct. - Adding an optional
radius
(orboxWidth
) toSourceProperties
. This has the advantage of being easier to construct, and could make use of a center determined by geocodingcountry
,state
,city
,designation
. It could be reformulated as abounds
(henceboxWidth
) to make use of existing functionality.