I\'m working with a spatial PostgreSQL database that contains species records, there is a point layer spp_points, each point has a spp_ID and
spp_points
spp_ID