Description: Geocode an address and overlay the address location on the map service and returns the requested fields from the selected layers. addresses(format 1): ['1221 S 2nd Ave, Tucson, AZ 85713','1851 S Milton Rd, Flagstaff, AZ 86001','2039 W. Lewis Avenue, Phoenix, AZ 85009'] addresses(format 2): [{id:1,address:'1221 S 2nd Ave, Tucson, AZ 85713'},{id:2,address:'1851 S Milton Rd, Flagstaff, AZ 86001'},{id:3,address:'2039 W. Lewis Avenue, Phoenix, AZ 85009'}] geometry(Optional): [{'x': 995403.3403362626,'y': 440017.13956693705,'spatialReference': {'wkid': 2223}},{'x': 776270.51120886614,'y': 1521679.1007142703,'spatialReference': {'wkid': 2223}},{'x': 642971.88482349995,'y': 900384.05827694677,'spatialReference': {'wkid': 2223}}] distance: 2.0 outFields(format 1): [{layerName:'County',fieldNames:['County','County_Code_String','CountyIslandName']}]. outFields(format 2): [{layerName:'County',fieldNames:['*']}]. outFields(format 3): * outSR: Output spatial reference.Valid values 2223,102100,4326.
MilePostOverlay:
Description: Geocode a milepost on a route and overlay the location on the map service and returns the requested fields from the selected layers. locations: [{id:1, routeId: ' I 040 ', milePostNo: 177, milePostOffset: 0.22}] distance: 0.5 outFields(format 1): [{layerName:'County',fieldNames:['County','County_Code_String','CountyIslandName']}]. outFields(format 2): [{layerName:'County',fieldNames:['*']}]. outFields(format 3): * routeId: should be 32 characters ATIS Code outSR: Output spatial reference.Valid values 2223,102100,4326.
SegmentOverlay:
Description: Geocode a point/segment from the begin of milepost/intersection to end of offset on a route and overlay the result on the map service and returns the requested fields from the selected layers. locations(format 1): [{id:1, routeId: ' I 040 ', fromMilePost: 'M177', fromOffset: 20,toMilePost:'M189',toOffset:0}] locations(format 2): [{id:1, routeId: ' I 010 1', fromRouteId: '11 COTTONWOOD LN ', fromOffset: 2,toMilePost:'M189',toOffset:0}] distance: 0.5 outFields(format 1): [{layerName:'County',fieldNames:['County','County_Code_String','CountyIslandName']}]. outFields(format 2): [{layerName:'County',fieldNames:['*']}]. outFields(format 3): * routeId: should be 32 characters ATIS Code toMilePost,toRouteId,toOffset: Optional in case of a point.Required for segment. fromOffset/toOffset: should be in miles outSR: Output spatial reference.Valid values 2223,102100,4326. returnGeometry: Return geometry of result segment/point.Default is false
FindNearBy:
Description: Find the near by features with in a given distance. location: {'x': 995403.3403362626,'y': 440017.13956693705,'spatialReference': {'wkid': 2223}} distance: 2.0 outFields(format 1): [{layerName:'County',fieldNames:['County','County_Code_String','CountyIslandName']}]. outFields(format 2): [{layerName:'County',fieldNames:['*']}]. outFields(format 3): *