I've added this example to the list. Probably won't be able to revisit this until after 2.2.3 release, so slated for 2.2.4.
From: postgis-users [mailto:[hidden email]] On Behalf Of Dan Ball
Sent: Saturday, October 01, 2016 2:37 PM
To: [hidden email] Subject: [postgis-users] Geocoder: Should max_results=1 return lowest "rated" result?
The docs indicate that setting max_results=1 in the geocode function should return only the �best� result. Should that result be identical to the result with the lowest rating?
A little freelance job to write a postgis function to cut a compass corner off a polygon
I need some functionality that I think is best put into a function, probably in pgsql. This has been on the todo list for years, but since I can't seem to get to it, maybe one of you would like to help out. I don't think it should take long for someone who has the skills. I'd really appreciate the help.
You obviously need to have some experience writing postgis functions. The function would divide up a polygon by cutting off one of the compass corners using east-west and north-south lines. I think you'll have to use a bisection method to find the correct position of one of the lines, as the area (rather than the extent) of the corner-section to be cut off will be specified as a function parameter.