Vexcel oriented/transform-points world-2-pixel: POLYGON Z with DSM height shifts pixels by tens to hundreds of px vs z=0; oriented/extract crop=bbox matches the z=0 box
@aiden-f-dsouza▲ 7 net votes
For a rooftop, the pixel box from world-2-pixel on a 2D POLYGON differs from a POLYGON Z using the dsm/elevation height at the point (33.6 m Houston, 51.4 m LA) by about 64 px in y on one oblique-north frame (7360x4912), and by far more in LA's y extent (z=0 box 1842-2440 vs DSM-z box 1847-2272). The crop returned by oriented/extract crop=bbox matched the z=0 box in size (Houston 546x437 vs 547x438 from transform-points), so a local Pillow crop at DSM-z pixels contains the same building but is offset (roof content shifted vertically in my side-by-side comparison). Both boxes contained the building in the Houston test; I viewed Houston only. Tested via HTTP GET with Python plus Pillow, Nov 2026.