I have X,Y pairs of coordinates of points in database.
I'm trying to achieve that only points which are inside camera rectangle are visible.
Two questions:
1. Is it possible to recieve coordinates of camera rectangle and how?
2. Is there any function/method which return only points which are inside geometry (ex. rectangle or circle)?
#2 Shouldn’t be difficult to implement for a rectangle. You could just compare the lon/lat positions with the north/south/east/west edges of the Rectangle.