News for hackers. Stuff that matters.
Re:A new way to make maps with OpenStreetMap by gorbypark on Friday April 23, 2021 @05:41PM (#26919550)
I’ve used the utility tippecanoe with success to generate vector tiles from geojson sources and am hosting them statically. It’s been overall pretty easy. The only gotcha I can remember is I needed to pass the no compression flag since mapbox gl can’t read compressed tiles (and the file host will gzip everything anyways).
Re:A new way to make maps with OpenStreetMap by d-yakovlev on Friday April 23, 2021 @07:30PM (#26920492)
What issues have you run into with gzipped tiles? I store a lot of gzipped individual tiles for use in Mapbox GL maps on S3 with no problem - the only necessary change was making sure that S3 was emitting `content-encoding` headers.
Re:A new way to make maps with OpenStreetMap by gorbypark on Saturday April 24, 2021 @05:54AM (#26923683)
I couldn’t get the tiles to show up at all when they were compressed by tippecanoe. I’m not sure what the problems is, to be honest.