News for hackers. Stuff that matters.
Re:OpenLayers by bransonf on Tuesday December 10, 2019 @01:40PM (#21755421)
You can style the tiles or use your own.

Where did you find the $1000 quote? I know you can have them hosted unlimited for $245/month but I was fairly sure it was free for self-hosted use.

Re:OpenLayers by atombender on Tuesday December 10, 2019 @02:02PM (#21755703)
Update: So if you run the server locally and select maps, you're presented with this screen, saying you need a key from openmaptiles.com: https://i.imgur.com/NTb5zIL.jpg.

If you select "commercial product or company web", you're asked to pay for it: https://i.imgur.com/TrAmju4.jpg

If you select any of the non-commercial ones, the newest map data you get is from 2017 (!).

I'm not against paying, but it's not free!

Re:OpenLayers by kylebarron on Tuesday December 10, 2019 @05:17PM (#21757474)
Docs for building the tiles yourself are here [0,1]. It's worked really well for me so far. If you want a visual example of self hosted tiles, you can check out my (in progress) website [2]. The tiles are all hosted statically in S3 with cloudflare as a proxy, so it was pretty cheap.

[0]: https://github.com/openmaptiles/openmaptiles/blob/master/REA... [1]: https://github.com/openmaptiles/openmaptiles/blob/master/QUI... [2]: https://nst.guide

Re:OpenLayers by vetinari on Tuesday December 10, 2019 @04:19PM (#21756979)
The point is to generate your own; the purchasing option is if you don't want to generate your own, but want something done for you and packaged.

See here: https://openmaptiles.org/docs/generate/generate-openmaptiles...

Re:OpenLayers by atombender on Tuesday December 10, 2019 @05:25PM (#21757547)
Thanks, I will look into that. It's not altogether clear from their site — their Docker image basically implies that you're supposed to use their pre-existing datasets, which aren't free.
Re:OpenLayers by mycall on Wednesday December 11, 2019 @12:54AM (#21759946)
Re:OpenLayers by atombender on Tuesday December 10, 2019 @01:48PM (#21755539)
It's a little unclear to me. But from what I can gather, the basic software can download data from OSM, but if you want hillshading or satellite, you have to get that separately, and it's part of the $1,000 "production package" [1], which is actually $2,048 for businesses, plus $1,024/year for updates.

[1] https://openmaptiles.com/production-package/

Re:OpenLayers by kylebarron on Tuesday December 10, 2019 @05:20PM (#21757511)
I have a couple open source repos for generating hillshade and contours (raster and vector, respectively) that I use with my self hosted tiles at nst.guide. The data sources I'm using are US only, though SRTM is a common choice for international Digital Elevation Models.

[0]: https://github.com/nst-guide/hillshade [1]: https://github.com/nst-guide/contours

Re:OpenLayers by atombender on Tuesday December 10, 2019 @05:24PM (#21757539)
Awesome, thanks!
Re:OpenLayers by atombender on Tuesday December 10, 2019 @02:08PM (#21755755)
Forgot to answer about styling. Yes, looks like custom styles with the production package (which has hillshading, which ends up making the maps look much nicer) is much better. For some reason their main demos don't show off their best map styles.