Forward

Description

Forward Geocoding uses address information to return the coordinates of the area as a coordinate list of polygons.

Parameter

https://maps.fatos.biz/fatos/api/geocoding/forward?(query string)

* key = Your API Key

    Must be issued through the Fatos Sales Group.(sales@fatoscorp.com)

* format = [xml | json]

    output method.

* q = <string>

    String to search keyword.
    A comma is optional in the search keyword, but it's a good idea to include it to improve performance.

* q = encodeURI(keyword)

    If the search word is in Korean, do as above.

* polygon = [0 | 1]

    Whether or not to display areas on the retrieved items

* addressdetails = [0 | 1]

    Whether to separate addresses into details

* countrycodes = <countrycode>[,countrycode][,countrycode]

    Limit search results to specific countries(sg:singapore,th:thailand,id:indonesia,kr:korea,us:united states..)

Example

https://maps.fatos.biz/fatos/api/geocoding/forward?key=(Your API Key)&q=460 alexandra road&format=json&polygon=1&addressdetails=1

{
  "address_type": "way",
  "boundingbox": ["1.2783626", "1.2785892", "103.8029343", "103.8030164"],
  "polygonpoints": [["103.8029343", "1.2783626"], ["103.8030164", "1.2785892"]],
  "lat": "1.2783626",
  "lon": "103.8029343",
  "display_name":
    "Alexandra Road, Alexandra, Sentosa Cove, Southwest, 119578, Singapore",
  "class": "highway",
  "type": "primary",
  "importance": 0.30000000000000004,
  "address": {
    "road": "Alexandra Road",
    "hamlet": "Sentosa Cove",
    "county": "Southwest",
    "suburb": "Alexandra",
    "postcode": "119578",
    "country": "Singapore",
    "country_code": "sg"
  }
}