3607
MariaDBWARNINGCriticalSpatialHIGH confidence
Geographic SRS not supported for this operation
Production Risk
Medium — Results may be inaccurate or the operation may fall back to an unsupported mode.
How to reproduce
trigger — this will error
trigger — this will error
SELECT ST_Buffer(ST_GeomFromText('POINT(0 0)', 4326), 1);expected output
Warning 3607: Geographic SRS is not supported for this operation.
Fix
Transform to Cartesian SRS
Transform to Cartesian SRS
SELECT ST_Buffer(ST_Transform(geom_col, 3857), 1) FROM t;
Why this works
Projects geographic coordinates to a Cartesian system before buffering.
What not to do
✕
Version notes
Sources
Official documentation ↗
MySQL 8.0 — 3607 ER_WARN_SRS_GEOGRAPHIC_UNSUPPORTED
Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev