azavea / osmesa

OSMesa is an OpenStreetMap processing stack based on GeoTrellis and Apache Spark
Apache License 2.0
80 stars 26 forks source link

GZIP and tiles and mark them as gzipped on S3 #86

Closed moradology closed 5 years ago

mojodna commented 6 years ago

This is done / supported (though not implemented by everything yet, so I'll leave this open).

Encoding can be specified here:

https://github.com/azavea/osmesa/blob/205baf6fbdbe354c409e24cf1bc1f88d2a092dbe/src/analytics/src/main/scala/osmesa/analytics/updater/package.scala#L112

Here's an example:

https://github.com/azavea/osmesa/blob/205baf6fbdbe354c409e24cf1bc1f88d2a092dbe/src/analytics/src/main/scala/osmesa/analytics/oneoffs/HashtagFootprintUpdater.scala#L448-L464

mojodna commented 5 years ago

All tiles that are generated in practice are gzipped.