Description Usage Arguments Value Examples
Find probable City of Dallas addresses for a given address using the City of Dallas's public findAddressCandidates service. See ArcGIS's documentation page for additional details on this service.
1 2 3 4 5 6 7 8 9 |
street |
character vector of street addresses to match against |
city |
optional, character vector of city names to match against |
zip |
optional, vector of postal codes to match against |
max_locs |
optional, maximum number of address candidates to return |
server |
GeocodeServer to use. Defaults to DallasStreetsLocator. Refer to the ToolServices API directory for details on each server. |
out_sr |
Spatial Reference ID (WKID) for the desired lat/long coordinate system. Defaults to 4326 (WGS84). If using with one of the City of Dallas's MapServers, you may wish to set this to 2276, the default WKID for many Dallas services. Refer to ArcGIS's Projected and Geographic coordinate system documentation pages for a full list of valid WKIDs. |
A dataframe of address candidates
1 2 3 4 5 6 7 8 | addresses <- data.frame(
street = c('8525 Garland Rd', '1500 Marilla St', '3809 Grand Avenue'),
city = c('Dallas', 'Dallas', 'Dallas'),
zip = c(75218, 75201, 75210)
)
find_address_candidates(addresses$street, addresses$city, addresses$zip)
find_address_candidates("1500 Marilla St", max_locs = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.