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
}
}
]
}Required capabilities:
geospatialAcl:READgeospatialCrsAcl:READ
Compute custom json output structures or well known binary format responses based on calculation or selection of feature properties or direct values given in the request.
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
}
}
]
}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.
Show child attributes
Compute response.
1000Show child attributes
Was this page helpful?