Maptitude GISDK Help

Locate Address (Deprecated)

 

This macro has been deprecated. Please use Data.Finder Class and Data.Geocoder Class 

 

Summary

Finds the location of a single address.

 

Syntax

result = RunMacro("GISDK Locate Address", string address, integer|array zips, string street_layer, string callback_flag, string rule_file)

 

Argument

Contents

address

The street address to locate: either a house number and street name, or two street names separated by "and"

zips

The ZIP Code(s) of the address to locate; can be one integer value, or an array of ZIP Code values

street_layer

The name of the Streets layer to search

callback_flag

Any non-null value to query the user if multiple possible matches are detected, or null to prevent a query

rule_file

Optional country-specific rule file, or null to use the default American/Canadian rule file

 

Return Value

A two element array:

 

Element

Type

Contents

1

String

If null, the address was found successfully, otherwise a status message indicating the error that occurred

2

coord

The location of the address, if the status message is null

 

Notes

 

 

©2025 Caliper Corporation www.caliper.com