PostGIS intersects lookup with raster and geometry
25 views
Skip to first unread message
Emanuele Di Giacomo
unread,
Apr 6, 2017, 11:11:17 AM4/6/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hi,
reading the documentation, I've found that `rast__intersects=geom` is
translated to `ST_Intersects(ST_Polygon(rast), geom)`)[1], but in
PostGIS documentation I've found that it's possible to mix rasters
and geometries [2].
`ST_Intersects(raster, geom)` can be quite faster than
`ST_Intersects(ST_Polygon(raster), geom)`.
Before submitting a patch, I'd like to be sure that I'm not missing
something.