Advertisement
Guest User

Untitled

a guest
Jan 21st, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.30 KB | None | 0 0
  1. SELECT occurrences_point.name, occurrences_point.type, occurrences_point.date, occurrences_point.id, occurrences_point.image,  ST_AsGeoJSON(occurrences_point.point) as geom FROM occurrences_point, regions where ST_Intersects(occurrences_point.point, regions.geom) and regions.freguesia ='${req.query.locality}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement