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