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 implemented a scoring system.
The location is based on the linear interpolation of the matching street segment.
We offset to the even or odd side like this
Image Added 

 

 

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

...


You can see the unit tests here.

Examples

Below are several validation links.

These calls should find a The nominal example:

http://10.250.60.189/streetNetwork/geocode/findAddressCandidates?f=json&Address=100 Main St&Zip=94105

You can send data with no street suffix if it's not ambiguous:

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

But be aware that there are ambiguous cases:

 

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

but only if the suffix not needed for disambiguation:

157 STANYANhttp://10.250.60.189/streetNetwork/geocode/findAddressCandidates?f=json&Address=157 Stanyan St&Zip=94118

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

We can't parse everything:

...

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

 Image Added

Image Added