SpatialRefSys

Update spatial reference system

put/api/component/spatial_ref_sys/{id}

Request

  • Base URL: https://demo.nextgis.ru (the document declares no server; this is the origin it was published from)
  • URL: https://demo.nextgis.ru/api/component/spatial_ref_sys/{id}
  • Auth: none declared

Path parameters

idinteger required

Spatial reference system ID

Example:4326

Request body

display_namestring

Display name

wktstring

OGC WKT definition

Example request

{
  "display_name": "WGS 84",
  "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\"]]"
}

Response

Updated spatial reference system

idinteger required

Spatial reference system ID

Example response

{
  "id": 4326
}

Changes

No recorded changes to this operation across all 1 revision of this API.