您好我有一个csv表名德州和一个县shapefile名称txcounty.shp
我尝试使用以下内容来获取与txcounty.shp相交的点。但它不起作用。
CREATE TABLE txintect as (
SELECT DISTINCT ST_Intersection (texas.the_geom, txcounty.the_geom)
FROM
texas_geometries AS texas,
txcounty_geometies AS txcounty
WHERE texas.name='Hutchinson'
AND ST_Overlaps(texas.the_geom, txcounty.the_geom)
);
答案 0 :(得分:0)
假设您已在数据库中导入shapefile和csv,您是否尝试过ST_intersects函数而不是ST_Overlaps