const crsToCreate = [{
srid: 456789,
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 \"\"'
}];
const createdCRS = await client.geospatial.crs.create(crsToCreate);{
"items": [
{
"srid": 4326,
"wkt": "POINT (0 0)",
"projString": "<string>",
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000
}
]
}Required capabilities:
geospatialCrsAcl:WRITE
Creates custom Coordinate Reference Systems.
const crsToCreate = [{
srid: 456789,
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 \"\"'
}];
const createdCRS = await client.geospatial.crs.create(crsToCreate);{
"items": [
{
"srid": 4326,
"wkt": "POINT (0 0)",
"projString": "<string>",
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000
}
]
}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.
List of custom Coordinate Reference Systems to be created.
Show child attributes
Custom coordinate reference system list response.
Show child attributes
Was this page helpful?