openchattanooga / cpd-zones

http://openchattanooga.github.io/cpd-zones/
MIT License
0 stars 5 forks source link

Geocoding not working. #9

Closed aplannersguide closed 7 years ago

aplannersguide commented 7 years ago

@seabre For some reason the geocoding has stopped operating on this app. I wouldn't put it past me that I messed something up when I updated the site with the new CPD promotions, although I thought I was just updating the geojson file. Any ideas what may be causing it or possible solutions?

seabre commented 7 years ago

Looks like http://maps.hamiltontn.gov/ArcGIS/rest/services/Addressing_Locator/GeocodeServer/findAddressCandidates has been shutdown.

aplannersguide commented 7 years ago

Got it. I'll contact hamilton county GIS and see if they have any other services we can use?

seabre commented 7 years ago

@aplannersguide If someone could donate some server space, I would be open to setting up pelias with the openaddresses data.

Nominatim...maybe. 1 request/sec limit worries me: https://wiki.openstreetmap.org/wiki/Nominatim_usage_policy

Off the top of my head: There's Google, Bing, and MapBox geocoding services, but I know Google requires you to use their map.

seabre commented 7 years ago

oh yeah @aplannersguide do check and see if they just moved their public ArcGIS server somewhere. Could just be a case of changing the URL.

aplannersguide commented 7 years ago

@seabre This looks like the new URL for Hamilton County GIS https://mapsdev.hamiltontn.gov/hcwa/rest/services/Locator_Composite/GeocodeServer/findAddressCandidates

I tried replacing the URL and get "No results found for your address." error message on the app when I rerun middleman and test it on my laptop. When I try the same street address at the above URL it works. Any idea what is causing it?

aplannersguide commented 7 years ago

@seabre These geocoders are dropping fast. The above URL is no longer active. I was able to find a geocoder from city Public Works.

http://pwgis.chattanooga.gov/arcgis/rest/services/Locators/ChattGeo/GeocodeServer/findAddressCandidates

Again I tried replacing this URL in the JS but am still getting an error when I test it on my laptop. Do you have time to test out the new geocoder and see what is happening?

seabre commented 7 years ago

Let me take a crack at this on my lunch break today.