Free geocoding WebService free zip code to latitude and longitude WebService

Source: Internet
Author: User
Tags encode string url encode string
Postal code

WebService type: Rest
URL: ws.geonames.org/postalcodesearch?
Parameters: postalcode, placename, maxrows, Country
Result: returns a list of places for the placename/postalcode query as XML document
Example http://ws.geonames.org/postalCodeSearch? Postalcode = 9011 & maxrows = 10

Note: Don't forget to URL encode string parameters containing special characters or spaces. (FAQ entry on URL encoding)

This WebService is also available in JSON format for a javascript postal code autocomplete.

Supported countries
  • Austria ()
  • Australia (Au)
  • Belgium (be)
  • Bulgaria (BG)
  • Canada,FSA only(Ca)
  • Switzerland (CH)
  • Czech Republic (CZ)
  • Germany (de)
  • Denmark (DK)
  • Spain (es)
  • Finland (FI)
  • Faroe Islands (FO)
  • France (FR)
  • Greenland (GL)
  • Gouadeloupe (GP)
  • GUAM (GU)
  • Guyana (Gy)
  • Croatia (HR)
  • Hungary (HU)
  • Iceland (is)
  • Italy (it)
  • Liechtenstein (Li)
  • Luxembourg (Lu)
  • Macedonia (MK)
  • Monaco (MC)
  • Mexico CIO (MX)
  • The Netherlands (NL)
  • New Zealand (NZ)
  • Norway (NO)
  • Pakistan (PK)
  • Poland (PL)
  • Portugal (PT)
  • Sweden (SE)
  • Slovenia (SI)
  • Slovakia (SK)
  • San Marino (SM)
  • Sri Lanka (lk)
  • Thailand (th)
  • United Kingdom (UK ),First three letters only
  • United States (US)
  • South Africa (za)

The WebService postalcodecountryinfo returns information on the available postal codes: http://ws.geonames.org/postalCodeCountryInfo?

 

Source:

Http://www.geonames.org/export/free-geocoding.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.