BUG

GET_GEOCODE request for Route Server returns no results due to incorrect GCTAG id

Last Published: April 25, 2020

Description

When using the SDC.STREET_ADDRESS.CAN address style with data from DMTI, the documentation indicates to use the GCTAG of id="Street_or_Intersection" for input street addresses with a GET_GEOCODE request. While this request is valid, no features will be returned.

Cause

This is due to an error in the RouteServerGeocodingStyles.pdf.

Workaround

The solution to this issue is to use GCTAG id="Address_or_Intersection" for requests. For example:

Code:
<ARCXML version="1.1">
<REQUEST>
<GET_GEOCODE maxcandidates="20" minscore="50">
<LAYER id="StreetAddress" /><ADDRESS>
<GCTAG id="Address_or_Intersection" value="49 Gervais Dr"/>
<GCTAG id="FSA" value="M3C"/>
<GCTAG id="City" value="Toronto"/>
<GCTAG id="Province" value="ON"/>
</ADDRESS>
</GET_GEOCODE>
</REQUEST>
</ARCXML>

This will return positive results. While the following request will return no results:

Code:
<ARCXML version="1.1">
<REQUEST>
<GET_GEOCODE maxcandidates="20" minscore="50">
<LAYER id="StreetAddress" /><ADDRESS>
<GCTAG id="Street_or_Intersection" value="49 Gervais Dr"/>
<GCTAG id="FSA" value="M3C"/>
<GCTAG id="City" value="Toronto"/>
<GCTAG id="Province" value="ON"/>
</ADDRESS>
</GET_GEOCODE>
</REQUEST>
</ARCXML>

    Article ID:000008115

    Software:
    • Legacy Products

    Get help from ArcGIS experts

    Contact technical support

    Download the Esri Support App

    Go to download options

    Discover more on this topic