I'm studying GIS services to solve one specific need:

Given x/y coordinates of one city, I want a JSON result that lists only cities (not facilities) that are nearby the specified city, within a driving distance radius (e.g. 100km).

I came close to that with two: Geonames and ArcGIS, but I couldn't extract this kind of data on neither (maybe it's my lack of experience).

Do you know a service that I can use for this specific need? (I don't want map rendering). If possible, can you give a query example using it?

  • Would you be able to edit your Question to provide details of the "several GIS tool" that you are already studying, please? This helps us to not simply retrace your steps. Also, our Q&A format works best with just one question per Question so perhaps think about whether you can focus this Question on one and research/ask the other separately.
    – PolyGeo
    May 19, 2014 at 22:15
  • @PolyGeo Thanks for the tips! About the two questions, I believe the two are complementary, don't you? May 19, 2014 at 22:20
  • For me two question marks means two questions so something like "Do you know a service, if possible with a query example, that I can use for this specific need?" would work better. Using "service" in your first question, "tool" in your second question, and talking about "several GIS tools" made it harder to discern the number of questions.
    – PolyGeo
    May 19, 2014 at 22:27
  • I don't know about the JSON side of it, but in ArcGIS this sounds like either a simple select by location query (find all points within x distance of selected point) or possibly a network analyst service area problem (cities can be facilities) if actually considering a road network. I am unclear on what data you have and software you are using or have access to.
    – Chris W
    May 19, 2014 at 22:33
  • @ChrisW In ArcGIS I found how to locate nearby places: developers.arcgis.com/rest/analysis/api-reference/… But I didn't find the parameter to filter the result only to cities. Do you know how to do it? May 19, 2014 at 22:39

1 Answer 1


This service does what you describe in your original question - Given x/y coordinates of one city, it returns a JSON that lists only cities (not facilities) that are nearby the specified city, within a given radius (e.g. 100km) http://www.geobytes.com/get-nearby-cities-api/

As for an example - this link



?([["0.00","Chermside South","QL","Australia","North","0.00","AU","0.00","-27.391701","AUQLCSOT","153.031006","0.00","Queensland"],
["6.52","Chermside Centre","QL","Australia","North","0.47","AU","0.86","-27.384001","AUQLCCEN","153.031998","0.54","Queensland"],   
["83.24","Wavell Heights","QL","Australia","East","1.02","AU","1.89","-27.389700","AUQLWHEI","153.050003","1.17","Queensland"],
["83.24","Wavell Heights North","QL","Australia","East","1.02","AU","1.89","-27.389700","AUQLWHNO","153.050003","1.17","Queensland"],
["318.61","Chermside West","QL","Australia","North-West","1.05","AU","1.94","-27.378599","AUQLCWEZ","153.018005","1.21","Queensland"]]);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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