Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select p.id, p.nombre
- from points p, (select 1 as id, st_setSRID(st_GeomFromGeoJSON(%polygon%), 4326) as geom) as pol
- where st_within(p.geom, pol.geom)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement