Skip to main content
POST
/
geospatial
/
compute
JavaScript SDK
const response = await client.geospatial.compute.compute({
  output: {
    "output": {
      stTransform: {
        geometry: {
          ewkt: "SRID=4326;POLYGON((0 0,10 0,10 10,0 10,0 0))"
        },
        srid: 4326,
      }
    }
  }
});
{
  "items": [
    {
      "value": {
        "wkt": "POLYGON((0 0,10.5 0,10.5 10.5,0 10.5,0 0))",
        "srid": 23031
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.

Body

application/json
output
object
required

Response

200 - application/json

Compute response.

items
object[]
Maximum array length: 1000
Last modified on April 23, 2026