For an application that I'm currently working on, I would need to have geographical data displayed on a Map in my UI. I'm going to use Leaftlet.js and OpenStreetMap for this purpose. I have to now import the latitude and longitude information for which I will be getting the data as a .pbf file!
After some research, I decided to go with MongoDB though I'm not sure if it would fit for what I'm trying to do. So in essence here is what I want!
Unfortunately, there seems to be very little information available to me on how I could achieve what I want!
Could anyone here please give me some references on how about I should go doing this?
أكثر...
After some research, I decided to go with MongoDB though I'm not sure if it would fit for what I'm trying to do. So in essence here is what I want!
- I offer in my UI a search box where the user enters an address (street, zip code, city). Only the zip code is mandatory!
- I need to take this information and perform a query in the .pbf data file to search for nearby locations (could be schools, bus stops, hospitals) say within a radius of 3 km.
- I need to then show all the returned locations with a marker on the Map on my browser
Unfortunately, there seems to be very little information available to me on how I could achieve what I want!
Could anyone here please give me some references on how about I should go doing this?
أكثر...