OSM in App benutzen

Hi zusammen,
ich bin dabei eine App zu erstellen deren Hauptfunktion das Anzeigen von Orten (mit bestimmten Merkmalen) auf einer Deutschlandkarte sein soll.
Kann mir wer weiterhelfen die Serverleistung und die damit verbundenen Kosten dafür einzuschätzen? Welche Werte wird dafür benötigt?
Vielen Dank und viele Grüße an die Community!

Für genauere Aussagen benötigen wir mehr Details von dir:

eine App für welches Betriebssystem? Welche Geräte?

Welche Programmiersprache oder Framework?

Soll die Karte pixelbasiert oder vektorbasiert sein?

Soll die Karte offline auf dem Gerät gespeichert sein oder stets die Kartendaten online nachladen, je nach Position?

beim Server kommt es vor allem auch darauf an, ob man die Hintergrundkarte selber erstellen und hosten will (aufwendig), oder ob man was fertiges einbindet (schnell und einfach, mit sehr vielen Nutzern ggf. teurer).

Hey, danke für die Antworten!

Ich stehe noch am Anfang der App-Entwicklung und habe mich noch für keine Programmiersprache etc. entschieden.
Der Grundaufbau soll so ähnlich wie bei iOverlander sein, die auch OSM nutzt. Am Beispiel von iOverlander: ist mit Android and IOS nutzbar auf Smartphones und als Webanwendung, die Karte ist vektorbasiert. In dem Fall kann die Karte offline genutzt werden und wird immer wieder nachgeladen/ aktualisiert bei Internetverbindung. Da die App iOverlander kostenlos ist, keine Werbung geschalten wird und die von Ehrenamtlichen betrieben wird vermute ich, dass die Servernutzung nicht zu teuer sein dürfte.
Wie kann ich die Serverleistung und die damit verbundenen Kosten dafür einschätzen? :slight_smile:

I’m guessing it will be accessed often / by more than a few users, so simple ready-made solutions for putting elements on a map like http://umap.openstreetmap.fr are not good enough? Because for low-usage something like that is most common solution. Example what could be easily done with no server at all: Biciklistička karta OSM - uMap - parking, voda, dućani

Can anyone help me estimate the server performance and the associated costs? What values are needed for this?

If a separate server is needed because the load would be significant (and thus against Terms-of-Service), I would suggest with renting smallest virtual machine that works for you with some cloud provider, and scaling it up effortlessly until you reach a level where your users are happy with how fast it is working and updating, and then add a safety margin for growth.
When you are happy, then you can take note of that virtual machine specs and buy real hardware matching (or better: exceeding) those specifications.

Alternatively, if you have spare hardware laying around, setup the software stack you’ll be using on that, and check how well it fares for implementing your specific idea.

And if you are planning doing something huge, than take a look at https://hardware.openstreetmap.org/ or https://munin.osm.org/ to see what hardware is OSMF currently using, and statistics for usage patterns, peak loads, etc. and try to match to your envisioned patterns.

it's hard to give concrete suggestion on vague idea, because...

… depending on what you’re trying to do:

  • simple RasperryPi may easily be serving dozens of your users (using public tile servers if inside their terms-of-service and overlaying your elements on top of it using e.g. leaflet), or
  • you might need little beefier but still single desktop-class computer with big SSD, e.g. if just an amount of data is problem for ToS above (by caching it via e.g. MapProxy) or not much data needs to be regenerated on demand, or
  • you might need cluster of several powerful dedicated machines to distribute the load. (if you need minutely-updated copy of PostGIS database, with custom data processings and renderings, hundreds of thousands of concurrent users etc)
1 Like