Fields

 

The first argument to the Geocode function is the desired field, which must be one of the following:

(the sample values come from different places)

Field name Sample value
administrative_area_level_1 political England
administrative_area_level_2 political Greater London
administrative_area_level_3 political Westminster
airport establishment transit_station
bus_station transit_station
coordinates 51.5081024,-0.1399735
country political United Kingdom
establishment John F. Kennedy International Airport
formatted_address 1 Old Bond St, Westminster, London W1S 4, UK
latitude 51.5081024
locality political London
location_type RANGE_INTERPOLATED
longitude -0.1399735
natural_feature Mt Everest
neighborhood political Greenpoint
partial_match TRUE
point_of_interest establishment Heathrow Airport
postal_code 76706
postal_code_prefix postal_code W1S 4
postal_town Greenwich
premise 45
route Old Bond St
status OK
street_address
street_number 1
sublocality political Queens
subpremise 27
train_station transit_station
types street_address
viewpointne 51.5112464,-0.1368337
viewpointsw 51.5049511,-0.1431289

Notes:

  1. The field names themselves are retrieved from GoogleMaps and may change.
  2. The ‘coordinates’ field string value is built by concatenating the latitude and longitude, using the list separator of the current Window’s culture (the above example would display 51,5081024;-0,1399735 on a French PC by default).
  3. The fields above are usually displayed in this order but this is not guaranteed.
  4. This is not an exhaustive list. Other fields may appear according to the information available about a place.
  5. When new fields appear, they are usually added at the end but this is not guaranteed.
 Posted by on 2011/03/30 at 14:41

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)