systemapic / pile

PostGIS tile server
0 stars 2 forks source link

Ensure rasters are pre-clipped and pre-scaled on the database side (to reduce memory foot-print) #25

Closed strk closed 8 years ago

strk commented 8 years ago

In order to reduce memory load at low zoom levels, it is useful for mapnik to request pre-scaling of rasters on the database side. In this way the required part of the raster is still fully loaded on the database side, but is then scaled and passed to tiler in a reduced size, possibly also discarding the full-resolution before sending it over.

Similarly, at high zoom levels, it is useful for mapnik to request pre-clipping of rasters on the databas side. In this way the required part of the raster is still fully loaded on the database side, but is then clipped and passed to tiler in a reduced size, possibly also disacarding the full-resolution before sending it over.