Geo+

Geo+ · GPT アクション

GeoGpts Api

This api Is able to generate map and geospatial data from a POST json request

  • POST /postmapqueryPostMapQuery

    The root url of the api

元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "GeoGpts Api",
    "description": "This api Is able to generate map and geospatial data from a POST json request",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://app.ageospatial.com"
    }
  ],
  "paths": {
    "/postmapquery": {
      "post": {
        "x-openai-isConsequential": false,
        "description": "The root url of the api",
        "operationId": "PostMapQuery",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "address": {
                    "type": "string",
                    "description": "Central point of the generate map or data. Default is Geneva, Switzerland."
                  },
                  "zoom": {
                    "type": "integer",
                    "description": "Level of zoom for the map, range 1-22. Default is 10.",
                    "minimum": 1,
                    "maximum": 22
                  },
                  "style": {
                    "type": "string",
                    "description": "Style of the map. Default is roadmap.",
                    "enum": [
                      "roadmap",
                      "satellite",
                      "hybrid",
                      "terrain",
                      "build",
                      "sentinel",
                      "vegetation",
                      "population",
                      "railway"
                    ]
                  },
                  "markers": {
                    "type": "array",
                    "description": "List of markers or locations to plot on the map.",
                    "items": {
                      "type": "array",
                      "minItems": 2,
                      "maxItems": 2,
                      "items": {
                        "type": "number"
                      }
                    }
                  },
                  "marker_adresses": {
                    "type": "array",
                    "description": "List of addresses to mark or geocode on the map.",
                    "items": {
                      "type": "string"
                    }
                  },
                  "place_type": {
                    "type": "string",
                    "description": "Specify the type of place, such as 'hospital', 'school', etc."
                  },
                  "place_radius": {
                    "type": "integer",
                    "description": "Search area radius for the place_type in kilometers, range 1-10.",
                    "minimum": 1,
                    "maximum": 10
                  },
                  "admin_layers": {
                    "type": "string",
                    "description": "Display administrative boundaries. None, admin0, admin1, or admin2.you can use the admin layers as an aoi for the generation of population and building",
                    "enum": [
                      "admin0",
                      "admin1",
                      "admin2"
                    ]
                  },
                  "time": {
                    "type": "string",
                    "description": "End date for sentinel and vegetation imagery in 'YYYY-MM-DD' format.",
                    "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response with map and geospatial data"
          },
          "400": {
            "description": "Invalid request parameters"
          },
          "500": {
            "description": "Internal server error"
          }
        }
      }
    }
  }
}