0

if the line1 address is in wrong format shouldn't API atleast consider second line of address to give best possible result

For this request:

http://where.yahooapis.com/geocode?location=87+&+Capitol+Expressway,+SanJose,+CA,+95136&appid=yourappid

I am getting this result:

<ResultSet version="1.0"><Error>0</Error><ErrorMessage>No error</ErrorMessage><Locale>us_US</Locale><Quality>10</Quality><Found>0</Found></ResultSet><!-- gws14.maps.ch1.yahoo.com uncompressed/chunked Tue Oct 25 05:06:01 PDT 2011 --><!-- wws2.geotech.ch1.yahoo.com uncompressed/chunked Tue Oct 25 05:06:01 PDT 2011 -->

This does not seem right. Can someone from Yahoo look into this, please?

by
1 Reply

  • QUOTE(Seema @ 25 Oct 2011 5:13 AM)
    For this request:

    http://where.yahooapis.com/geocode?location=87+&+Capitol+Expressway,+SanJose,+CA,+95136&appid=yourappid

    I am getting this result:

    0 No error us_US 10 0

    This does not seem right. Can someone from Yahoo look into this, please?


    There are three problems with your example request.First, the value of the location parameter must be fully encoded to prevent the first ampersand (&) from being used as a parameter separator; the encoded form of "&" is "%26".  Second, "87" must be preceded by a highway designator, such as "hwy" or "highway".  Third, there should be a space between "San" and "Jose".  The following request will return the desired results:

    http://where.yahooapis.com/geocode?location=Hwy+87+%26+Capitol+Expressway,+San+Jose,+CA,+95136&appid=yourappid

    You can also use "and" instead of "&" to separate the two street names.

    Eddie Babcock
    Yahoo! Geo Technologies
    0
This forum is locked.

Recent Posts

in PlaceFinder General Discussion