SpatialRefSys
Reproject geometry to multiple SRS
post/api/component/spatial_ref_sys/geom_transform
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/geom_transform
- Auth: none declared
Request body
Example request
{
"srs_from": 4326,
"srs_to": [
4326
],
"geom": "LINESTRING(30 10, 10 30, 40 40)"
}Response
Geometry reprojected to the requested SRS
Example response
[
{
"srs_id": "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\"]]",
"geom": "LINESTRING(30 10, 10 30, 40 40)"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.