POINT(x y)
, POINT(lon lat)
, POINT(경도 위도)
SELECT ST_Within(ST_GEOMFROMTEXT('POINT(100.52438735961914 13.748889613522605)'), ST_GEOMFROMTEXT('POLYGON((100.49503326416016 13.766897133254545, 100.55940628051758 13.746555203977,100.56266784667969 13.72170897580617, 100.48885345458984 13.739051587150175, 100.49503326416016 13.766897133254545))')) AS geoFenceStatus;