bcgov / ols-devkit

Developer Tool Kit using the BC Address Geocoder, BC Route Planner and the Geomark Web Service
Apache License 2.0
6 stars 5 forks source link

Enhance Address list editor to support reverse geocoding #185

Open mraross opened 3 years ago

mraross commented 3 years ago

Add a Reverse Geocode button that only works when address or coordinate data is first loaded into the text box or after the user presses the New Address List button. To reverse geocode a list of addresses:

  1. User loads a list of CSV delimited fields that include x and y fields. No other data besides x and y needs to be populated. For bonus points, recognize lat and latitude as the y column and lon and longitude as the x column. For double bonus points, reverse x and y if their roles are reversed in the input data.

  2. User presses Reverse Geocode button. The system reverse geocodes the list and replaces the coordinate list with the geocoder results and grays out the Reverse Geocode button.

If the user doesn't like the resulting list of addresses, they can edit their coordinate list elsewhere, copy it to the clipboard, hit the New Address List button, paste in the coordinates, and hit the Reverse Geocode button again.

The rest of the ALE remains the same.