Closed mmosesOCMP closed 4 years ago
from Josh Tanner (@tannerjt):
One thing I did notice by inspecting your requests through the app is that you’re using the wrong query parameter ‘PlaceName’ in the request. It should be ‘SingleLine’ for single line address requests, or broken out into ‘street’, ‘city’, ‘state’, ‘zip’ for multi-line request.
Here’s our docs:
https://navigator.state.or.us/arcgis/sdk/rest/index.html#//02ss00000015000000
Here is how SeaSketch is currently calling our geocoder:
But it should instead use this format:
Notice the replaced ‘PlaceName’ query parameter with ‘SingleLine’.
Based on the above, we've decided to not use the Oregon geocoder, which is optimized for street address search, and instead use the esri worlwide geocoder, which includes place names.
The Search Bar on the upper left of the map window should allow users to search for geographic locations, but it is not working - it does not seem to find any named locations.