Closed louh closed 10 years ago
Note to self. This:
When a user enters an address, if it's not found, it'll actually make a best guess based on street centerline and return that point. (This is more useful for users, since the ArcGIS address geocoder only has parcel addresses. A search for "150 N Las Vegas Blvd" - the address of the Ogden - doesn't actually work for this reason.) If a user enters an address, and it's outside the city limits, it'll tell you what jurisdiction it's actually in. This would be useful to use to say, redirect someone to the Clark County or Henderson website.
... does not actually work as advertised.
The alternate city endpoint is currently working on the front-end as a result of being able to successfully test the JSONP response that the server seems to require for cross-origin requests.
The previous address endpoint URL is still present in the code.
@rclosner I sent a follow up e-mail to Anthony to find out if the endpoint is supposed to actually return additional information as he described earlier this week. We can decide if we want to change the data source later.
@louh :+1:
If a user enters an address, and it's outside the city limits, it'll tell you what jurisdiction it's actually in. This would be useful to use to say, redirect someone to the Clark County or Henderson website.
This is a separate query service. See follow up discussion in issue 52.
We are using this now. Closing this issue.
Anthony turned me on to this:
http://clvplaces.appspot.com/maptools/rest/services/directory/geocode.htm
This is actually an interface meant for public use, which sits on top of the ArcGIS base (http://mapdata.lasvegasnevada.gov/clvgis/rest/services/CLVPARCELS_Address_Locator/GeocodeServer/) geocode server.
It does a few things that the ArcGIS doesn't do by itself.
If a user enters an address, and it's outside the city limits, it'll tell you what jurisdiction it's actually in. This would be useful to use to say, redirect someone to the Clark County or Henderson website.Maybe a better service to use? cc @rclosner