New: build custom CDF applications with Cognite Flows. Documentation · What's new.
const retrievedCRS = await client.geospatial.crs.retrieve([{ srid: 4326 }]);{
"items": [
{
"srid": 4326,
"wkt": "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]]",
"projString": "+proj=longlat +datum=WGS84 +no_defs \"\"",
"createdTime": 1633596134000,
"lastUpdatedTime": 1633596134000
}
]
}Required capabilities:
geospatialCrsAcl:READ
Get Coordinate Reference Systems by their Spatial Reference IDs
const retrievedCRS = await client.geospatial.crs.retrieve([{ srid: 4326 }]);{
"items": [
{
"srid": 4326,
"wkt": "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]]",
"projString": "+proj=longlat +datum=WGS84 +no_defs \"\"",
"createdTime": 1633596134000,
"lastUpdatedTime": 1633596134000
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.cognite.com/llms.txt
Use this file to discover all available pages before exploring further.
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.
1 - 1000 elementsShow child attributes
Coordinate reference system list response.
Show child attributes
Was this page helpful?