BUG
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.
This is due to an error in the RouteServerGeocodingStyles.pdf.
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>
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>
Get help from ArcGIS experts
Download the Esri Support App