agrc / api.mapserv.utah.gov

An asp.net web api system for geocoding addresses and performing spatial queries
https://api.mapserv.utah.gov/
MIT License
5 stars 5 forks source link

geocoding enhancement - return residential or commercial #125

Open gregbunce opened 3 years ago

gregbunce commented 3 years ago

an enhancement to the geocoder would be to return whether the matched address is residential or commercial.

This would only apply to address-point matches, but it would be a useful enhancement. A great use-case is geocoding voters and also 911, for dispatch purposes.

This info can be found in the location.address_points' pttype field. It will require a little standardization of the existing values (casing, etc). Here are the existing, distinct values in that field: image

steveoh commented 3 years ago

Will you create an issue for @ZachBeck's address point ETL project. It should be in github somewhere.

steveoh commented 3 years ago

I think WriteAdditionalOutputFields = false and https://desktop.arcgis.com/en/arcmap/latest/manage-data/geocoding/locator-output-properties.htm#ESRI_SECTION1_CDBD0145E29D4E7780042CE8AFF832E8 make this possible.

Since this is an additional property, this can be added to v1

steveoh commented 1 year ago

@gregbunce is this still something you would like to see us pursue? It seems a little out of stride for geocoding and a little janky that it would only be on address points. But if there is still a strong enough case for voting/911 then we can figure something out.

Currently doing a search for address points would give you this data so it's not impossible. Maybe the GQL API would make this request redundant.

steveoh commented 1 month ago

What's up with this @gregbunce?