Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using Google Maps API can I do proximity analysis, for example:

  • In a state, let's say Virginia, display all the points that are 500 ft/m from a POI such as McDonalds or Bob's Diner, 1,000 ft/m from a National Park and within 5 minutes driving from an interstate highway (Example I-95)
share|improve this question
I know that google earth pro allows this type of analysis; but I don't know if it uses gmaps api. – relima Feb 16 '11 at 11:46
@relima - so my best bet is to create a POSTGIS db with all my POI and do the analysis on the postgis level but display the results on google maps – dassouki Feb 16 '11 at 11:50
@dassauki that is exactly what I would do. You can use google's api to query distances to fill your db with more precise information or just go with pythagoras. – relima Feb 16 '11 at 12:08
@relima - the issue with that is that i'll need to build a full blown postgis data, some form of tiling / wms server and my data sources won't be free and not as accurate as google's – dassouki Feb 16 '11 at 12:39
I don't know the size of the db that you are dealing with; but in a small scale, I have used google docs spreadsheet application with a distances gadget or some sort of ditances function to create a table of distances that suits your needs; It won't help you at all if your db is anything but very small; but I am really out of other ideas. – relima Feb 16 '11 at 13:06
up vote 6 down vote accepted

You can use the Local Search within the Google Maps API (V3).


You can even find POI's along a route if you wanted too:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.