Using ST_Intersects in OGR2OGR

المشرف العام

Administrator
طاقم الإدارة
I'm running GDAL 1.11.2, released 2015/02/10.

The following displays all the attributes in my shapefile on stdout:

/opt/gdal-custom/bin/ogr2ogr -f CSV /vsistdout/ foo.shp -sql "SELECT * FROM foo "

However, if I replace * with ST_Intersect(OGR_GEOM_WKT, OGR_GEOM_WKT) as geom I get ERROR 1: Undefined function 'ST_Intersects' used.

What am I doing wrong?



أكثر...
 
أعلى