Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The service  uses the street segment network only.
These data are carefully maintained by Dept of Public works.
We return a single best candidate and have not implemented a scoring system.
Instead of scoring we return exceptions to help you correct the input data.
The location is based on the linear interpolation of the matching street segment.
We offset by 4 meters (about 12 feet) to the even or odd side like this:

Image Added

 Instead of scoring we return exceptions to help you correct the input data.

This returns JSON like so:

...

http://10.250.60.189/streetNetwork/geocode/findAddressCandidates?f=json&Address=157 Stanyan Ave&Zip=94114

We can't parse everything:

PMB 169 3701 SACRAMENTO ST

but we do have future plans for alaises.

We support the didYouMean idiom:

1000 18TH

do not parse degraded addresses:

http://10.250.60.189/streetNetwork/geocode/findAddressCandidates?f=json&Address=PMB 169 SACRAMENTO ST&Zip=94114 

Address that include extra information at the end parse but typically fail to return a candidate

http://10.250.60.189/streetNetwork/geocode/findAddressCandidates?f=json&Address=169 SACRAMENTO ST 7&Zip=94114

But if it's clearly as unit, it works 

http://10.250.60.189/streetNetwork/geocode/findAddressCandidates?f=json&Address=169 SACRAMENTO ST UNIT 7&Zip=94114

Reading JSON

The JSON is formatted for readability but your browser may obscure that.
The way to see the nicely formated JSON is to right click on the web page and select "view source".
The Chrome browser has a nice feature here:  (You need to copy and paste the text below to the Chrome address bar and hit enter.)

view-source:http://10.250.60.189/validatestreetNetwork/streetAddress/1560%20DAVIDSON%20AVE/

 

Image Removedgeocode/findAddressCandidates?f=json&Address=169 SACRAMENTO ST&Zip=94114