0

search by zipcode returning unexpected results

First of all, love the service! It has come very handy for the project I'm currently developing.

I am having an issue with searching by a Washington, DC zipcode. When I search for postal=20036, I get the following response:

{'Locale': 'us_US', 'ErrorMessage': 'No error', 'Results': [{'neighborhood': '', 'house': '', 'county': 'Ukmerge District Municipality', 'street': '', 'radius': 8100, 'timezone': 'Europe/Vilnius', 'quality': 60, 'unit': '', 'city': '', 'countrycode': 'LT', 'woeid': 56044854, 'xstreet': '', 'line4': 'Lithuania', 'line3': '', 'line2': '20036 Ukmerge District Municipality', 'line1': '', 'state': 'Vilnius County', 'latitude': '55.153915', 'hash': '', 'unittype': '', 'offsetlat': '55.153919', 'statecode': '', 'postal': '20036', 'name': '', 'uzip': '20036', 'country': 'Lithuania', 'longitude': '24.561225', 'countycode': '', 'offsetlon': '24.561230', 'woetype': 11}], 'version': '1.0', 'Error': 0, 'Found': 1, 'Quality': 60}

20036 is definitely a DC zipcode (it's where I work). Other DC zipcodes I've tried seem to work.

Thanks!

by
1 Reply
  • QUOTE (Jeremy @ Aug 11 2010, 05:42 AM) <{POST_SNAPBACK}>
    First of all, love the service! It has come very handy for the project I'm currently developing.

    I am having an issue with searching by a Washington, DC zipcode. When I search for postal=20036, I get the following response:

    {'Locale': 'us_US', 'ErrorMessage': 'No error', 'Results': [{'neighborhood': '', 'house': '', 'county': 'Ukmerge District Municipality', 'street': '', 'radius': 8100, 'timezone': 'Europe/Vilnius', 'quality': 60, 'unit': '', 'city': '', 'countrycode': 'LT', 'woeid': 56044854, 'xstreet': '', 'line4': 'Lithuania', 'line3': '', 'line2': '20036 Ukmerge District Municipality', 'line1': '', 'state': 'Vilnius County', 'latitude': '55.153915', 'hash': '', 'unittype': '', 'offsetlat': '55.153919', 'statecode': '', 'postal': '20036', 'name': '', 'uzip': '20036', 'country': 'Lithuania', 'longitude': '24.561225', 'countycode': '', 'offsetlon': '24.561230', 'woetype': 11}], 'version': '1.0', 'Error': 0, 'Found': 1, 'Quality': 60}

    20036 is definitely a DC zipcode (it's where I work). Other DC zipcodes I've tried seem to work.

    Thanks!


    PlaceFinder is a global geocoding service. There are several countries that use 5 digit postal codes including Lithuania. You need to provide a country parameter containing the name or code for the country you are interested in. An example query would be:
    CODE
    http://where.yahooapis.com/geocode?postal=20036&country=us&appid=[myappid]


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

Recent Posts

in PlaceFinder General Discussion