{
  "openapi": "3.1.0",
  "servers": [
    {
      "url": "https://api.longdo.com"
    }
  ],
  "info": {
    "title": "Longdo Map REST API documentation",
    "summary": "",
    "description": "The Longdo Map REST API offers comprehensive GIS APIs and data solutions:\n\n- **Place Suggestions & Search**\n- **Geocoding & Reverse Geocoding**\n- **Address Extraction**\n- **Route Planning**\n- **Coverage Area Calculation**\n- **Statistical & Extra Data**\n\nGet started with a free [Longdo Map API Key](https://api.longdo.com/console).",
    "termsOfService": "https://map.longdo.com/api/terms",
    "license-hide": {
      "name": "Apache 2.0",
      "identifier": "Apache-2.0",
      "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "version": "2.4.0"
  },
  "externalDocs": {
    "description": "Find out more about Longdo Map REST API",
    "url": "https://api.longdo.com/map/doc/rest.php"
  },
  "tags": [
    {
      "name": "Place",
      "description": "Search and discover places, points of interest, and locations across Thailand — keyword suggest, place search, and POI lookup by coordinate or geocode."
    },
    {
      "name": "Address",
      "description": "Convert between coordinates and Thai addresses — reverse geocoding, forward geocoding from address text, and batch address lookup, including administrative geocode resolution."
    },
    {
      "name": "Route",
      "description": "Calculate routes, travel distance/time matrices, traffic speed, and multi-stop trip planning (TSP) across the Thailand road network."
    },
    {
      "name": "Extra",
      "description": "บริการ API เพิ่มเติมในส่วน Extra API นี้ เป็นบริการขั้นทดลอง, ผู้ที่สนใจสามารถลองใช้งานได้ (ต้องมี API key และจะมีการตัด transaction ตามปกติ) อย่างไรก็ตาม บริการ Extra API ไม่อยู่ภายใต้ Service Level Agreement (SLA) ของ Longdo Map API, ไม่มีการรับประกันใดๆ ในการใช้งาน และอาจมีการเปลี่ยนแปลงหรือยกเลิกการให้บริการได้โดยไม่ต้องแจ้งล่วงหน้า"
    }
  ],
  "paths": {
    "/mapsearch/json/suggest": {
      "servers": [
        {
          "url": "https://search.longdo.com"
        }
      ],
      "parameters": [
        {
          "name": "keyword",
          "in": "query",
          "description": "Suggest keyword",
          "required": true,
          "schema": {
            "type": "string",
            "example": "สุขุมวิท"
          }
        },
        {
          "$ref": "#/components/parameters/area"
        },
        {
          "name": "sdx",
          "in": "query",
          "description": "Soundex matching option (Default: 0). Use 1 to enable Soundex-based fuzzy search for phonetic similarity; use 0 to disable and perform exact matching.",
          "required": false,
          "schema": {
            "type": "number"
          }
        },
        {
          "$ref": "#/components/parameters/offset"
        },
        {
          "name": "limit",
          "in": "query",
          "description": "Number of results returned (Default: 10)",
          "required": false,
          "schema": {
            "type": "integer",
            "example": 10
          }
        },
        {
          "$ref": "#/components/parameters/suggestDataset"
        },
        {
          "$ref": "#/components/parameters/callback"
        }
      ],
      "get": {
        "tags": [
          "Place"
        ],
        "summary": "Suggest",
        "description": "ExampleMinimum paramsWith area and limit",
        "operationId": "GetSuggestPlace",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "keyword": {
                          "description": "Request keyword",
                          "type": "string"
                        }
                      }
                    },
                    "data": {
                      "description": "List of results",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "w": {
                            "description": "Suggest",
                            "type": "string"
                          },
                          "d": {
                            "description": "Suggest with keyword highlighted",
                            "type": "string"
                          },
                          "s": {
                            "description": "Dataset",
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/mapsearch/json/search": {
      "servers": [
        {
          "url": "https://search.longdo.com"
        }
      ],
      "parameters": [
        {
          "$ref": "#/components/parameters/keyword"
        },
        {
          "$ref": "#/components/parameters/area"
        },
        {
          "$ref": "#/components/parameters/lon"
        },
        {
          "$ref": "#/components/parameters/lat"
        },
        {
          "$ref": "#/components/parameters/span"
        },
        {
          "$ref": "#/components/parameters/tag"
        },
        {
          "$ref": "#/components/parameters/offset"
        },
        {
          "$ref": "#/components/parameters/limit"
        },
        {
          "$ref": "#/components/parameters/searchDataset"
        },
        {
          "$ref": "#/components/parameters/locale"
        },
        {
          "$ref": "#/components/parameters/callback"
        }
      ],
      "get": {
        "tags": [
          "Place"
        ],
        "summary": "Search",
        "description": "ExampleMinimum paramsWith area and limit",
        "operationId": "GetSearchPlace",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "hasmore": {
                          "description": "Has more result",
                          "type": "boolean"
                        },
                        "start": {
                          "description": "Start index",
                          "type": "integer"
                        },
                        "end": {
                          "description": "End index",
                          "type": "integer"
                        },
                        "keyword": {
                          "description": "Request keyword",
                          "type": "string"
                        },
                        "lon": {
                          "description": "Location of search parameter if specified",
                          "type": "number"
                        },
                        "lat": {
                          "description": "Location of search parameter if specified",
                          "type": "number"
                        }
                      }
                    },
                    "data": {
                      "description": "List of results",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "description": "Type of result",
                            "type": "string"
                          },
                          "id": {
                            "description": "Longdo Map ID",
                            "type": "string"
                          },
                          "name": {
                            "description": "Name",
                            "type": "string"
                          },
                          "lat": {
                            "description": "Latitude",
                            "type": "number"
                          },
                          "lon": {
                            "description": "Longitude",
                            "type": "number"
                          },
                          "icon": {
                            "description": "Icon image",
                            "type": "string"
                          },
                          "tag": {
                            "description": "List of tags",
                            "type": "array",
                            "items": {
                              "description": "Tag name",
                              "type": "string"
                            }
                          },
                          "url": {
                            "description": "Website",
                            "type": "string"
                          },
                          "address": {
                            "description": "Street address",
                            "type": "string"
                          },
                          "tel": {
                            "description": "Telephone number",
                            "type": "string"
                          },
                          "contributor": {
                            "description": "Last contributor",
                            "type": "string"
                          },
                          "verified": {
                            "description": "Is POI verified",
                            "type": "boolean"
                          },
                          "obsoleted": {
                            "description": "Is POI obsoleted",
                            "type": "boolean"
                          },
                          "distance": {
                            "description": "Distance from center in the same unit of span, if span is provided",
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/smartsearch/json/search": {
      "servers": [
        {
          "url": "https://search.longdo.com"
        }
      ],
      "parameters": [
        {
          "$ref": "#/components/parameters/keyword"
        },
        {
          "$ref": "#/components/parameters/area"
        },
        {
          "$ref": "#/components/parameters/lon"
        },
        {
          "$ref": "#/components/parameters/lat"
        },
        {
          "$ref": "#/components/parameters/span"
        },
        {
          "$ref": "#/components/parameters/tag"
        },
        {
          "$ref": "#/components/parameters/offset"
        },
        {
          "$ref": "#/components/parameters/limit"
        },
        {
          "$ref": "#/components/parameters/searchDataset"
        },
        {
          "$ref": "#/components/parameters/locale"
        },
        {
          "$ref": "#/components/parameters/callback"
        },
        {
          "$ref": "#/components/parameters/forceSmartSearch"
        },
        {
          "name": "forcelimit",
          "in": "query",
          "description": "Minimum numbers of result from the Search that will not trigger next step of SmartSearch unless the 'forcesmartsearch' is set to 1 (Default: 1)",
          "required": false,
          "schema": {
            "type": "integer"
          }
        },
        {
          "$ref": "#/components/parameters/extendedSearch"
        },
        {
          "name": "extendedlimit",
          "in": "query",
          "description": "If the 'extendedsearch' is set to 1, this parameter is a minimum of longdo smart search results before using extended search (Default: 3)",
          "required": false,
          "schema": {
            "type": "integer"
          }
        },
        {
          "name": "extendedkey",
          "in": "query",
          "description": "Extended API Key",
          "required": false,
          "schema": {
            "type": "string"
          }
        },
        {
          "$ref": "#/components/parameters/extendedType"
        },
        {
          "name": "exceedtime",
          "in": "query",
          "description": "Limit time. If exceed, do only raw search. 0 = not use exceed time (Default: 0)",
          "required": false,
          "schema": {
            "type": "number"
          }
        },
        {
          "name": "cache",
          "in": "query",
          "description": "If equal to 1, enable cache (Default: 0)",
          "required": false,
          "schema": {
            "type": "integer"
          }
        },
        {
          "name": "extractaddress",
          "in": "query",
          "description": "If set to 1, response an extracted address object (Default: 0)",
          "required": false,
          "schema": {
            "type": "integer"
          }
        }
      ],
      "get": {
        "tags": [
          "Place"
        ],
        "summary": "SmartSearch",
        "description": "ExampleSearch addressblog",
        "operationId": "GetSmartSearchPlace",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "hasmore": {
                          "description": "Has more result",
                          "type": "boolean"
                        },
                        "start": {
                          "description": "Start index",
                          "type": "integer"
                        },
                        "end": {
                          "description": "End index",
                          "type": "integer"
                        },
                        "keyword": {
                          "description": "Request keyword",
                          "type": "string"
                        },
                        "lon": {
                          "description": "Location of search parameter if specified",
                          "type": "number"
                        },
                        "lat": {
                          "description": "Location of search parameter if specified",
                          "type": "number"
                        }
                      }
                    },
                    "data": {
                      "description": "List of results",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "description": "Type of result",
                            "type": "string"
                          },
                          "id": {
                            "description": "Longdo Map ID",
                            "type": "string"
                          },
                          "name": {
                            "description": "Name",
                            "type": "string"
                          },
                          "lat": {
                            "description": "Latitude",
                            "type": "number"
                          },
                          "lon": {
                            "description": "Longitude",
                            "type": "number"
                          },
                          "icon": {
                            "description": "Icon image",
                            "type": "string"
                          },
                          "tag": {
                            "description": "List of tags",
                            "type": "array",
                            "items": {
                              "description": "Tag name",
                              "type": "string"
                            }
                          },
                          "url": {
                            "description": "Website",
                            "type": "string"
                          },
                          "address": {
                            "description": "Street address",
                            "type": "string"
                          },
                          "tel": {
                            "description": "Telephone number",
                            "type": "string"
                          },
                          "contributor": {
                            "description": "Last contributor",
                            "type": "string"
                          },
                          "verified": {
                            "description": "Is POI verified",
                            "type": "boolean"
                          },
                          "obsoleted": {
                            "description": "Is POI obsoleted",
                            "type": "boolean"
                          },
                          "distance": {
                            "description": "Distance from center in the same unit of span, if span is provided",
                            "type": "string"
                          },
                          "source": {
                            "description": "Map data source of search result, e.g., longdo, OSM",
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/POIService/json/search": {
      "servers": [
        {
          "url": "https://api.longdo.com"
        }
      ],
      "parameters": [
        {
          "$ref": "#/components/parameters/area"
        },
        {
          "$ref": "#/components/parameters/lon"
        },
        {
          "$ref": "#/components/parameters/lat"
        },
        {
          "$ref": "#/components/parameters/span"
        },
        {
          "$ref": "#/components/parameters/tag"
        },
        {
          "name": "zoom",
          "in": "query",
          "description": "Importantness level of POI (Default: Any)",
          "required": false,
          "schema": {
            "type": "integer"
          }
        },
        {
          "$ref": "#/components/parameters/offset"
        },
        {
          "$ref": "#/components/parameters/limit"
        },
        {
          "$ref": "#/components/parameters/poiDataset"
        },
        {
          "$ref": "#/components/parameters/locale"
        },
        {
          "$ref": "#/components/parameters/callback"
        }
      ],
      "get": {
        "tags": [
          "Place"
        ],
        "summary": "Nearby POI",
        "description": "ExampleMinimum paramsWith tag, area and limit",
        "operationId": "GetNearbyPlace",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "hasmore": {
                          "description": "Has more result",
                          "type": "boolean"
                        },
                        "start": {
                          "description": "Start index",
                          "type": "integer"
                        },
                        "end": {
                          "description": "End index",
                          "type": "integer"
                        },
                        "keyword": {
                          "description": "Request keyword",
                          "type": "string"
                        },
                        "lon": {
                          "description": "Location of search parameter if specified",
                          "type": "number"
                        },
                        "lat": {
                          "description": "Location of search parameter if specified",
                          "type": "number"
                        }
                      }
                    },
                    "data": {
                      "description": "List of results",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "description": "Type of result",
                            "type": "string"
                          },
                          "id": {
                            "description": "Longdo Map ID",
                            "type": "string"
                          },
                          "name": {
                            "description": "Name",
                            "type": "string"
                          },
                          "lat": {
                            "description": "Latitude",
                            "type": "number"
                          },
                          "lon": {
                            "description": "Longitude",
                            "type": "number"
                          },
                          "icon": {
                            "description": "Icon image",
                            "type": "string"
                          },
                          "tag": {
                            "description": "List of tags",
                            "type": "array",
                            "items": {
                              "description": "Tag name",
                              "type": "string"
                            }
                          },
                          "url": {
                            "description": "Website",
                            "type": "string"
                          },
                          "address": {
                            "description": "Street address",
                            "type": "string"
                          },
                          "tel": {
                            "description": "Telephone number",
                            "type": "string"
                          },
                          "contributor": {
                            "description": "Last contributor",
                            "type": "string"
                          },
                          "verified": {
                            "description": "Is POI verified",
                            "type": "boolean"
                          },
                          "obsoleted": {
                            "description": "Is POI obsoleted",
                            "type": "boolean"
                          },
                          "distance": {
                            "description": "Distance from center in the same unit of span, if span is provided",
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/POIService/json/get": {
      "servers": [
        {
          "url": "https://api.longdo.com"
        }
      ],
      "parameters": [
        {
          "name": "id",
          "in": "query",
          "description": "Longdo Map ID. Accepts a Longdo POI ID (e.g. `A10000001`) or a dataset-prefixed ID (e.g. `OVM:P08f64a4b14aab98403c5fb2738f2e4e9`)",
          "required": true,
          "schema": {
            "type": "string",
            "example": "A10000001"
          }
        },
        {
          "$ref": "#/components/parameters/callback"
        }
      ],
      "get": {
        "tags": [
          "Place"
        ],
        "summary": "Get POI by ID",
        "description": "<label>Example</label><ul><li><a href=\"https://api.longdo.com/POIService/json/get?id=A10000001&key=fortestonlydonotuseinproduction!\" target=\"_blank\">By Longdo POI ID</a></li><li><a href=\"https://api.longdo.com/POIService/json/get?id=OVM:P08f64a4b14aab98403c5fb2738f2e4e9&key=fortestonlydonotuseinproduction!\" target=\"_blank\">By dataset ID (OVM)</a></li></ul>",
        "operationId": "GetPlaceById",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "keyword": {
                          "description": "Requested ID",
                          "type": "string"
                        }
                      }
                    },
                    "data": {
                      "description": "List of results",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "description": "Longdo Map ID",
                            "type": "string"
                          },
                          "name": {
                            "description": "Name",
                            "type": "string"
                          },
                          "lat": {
                            "description": "Latitude",
                            "type": "number"
                          },
                          "lon": {
                            "description": "Longitude",
                            "type": "number"
                          },
                          "icon": {
                            "description": "Icon image",
                            "type": "string"
                          },
                          "tag": {
                            "description": "List of tags",
                            "type": "array",
                            "items": {
                              "description": "Tag name",
                              "type": "string"
                            }
                          },
                          "type": {
                            "description": "Type of result",
                            "type": "string"
                          },
                          "url": {
                            "description": "Website",
                            "type": "string"
                          },
                          "address": {
                            "description": "Street address",
                            "type": "string"
                          },
                          "tel": {
                            "description": "Telephone number",
                            "type": "string"
                          },
                          "contributor": {
                            "description": "Last contributor",
                            "type": "string"
                          },
                          "verified": {
                            "description": "Is POI verified",
                            "type": "boolean"
                          },
                          "obsoleted": {
                            "description": "Is POI obsoleted",
                            "type": "boolean"
                          },
                          "working_hours": {
                            "description": "Working hours",
                            "type": "object",
                            "properties": {
                              "remark": {
                                "description": "Remark",
                                "type": "string"
                              },
                              "hours": {
                                "description": "List of working hours per day",
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "day": {
                                      "description": "Day of week (e.g. mon, tue)",
                                      "type": "string"
                                    },
                                    "start": {
                                      "description": "Opening time (HH:mm)",
                                      "type": "string"
                                    },
                                    "end": {
                                      "description": "Closing time (HH:mm)",
                                      "type": "string"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/POIService/json/cluster/{zoom}/{x}/{y}/{locale}": {
      "servers": [
        {
          "url": "https://api.longdo.com"
        }
      ],
      "parameters": [
        {
          "$ref": "#/components/parameters/zoom"
        },
        {
          "name": "x",
          "in": "path",
          "description": "Tile X coordinate at the given zoom level",
          "required": true,
          "schema": {
            "type": "integer",
            "example": 102140
          }
        },
        {
          "name": "y",
          "in": "path",
          "description": "Tile Y coordinate at the given zoom level",
          "required": true,
          "schema": {
            "type": "integer",
            "example": 60490
          }
        },
        {
          "$ref": "#/components/parameters/clusterLocale"
        },
        {
          "name": "tag[0]",
          "in": "query",
          "description": "Tag (% = all tags). The index `[0]` is required. To pass multiple values, either iterate the index (`tag[0]=shell&tag[1]=restaurant`) or use CSV within a single index (`tag[0]=shell,restaurant`).",
          "required": false,
          "schema": {
            "type": "string",
            "example": "shell,restaurant"
          }
        },
        {
          "$ref": "#/components/parameters/dataset0"
        },
        {
          "$ref": "#/components/parameters/iconlabel0"
        },
        {
          "$ref": "#/components/parameters/area0"
        },
        {
          "$ref": "#/components/parameters/callback"
        }
      ],
      "get": {
        "tags": [
          "Place"
        ],
        "summary": "Cluster (v3)",
        "description": "<label>Example</label><ul><li><a href=\"https://api.longdo.com/POIService/json/cluster/17/102140/60490/th?tag%5B0%5D=shell,restaurant&key=fortestonlydonotuseinproduction!\" target=\"_blank\">Minimum params</a></li><li><a href=\"https://api.longdo.com/POIService/json/cluster/17/102140/60490/th?tag%5B0%5D=shell&tag%5B1%5D=restaurant&iconlabel%5B0%5D=1&key=fortestonlydonotuseinproduction!\" target=\"_blank\">Multiple tags (iterate [0], [1]; CSV like tag[0]=shell,restaurant also works)</a></li></ul>",
        "operationId": "GetClusterV3",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "x": {
                          "description": "Tile X coordinate",
                          "type": "integer"
                        },
                        "y": {
                          "description": "Tile Y coordinate",
                          "type": "integer"
                        },
                        "z": {
                          "description": "Zoom level",
                          "type": "integer"
                        }
                      }
                    },
                    "data": {
                      "description": "List of results",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "description": "Longdo Map ID",
                            "type": "string"
                          },
                          "name": {
                            "description": "Name",
                            "type": "string"
                          },
                          "lat": {
                            "description": "Latitude",
                            "type": "number"
                          },
                          "lon": {
                            "description": "Longitude",
                            "type": "number"
                          },
                          "icon": {
                            "description": "Icon image",
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/POIService/json/cluster/{config}/{zoom}/{tilecode}/{locale}": {
      "servers": [
        {
          "url": "https://api.longdo.com"
        }
      ],
      "parameters": [
        {
          "name": "config",
          "in": "path",
          "description": "Config value, echoed back in `meta.config` (e.g. `%` or `epsg3857`).",
          "required": true,
          "schema": {
            "type": "string",
            "example": "%"
          }
        },
        {
          "$ref": "#/components/parameters/zoom"
        },
        {
          "name": "tilecode",
          "in": "path",
          "description": "Tile code at the given zoom level",
          "required": true,
          "schema": {
            "type": "string",
            "example": "7927598830"
          }
        },
        {
          "$ref": "#/components/parameters/clusterLocale"
        },
        {
          "name": "tag[0]",
          "in": "query",
          "description": "Tag (% = all tags). The index `[0]` is required. To pass multiple values, either iterate the index (`tag[0]=boat&tag[1]=electricity`) or use CSV within a single index (`tag[0]=boat,electricity`).",
          "required": false,
          "schema": {
            "type": "string",
            "example": "hotel,boat"
          }
        },
        {
          "$ref": "#/components/parameters/dataset0"
        },
        {
          "name": "iconmode[0]",
          "in": "query",
          "description": "Icon size mode (e.g. `small`, `big`). The index `[0]` is required.",
          "required": false,
          "schema": {
            "type": "string",
            "example": "small"
          }
        },
        {
          "$ref": "#/components/parameters/iconlabel0"
        },
        {
          "$ref": "#/components/parameters/area0"
        },
        {
          "$ref": "#/components/parameters/callback"
        }
      ],
      "get": {
        "tags": [
          "Place"
        ],
        "summary": "Cluster (v2)",
        "description": "<label>Example</label><ul><li><a href=\"https://api.longdo.com/POIService/json/cluster/%25/15/495641536/th?tag%5B0%5D=%25&iconmode%5B0%5D=small&iconlabel%5B0%5D=1&key=fortestonlydonotuseinproduction!\" target=\"_blank\">Minimum params</a></li><li><a href=\"https://api.longdo.com/POIService/json/cluster/%25/15/495641536/th?tag%5B0%5D=boat&tag%5B1%5D=electricity&iconmode%5B0%5D=small&iconmode%5B1%5D=big&iconlabel%5B0%5D=1&key=fortestonlydonotuseinproduction!\" target=\"_blank\">Multiple tags (iterate [0], [1]; CSV like tag[0]=boat,electricity also works)</a></li></ul>",
        "operationId": "GetClusterV2",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "x": {
                          "description": "Tile X coordinate",
                          "type": "string"
                        },
                        "y": {
                          "description": "Tile Y coordinate",
                          "type": "string"
                        },
                        "z": {
                          "description": "Zoom level",
                          "type": "integer"
                        },
                        "config": {
                          "description": "Requested tag configuration",
                          "type": "string"
                        }
                      }
                    },
                    "data": {
                      "description": "List of results",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "description": "Longdo Map ID",
                            "type": "string"
                          },
                          "name": {
                            "description": "Name",
                            "type": "string"
                          },
                          "lat": {
                            "description": "Latitude",
                            "type": "number"
                          },
                          "lon": {
                            "description": "Longitude",
                            "type": "number"
                          },
                          "icon": {
                            "description": "Icon image",
                            "type": "string"
                          },
                          "label": {
                            "description": "Icon label flag",
                            "type": "integer"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/smartsearch/json/extract_address/v2": {
      "servers": [
        {
          "url": "https://search.longdo.com"
        }
      ],
      "parameters": [
        {
          "name": "text",
          "in": "query",
          "description": "Address text for extract location",
          "required": true,
          "schema": {
            "type": "string",
            "example": "ถนนสุขุมวิท กรุงเทพมหานคร"
          }
        },
        {
          "name": "correction",
          "in": "query",
          "description": "If set to 1, enable text correction mode (Default: 1)",
          "required": false,
          "schema": {
            "type": "integer"
          }
        },
        {
          "name": "censor",
          "in": "query",
          "description": "If set to 1, telephone and email will be removed from response remark (Default: 0)",
          "required": false,
          "schema": {
            "type": "integer"
          }
        },
        {
          "$ref": "#/components/parameters/locale"
        }
      ],
      "get": {
        "tags": [
          "Address"
        ],
        "summary": "Extract address",
        "description": "ExampleMinimum paramsNo correctionCensor",
        "operationId": "GetExtractAddress",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "input": {
                          "description": "Text input",
                          "type": "string"
                        },
                        "remark": {
                          "description": "Remaining text after address extraction",
                          "type": "string"
                        },
                        "locale": {
                          "description": "Language in ISO 639-1 format",
                          "type": "string"
                        }
                      }
                    },
                    "data": {
                      "description": "List of results",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "house_no": {
                            "description": "House number",
                            "type": "string"
                          },
                          "floor": {
                            "description": "Floor",
                            "type": "string"
                          },
                          "room": {
                            "description": "Room number",
                            "type": "string"
                          },
                          "moo": {
                            "description": "Village number",
                            "type": "string"
                          },
                          "place": {
                            "description": "Place",
                            "$ref": "#/components/schemas/AddressInfo"
                          },
                          "building": {
                            "description": "Building",
                            "$ref": "#/components/schemas/AddressInfo"
                          },
                          "condominium": {
                            "description": "Condominium",
                            "$ref": "#/components/schemas/AddressInfo"
                          },
                          "village": {
                            "description": "Gated community",
                            "$ref": "#/components/schemas/AddressInfo"
                          },
                          "village_official": {
                            "description": "Village",
                            "$ref": "#/components/schemas/AddressInfo"
                          },
                          "sublane": {
                            "description": "Narrow alley",
                            "$ref": "#/components/schemas/AddressInfo"
                          },
                          "alley": {
                            "description": "Alley",
                            "$ref": "#/components/schemas/AddressInfo"
                          },
                          "road": {
                            "description": "Road",
                            "$ref": "#/components/schemas/AddressInfo"
                          },
                          "subdistrict": {
                            "description": "Subdistrict",
                            "$ref": "#/components/schemas/AddressInfo"
                          },
                          "district": {
                            "description": "District",
                            "$ref": "#/components/schemas/AddressInfo"
                          },
                          "province": {
                            "description": "Province",
                            "$ref": "#/components/schemas/AddressInfo"
                          },
                          "postcode": {
                            "description": "Postcode",
                            "type": "string"
                          },
                          "country": {
                            "description": "Country",
                            "type": "string"
                          },
                          "confidence": {
                            "description": "Score",
                            "type": "number"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/addresslookup/api/addr/geocoding": {
      "servers": [
        {
          "url": "https://search.longdo.com"
        }
      ],
      "parameters": [
        {
          "name": "text",
          "in": "query",
          "description": "Address text for search location",
          "required": true,
          "schema": {
            "type": "string",
            "example": "ถนนสุขุมวิท กรุงเทพมหานคร"
          }
        },
        {
          "name": "dataset",
          "in": "query",
          "description": "Additional dataset",
          "required": false,
          "schema": {
            "type": "string"
          }
        }
      ],
      "get": {
        "tags": [
          "Address"
        ],
        "summary": "Geocoding",
        "description": "ExampleMinimum paramsblog",
        "operationId": "GetGeocoding",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "List of results",
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "confidence": {
                        "description": "Score",
                        "type": "number"
                      },
                      "location": {
                        "description": "Location",
                        "type": "object",
                        "properties": {
                          "point": {
                            "description": "Building",
                            "$ref": "#/components/schemas/AddressInfo"
                          },
                          "houseno": {
                            "description": "House number",
                            "type": "string"
                          },
                          "road": {
                            "description": "Road",
                            "$ref": "#/components/schemas/AddressInfo"
                          },
                          "village": {
                            "description": "Village name",
                            "$ref": "#/components/schemas/AddressInfo"
                          },
                          "moo": {
                            "description": "Village number",
                            "type": "string"
                          },
                          "subdistrict": {
                            "description": "Subdistrict (tambon, khwaeng)",
                            "$ref": "#/components/schemas/AddressInfo"
                          },
                          "district": {
                            "description": "District (amphoe, khet)",
                            "$ref": "#/components/schemas/AddressInfo"
                          },
                          "province": {
                            "description": "Province",
                            "$ref": "#/components/schemas/AddressInfo"
                          },
                          "zipcode": {
                            "description": "Zipcode",
                            "type": "string"
                          }
                        }
                      },
                      "point": {
                        "description": "Possible location",
                        "type": "array",
                        "items": {
                          "$ref": "#/components/schemas/Location"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/map/services/address": {
      "servers": [
        {
          "url": "https://api.longdo.com"
        }
      ],
      "parameters": [
        {
          "name": "id",
          "in": "query",
          "description": "Search with Longdo Map ID (illustrative example only — not guaranteed to be a valid/current value)",
          "required": false,
          "schema": {
            "type": "string",
            "example": "L00099658"
          }
        },
        {
          "name": "lon",
          "in": "query",
          "description": "Search with longitude if id isn't provide",
          "required": false,
          "schema": {
            "type": "number",
            "example": 100.5383
          }
        },
        {
          "name": "lat",
          "in": "query",
          "description": "Search with latitude if id isn't provide",
          "required": false,
          "schema": {
            "type": "number",
            "example": 13.7649
          }
        },
        {
          "$ref": "#/components/parameters/locale"
        },
        {
          "$ref": "#/components/parameters/noadmin"
        },
        {
          "$ref": "#/components/parameters/nopostcode"
        },
        {
          "$ref": "#/components/parameters/noelevation"
        },
        {
          "$ref": "#/components/parameters/noroad"
        },
        {
          "$ref": "#/components/parameters/noaoi"
        },
        {
          "$ref": "#/components/parameters/nowater"
        },
        {
          "$ref": "#/components/parameters/callback"
        }
      ],
      "get": {
        "tags": [
          "Address"
        ],
        "summary": "Reverse geocoding",
        "description": "ExampleWith idWith lat/lon, road only",
        "operationId": "GetReverseGeocoding",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReverseGeocodingResult"
                }
              }
            }
          }
        }
      }
    },
    "/map/services/addresses": {
      "servers": [
        {
          "url": "https://api.longdo.com"
        }
      ],
      "parameters": [
        {
          "name": "lon[]",
          "in": "query",
          "description": "Search with longitude, up to 100 coordinates (Optional)",
          "required": false,
          "schema": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "example": [
              100.5383,
              100.5998
            ]
          },
          "explode": true
        },
        {
          "name": "lat[]",
          "in": "query",
          "description": "Search with latitude, up to 100 coordinates (Optional)",
          "required": false,
          "schema": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "example": [
              13.7649,
              13.5991
            ]
          },
          "explode": true
        },
        {
          "name": "wkt",
          "in": "query",
          "description": "Search with well-known text if lon/lat isn't provide, show only admin in the response (Optional)",
          "required": false,
          "schema": {
            "type": "string",
            "example": "POINT(100.5383 13.7649)"
          }
        },
        {
          "$ref": "#/components/parameters/locale"
        },
        {
          "$ref": "#/components/parameters/noadmin"
        },
        {
          "$ref": "#/components/parameters/nopostcode"
        },
        {
          "$ref": "#/components/parameters/noelevation"
        },
        {
          "$ref": "#/components/parameters/noroad"
        },
        {
          "$ref": "#/components/parameters/noaoi"
        },
        {
          "$ref": "#/components/parameters/nowater"
        },
        {
          "$ref": "#/components/parameters/callback"
        }
      ],
      "get": {
        "tags": [
          "Address"
        ],
        "summary": "Batch reverse geocoding",
        "description": "ExampleSearch 2 locations without elevationSearch with WKT",
        "operationId": "GetBatchReverseGeocoding",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "List of results",
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReverseGeocodingResult"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/POIService/json/address": {
      "servers": [
        {
          "url": "https://api.longdo.com"
        }
      ],
      "parameters": [
        {
          "name": "geocode",
          "in": "query",
          "description": "Search with geocode (Optional)",
          "required": false,
          "schema": {
            "type": "string",
            "example": "10"
          }
        },
        {
          "name": "postcode",
          "in": "query",
          "description": "Search with postcode if geocode isn't provide (Optional)",
          "required": false,
          "schema": {
            "type": "string"
          }
        },
        {
          "$ref": "#/components/parameters/locale"
        },
        {
          "$ref": "#/components/parameters/callback"
        }
      ],
      "get": {
        "tags": [
          "Address"
        ],
        "summary": "Geocode / Postcode",
        "description": "ExampleWith geocodeWith postcode, Result in English",
        "operationId": "GetGeocodePostcode",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "geocode": {
                      "description": "Geocode",
                      "type": "string"
                    },
                    "province": {
                      "description": "Province",
                      "type": "string"
                    },
                    "district": {
                      "description": "District",
                      "type": "string"
                    },
                    "subdistrict": {
                      "description": "Subdistrict",
                      "type": "string"
                    },
                    "lat": {
                      "description": "Latitude",
                      "type": "number"
                    },
                    "lon": {
                      "description": "Longitude",
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/RouteService/json/route/guide": {
      "servers": [
        {
          "url": "https://api.longdo.com"
        }
      ],
      "parameters": [
        {
          "$ref": "#/components/parameters/flon"
        },
        {
          "$ref": "#/components/parameters/flat"
        },
        {
          "$ref": "#/components/parameters/tlon"
        },
        {
          "$ref": "#/components/parameters/tlat"
        },
        {
          "$ref": "#/components/parameters/routeMode"
        },
        {
          "$ref": "#/components/parameters/routeType"
        },
        {
          "$ref": "#/components/parameters/routeRestrict"
        },
        {
          "$ref": "#/components/parameters/locale"
        },
        {
          "$ref": "#/components/parameters/time"
        },
        {
          "$ref": "#/components/parameters/maxresult"
        },
        {
          "$ref": "#/components/parameters/callback"
        }
      ],
      "get": {
        "tags": [
          "Route"
        ],
        "summary": "Calculate route",
        "description": "ExampleMinimum paramsAvoid traffic mode, Use road/ferry/tollway, Result in Thai",
        "operationId": "GetCalculateRoute",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "from": {
                          "description": "Starting point",
                          "$ref": "#/components/schemas/Location"
                        },
                        "to": {
                          "description": "Destination",
                          "$ref": "#/components/schemas/Location"
                        },
                        "config": {
                          "description": "Request parameters",
                          "type": "string"
                        }
                      }
                    },
                    "data": {
                      "description": "List of results",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "fdistance": {
                            "description": "Distance from starting point to nearest road in meters",
                            "type": "number"
                          },
                          "tdistance": {
                            "description": "Distance from nearest road to destination in meters",
                            "type": "number"
                          },
                          "distance": {
                            "description": "Distance in meters",
                            "type": "integer"
                          },
                          "interval": {
                            "description": "Travel time in seconds",
                            "type": "integer"
                          },
                          "id": {
                            "description": "Path ID for Get route path API",
                            "type": "integer"
                          },
                          "guide": {
                            "description": "List of roads",
                            "type": "array",
                            "items": {
                              "description": "Road",
                              "$ref": "#/components/schemas/GuideRoute"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/RouteService/json/route/path": {
      "servers": [
        {
          "url": "https://api.longdo.com"
        }
      ],
      "parameters": [
        {
          "name": "id",
          "in": "query",
          "description": "Path ID from Calculate route API (illustrative example only — not guaranteed to be a valid/current value)",
          "required": true,
          "schema": {
            "type": "integer",
            "example": 22255908
          }
        }
      ],
      "get": {
        "tags": [
          "Route"
        ],
        "summary": "Get route path",
        "operationId": "GetRoutePath",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "id": {
                          "description": "Request path ID",
                          "type": "integer"
                        }
                      }
                    },
                    "data": {
                      "description": "List of results, same index as Calculate route API",
                      "type": "array",
                      "items": {
                        "description": "Road line",
                        "type": "array",
                        "items": {
                          "$ref": "#/components/schemas/Location"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/RouteService/geojson/route": {
      "servers": [
        {
          "url": "https://api.longdo.com"
        }
      ],
      "parameters": [
        {
          "$ref": "#/components/parameters/flon"
        },
        {
          "$ref": "#/components/parameters/flat"
        },
        {
          "$ref": "#/components/parameters/tlon"
        },
        {
          "$ref": "#/components/parameters/tlat"
        },
        {
          "$ref": "#/components/parameters/routeMode"
        },
        {
          "$ref": "#/components/parameters/routeType"
        },
        {
          "$ref": "#/components/parameters/routeRestrict"
        },
        {
          "$ref": "#/components/parameters/locale"
        },
        {
          "$ref": "#/components/parameters/time"
        },
        {
          "$ref": "#/components/parameters/maxresult"
        },
        {
          "$ref": "#/components/parameters/callback"
        }
      ],
      "get": {
        "tags": [
          "Route"
        ],
        "summary": "Get Calculate route in GeoJSON",
        "description": "ExampleMinimum paramsMinimum distance mode, Use road/tollway, Result in Thai",
        "operationId": "GetCalculateRouteInGeoJSON",
        "responses": {
          "200": {
            "content": {
              "application/geo+json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "example": "FeatureCollection"
                    },
                    "features": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "description": "Result",
                            "type": "string",
                            "example": "Feature"
                          },
                          "geometry": {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "example": "LineString"
                              },
                              "coordinates": {
                                "type": "array",
                                "items": {
                                  "description": "[ longitude, latitude ]",
                                  "type": "array",
                                  "items": {
                                    "type": "number"
                                  },
                                  "example": [
                                    100.537323,
                                    13.724069
                                  ],
                                  "minItems": 2,
                                  "maxItems": 2
                                }
                              }
                            }
                          },
                          "properties": {
                            "$ref": "#/components/schemas/GuideRoute"
                          }
                        }
                      }
                    },
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "from": {
                          "description": "Starting point",
                          "$ref": "#/components/schemas/Location"
                        },
                        "to": {
                          "description": "Destination",
                          "$ref": "#/components/schemas/Location"
                        },
                        "config": {
                          "description": "Request parameters",
                          "type": "string"
                        }
                      }
                    },
                    "data": {
                      "description": "Routing data",
                      "type": "object",
                      "properties": {
                        "fdistance": {
                          "description": "Distance from starting point to nearest road in meters",
                          "type": "number"
                        },
                        "tdistance": {
                          "description": "Distance from nearest road to destination in meters",
                          "type": "number"
                        },
                        "distance": {
                          "description": "Distance in meters",
                          "type": "integer"
                        },
                        "interval": {
                          "description": "Travel time in seconds",
                          "type": "integer"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/RouteService/json/route/matrix": {
      "servers": [
        {
          "url": "https://api.longdo.com"
        }
      ],
      "parameters": [
        {
          "name": "flon[0]",
          "in": "query",
          "description": "Longitude of starting point #1. Each point is its own indexed key: flon[0], flon[1], … up to flon[24] (25 points).",
          "required": true,
          "schema": {
            "type": "number",
            "example": 100.5383
          }
        },
        {
          "name": "flon[1]",
          "in": "query",
          "description": "Longitude of starting point #2. Add flon[2], flon[3], … for more points (up to flon[24]).",
          "required": true,
          "schema": {
            "type": "number",
            "example": 100.5602
          }
        },
        {
          "name": "flat[0]",
          "in": "query",
          "description": "Latitude of starting point #1. Each point is its own indexed key: flat[0], flat[1], … up to flat[24] (25 points).",
          "required": true,
          "schema": {
            "type": "number",
            "example": 13.7649
          }
        },
        {
          "name": "flat[1]",
          "in": "query",
          "description": "Latitude of starting point #2. Add flat[2], flat[3], … for more points (up to flat[24]).",
          "required": true,
          "schema": {
            "type": "number",
            "example": 13.7367
          }
        },
        {
          "name": "tlon[0]",
          "in": "query",
          "description": "Longitude of destination #1. Each point is its own indexed key: tlon[0], tlon[1], … up to tlon[24] (25 points).",
          "required": true,
          "schema": {
            "type": "number",
            "example": 100.5998
          }
        },
        {
          "name": "tlon[1]",
          "in": "query",
          "description": "Longitude of destination #2. Add tlon[2], tlon[3], … for more points (up to tlon[24]).",
          "required": true,
          "schema": {
            "type": "number",
            "example": 100.6023
          }
        },
        {
          "name": "tlat[0]",
          "in": "query",
          "description": "Latitude of destination #1. Each point is its own indexed key: tlat[0], tlat[1], … up to tlat[24] (25 points).",
          "required": true,
          "schema": {
            "type": "number",
            "example": 13.5991
          }
        },
        {
          "name": "tlat[1]",
          "in": "query",
          "description": "Latitude of destination #2. Add tlat[2], tlat[3], … for more points (up to tlat[24]).",
          "required": true,
          "schema": {
            "type": "number",
            "example": 13.669
          }
        },
        {
          "$ref": "#/components/parameters/routeMode"
        },
        {
          "$ref": "#/components/parameters/routeType"
        },
        {
          "$ref": "#/components/parameters/routeRestrict"
        },
        {
          "$ref": "#/components/parameters/locale"
        },
        {
          "$ref": "#/components/parameters/time"
        },
        {
          "$ref": "#/components/parameters/callback"
        }
      ],
      "get": {
        "tags": [
          "Route"
        ],
        "summary": "Calculate route matrix",
        "description": "ExampleMinimum params 2x2 matrix",
        "operationId": "GetCalculateRouteMatrix",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "fromCount": {
                          "description": "Number of starting points",
                          "type": "integer"
                        },
                        "toCount": {
                          "description": "Number of destinations",
                          "type": "integer"
                        }
                      }
                    },
                    "data": {
                      "description": "2D List of results for each starting points and destinations",
                      "type": "array",
                      "items": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "interval": {
                              "description": "Travel time in seconds",
                              "type": "integer"
                            },
                            "distance": {
                              "description": "Distance in meters",
                              "type": "integer"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/RouteService/json/route/snap": {
      "servers": [
        {
          "url": "https://api.longdo.com"
        }
      ],
      "parameters": [
        {
          "name": "wkt",
          "in": "query",
          "description": "LineString Well-known text",
          "required": false,
          "schema": {
            "type": "string",
            "example": "LINESTRING(100.5383 13.7649, 100.5602 13.7367, 100.5998 13.5991)"
          }
        }
      ],
      "get": {
        "tags": [
          "Route"
        ],
        "summary": "Snap to road",
        "description": "ExampleExample 1",
        "operationId": "GetSnapToRoad",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Snap points for each WKT coordinated",
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Location"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/RouteService/json/traffic/speed": {
      "servers": [
        {
          "url": "https://api.longdo.com"
        }
      ],
      "parameters": [
        {
          "name": "lon",
          "in": "query",
          "description": "Longitude",
          "required": true,
          "schema": {
            "type": "number",
            "example": 100.5383
          }
        },
        {
          "name": "lat",
          "in": "query",
          "description": "Latitude",
          "required": true,
          "schema": {
            "type": "number",
            "example": 13.7649
          }
        },
        {
          "name": "range",
          "in": "query",
          "description": "Search range in degree (Default: 0.001, Max: 0.001 ~100m)",
          "required": false,
          "schema": {
            "type": "number"
          }
        },
        {
          "$ref": "#/components/parameters/locale"
        },
        {
          "name": "time",
          "in": "query",
          "description": "Set to get predicted data (Default: now, Past time is invalid)",
          "required": false,
          "schema": {
            "type": "integer",
            "example": 2419286400
          }
        },
        {
          "$ref": "#/components/parameters/callback"
        }
      ],
      "get": {
        "tags": [
          "Route"
        ],
        "summary": "Traffic speed",
        "description": "ExampleMinimum paramsNo traffic data",
        "operationId": "GetTrafficSpeed",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "road": {
                      "description": "Road name",
                      "type": "string"
                    },
                    "dir": {
                      "description": "Direction related to road geometry (forward / reverse)",
                      "type": "string"
                    },
                    "speed": {
                      "description": "Speed in m/s",
                      "type": "number"
                    },
                    "source": {
                      "description": "Source of data (real-time / predicted)",
                      "type": "string"
                    },
                    "lon": {
                      "description": "Nearest position on road",
                      "type": "number"
                    },
                    "lat": {
                      "description": "Nearest position on road",
                      "type": "number"
                    },
                    "meta": {
                      "description": "Error code and message if no data found at the request location",
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "integer"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/RouteService/json/span/get": {
      "servers": [
        {
          "url": "https://api.longdo.com"
        }
      ],
      "parameters": [
        {
          "name": "flon",
          "in": "query",
          "description": "Longitude of the starting point",
          "required": true,
          "schema": {
            "type": "number",
            "example": 100.5383
          }
        },
        {
          "name": "flat",
          "in": "query",
          "description": "Latitude of the starting point",
          "required": true,
          "schema": {
            "type": "number",
            "example": 13.7649
          }
        },
        {
          "name": "span",
          "in": "query",
          "description": "Span with unit in m (meters, up to 30000m) or s (second, up to 1800s)",
          "required": false,
          "schema": {
            "type": "string",
            "example": "1000m"
          }
        },
        {
          "$ref": "#/components/parameters/spanFlag"
        },
        {
          "$ref": "#/components/parameters/callback"
        }
      ],
      "get": {
        "tags": [
          "Route"
        ],
        "summary": "Get span area",
        "description": "ExampleMinimum paramsOnly boundary",
        "operationId": "GetSpanArea",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "from": {
                      "description": "Starting point",
                      "$ref": "#/components/schemas/Location"
                    },
                    "dir": {
                      "description": "Direction related to road geometry (forward / reverse)",
                      "type": "string"
                    },
                    "lines": {
                      "description": "Road lines",
                      "type": "array",
                      "items": {
                        "type": "array",
                        "items": {
                          "$ref": "#/components/schemas/Location"
                        }
                      }
                    },
                    "polygon": {
                      "description": "Boundary of span)",
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Location"
                      }
                    },
                    "meta": {
                      "description": "Error code and message if no data found at the request location",
                      "type": "object",
                      "properties": {
                        "status": {
                          "type": "integer"
                        },
                        "message": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/route-tsp-v2": {
      "servers": [
        {
          "url": "https://api.longdo.com"
        }
      ],
      "post": {
        "tags": [
          "Route"
        ],
        "summary": "TSP (Travelling Salesman Problem) - Route Planner",
        "description": "ExampleBlog",
        "operationId": "GetRoutePlanner",
        "requestBody": {
          "required": true,
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "required": [
                  "lon",
                  "lat"
                ],
                "properties": {
                  "lon": {
                    "description": "Longitude list",
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "example": [
                      100.5383,
                      100.5602,
                      100.5998
                    ]
                  },
                  "lat": {
                    "description": "Latitude list",
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "example": [
                      13.7649,
                      13.7367,
                      13.5991
                    ]
                  },
                  "cost": {
                    "description": "Cost (Default: false) true = time_step and distance_step details will be includedfalse = Only the optimal path without additional information will be returned",
                    "type": "boolean",
                    "example": false
                  },
                  "otsp": {
                    "description": "Is Open Loop TSP (Default: false ) true = Return to start/first pointfalse = Do not return to start/first point",
                    "type": "boolean",
                    "example": false
                  },
                  "mode": {
                    "description": "Search mode Available valueDescriptiont (default)Fastest route and avoid traffic congestions, with the real-time or predicted traffic condition (if time is specified)cFastest route (disregarding traffic condition), return static travel timedShortest route, return static travel timeeShortest route, return travel time with traffic condition",
                    "type": "string",
                    "enum": [
                      "t",
                      "c",
                      "d",
                      "e"
                    ],
                    "default": "t",
                    "example": "t"
                  }
                }
              },
              "encoding": {
                "lon": {
                  "style": "form",
                  "explode": true
                },
                "lat": {
                  "style": "form",
                  "explode": true
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "status": {
                      "description": "HTTP status code indicating the success or failure of the request",
                      "type": "integer"
                    },
                    "message": {
                      "description": "Description of the status",
                      "type": "string"
                    },
                    "otsp": {
                      "description": "Indicating whether the route is an Open Loop TSP (OTSP) \"0\" = Do not return to start/first point, \"1\" = Return to start/first point",
                      "type": "string"
                    },
                    "mode": {
                      "description": "Route search mode Available valueDescriptiont (default)Fastest route and avoid traffic congestions, with the real-time or predicted traffic condition (if time is specified)cFastest route (disregarding traffic condition), return static travel timedShortest route, return static travel timeeShortest route, return travel time with traffic condition",
                      "type": "string"
                    },
                    "body": {
                      "description": "Contains detailed information about the route",
                      "type": "object",
                      "properties": {
                        "sequence": {
                          "description": "Ordered list of indices representing the sequence in which locations should be visited. The sequence is circular, ending where it began",
                          "type": "array",
                          "items": {
                            "type": "integer"
                          }
                        },
                        "location": {
                          "description": "Array of objects, each containing latitude (lat) and longitude (lon) of a specific location",
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/Location"
                          }
                        },
                        "total_distance": {
                          "description": "Total distance (meter) of the optimal route",
                          "type": "integer"
                        },
                        "total_time": {
                          "description": "Total time (second) required to traverse the optimal route",
                          "type": "integer"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/ws/route/location": {
      "servers": [
        {
          "url": "https://map.longdo.com"
        }
      ],
      "parameters": [
        {
          "name": "route_no",
          "in": "query",
          "description": "หมายเลขทางหลวง (Route number) (illustrative example only — not guaranteed to be a valid/current value)",
          "required": true,
          "schema": {
            "type": "integer",
            "example": 101
          }
        },
        {
          "name": "km",
          "in": "query",
          "description": "ตำแหน่งหลักกิโลเมตร (Kilometre marker) (illustrative example only — not guaranteed to be a valid/current value)",
          "required": true,
          "schema": {
            "type": "number",
            "example": 15
          }
        }
      ],
      "get": {
        "tags": [
          "Extra"
        ],
        "summary": "สืบค้นข้อมูลพิกัดจากหมายเลขทางหลวง และหลักกิโลเมตร (Get location by route no.)",
        "description": "ExampleMinimum params",
        "operationId": "GetLocationByRouteNo",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "ข้อมูลผลลัพธ์ (Object of results)",
                      "type": "object",
                      "properties": {
                        "route_no": {
                          "type": "string",
                          "description": "หมายเลขทางหลวง (Route number)"
                        },
                        "road_name": {
                          "type": "string",
                          "description": "ชื่อถนน (Road name)"
                        },
                        "km": {
                          "type": "string",
                          "description": "ตำแหน่งหลักกิโลเมตร (Kilometre marker)"
                        },
                        "km_start": {
                          "type": "string",
                          "description": "กิโลเมตรเริ่มต้นของทางหลวง (Begin Kilometre marker)"
                        },
                        "km_end": {
                          "type": "string",
                          "description": "กิโลเมตรสิ้นสุดของทางหลวง (End Kilometre marker)"
                        },
                        "lat": {
                          "type": "string",
                          "description": "ละติจูดของตำแหน่งหลักกิโลเมตร (Latitude)"
                        },
                        "lon": {
                          "type": "string",
                          "description": "ลองจิจูดของตำแหน่งหลักกิโลเมตร (Longitude)"
                        },
                        "source": {
                          "type": "string",
                          "description": "ที่มาของข้อมูล (Data source) - DOH: กรมทางหลวง, DRR: กรมทางหลวงชนบท"
                        }
                      }
                    },
                    "status": {
                      "description": "สถานะของผลลัพธ์ (Response status)",
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "HTTP response status codes"
                        },
                        "error_code": {
                          "type": "string",
                          "description": "รหัสของความผิดพลาด (Error code)"
                        },
                        "text": {
                          "type": "string",
                          "description": "คำอธิบายความผิดพลาด (Error message)"
                        },
                        "details": {
                          "type": "string",
                          "description": "รายละเอียดของความผิดพลาด (Error details)"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/ws/route/name": {
      "servers": [
        {
          "url": "https://map.longdo.com"
        }
      ],
      "parameters": [
        {
          "name": "lat",
          "in": "query",
          "description": "ละติจูด (Latitude)",
          "required": true,
          "schema": {
            "type": "number",
            "example": 13.7649
          }
        },
        {
          "name": "lon",
          "in": "query",
          "description": "ลองจิจูด (Longitude)",
          "required": true,
          "schema": {
            "type": "number",
            "example": 100.5383
          }
        }
      ],
      "get": {
        "tags": [
          "Extra"
        ],
        "summary": "สืบค้นข้อมูลหมายเลขทางหลวง และหลักกิโลเมตร จากพิกัดทางภูมิศาสตร์ (ละติจูด, ลองจิจูด) (Get route by location)",
        "description": "ExampleMinimum params",
        "operationId": "GetRouteByLocation",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "ข้อมูลผลลัพธ์ (Object of results)",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "route_no": {
                            "type": "string",
                            "description": "หมายเลขทางหลวง (Route number)"
                          },
                          "road_name": {
                            "type": "string",
                            "description": "ชื่อถนน (Road name)"
                          },
                          "km": {
                            "type": "string",
                            "description": "ตำแหน่งหลักกิโลเมตร (Kilometre marker)"
                          },
                          "distance": {
                            "type": "string",
                            "description": "ระยะห่างของหลักกิโลเมตรและพิกัดทางภูมิศาสตร์ [หน่วยเป็นเมตร] (Distance from input location [Unit: metre])"
                          },
                          "source": {
                            "type": "string",
                            "description": "ที่มาของข้อมูล (Data source) - DOH: กรมทางหลวง, DRR: กรมทางหลวงชนบท"
                          }
                        }
                      }
                    },
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "span": {
                          "type": "string",
                          "description": "รัศมีในการสืบค้น [หน่วยเป็น m:เมตร, deg:องศา] (Span [in m:metres, deg:degrees])"
                        },
                        "max_span_m": {
                          "type": "string",
                          "description": "รัศมีที่กำหนดไว้สูงสุดในการสืบค้น [เมตร] (Maximum span value in metres)"
                        },
                        "max_span_deg": {
                          "type": "string",
                          "description": "รัศมีที่กำหนดไว้สูงสุดในการสืบค้น [องศา] (Maximum span value in degrees)"
                        }
                      }
                    },
                    "status": {
                      "description": "สถานะของผลลัพธ์ (Response status)",
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "HTTP response status codes"
                        },
                        "error_code": {
                          "type": "string",
                          "description": "รหัสของความผิดพลาด (Error code)"
                        },
                        "text": {
                          "type": "string",
                          "description": "คำอธิบายความผิดพลาด (Error message)"
                        },
                        "details": {
                          "type": "string",
                          "description": "รายละเอียดของความผิดพลาด (Error details)"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/ws/route/profile": {
      "servers": [
        {
          "url": "https://map.longdo.com"
        }
      ],
      "get": {
        "summary": "โปรไฟล์ถนนที่ใกล้จุดที่ระบุที่สุด",
        "description": "คืนโปรไฟล์ถนนที่ใกล้จุดที่ระบุที่สุด (ค้นหาในรัศมี 500 เมตร) พร้อมข้อมูลความชัน (steep), ทางโค้ง (curve) และทางแยก (intersection)<br><label>Example</label><ul><li><a href=\"https://map.longdo.com/ws/route/profile?lat=13.7563&lon=100.5018&key=fortestonlydonotuseinproduction!\" target=\"_blank\">Minimum params</a></li></ul>",
        "operationId": "GetRouteProfile",
        "tags": [
          "Route"
        ],
        "parameters": [
          {
            "name": "lat",
            "in": "query",
            "required": true,
            "description": "ละติจูดของจุดที่ค้นหา (-90 ถึง 90)",
            "schema": {
              "type": "number",
              "minimum": -90,
              "maximum": 90
            },
            "example": 13.7563
          },
          {
            "name": "lon",
            "in": "query",
            "required": true,
            "description": "ลองจิจูดของจุดที่ค้นหา (-180 ถึง 180)",
            "schema": {
              "type": "number",
              "minimum": -180,
              "maximum": 180
            },
            "example": 100.5018
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "จำนวนถนนที่คืนค่า (ค่าเริ่มต้น 1, ปรับอัตโนมัติให้อยู่ในช่วง 1–5)",
            "schema": {
              "type": "integer",
              "default": 1
            },
            "example": 1
          },
          {
            "name": "steep_threshold",
            "in": "query",
            "required": false,
            "description": "เกณฑ์ความชัน (%) ที่ถือว่าเป็นทางชัน (ค่าเริ่มต้น 8.0)",
            "schema": {
              "type": "number",
              "default": 8
            },
            "example": 8
          },
          {
            "name": "curve_sinuosity",
            "in": "query",
            "required": false,
            "description": "เกณฑ์ค่าความคดเคี้ยวที่ถือว่าเป็นทางโค้ง (ระยะถนนจาก A ไป B / การกระจัดบน 2 มิติจาก A ไป B ) (ค่าเริ่มต้น 1.003)",
            "schema": {
              "type": "number",
              "default": 1.003
            },
            "example": 1.003
          },
          {
            "name": "inters_dist_m",
            "in": "query",
            "required": false,
            "description": "ระยะถึงจุดปลายถนนที่ถือว่าใกล้ทางแยก (เมตร) (ค่าเริ่มต้น 30)",
            "schema": {
              "type": "number",
              "default": 30
            },
            "example": 30
          },
          {
            "name": "inters_min_roads",
            "in": "query",
            "required": false,
            "description": "จำนวนถนนขั้นต่ำที่จุดปลายที่ถือว่าเป็นทางแยก (ค่าเริ่มต้น 3)",
            "schema": {
              "type": "integer",
              "default": 3
            },
            "example": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Result",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "Result",
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "query": {
                          "description": "จุดที่ค้นหา",
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "description": "\"FeatureCollection\""
                            },
                            "features": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "description": "\"Feature\""
                                  },
                                  "properties": {
                                    "type": "object",
                                    "description": "ว่าง"
                                  },
                                  "geometry": {
                                    "type": "object",
                                    "description": "จุด (Point) ของตำแหน่งที่ค้นหา",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "description": "\"Point\""
                                      },
                                      "coordinates": {
                                        "type": "array",
                                        "description": "พิกัด [lon, lat, ระดับความสูง(ถ้ามี)]",
                                        "items": {
                                          "type": "number"
                                        },
                                        "minItems": 2,
                                        "maxItems": 3
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "result": {
                          "description": "รายการถนนที่ใกล้ที่สุด (สูงสุดตามค่า limit)",
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "road": {
                                "description": "ถนน (GeoJSON FeatureCollection)",
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "description": "\"FeatureCollection\""
                                  },
                                  "features": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "description": "\"Feature\""
                                        },
                                        "properties": {
                                          "description": "ข้อมูลและลักษณะของถนน",
                                          "type": "object",
                                          "properties": {
                                            "gid": {
                                              "type": "integer",
                                              "description": "Field gid"
                                            },
                                            "road_id": {
                                              "type": "integer",
                                              "description": "id ของถนน"
                                            },
                                            "name_en": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "description": "ชื่อถนน (อังกฤษ)"
                                            },
                                            "name_th": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "description": "ชื่อถนน (ไทย)"
                                            },
                                            "alt_name_en": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "description": "ชื่อรอง (อังกฤษ)"
                                            },
                                            "alt_name_th": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "description": "ชื่อรอง (ไทย)"
                                            },
                                            "route_no": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "description": "หมายเลขเส้นทาง"
                                            },
                                            "highway_no": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "description": "หมายเลขทางหลวงอาเซียน"
                                            },
                                            "road_class": {
                                              "type": "integer",
                                              "description": "ประเภทถนน"
                                            },
                                            "road_class_label": {
                                              "type": "string",
                                              "description": "ชื่อประเภทถนน (อังกฤษ)"
                                            },
                                            "width_m": {
                                              "type": "number",
                                              "description": "ความกว้าง (เมตร)"
                                            },
                                            "lanes": {
                                              "type": "integer",
                                              "description": "จำนวนช่องจราจร"
                                            },
                                            "oneway": {
                                              "type": "boolean",
                                              "description": "เดินรถทางเดียวหรือไม่"
                                            },
                                            "no_bikes": {
                                              "type": "boolean",
                                              "description": "ห้ามจักรยาน/จักรยานยนต์หรือไม่"
                                            },
                                            "private_drive": {
                                              "type": "boolean",
                                              "description": "เป็นทางส่วนบุคคลหรือไม่"
                                            },
                                            "province_id": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "description": "รหัสจังหวัด"
                                            },
                                            "district_id": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "description": "รหัสอำเภอ/เขต"
                                            },
                                            "subdistrict_id": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "description": "รหัสตำบล/แขวง"
                                            },
                                            "snap_dist_m": {
                                              "type": "number",
                                              "description": "ระยะจากจุดค้นหาถึงถนน (เมตร)"
                                            },
                                            "length_m": {
                                              "type": "number",
                                              "description": "ความยาวถนน (เมตร)"
                                            },
                                            "characteristics": {
                                              "type": "object",
                                              "description": "ลักษณะของถนน ณ จุดสแนป",
                                              "properties": {
                                                "steep": {
                                                  "type": "object",
                                                  "description": "ความชัน",
                                                  "properties": {
                                                    "is_steep": {
                                                      "type": "boolean",
                                                      "description": "เป็นทางชันหรือไม่"
                                                    },
                                                    "slope_pct": {
                                                      "type": [
                                                        "number",
                                                        "null"
                                                      ],
                                                      "description": "ความชัน (%) — null เมื่อไม่มีข้อมูลระดับความสูง"
                                                    },
                                                    "elev_a_m": {
                                                      "type": [
                                                        "integer",
                                                        "null"
                                                      ],
                                                      "description": "ระดับความสูงจุด A (เมตร)"
                                                    },
                                                    "elev_b_m": {
                                                      "type": [
                                                        "integer",
                                                        "null"
                                                      ],
                                                      "description": "ระดับความสูงจุด B (เมตร)"
                                                    },
                                                    "sample_dist_m": {
                                                      "type": "number",
                                                      "description": "ระยะแนวราบที่ใช้คำนวณความชัน (เมตร)"
                                                    },
                                                    "threshold_pct": {
                                                      "type": "number",
                                                      "description": "เกณฑ์ความชันที่ใช้ (%)"
                                                    }
                                                  }
                                                },
                                                "curve": {
                                                  "type": "object",
                                                  "description": "ความคดเคี้ยว/ทางโค้ง",
                                                  "properties": {
                                                    "is_curve": {
                                                      "type": "boolean",
                                                      "description": "เป็นทางโค้งหรือไม่"
                                                    },
                                                    "sinuosity": {
                                                      "type": "number",
                                                      "description": "ค่าความคดเคี้ยว"
                                                    },
                                                    "arc_m": {
                                                      "type": "number",
                                                      "description": "ความยาวส่วนโค้ง (เมตร)"
                                                    },
                                                    "chord_m": {
                                                      "type": "number",
                                                      "description": "ความยาวคอร์ด (เมตร)"
                                                    },
                                                    "threshold": {
                                                      "type": "number",
                                                      "description": "เกณฑ์ความคดเคี้ยวที่ใช้"
                                                    }
                                                  }
                                                },
                                                "intersection": {
                                                  "type": "object",
                                                  "description": "ความใกล้ทางแยก",
                                                  "properties": {
                                                    "is_near_intersection": {
                                                      "type": "boolean",
                                                      "description": "อยู่ใกล้ทางแยกหรือไม่"
                                                    },
                                                    "nearest_endpoint_m": {
                                                      "type": [
                                                        "number",
                                                        "null"
                                                      ],
                                                      "description": "ระยะตามถนนถึงจุดปลาย (เมตร)"
                                                    },
                                                    "query_endpoint_m": {
                                                      "type": [
                                                        "number",
                                                        "null"
                                                      ],
                                                      "description": "ระยะเส้นตรงจากจุดค้นหาถึงจุดปลาย (เมตร)"
                                                    },
                                                    "roads_at_node": {
                                                      "type": "integer",
                                                      "description": "จำนวนถนนที่จุดปลาย"
                                                    },
                                                    "threshold_dist_m": {
                                                      "type": "number",
                                                      "description": "เกณฑ์ระยะที่ใช้ (เมตร)"
                                                    },
                                                    "threshold_min_roads": {
                                                      "type": "integer",
                                                      "description": "เกณฑ์จำนวนถนนขั้นต่ำที่ใช้"
                                                    }
                                                  }
                                                }
                                              }
                                            }
                                          }
                                        },
                                        "geometry": {
                                          "type": "object",
                                          "description": "เส้นถนน (LineString)",
                                          "properties": {
                                            "type": {
                                              "type": "string",
                                              "description": "\"LineString\""
                                            },
                                            "coordinates": {
                                              "type": "array",
                                              "description": "ลำดับพิกัด แต่ละจุด [lon, lat, ระดับความสูง(ถ้ามี)]",
                                              "items": {
                                                "type": "array",
                                                "items": {
                                                  "type": "number"
                                                },
                                                "minItems": 2,
                                                "maxItems": 3
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              "curve": {
                                "description": "ส่วนโค้งรอบจุดสแนป (GeoJSON FeatureCollection)",
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "description": "\"FeatureCollection\""
                                  },
                                  "features": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "description": "\"Feature\""
                                        },
                                        "properties": {
                                          "type": "object",
                                          "description": "ข้อมูลความคดเคี้ยว",
                                          "properties": {
                                            "is_curve": {
                                              "type": "boolean",
                                              "description": "เป็นทางโค้งหรือไม่"
                                            },
                                            "sinuosity": {
                                              "type": "number",
                                              "description": "ค่าความคดเคี้ยว"
                                            },
                                            "arc_m": {
                                              "type": "number",
                                              "description": "ความยาวส่วนโค้ง (เมตร)"
                                            },
                                            "chord_m": {
                                              "type": "number",
                                              "description": "ความยาวคอร์ด (เมตร)"
                                            },
                                            "threshold": {
                                              "type": "number",
                                              "description": "เกณฑ์ความคดเคี้ยวที่ใช้"
                                            }
                                          }
                                        },
                                        "geometry": {
                                          "type": "object",
                                          "description": "เส้นส่วนโค้ง (LineString)",
                                          "properties": {
                                            "type": {
                                              "type": "string",
                                              "description": "\"LineString\""
                                            },
                                            "coordinates": {
                                              "type": "array",
                                              "description": "ลำดับพิกัด แต่ละจุด [lon, lat, ระดับความสูง(ถ้ามี)]",
                                              "items": {
                                                "type": "array",
                                                "items": {
                                                  "type": "number"
                                                },
                                                "minItems": 2,
                                                "maxItems": 3
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              },
                              "intersection": {
                                "description": "ทางแยกที่ใกล้ที่สุด (GeoJSON FeatureCollection) — null เมื่อไม่อยู่ใกล้ทางแยก",
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "description": "\"FeatureCollection\""
                                  },
                                  "features": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "description": "\"Feature\""
                                        },
                                        "properties": {
                                          "type": "object",
                                          "description": "ข้อมูลทางแยก",
                                          "properties": {
                                            "is_near_intersection": {
                                              "type": "boolean",
                                              "description": "อยู่ใกล้ทางแยกหรือไม่"
                                            },
                                            "nearest_endpoint_m": {
                                              "type": [
                                                "number",
                                                "null"
                                              ],
                                              "description": "ระยะตามถนนถึงจุดปลาย (เมตร)"
                                            },
                                            "query_endpoint_m": {
                                              "type": [
                                                "number",
                                                "null"
                                              ],
                                              "description": "ระยะเส้นตรงถึงจุดปลาย (เมตร)"
                                            },
                                            "roads_at_node": {
                                              "type": "integer",
                                              "description": "จำนวนถนนที่จุดปลาย"
                                            },
                                            "threshold_dist_m": {
                                              "type": "number",
                                              "description": "เกณฑ์ระยะที่ใช้ (เมตร)"
                                            },
                                            "threshold_min_roads": {
                                              "type": "integer",
                                              "description": "เกณฑ์จำนวนถนนขั้นต่ำที่ใช้"
                                            }
                                          }
                                        },
                                        "geometry": {
                                          "type": "object",
                                          "description": "จุด (Point) ของทางแยก",
                                          "properties": {
                                            "type": {
                                              "type": "string",
                                              "description": "\"Point\""
                                            },
                                            "coordinates": {
                                              "type": "array",
                                              "description": "พิกัด [lon, lat, ระดับความสูง(ถ้ามี)]",
                                              "items": {
                                                "type": "number"
                                              },
                                              "minItems": 2,
                                              "maxItems": 3
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    "status": {
                      "description": "สถานะของผลลัพธ์ (Response status)",
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "HTTP response status codes"
                        },
                        "error_code": {
                          "type": "string",
                          "description": "รหัสของความผิดพลาด (Error code)"
                        },
                        "text": {
                          "type": "string",
                          "description": "คำอธิบายความผิดพลาด (Error message)"
                        },
                        "details": {
                          "type": "string",
                          "description": "รายละเอียดของความผิดพลาด (Error details)"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/GeoServiceMS/json/areainfo": {
      "servers": [
        {
          "url": "https://api.longdo.com"
        }
      ],
      "parameters": [
        {
          "name": "polygon",
          "in": "query",
          "description": "Area (GeoJSON string)",
          "required": true,
          "schema": {
            "type": "string"
          },
          "example": "{\"coordinates\":[[[100.53864,13.73430],[100.54574,13.73397],[100.54439,13.72648],[100.53681,13.72965],[100.538640,13.73430]]],\"type\":\"Polygon\"}"
        }
      ],
      "get": {
        "tags": [
          "Extra"
        ],
        "summary": "Area info",
        "description": "ExampleMinimum params",
        "operationId": "GetAreaInfo",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "ms_building": {
                      "description": "Number of buildings",
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/ws/population/facebook": {
      "servers": [
        {
          "url": "https://map.longdo.com"
        }
      ],
      "parameters": [
        {
          "name": "wkt",
          "in": "query",
          "description": "พื้นที่ทางภูมิศาสตร์ ขนาดไม่เกิน 1,000 ตร.กม. ในรูปแบบ Well Known Text format (Bound of Area in Well Known Text format - The area must be less than 1,000 km²)",
          "required": false,
          "schema": {
            "type": "string",
            "example": "POLYGON((100.58 13.65, 100.63 13.65, 100.63 13.70, 100.58 13.70, 100.58 13.65))"
          }
        },
        {
          "name": "geocode",
          "in": "query",
          "description": "รหัสพื้นที่ขอบเขตการปกครองของประเทศไทย (Geocode) เป็นตัวเลข 2, 4 หรือ 6 หลัก (เช่น 10 => กรุงเทพฯ, 1101 => เขตพระนคร, 110101 => แขวงพระบรมมหาราชวัง)",
          "required": false,
          "schema": {
            "type": "string",
            "example": "10"
          }
        },
        {
          "name": "dlacode",
          "in": "query",
          "description": "รหัสพื้นที่ขอบเขตการปกครองขององค์กรปกครองส่วนท้องถิ่น (DLA Code) เป็นตัวเลขมากกว่า 2 หลักขึ้นไป แต่ไม่เกิน 7 หลัก (เช่น 55 => พื้นที่กลุ่มภาคเหนือตอนบน, 550 => เชียงใหม่, 55019 => อำเภอสารภี, 5501903 => เทศบาลตำบลสารภี)",
          "required": false,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "year",
          "in": "query",
          "description": "ปี ค.ศ. ของข้อมูล โดยหากไม่ระบุจะมีค่าเป็น 2020 (Data year - Default value: 2020)",
          "required": false,
          "schema": {
            "type": "integer",
            "example": 2020
          }
        }
      ],
      "get": {
        "tags": [
          "Extra"
        ],
        "summary": "สืบค้นข้อมูลจำนวนประชากร จากพื้นที่ทางภูมิศาสตร์ (Get Facebook population)",
        "description": "หมายเหตุ: ต้องระบุ wkt หรือ geocode อย่างใดอย่างหนึ่ง (only one of wkt or geocode must be provided)Data SourceThailand: High Resolution Population Density MapsExampleMinimum params",
        "operationId": "GetFacebookPopulation",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "ข้อมูลผลลัพธ์ (Object of results)",
                      "type": "object",
                      "properties": {
                        "summary": {
                          "type": "number",
                          "description": "จำนวนประชากร หน่วยเป็นคน (A population [Unit: person])"
                        }
                      }
                    },
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "source": {
                          "type": "string",
                          "description": "ที่มาของข้อมูล (Data source)"
                        },
                        "year": {
                          "type": "string",
                          "description": "ปี ค.ศ. ของข้อมูล (Data year)"
                        }
                      }
                    },
                    "status": {
                      "description": "สถานะของผลลัพธ์ (Response status)",
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "HTTP response status codes"
                        },
                        "error_code": {
                          "type": "string",
                          "description": "รหัสของความผิดพลาด (Error code)"
                        },
                        "text": {
                          "type": "string",
                          "description": "คำอธิบายความผิดพลาด (Error message)"
                        },
                        "details": {
                          "type": "string",
                          "description": "รายละเอียดของความผิดพลาด (Error details)"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/ws/stats/debt": {
      "servers": [
        {
          "url": "https://map.longdo.com"
        }
      ],
      "parameters": [
        {
          "$ref": "#/components/parameters/year"
        }
      ],
      "get": {
        "tags": [
          "Extra"
        ],
        "summary": "สืบค้นข้อมูลรายจ่ายครัวเรือน (ระดับ จังหวัด)",
        "description": "Data Sourceสำนักงานสถิติแห่งชาติ",
        "operationId": "GetDebt",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "ข้อมูลผลลัพธ์ (Object of results)",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "geocode": {
                            "type": "string",
                            "description": "รหัส จังหวัด(10 => bangkok, 11 => Samut Prakan)"
                          },
                          "name": {
                            "type": "string",
                            "description": "ชื่อภาษาไทย จังหวัด"
                          },
                          "name_en": {
                            "type": "string",
                            "description": "ชื่อภาษาอังกฤษ จังหวัด"
                          },
                          "value": {
                            "type": "number",
                            "description": "หนี้ครัวเรือน (บาท)"
                          }
                        }
                      }
                    },
                    "status": {
                      "description": "สถานะของผลลัพธ์ (Response status)",
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "HTTP response status codes"
                        },
                        "error_code": {
                          "type": "string",
                          "description": "รหัสของความผิดพลาด (Error code)"
                        },
                        "text": {
                          "type": "string",
                          "description": "คำอธิบายความผิดพลาด (Error message)"
                        },
                        "details": {
                          "type": "string",
                          "description": "รายละเอียดของความผิดพลาด (Error details)"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/ws/stats/deposit": {
      "servers": [
        {
          "url": "https://map.longdo.com"
        }
      ],
      "parameters": [
        {
          "$ref": "#/components/parameters/year"
        },
        {
          "$ref": "#/components/parameters/month"
        },
        {
          "$ref": "#/components/parameters/geocode"
        }
      ],
      "get": {
        "tags": [
          "Extra"
        ],
        "summary": "สืบค้นข้อมูลเงินฝาก (อำเภอ จังหวัด)",
        "description": "Data Sourceสำนักงานสถิติแห่งชาติ",
        "operationId": "GetDeposit",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "ข้อมูลผลลัพธ์ (Object of results)",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "geocode": {
                            "type": "string",
                            "description": "รหัส จังหวัด, อำเภอ(10 => bangkok, 11 => Samut Prakan)"
                          },
                          "name": {
                            "type": "string",
                            "description": "ชื่อภาษาไทย จังหวัด, อำเภอ"
                          },
                          "name_en": {
                            "type": "string",
                            "description": "ชื่อภาษาอังกฤษ จังหวัด, อำเภอ"
                          },
                          "value": {
                            "type": "number",
                            "description": "จำนวนเงิน (ล้านบาท)"
                          }
                        }
                      }
                    },
                    "status": {
                      "description": "สถานะของผลลัพธ์ (Response status)",
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "HTTP response status codes"
                        },
                        "error_code": {
                          "type": "string",
                          "description": "รหัสของความผิดพลาด (Error code)"
                        },
                        "text": {
                          "type": "string",
                          "description": "คำอธิบายความผิดพลาด (Error message)"
                        },
                        "details": {
                          "type": "string",
                          "description": "รายละเอียดของความผิดพลาด (Error details)"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/ws/stats/household": {
      "servers": [
        {
          "url": "https://map.longdo.com"
        }
      ],
      "parameters": [
        {
          "$ref": "#/components/parameters/year"
        },
        {
          "$ref": "#/components/parameters/geocode"
        }
      ],
      "get": {
        "tags": [
          "Extra"
        ],
        "summary": "สืบค้นข้อมูลจำนวนหลังคาเรือน (ระดับ หมู่บ้าน ตำบล อำเภอ จังหวัด)",
        "description": "Data Sourceสำนักบริหารการทะเบียน กรมการปกครอง",
        "operationId": "GetHousehold",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "ข้อมูลผลลัพธ์ (Object of results)",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "geocode": {
                            "type": "string",
                            "description": "รหัส จังหวัด, อำเภอ, ตำบล หรือ หมู่บ้าน(10 => bangkok, 11 => Samut Prakan)"
                          },
                          "name": {
                            "type": "string",
                            "description": "ชื่อภาษาไทย จังหวัด, อำเภอ, ตำบล หรือ หมู่บ้าน"
                          },
                          "name_en": {
                            "type": "string",
                            "description": "ชื่อภาษาอังกฤษ จังหวัด, อำเภอ, ตำบล หรือ หมู่บ้าน"
                          },
                          "value": {
                            "type": "number",
                            "description": "จำนวนหลังคาเรือน (หลัง)"
                          }
                        }
                      }
                    },
                    "status": {
                      "description": "สถานะของผลลัพธ์ (Response status)",
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "HTTP response status codes"
                        },
                        "error_code": {
                          "type": "string",
                          "description": "รหัสของความผิดพลาด (Error code)"
                        },
                        "text": {
                          "type": "string",
                          "description": "คำอธิบายความผิดพลาด (Error message)"
                        },
                        "details": {
                          "type": "string",
                          "description": "รายละเอียดของความผิดพลาด (Error details)"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/ws/stats/income": {
      "servers": [
        {
          "url": "https://map.longdo.com"
        }
      ],
      "parameters": [
        {
          "$ref": "#/components/parameters/year2"
        }
      ],
      "get": {
        "tags": [
          "Extra"
        ],
        "summary": "รายได้ประชากร (ระดับ จังหวัด)",
        "description": "Data Sourceสำนักงานสถิติแห่งชาติ",
        "operationId": "GetIncome",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "ข้อมูลผลลัพธ์ (Object of results)",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "geocode": {
                            "type": "string",
                            "description": "รหัส จังหวัด(10 => bangkok, 11 => Samut Prakan)"
                          },
                          "name": {
                            "type": "string",
                            "description": "ชื่อภาษาไทย จังหวัด"
                          },
                          "name_en": {
                            "type": "string",
                            "description": "ชื่อภาษาอังกฤษ จังหวัด"
                          },
                          "value": {
                            "type": "number",
                            "description": "รายได้ (บาท)"
                          }
                        }
                      }
                    },
                    "status": {
                      "description": "สถานะของผลลัพธ์ (Response status)",
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "HTTP response status codes"
                        },
                        "error_code": {
                          "type": "string",
                          "description": "รหัสของความผิดพลาด (Error code)"
                        },
                        "text": {
                          "type": "string",
                          "description": "คำอธิบายความผิดพลาด (Error message)"
                        },
                        "details": {
                          "type": "string",
                          "description": "รายละเอียดของความผิดพลาด (Error details)"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/ws/stats/loan": {
      "servers": [
        {
          "url": "https://map.longdo.com"
        }
      ],
      "parameters": [
        {
          "$ref": "#/components/parameters/year"
        },
        {
          "$ref": "#/components/parameters/month"
        },
        {
          "$ref": "#/components/parameters/geocode"
        }
      ],
      "get": {
        "tags": [
          "Extra"
        ],
        "summary": "สืบค้นข้อมูลสินเชื่อ (อำเภอ จังหวัด)",
        "description": "Data Sourceสำนักงานสถิติแห่งชาติ",
        "operationId": "GetLoan",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "ข้อมูลผลลัพธ์ (Object of results)",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "geocode": {
                            "type": "string",
                            "description": "รหัส จังหวัด, อำเภอ(10 => bangkok, 11 => Samut Prakan)"
                          },
                          "name": {
                            "type": "string",
                            "description": "ชื่อภาษาไทย จังหวัด, อำเภอ"
                          },
                          "name_en": {
                            "type": "string",
                            "description": "ชื่อภาษาอังกฤษ จังหวัด, อำเภอ"
                          },
                          "value": {
                            "type": "number",
                            "description": "จำนวนเงิน (ล้านบาท)"
                          }
                        }
                      }
                    },
                    "status": {
                      "description": "สถานะของผลลัพธ์ (Response status)",
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "HTTP response status codes"
                        },
                        "error_code": {
                          "type": "string",
                          "description": "รหัสของความผิดพลาด (Error code)"
                        },
                        "text": {
                          "type": "string",
                          "description": "คำอธิบายความผิดพลาด (Error message)"
                        },
                        "details": {
                          "type": "string",
                          "description": "รายละเอียดของความผิดพลาด (Error details)"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/ws/stats/population": {
      "servers": [
        {
          "url": "https://map.longdo.com"
        }
      ],
      "parameters": [
        {
          "$ref": "#/components/parameters/year2"
        },
        {
          "name": "geocode",
          "in": "query",
          "description": "รหัส จังหวัด, อำเภอ, ตำบล หรือ หมู่บ้าน(10 => bangkok, 11 => Samut Prakan)",
          "required": false,
          "schema": {
            "type": "string",
            "example": "10"
          }
        }
      ],
      "get": {
        "tags": [
          "Extra"
        ],
        "summary": "สืบค้นข้อมูลจำนวนประชากรไทย (ระดับ หมู่บ้าน ตำบล อำเภอ จังหวัด)",
        "description": "Data Sourceสำนักบริหารการทะเบียน กรมการปกครอง",
        "operationId": "GetPopulation",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "ข้อมูลผลลัพธ์ (Object of results)",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "geocode": {
                            "type": "string",
                            "description": "รหัส จังหวัด, อำเภอ, ตำบล หรือ หมู่บ้าน(10 => bangkok, 11 => Samut Prakan)"
                          },
                          "name": {
                            "type": "string",
                            "description": "ชื่อภาษาไทย จังหวัด, อำเภอ, ตำบล หรือ หมู่บ้าน"
                          },
                          "name_en": {
                            "type": "string",
                            "description": "ชื่อภาษาอังกฤษ จังหวัด, อำเภอ, ตำบล หรือ หมู่บ้าน"
                          },
                          "m_amount": {
                            "type": "number",
                            "description": "จำนวนประชากรชาย (คน)"
                          },
                          "f_amount": {
                            "type": "number",
                            "description": "จำนวนประชากรหญิง (คน)"
                          },
                          "total": {
                            "type": "number",
                            "description": "จำนวนรวม (คน)"
                          }
                        }
                      }
                    },
                    "status": {
                      "description": "สถานะของผลลัพธ์ (Response status)",
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "HTTP response status codes"
                        },
                        "error_code": {
                          "type": "string",
                          "description": "รหัสของความผิดพลาด (Error code)"
                        },
                        "text": {
                          "type": "string",
                          "description": "คำอธิบายความผิดพลาด (Error message)"
                        },
                        "details": {
                          "type": "string",
                          "description": "รายละเอียดของความผิดพลาด (Error details)"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/ws/stats/political-area-count": {
      "servers": [
        {
          "url": "https://map.longdo.com"
        }
      ],
      "post": {
        "tags": [
          "Extra"
        ],
        "summary": "สืบค้นข้อมูลจำนวนเขตการปกครอง (ระดับ หมู่บ้าน ตำบล อำเภอ จังหวัด)",
        "description": "At least one of `wkt` or `geocode` must be provided in the JSON body.",
        "operationId": "political-area-count",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "ข้อมูลผลลัพธ์ (Object of results)",
                      "type": "object",
                      "properties": {
                        "p_count": {
                          "type": "number",
                          "description": "Field p_count"
                        },
                        "a_count": {
                          "type": "number",
                          "description": "Field a_count"
                        },
                        "t_count": {
                          "type": "number",
                          "description": "Field t_count"
                        },
                        "m_count": {
                          "type": "number",
                          "description": "Field m_count"
                        }
                      }
                    },
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "source": {
                          "type": "string",
                          "description": "ที่มาของข้อมูล (Data source)"
                        },
                        "year": {
                          "type": "string",
                          "description": "ปี ค.ศ. ของข้อมูล (Data year)"
                        }
                      }
                    },
                    "status": {
                      "description": "สถานะของผลลัพธ์ (Response status)",
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "HTTP response status codes"
                        },
                        "error_code": {
                          "type": "string",
                          "description": "รหัสของความผิดพลาด (Error code)"
                        },
                        "text": {
                          "type": "string",
                          "description": "คำอธิบายความผิดพลาด (Error message)"
                        },
                        "details": {
                          "type": "string",
                          "description": "รายละเอียดของความผิดพลาด (Error details)"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "wkt": {
                    "type": "string",
                    "description": "Form field: wkt - ข้อมูลเชิงพื้นที่ (Spatial data - POLYGON format)",
                    "example": "POLYGON ((100.758791 18.774772, 100.801706 18.774772, 100.801706 18.798256, 100.758791 18.798256, 100.758791 18.774772))"
                  },
                  "geocode": {
                    "type": "string",
                    "description": "Form field: geocode",
                    "example": "550101"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/ws/stats/landuse-plan": {
      "servers": [
        {
          "url": "https://map.longdo.com"
        }
      ],
      "post": {
        "tags": [
          "Extra"
        ],
        "summary": "สืบค้นข้อมูลผังเมือง (ระดับ หมู่บ้าน ตำบล อำเภอ จังหวัด)",
        "description": "At least one of `wkt` or `geocode` must be provided in the JSON body.",
        "operationId": "landuse-plan",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "ข้อมูลผลลัพธ์ (Object of results)",
                      "type": "object",
                      "properties": {
                        "result": {
                          "type": "array",
                          "description": "Field result",
                          "items": {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string",
                                "description": "Field code"
                              },
                              "area_sq_meters": {
                                "type": "number",
                                "description": "Field area_sq_meters"
                              },
                              "count": {
                                "type": "number",
                                "description": "Field count"
                              },
                              "description": {
                                "type": "string",
                                "description": "Field description"
                              }
                            }
                          }
                        },
                        "total_area": {
                          "type": "number",
                          "description": "Field total_area"
                        },
                        "total_count": {
                          "type": "number",
                          "description": "Field total_count"
                        }
                      }
                    },
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "source": {
                          "type": "string",
                          "description": "ที่มาของข้อมูล (Data source)"
                        },
                        "year": {
                          "type": "string",
                          "description": "ปี ค.ศ. ของข้อมูล (Data year)"
                        }
                      }
                    },
                    "status": {
                      "description": "สถานะของผลลัพธ์ (Response status)",
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "HTTP response status codes"
                        },
                        "error_code": {
                          "type": "string",
                          "description": "รหัสของความผิดพลาด (Error code)"
                        },
                        "text": {
                          "type": "string",
                          "description": "คำอธิบายความผิดพลาด (Error message)"
                        },
                        "details": {
                          "type": "string",
                          "description": "รายละเอียดของความผิดพลาด (Error details)"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "wkt": {
                    "type": "string",
                    "description": "Form field: wkt - ข้อมูลเชิงพื้นที่ (Spatial data - POLYGON format)",
                    "example": "POLYGON ((100.758791 18.774772, 100.801706 18.774772, 100.801706 18.798256, 100.758791 18.798256, 100.758791 18.774772))"
                  },
                  "geocode": {
                    "type": "string",
                    "description": "Form field: geocode",
                    "example": "550101"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/ws/stats/land-use": {
      "servers": [
        {
          "url": "https://map.longdo.com"
        }
      ],
      "post": {
        "tags": [
          "Extra"
        ],
        "summary": "สืบค้นข้อมูลประเภทการใช้ประโยชน์ที่ดิน (ระดับ หมู่บ้าน ตำบล อำเภอ จังหวัด)",
        "description": "At least one of `wkt` or `geocode` must be provided in the JSON body.",
        "operationId": "land-use",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "ข้อมูลผลลัพธ์ (Object of results)",
                      "type": "object",
                      "properties": {
                        "result": {
                          "type": "array",
                          "description": "Field result",
                          "items": {
                            "type": "object",
                            "properties": {
                              "lu_code": {
                                "type": "string",
                                "description": "Field lu_code"
                              },
                              "lu_des_th": {
                                "type": "string",
                                "description": "Field lu_des_th"
                              },
                              "lu_des_en": {
                                "type": "string",
                                "description": "Field lu_des_en"
                              },
                              "sum_area": {
                                "type": "number",
                                "description": "Field sum_area"
                              }
                            }
                          }
                        }
                      }
                    },
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "source": {
                          "type": "string",
                          "description": "ที่มาของข้อมูล (Data source)"
                        },
                        "year": {
                          "type": "string",
                          "description": "ปี ค.ศ. ของข้อมูล (Data year)"
                        }
                      }
                    },
                    "status": {
                      "description": "สถานะของผลลัพธ์ (Response status)",
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "HTTP response status codes"
                        },
                        "error_code": {
                          "type": "string",
                          "description": "รหัสของความผิดพลาด (Error code)"
                        },
                        "text": {
                          "type": "string",
                          "description": "คำอธิบายความผิดพลาด (Error message)"
                        },
                        "details": {
                          "type": "string",
                          "description": "รายละเอียดของความผิดพลาด (Error details)"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "wkt": {
                    "type": "string",
                    "description": "Form field: wkt - ข้อมูลเชิงพื้นที่ (Spatial data - POLYGON format)",
                    "example": "POLYGON ((100.758791 18.774772, 100.801706 18.774772, 100.801706 18.798256, 100.758791 18.798256, 100.758791 18.774772))"
                  },
                  "geocode": {
                    "type": "string",
                    "description": "Form field: geocode",
                    "example": "550101"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/ws/stats/forest": {
      "servers": [
        {
          "url": "https://map.longdo.com"
        }
      ],
      "post": {
        "tags": [
          "Extra"
        ],
        "summary": "สืบค้นข้อมูลเขตพื้นที่ป่าไม้",
        "description": "At least one of `wkt` or `geocode` must be provided in the JSON body.",
        "operationId": "forest",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "Result",
                  "type": "object",
                  "properties": {
                    "data": {
                      "description": "ข้อมูลผลลัพธ์ (Array of results)",
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "gid": {
                            "type": "number",
                            "description": "Field gid"
                          },
                          "for_id": {
                            "type": "string",
                            "description": "Field for_id"
                          },
                          "for_name": {
                            "type": "string",
                            "description": "Field for_name"
                          },
                          "for_type": {
                            "type": "string",
                            "description": "Field for_type"
                          },
                          "year_gaz": {
                            "type": "string",
                            "description": "Field year_gaz"
                          },
                          "for_zone": {
                            "type": "string",
                            "description": "Field for_zone"
                          },
                          "off_area": {
                            "type": "string",
                            "description": "Field off_area"
                          },
                          "the_geom": {
                            "type": "string",
                            "description": "ข้อมูลเชิงพื้นที่ (Spatial data - MULTIPOLYGON format)"
                          }
                        }
                      }
                    },
                    "meta": {
                      "description": "Metadata",
                      "type": "object",
                      "properties": {
                        "source": {
                          "type": "string",
                          "description": "ที่มาของข้อมูล (Data source)"
                        },
                        "year": {
                          "type": "string",
                          "description": "ปี ค.ศ. ของข้อมูล (Data year)"
                        }
                      }
                    },
                    "status": {
                      "description": "สถานะของผลลัพธ์ (Response status)",
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "description": "HTTP response status codes"
                        },
                        "error_code": {
                          "type": "string",
                          "description": "รหัสของความผิดพลาด (Error code)"
                        },
                        "text": {
                          "type": "string",
                          "description": "คำอธิบายความผิดพลาด (Error message)"
                        },
                        "details": {
                          "type": "string",
                          "description": "รายละเอียดของความผิดพลาด (Error details)"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "wkt": {
                    "type": "string",
                    "description": "Form field: wkt - ข้อมูลเชิงพื้นที่ (Spatial data - POLYGON format)",
                    "example": "POLYGON ((100.758791 18.774772, 100.801706 18.774772, 100.801706 18.798256, 100.758791 18.798256, 100.758791 18.774772))"
                  },
                  "geocode": {
                    "type": "string",
                    "description": "Form field: geocode",
                    "example": "550101"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AddressInfo": {
        "type": "object",
        "properties": {
          "name": {
            "description": "Address info name (eg. place name, building name, condominium name etc.)",
            "type": "string"
          },
          "distance": {
            "description": "String similarity distance (0 = input text are all the same as correction data.)",
            "type": "integer"
          },
          "prefix": {
            "description": "Do the text input have prefix?",
            "type": "boolean"
          }
        }
      },
      "Location": {
        "type": "object",
        "properties": {
          "lon": {
            "description": "Longitude",
            "type": "number"
          },
          "lat": {
            "description": "Latitude",
            "type": "number"
          }
        }
      },
      "ReverseGeocodingResult": {
        "type": "object",
        "properties": {
          "geocode": {
            "description": "Thailand geocode",
            "type": "string"
          },
          "country": {
            "description": "Country",
            "type": "string"
          },
          "province": {
            "description": "Province or equivalent administrative division",
            "type": "string"
          },
          "district": {
            "description": "District or equivalent administrative division",
            "type": "string"
          },
          "subdistrict": {
            "description": "Subdistrict or equivalent administrative division",
            "type": "string"
          },
          "moo": {
            "description": "Village number, if avaliable",
            "type": "string"
          },
          "moo_name": {
            "description": "Village name, if avaliable",
            "type": "string"
          },
          "house_num": {
            "description": "House number, if avaliable",
            "type": "string"
          },
          "postcode": {
            "description": "Thailand postcode",
            "type": "string"
          },
          "aoi": {
            "description": "Area of interest, if avaliable",
            "type": "string"
          },
          "water": {
            "description": "Water body, if exist",
            "type": "string"
          },
          "elevation": {
            "description": "Elevation in meters, if avaliable",
            "type": "number"
          },
          "road": {
            "description": "Road name, if exist",
            "type": "string"
          },
          "road_lon": {
            "description": "Nearest position on road",
            "type": "number"
          },
          "road_lat": {
            "description": "Nearest position on road",
            "type": "number"
          },
          "road_char": {
            "description": "Road class of the nearest road, if exist. Rough legal speed limit per class:\n\n| `road_char` | Road type | Max speed (km/h) |\n|---|---|---|\n| `1` | Expressway / tollway | 100 – 110 |\n| `2`, `3` | Highway outside city (general highway 90 / motorway 120) | 90 – 120 |\n| `4`, `5` | General road in city / municipal area | 80 |\n| `6` | Soi / community area | 30 – 50 |\n\n**Caution:** this mapping is only a rough estimate. Actual limits also vary by vehicle type, special administrative zones, and local government rules — use with care. See the [Department of Highways speed rules](https://opendata.doh.go.th/dataset/speed-rule/resource/a7981a03-b417-4dcd-93bb-99fe03626666).",
            "type": "integer",
            "example": 6
          }
        }
      },
      "GuideRoute": {
        "type": "object",
        "properties": {
          "turn": {
            "description": "Turn instruction TurnCode valueDescription0Turn left1Turn right2Turn slight left3Turn slight right4Unknown direction5Go straight6Enter tollway9Arrive11Travel by ferry",
            "type": "string"
          },
          "name": {
            "description": "Road name",
            "type": "string"
          },
          "distance": {
            "description": "Section distance in meters",
            "type": "integer"
          },
          "interval": {
            "description": "Section travel time in seconds",
            "type": "integer"
          }
        }
      }
    },
    "parameters": {
      "suggestDataset": {
        "name": "dataset",
        "in": "query",
        "description": "Suggest dataset (* Default dataset) Available valueDataset frompoi_p *Numap POIpoi_r *Roadpoi_a *Administrative divisionpoi_b *House number from Numap bldgpoi_c *changed today (POI)poi2 *Contributed POIpoi3 *Tag datas_pg *Line/Polygonnw_s *Riverm2h_s *House number from POI addressbus_sBus routes_osmpntOSM POIs_osmlineOSM Lines_osmpolOSM Polygonoverture_pOverture Map",
        "required": false,
        "schema": {
          "type": "string"
        }
      },
      "searchDataset": {
        "name": "dataset",
        "in": "query",
        "description": "Search dataset (* Default dataset) Available valueDataset fromdata2p *Numap POIdata2r *Roaddata2a *Administrative divisiondata2b *House number from Numap bldgchange *changed today (POI)con *Contributed POItag *Tag datapg *Line/Polygonnw *Riverm2h *House number from POI addressbusBus routeosmpntOSM POIosmlineOSM LineosmpolOSM Polygonoverture2pOverture Map",
        "required": false,
        "schema": {
          "type": "string"
        }
      },
      "poiDataset": {
        "name": "dataset",
        "in": "query",
        "description": "POI dataset (* Default dataset) Available valueDataset frommain2p *Numap POImain2road *Roadmain2adming *Administrative divisionmain2building *House number from Numap bldgpoi-changed-today *changed today (POI)poi-contrib *Contributed POITag datapg-clustertag *Line/Polygonwater *RiverHouse number from POI addressBus routeosm-pointsOSM POIosm-lineOSM Lineosm-polygonOSM Polygonoverture-pointsOverture Map",
        "required": false,
        "schema": {
          "type": "string"
        }
      },
      "locale": {
        "name": "locale",
        "in": "query",
        "description": "Language in ISO 639-1 format Available valueLanguageth (default)ThaienEnglish",
        "required": false,
        "schema": {
          "type": "string",
          "enum": [
            "th",
            "en"
          ],
          "default": "th"
        }
      },
      "forceSmartSearch": {
        "name": "forcesmartsearch",
        "in": "query",
        "description": "Flag to indicate whether to perform SmartSearch function Available valueDescription0 (default)Only when there are few results: only perform SmartSearch if the results from Search are fewer than the 'forcelimit'.1Always: always perform SmartSearch function (might result in more transactions) to get as many results as possible according to the given 'limit' parameter.",
        "required": false,
        "schema": {
          "type": "integer",
          "enum": [
            0,
            1
          ],
          "default": 0
        }
      },
      "extendedSearch": {
        "name": "extendedsearch",
        "in": "query",
        "description": "Perform extended search functions from external services `(extra fee might apply)` Available valueDescription0 (default)No extended search: do not perform any extended search. Return only Longdo Map search results.1Only when there are results: perform extended search only in case there are fewer results from Longdo Map search than the 'extendedlimit'.2Always: always perform extended search together with the Longdo Map search.3Extended only: perform and return only extended search results without Longdo Map search.",
        "required": false,
        "schema": {
          "type": "integer",
          "enum": [
            0,
            1,
            2,
            3
          ],
          "default": 0
        }
      },
      "extendedType": {
        "name": "extendedtype",
        "in": "query",
        "description": "Extended search type Available valueDescriptionfindplacefromtext (default)Find place from texttextsearchText search",
        "required": false,
        "schema": {
          "type": "string",
          "enum": [
            "findplacefromtext",
            "textsearch"
          ],
          "default": "findplacefromtext"
        }
      },
      "routeMode": {
        "name": "mode",
        "in": "query",
        "description": "Search mode Available valueDescriptiont (default)Fastest route and avoid traffic congestions, with the real-time or predicted traffic condition (if time is specified)cFastest route (disregarding traffic condition), return static travel timedShortest route, return static travel timeeShortest route, return travel time with traffic condition",
        "required": false,
        "schema": {
          "type": "string",
          "enum": [
            "t",
            "c",
            "d",
            "e"
          ],
          "default": "t",
          "example": "t"
        }
      },
      "routeType": {
        "name": "type",
        "in": "query",
        "description": "Allow travel method (Can combine with objectwise OR)\nAvailable valueDescription\n1Road\n8Ferry\n16Tollway",
        "required": false,
        "schema": {
          "type": "integer"
        }
      },
      "routeRestrict": {
        "name": "restrict",
        "in": "query",
        "description": "Vehicle restriction\nAvailable valueDescription\n0 (default)No restriction\n1Don't use route that restrict motorcycle",
        "required": false,
        "schema": {
          "type": "integer",
          "enum": [
            0,
            1
          ],
          "default": 0
        }
      },
      "spanFlag": {
        "name": "flag",
        "in": "query",
        "description": "Result type (Can combine with bitwise OR) (default: All)\nAvailable valueDescription\n1Road lines\n2Boundary of span\n/table>",
        "required": false,
        "schema": {
          "type": "integer"
        }
      },
      "area": {
        "name": "area",
        "in": "query",
        "description": "Geocode of suggest area (Default: Any area)",
        "required": false,
        "schema": {
          "type": "string"
        }
      },
      "tag": {
        "name": "tag",
        "in": "query",
        "description": "Tag (Default: Any tag)",
        "required": false,
        "schema": {
          "type": "string"
        }
      },
      "apiKey": {
        "name": "key",
        "in": "query",
        "description": "Longdo Map API key",
        "required": true,
        "schema": {
          "type": "string"
        }
      },
      "offset": {
        "name": "offset",
        "in": "query",
        "description": "Offset of the first result returned (Default: 0)",
        "required": false,
        "schema": {
          "type": "integer",
          "example": 0
        }
      },
      "callback": {
        "name": "callback",
        "in": "query",
        "description": "JSONP Callback function (Default: Response in JSON)",
        "required": false,
        "schema": {
          "type": "string"
        }
      },
      "noadmin": {
        "name": "noadmin",
        "in": "query",
        "description": "Don't include geocode/province/district/subdistrict in the response (Default: Include)",
        "required": false,
        "schema": {
          "type": "string",
          "example": "1"
        }
      },
      "nopostcode": {
        "name": "nopostcode",
        "in": "query",
        "description": "Don't include postcode in the response (Default: Include)",
        "required": false,
        "schema": {
          "type": "string",
          "example": "1"
        }
      },
      "noelevation": {
        "name": "noelevation",
        "in": "query",
        "description": "Don't include elevation in the response (Default: Include)",
        "required": false,
        "schema": {
          "type": "string",
          "example": "1"
        }
      },
      "noroad": {
        "name": "noroad",
        "in": "query",
        "description": "Don't include road in the response (Default: Include)",
        "required": false,
        "schema": {
          "type": "string",
          "example": "1"
        }
      },
      "noaoi": {
        "name": "noaoi",
        "in": "query",
        "description": "Don't include area of interest in the response (Default: Include)",
        "required": false,
        "schema": {
          "type": "string",
          "example": "1"
        }
      },
      "nowater": {
        "name": "nowater",
        "in": "query",
        "description": "Don't include water body in the response (Default: Include)",
        "required": false,
        "schema": {
          "type": "string",
          "example": "1"
        }
      },
      "tlon": {
        "name": "tlon",
        "in": "query",
        "description": "Longitude of the destination",
        "required": false,
        "schema": {
          "type": "number",
          "example": 100.5998
        }
      },
      "tlat": {
        "name": "tlat",
        "in": "query",
        "description": "Latitude of the destination",
        "required": false,
        "schema": {
          "type": "number",
          "example": 13.5991
        }
      },
      "month": {
        "name": "month",
        "in": "query",
        "description": "เดือนของข้อมูล",
        "required": true,
        "schema": {
          "type": "integer",
          "example": 1
        }
      },
      "maxresult": {
        "name": "maxresult",
        "in": "query",
        "description": "Number of results (Default: 1, Max: 8)",
        "required": false,
        "schema": {
          "type": "integer",
          "example": 3
        }
      },
      "keyword": {
        "name": "keyword",
        "in": "query",
        "description": "Search keyword",
        "required": false,
        "schema": {
          "type": "string",
          "example": "สุขุมวิท"
        }
      },
      "lon": {
        "name": "lon",
        "in": "query",
        "description": "Longitude of the center of result (Default: Silom)",
        "required": false,
        "schema": {
          "type": "number",
          "example": 100.5383
        }
      },
      "lat": {
        "name": "lat",
        "in": "query",
        "description": "Latitude of the center of result (Default: Silom)",
        "required": false,
        "schema": {
          "type": "number",
          "example": 13.7649
        }
      },
      "span": {
        "name": "span",
        "in": "query",
        "description": "Span with unit in deg, m or km (Default: Anywhere)",
        "required": false,
        "schema": {
          "type": "string",
          "example": "1km"
        }
      },
      "limit": {
        "name": "limit",
        "in": "query",
        "description": "Number of results returned (Default: 20)",
        "required": false,
        "schema": {
          "type": "integer",
          "example": 20
        }
      },
      "flon": {
        "name": "flon",
        "in": "query",
        "description": "Longitude of the starting point",
        "required": false,
        "schema": {
          "type": "number",
          "example": 100.5383
        }
      },
      "flat": {
        "name": "flat",
        "in": "query",
        "description": "Latitude of the starting point",
        "required": false,
        "schema": {
          "type": "number",
          "example": 13.7649
        }
      },
      "time": {
        "name": "time",
        "in": "query",
        "description": "Departure time, use with avoid traffic mode (Default: now, Past time is invalid)",
        "required": false,
        "schema": {
          "type": "integer",
          "example": 2419286400
        }
      },
      "year": {
        "name": "year",
        "in": "query",
        "description": "ปีของข้อมูล (พ.ศ.)",
        "required": true,
        "schema": {
          "type": "integer",
          "example": 2560
        }
      },
      "geocode": {
        "name": "geocode",
        "in": "query",
        "description": "รหัส จังหวัด (10 => bangkok, 11 => Samut Prakan)",
        "required": false,
        "schema": {
          "type": "string",
          "example": "10"
        }
      },
      "year2": {
        "name": "year",
        "in": "query",
        "description": "ปีของข้อมูล (พ.ศ.)",
        "required": false,
        "schema": {
          "type": "integer",
          "example": 2560
        }
      },
      "zoom": {
        "name": "zoom",
        "in": "path",
        "description": "Zoom level of the map tile",
        "required": true,
        "schema": {
          "type": "integer",
          "example": 17
        }
      },
      "clusterLocale": {
        "name": "locale",
        "in": "path",
        "description": "Language in ISO 639-1 format (th or en)",
        "required": true,
        "schema": {
          "type": "string",
          "enum": [
            "th",
            "en"
          ],
          "default": "th",
          "example": "th"
        }
      },
      "dataset0": {
        "name": "dataset[0]",
        "in": "query",
        "description": "POI dataset (* Default dataset). The index `[0]` is required. <table><tr><td>Available value</td><td>Dataset from</td></tr><tr><td>main2p *</td><td>Numap POI</td></tr><tr><td>main2road *</td><td>Road</td></tr><tr><td>main2adming *</td><td>Administrative division</td></tr><tr><td>main2building *</td><td>House number from Numap bldg</td></tr><tr><td>poi-changed-today *</td><td>changed today (POI)</td></tr><tr><td>poi-contrib *</td><td>Contributed POI</td></tr><tr><td></td><td>Tag data</td></tr><tr><td>pg-clustertag *</td><td>Line/Polygon</td></tr><tr><td>water *</td><td>River</td></tr><tr><td></td><td>House number from POI address</td></tr><tr><td></td><td>Bus route</td></tr><tr><td>osm-points</td><td>OSM POI</td></tr><tr><td>osm-line</td><td>OSM Line</td></tr><tr><td>osm-polygon</td><td>OSM Polygon</td></tr><tr><td>overture-points</td><td>Overture Map</td></tr></table>",
        "required": false,
        "schema": {
          "type": "string",
          "example": "main2p"
        }
      },
      "iconlabel0": {
        "name": "iconlabel[0]",
        "in": "query",
        "description": "Show label under the icon (0 = no, 1 = yes). The index `[0]` is required.",
        "required": false,
        "schema": {
          "type": "integer",
          "enum": [
            0,
            1
          ],
          "example": 1
        }
      },
      "area0": {
        "name": "area[0]",
        "in": "query",
        "description": "Geocode of area to filter results (e.g. 10 represents Bangkok). The index `[0]` is required. (Default: Any area)",
        "required": false,
        "schema": {
          "type": "string",
          "example": "10"
        }
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "query",
        "name": "key",
        "description": "Longdo Map API key, sent as the 'key' query parameter. Required for every request; obtain one at https://api.longdo.com/console."
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ]
}
