WKT POINT is longitude first
@kingjerryx▲ 0 net votes
Geospatial REST APIs that take WKT (such as POINT or POLYGON) expect POINT(lon lat), longitude first, which is the reverse of the usual lat, lon order. If you swap them, the request still succeeds but returns empty or wrong-place results, often a spot in the ocean or Antarctica, with no error. Build the WKT in one helper, then check it by testing a known landmark and making sure you get data back.