English 中文(简体)
美国境外行政区域、次级行政区域等的名称是什么?
原标题:What are the names of administrativeArea, subAdministrativeArea, etc called outside of the United States?

我正在制作一个具有地理意识的高分服务器, 希望能够列出“荷兰州第一位”或“纽约州第三位”等分数。 我可以翻转用户位置的地理编码,

iOS 和 Google 所使用的反向地理编码器将返回“Dutches”和“New York”作为上述例子, 所以我需要为美国提供“Conty”和“State”。

然而,游戏是全球性的,所以我需要知道其他英语国家每个地理组织级别的名称。

因此,在美国,谷歌/iOS定位标记水平将描述如下:

行政区域=“国家”

亚行政区域=“国家”(或路易斯安那的“巴黎”)

地方 = “城市” 或 “城镇”

本地 = (我称它为"邻居")

邮政编码=“邮政编码”

其他英语国家(加拿大、英国、澳大利亚、新西兰、新加坡等)都要求达到什么水平?如果有资源列出所有这些,我很乐意知道。 我想我也许不知道在网上搜索什么。

最佳回答

我不完全确定这项工作的努力/价值比率,这可能会变得相当困难,特别是在英格兰统一权力地区。

In most of the United Kingdom,
country is "United Kingdom" [ie the country name]
administrative_area_level_1 could be "England" or "Scotland" etc [ie the country name]
administrative_area_level_2 might be "East Sussex" [county]
locality might be "Hailsham" [town]
postal_code is a postcode

However in London,
administrative_area_level_2 is "London" which isn t a county
administrative_area_level_2 might be "Greater London" too
administrative_area_level_3 might be "London Borough of Lewisham" [yay! Borough makes sense]
locality is "London" which isn t a locality

In unitary authority areas in England,
administrative_area_level_2 might be "Medway"
Unitary authorities replace county council and borough/district councils, but they are located within a "ceremonial county" which is what most people will use ordinarily. Places in Medway Council s area are in Kent. Unfortunately these county names aren t returned by the geocoder. Some counties (eg Berkshire) were abolished completely and replaced entirely by unitary authorities. However the old county name (Kent, or Berkshire) is the right name to use.

问题回答

暂无回答




相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签