Friday 18 November 2016

postgresql - How to check if points are within a circular sector using PostGIS?


I want to get the stars within the black region as shown above. To find this I have the centre of circle (lat, long), radius and the angle of region (45 degree).


I am new to postgres. I worked on code to check if points exist within the circle of a given radius.



How I can find points within this black region?


enter image description here




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...