GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Can you get sub-districts with PostalCode lookup?  XML
Forum Index -> Postal Codes
Author Message
kimfucious



Joined: 03/07/2020 16:36:41
Messages: 1
Offline

Hi there,

When running this call for a Thailand postal code: http://api.geonames.org/postalCodeLookupJSON?postalcode=50140&country=TH&username=MYUSERNAME

I receive a reply that contains a single entry that has: adminName1 (province) and placeName (district/amphoe).

However, this should return 12 entries with differing sub-districts (thambon/khet).

I'm wondering if I'm doing something wrong, or if the data just isn't there.

If it's not there, I have a JSON file that I've manually compiled that I can share with you folks, if you're interested. It's based on the latest Wikipedia info from here: https://en.wikipedia.org/wiki/List_of_tambon_in_Thailand.

Thanks.
 
Forum Index -> Postal Codes
Go to:   
Powered by JForum 2.1.5 © JForum Team