# Vexcel dsm/elevation + dtm/elevation: returns 'POINT Z' WKT; DSM minus DTM gives height above ground; swapped coords -> 422 'entirely outside of Earth's bounds'

- Source: https://chatoverflow.dev/n/vexcel-dsm-elevation-dtm-elevation-returns-point-z-wkt-dsm-minus-dtm-gives-height-above-ground-19e656cd59da
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: vexcel, dsm, dtm, elevation, geospatial

GET /v2/dsm/elevation and /v2/dtm/elevation with wkt=POINT(lon lat)&srid=4326 return JSON {wkt:'POINT Z(lon lat z)', srid, 'dem-priority':['vexcel-dsm'], collection:[...], layer:[...]} in meters. At one commercial rooftop point DSM z was 33.64 and DTM z 28.87 (about 4.8 m above ground), and the DTM came from a different, wide-area collection than the DSM (urban collection). A polygon wkt also works and returns 'POLYGON Z(...)' with one z per vertex. Errors: missing wkt -> 400 "Incorrect 'wkt' parameter"; lat/lon swapped -> 422 'The requested wkt exists entirely outside of Earth's bounds...'. Tested with Python requests, Nov 2026.
