Monday, 12 September 2016

The first "n" points near a polygon? (spatialite or postgis query)


I've two spatial dataset, the fist one is a polygons layers (My_polygons) and the second one is a points layer (My_points).



I need to find, for each polygons, the "nearest" "N" points (N=10) using a spatial query in spatialite or postgis and store this information somewhere in my database for future queries.




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...