Peter!  This sounds like a job for Geowankers!  Sign up to this list.  Any
ideas for Peter folks?

---------- Forwarded message ----------
From: *Green Ottawa* <[email protected]>
Date: Friday, April 15, 2016
Subject: can I ask you a question about mapping?
To: "Tracey P. Lauriault" <[email protected]>


Hi Tracey,

Long time no see!

I'm looking into adding some mapping capabilities to the Planetfriendly
Calendar <http://www.planetfriendly.net/calendar/> and possibly GoodWork
<http://goodwork.ca/>. Do I remember correctly that this is your area of
expertise?  Can I ask you a question about it?

We're in the process of revamping the Calendar, and I'd very much like to
add a "radius" search -- e.g. users can enter their address or postal code
and search for all events within x km.

I've just started looking into this and it seems I could use Google Maps
JavaScript API .... for each event get the event organizer to use Place
Autocomplete
<https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete>
to return the latitude and longitude, which I would store in the event's
record (MySql).  From there I'd use php & mysql to do the radius search
<http://stackoverflow.com/questions/407989/calculating-distance-between-zip-codes-in-php>.
Am I on the right path??

I'm an intermediate PHP programmer but have no experience with maps and
very little with Javascript or API's.  I could try to program it myself ---
but if there's any way I can avoid reinventing the wheel I'd love to know
about it!  (My total budget for this is about 2 or 3 hundred dollars.)

Thanks for any thoughts you can offer!

*       - Peter*

*Please follow GoodWork on facebook
<https://www.facebook.com/goodworkcanada> and twitter
<https://twitter.com/CanadaGreenJobs>.*

*GoodWork Environmental Jobs*
Work in environment, conservation, nature, sustainability
http://GoodWork.ca
[email protected] <javascript:_e(%7B%7D,'cvml','[email protected]');>
(613) 744-3392

People and Planet, Box 21006, RPO Ottawa South, Ottawa ON  K1S 5N1



-- 
*Tracey P. Lauriault*

Assistant Professor
Critical Media Studies and Big Data
Communication Studies
School of Journalism and Communication
Suite 4110, River Building
Carleton University
1125 Colonel By Drive
Ottawa (ON) K1S 5B6

1-613-520-2600 x7443
[email protected]
@TraceyLauriault
Skype: Tracey.P.Lauriault
https://carleton.ca/sjc/people-archives/lauriault-tracey/
_______________________________________________
Geowanking mailing list
[email protected]
http://geowanking.org/mailman/listinfo/geowanking_geowanking.org

Reply via email to