I've written this and it was pretty easy. (For me.) You can find code online, just look for determining if a point is inside a polygon.
Store the points of each polygon in a database with a name/ID for each area. Read through the database and after each polygon is read, check the person's geocoded address to see if it's inside the polygon. On Thu, Feb 18, 2016 at 10:19 PM, Joe Falaschi <[email protected]> wrote: > Thanks Simon. This is one that I did not find myself. I'll check it out! > > Joe > > > > On 2/18/16 8:17 PM, Simon Westlake wrote: > > I don't know of anything prebaked, but I'd look at something like > http://postgis.net/ > > > On Thursday, February 18, 2016, Joe Falaschi < <[email protected]> > [email protected]> wrote: > >> Does anyone know of an elegant solution to display a pricing page based >> on a street address? I want to create a few polygons and if the address is >> within polygon a, b, or c show a different pricing page. We have a >> wordpress site. I've seen some google maps example that we can probably >> make work if done in an iframe. Just curious if anyone has already done >> this and has any suggestions on word press plugins or google maps >> libraries. Thanks! >> >> Joe Falaschi >> e-vergent > > > -- > Simon Westlake > Skype: Simon_Sonar > Email: [email protected] > Phone: (702) 447-1247 > --------------------------- > Sonar Software Inc > The next generation of ISP billing and OSShttps://sonar.software > > >
