Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

My objective is to create a radius search tools using Leaflet API. It will behave like how many POIs within the radius from a given point. Any tutorial or any blog forum link will be helpful to me. Thanks

share|improve this question
    
Please check following link bitbucket.org/zakis_/leaflet-search/src/67f10df04639/… –  Sunil Feb 7 '13 at 6:31
    
sounds like server side stuff. GeoServer has DWITHIN( Expression , Expression , distance , units ). docs.geoserver.org/latest/en/user/filter/ecql_reference.html –  geomajor56 Feb 7 '13 at 12:46
add comment

1 Answer

Here is a bounding box example, it uses Rtrees which are pretty efficient so you may have better luck filtering out the corners of the Rtree bounding box then doing a straight up radius search.

share|improve this answer
add comment

Your Answer

 
discard

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.