SpatialRefSys

Convert SRS definition into OGC WKT format

post/api/component/spatial_ref_sys/convert

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/convert
  • Auth: none declared

Request body

format'epsg' | 'esri' | 'mapinfo' | 'proj4' | 'wkt' required

Format

projStrstring required

SRS definition to covert

Example request

{
  "projStr": "4326"
}

Response

SRS definition in OGC WKT format

wktstring required

OGC WKT definition

Example response

{
  "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\"]]"
}

Changes

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