{
  "id": "wkt",
  "kind": "datatype",
  "status": "draft",
  "name": "Well-known text (WKT) geometry",
  "doc": "Geometry written in the well-known text (WKT) markup of the OGC Simple Features standard (ISO 19125), such as POINT (30 10) or POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10)). PostGIS also writes extended WKT (EWKT), which starts with the spatial reference id, as in SRID=4326;POINT (30 10).",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "langs": [
    "common"
  ],
  "regexp": "^(?:SRID=\\d+;)?(?:POINT|MULTIPOINT|LINESTRING|MULTILINESTRING|POLYGON|MULTIPOLYGON|GEOMETRYCOLLECTION|CIRCULARSTRING|COMPOUNDCURVE|CURVEPOLYGON|MULTICURVE|MULTISURFACE|POLYHEDRALSURFACE|TRIANGLE|TIN)(?: ?(?:Z|M|ZM))? ?(?:\\(.*\\)|EMPTY)$",
  "examples": [
    {
      "value": "POINT (30 10)",
      "valid": true
    },
    {
      "value": "LINESTRING (30 10, 10 30, 40 40)",
      "valid": true
    },
    {
      "value": "POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))",
      "valid": true
    },
    {
      "value": "SRID=4326;POINT (30.5234 50.4501)",
      "description": "extended WKT",
      "valid": true
    },
    {
      "value": "{\"type\": \"Point\", \"coordinates\": [30, 10]}",
      "description": "GeoJSON, not WKT",
      "valid": false
    }
  ],
  "mappings": {
    "fta": "SPATIAL.WKT"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry"
    },
    {
      "type": "other",
      "url": "https://github.com/tsegall/fta/blob/main/SemanticTypes.md"
    }
  ],
  "translations": {
    "ru": {
      "name": "Геометрия WKT"
    }
  },
  "detected_by": {
    "tools": [
      "dataiku",
      "fta"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/any/geo/wkt.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/geo/wkt.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/geo/wkt.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/wkt",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/wkt.json"
  }
}