wiglenet / wigle-wifi-wardriving

Nethugging client for Android, from wigle.net
https://wigle.net
BSD 3-Clause "New" or "Revised" License
693 stars 210 forks source link

Consider using OSM as basemap #298

Closed rivermont closed 4 years ago

rivermont commented 5 years ago

As of July last year (2018), Google Maps API is now pay-as-you go for large scale usage. WiGLE uses Google Maps tiles as a basemap for the main site and in-app displays. As far as I can tell Google does not sponsor WiGLE and thus the requests are being paid for somehow.
It seems that WiGLE used to use OSM tiles per #56 and #61 but switched to Google at some point (likely due to server reliability and data consistency which is understandable). However unless there are other reasons (which is probable), would it not be viable to switch to OSM tiles, either fully or as an option?

bobzilladev commented 5 years ago

As you say, we are large scale, so we can't use OSM's servers, so we have to run our own, which is a royal pain to setup and keep running. That said, as goog is now punching us in the wallet we may be forced to spin one up again.

goldfndr commented 5 years ago

There is another alternative: you could use a commercial OSM* tile provider.

*Some providers, such as Mapbox, might use other sources in addition to OSM; a good example is digital elevation models for contours and/or hillshading.

(As an aside, I'm still wondering when Esri's vector tiles are going to come out of beta; they're supposed to be "freely available" when that happens, but they don't disambiguate "freely" to gratis vs libris.)

rivermont commented 5 years ago

Mapbox has made some amazing things and they are very good at consolidating data sources. I hadn't thought of them at first but they would actually be a really good solution. I can't say how their commercial pricing compares to Google's.

rksh commented 5 years ago

we continue to have difficulties keeping OSM updated and running. considering recent google pricing changes, we'll have to re-evaluate.

goldfndr commented 5 years ago

Esri's OpenStreetMap vector basemap is now in general release (although each item in the group still uses the phrasing "When fully released", so I hadn't noticed).

There are sample web deployments via Tangram or Esri Leaflet. Android deployment might require the ArcGIS Runtime SDK which presumably involves specific licensing (not that the web deployment wouldn't, of course).

bobzilladev commented 4 years ago

We did end up switching the website off of google maps. The android app still uses google maps, and likely will continue to, unless they start punching our wallet with that too.