tomtaylor / satellite-eyes

Mac OS X app to automatically set your desktop wallpaper to the satellite view overhead.
http://satelliteeyes.tomtaylor.co.uk
Other
666 stars 61 forks source link

Stamen Maps tiles moving to Stadia #76

Open hugovk opened 1 year ago

hugovk commented 1 year ago

For most users, switching over will be as simple as setting up a Stadia account, and changing a few lines of code. For most non-commercial customers, there’ll be no service disruption, no tracking, and the price tag will continue to be free.

https://stamen.com/here-comes-the-future-of-stamen-maps/

Stadia Maps has partnered with Stamen Design to host their iconic map styles. If you are currently accessing Stamen map tiles via the Fastly CDN or a Stamen domain, you'll need to make a few (small!) changes to keep on using these maps after August 31, 2023. After this point, we will start progressive brownouts before the old URLs stop working entirely on October 31, 2023.

https://docs.stadiamaps.com/guides/migrating-from-stamen-map-tiles/

Does it look feasible to update Satellite Eyes?

numist commented 1 year ago

http://maps.stamen.com/stadia-partnership/

What do I need to do in order to keep getting tiles after this date?

You can start the migration process at stadiamaps.com/stamen/onboarding/. You'll receive simple instructions for how to point to the new service, and full customer support to ensure you won't experience any disruption in service.

How much does it cost?

Once you have signed up for an account with Stadia, your cost is based on tile usage, meaning how many map tiles are requested through your app or website.

If your current usage is less than 200,000 tiles / month—FREE for non-commercial use If your usage goes above 200,000 tiles / month or you are a commercial user—plans start at $20/month. The full pricing is here. You can reduce costs by upgrading to vector tiles. An in-depth guide to switching is available here.

I don't know how broadly Satellite Eyes is distributed, but 200,000 tiles a month feels like it could go pretty fast. Either way, the October deadline is fast approaching… @tomtaylor?

tomtaylor commented 1 year ago

Hi folks, sorry for the slow reply, I haven't had much capacity to think about this. Yes, the free plan is 200k credits, where a styled raster tiles is 1 credit and a satellite image tile is 4 credits. I have a similar limit with Mapbox, and now regularly exceed their free plan of 200k tile loads and run into the PAYG spend. It was only $10 or so last month, but there's no way of managing it, so a spike is a bit of a risk.

I think there's two real options here:

  1. Solicit donations for Satellite Eyes, which I use to cover any tile costs
  2. Remove the usage based tiles from Satellite Eyes, and document/encourage users who want them to add their own tiles sources through the existing UI

I don't have a huge amount of time to spend on SE right now, but I do love the app, so don't want to let it wither away. Any thoughts?

hugovk commented 1 year ago

I'd be fine creating my own free account. It would be nice if I could enter something like a token to re-enable the tiles, but I understand if time is short, and then option 2 sounds fine too. Thank you!

paulschuberth commented 1 year ago

Hi :) Following @hugovk's idea I came up with a draft of how we might provide an UI to enter your own API key for the Stamen/Stadia maps. I'd be very happy to hear your feedback on it. Especially from @tomtaylor since it's not clear to me yet, if such a UI is even desirable.

tomtaylor commented 1 year ago

Brilliant, thanks @paulschuberth! I’ll try and find some time over the weekend to review this.