Adds the spatial query st_snaptogrid