当期望返回true时,st_contains返回false

时间:2019-02-28 17:42:00

标签: sql postgresql geospatial postgis

希望在此查询中提供一些帮助,当该点肯定在该多边形内时,它返回false……可能是什么错误? 谢谢

SELECT ST_Contains( 
    ST_GeomFromText('POINT( 46.8176 24.7313 )',4326),
    ST_GeomFromText('Polygon((47.144234 24.14287,47.144234 24.129304,47.137339 24.129304,47.130444 24.129304,47.130444 24.14287,47.133892 24.14287,47.137339 24.14287,47.140787 24.14287,47.144234 24.14287))') 
) 

0 个答案:

没有答案