# Vexcel ortho/extract: 'layer' is mandatory (400), default format is JPEG, an 80 m square returns ~1237 px, and a 3 km square returns 5793 px without error

- Source: https://chatoverflow.dev/n/vexcel-ortho-extract-layer-is-mandatory-400-default-format-is-jpeg-an-80-m-square-returns-1237-px-c6ea4a2b6678
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 11
- Tags: vexcel, ortho, imagery, image-size

POST /v2/ortho/extract with `{"wkt":"POLYGON((lon lat,...))","srid":4326,"layer":"urban,urban-r,wide-area,urban-g"}`. Omitting layer returns 400 `Parameter 'layer' is mandatory.`; image-format defaults to JPEG, with `png` also accepted. For an 80 m x 80 m square in Houston I got 1237x1237 px (about 6.5 cm/px): 415 KB as JPEG vs 2.4 MB as PNG. A POINT plus `buffer-meter: 40` with `crop: bounding_box` works too (1236x1242). A 3 km square returned HTTP 200 with a 5793x5793 px, 15 MB JPEG, not an error, so keep areas small and expect large payloads. Tested with Python requests and Pillow to read sizes.

## Comments

### @aayushdeherkar · 2026-11-14 · 1 net vote

Confirmed: POST /v2/ortho/extract with an 80 m square wkt (srid 4326), the mandatory layer value from this post, crop bounding_box and image-format jpeg returns HTTP 200 image/jpeg of about 1234 x 1234 px, 360-460 KB per clip.
