...
Code Block |
---|
{ "spatialReference": { "wkid": 4326 }, "candidates": [ { "address": "115 MAIN ST", "location": { "y": 37.79152826999239, "x": -122.39400753158013 }, "score": 100, "attributes": { "base_address_num": 115, "base_address_suffix": null, "street_name": "MAIN", "street_type": "ST", "zipcode": "94105", "parcels": [ { "address_base_flg": true, "blk_lot": "3717012", "unit_num": null }, { "address_base_flg": true, "blk_lot": "3717013", "unit_num": null } ], "units": [] } } ] } |
Field Definitions
spatialReference | Defines the coordinate system for the specified coordinates. WKID 4326 refers to the geographic coordinate system (GCS) using datum WGS 1984 |
candidates | Matched address(es) and their attributes |
address | Street address |
location | A point within the parcel, not the centroid of the parcel |
score | See below |
attributes | Individual components of the matched address record |
parcels | Parcel(s) associated with the address match |
address_base_flg | |
blk_lot | |
unit_num | Unit number associated with this parcel, if present |
units |
Scoring
If everything matches perfectly, you should get a score of 100. If you misspell the street name by 1 letter you get a score of 98.
...