加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

Free Geocoding Webservice 免费 邮编 转 经纬度 webservice

发布时间:2020-12-17 02:06:40 所属栏目:安全 来源:网络整理
导读: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.or

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 (AT)
  • 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)
  • Mexcio (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?

?

原文出处:

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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读