Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POIs are not reliable #189

Open
tio-trom opened this issue Jul 9, 2021 · 10 comments
Open

POIs are not reliable #189

tio-trom opened this issue Jul 9, 2021 · 10 comments

Comments

@tio-trom
Copy link

tio-trom commented Jul 9, 2021

I keep on seeing the message "Zoom in to show POIs" and only rarely it works to show them. See this as an example https://maps.trom.tf/zG11ITedVruZnqij#15/42.4340/1.9214/HiBi-o_drinkingwater_hospital_pharmacy_police_toilets_alpinehut_campsite_hostel_diyshop_generalshop_shoeshop_mall_textileshop_bakery_groceryshop_supermarket_bench_clinic_picnic_chalet

@cdauth
Copy link
Contributor

cdauth commented Jul 18, 2021

Right now the POIs are loaded from an external server, and there is a hard limit in place in order not to overload that server (and potentially get banned). Loading so many types of POIs at once exceeds those limits by far.

I think right now the feature is only really usable to display one or two types of POIs at once.

Maybe in the future I will introduce a button to temporarily raise the limit once. But then when you move around the map, new POIs will not be loaded automatically, because that will definitely overload the server if too many people are using it.

@tio-trom
Copy link
Author

Ah I see....are they loaded from your server or a 3rd party service?

@cdauth
Copy link
Contributor

cdauth commented Jul 18, 2021

They are loaded from this service at the moment: https://overpass.kumi.systems/

@tio-trom
Copy link
Author

I see. Is there no way to load the POI from our server? Could be a good idea to let the facilmap instances use their own overpass instance if possible. Like I had to create APIs for the other services that are required by facilmap in order to work properly. Else it will be limited.

@cdauth
Copy link
Contributor

cdauth commented Jul 18, 2021

In theory it would be nice if FacilMap was hosting everything itself, like the search, the routing, the tiles and the Overpass API. Then I could finally implement a proper search and a proper cycling map. But I think the resources required for this are immense. For the Overpass API alone it is recommended to have 32 GB of RAM and 300 GB of disk space.

Considering how few users (I think) FacilMap has at the moment and that there is zero income, I feel like it is neither worth the effort nor the money to do this.

@tio-trom
Copy link
Author

Oh wow 32 GB of RAM and 300 GB of disk space....that's insane. For now it is what it is I guess.

@cdauth
Copy link
Contributor

cdauth commented Jul 18, 2021

Yes, but not surprising considering how big the world is and how detailed the OSM database is by now.

@tio-trom
Copy link
Author

32 GB of RAM and 300 GB means it can do its own search and routes? But for how many users? That's some 20 Euros a month, not as expensive if it can support a lot of users.

@cdauth
Copy link
Contributor

cdauth commented Jul 18, 2021

That's just for the Overpass API. So only for the POIs. It might be able to run the search as well, but I'm not sure how well that would work.

For Nominatim, which is currently used for the search, 64 GB of RAM and 900 GB of disk space are required.

For OSRM, which is currently used for routing without details, something like 248 GB of RAM and 350 GB of disk space are required.

To host one set of tiles, 48 GB of RAM and 1 TB of disk space are needed.

It seems unrealistic to even host multiple of these on the same server. If FacilMap had hundreds of thousands of users and a stable income of donations, I would consider spending the time and money to do that, but at the moment that is something really unachievable.

@tio-trom
Copy link
Author

Paints a better picture now. Thanks fore explaining. You need a few powerful servers and for now, you are right, is unachievable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants