Can someone point me to the proper syntax for geocoding through
a .NET application? I have the following code and the "Standardize"
function returns proper results but the "Locate Address" macro always
returns "no matching address". I'm guessing it's the streets layer
parameter that's having problems but I have verified that my streets
layer is in the right place:
CaliperForm.Connection cn = new CaliperForm.Connection();
cn.MappingServer = "Maptitude";
if (cn.Open())
{
object[] parms = new object[2];
parms[0] = "2929 n central ave";
parms[1] = null;
object ret = cn.DoFunction("Standardize", parms);
parms = new object[5];
parms[0] = "2929 n central ave";
parms[1] = "85012";
parms[2] = @"c:\ccdata50\ccStreet.Cdf";
parms[3] = null;
parms[4] = null;
ret = cn.DoMacro ("GISDK Locate Address", "geocode",
parms);
cn.Close();
}
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Maptitude/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/Maptitude/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/