mapnik/plugins/input/pgraster
Rafa de la Torre 8e8482803b If there're overviews, just use them for rendering
The current code falls back to the base table for small scales.

That approach has some drawbacks cause it forces the original table to
share some conditions with its overviews (same SRID, alginment, scale
constraints) for the rendering to work properly.

What we propose is to always fall back to the highest resolution
overview (lowest scale), rather than the original table, in order to
avoid coupling the original table with the constraints imposed by
rendering and still have them linked (in postgis raster metadata).

Please note this approach is not 100% compatible as the base table
won't be used. This should be no big deal because overviews can have
an arbitrary resolution/scale.
2016-05-06 14:43:24 +02:00
..
build.py fix for santize address errors 2015-12-27 21:40:10 -06:00
pgraster_datasource.cpp If there're overviews, just use them for rendering 2016-05-06 14:43:24 +02:00
pgraster_datasource.hpp update copyright notice 2015-06-16 12:49:16 +02:00
pgraster_featureset.cpp update copyright notice 2015-06-16 12:49:16 +02:00
pgraster_featureset.hpp update copyright notice 2015-06-16 12:49:16 +02:00
pgraster_wkb_reader.cpp c++ style: use nullptr rather than NULL 2016-04-05 15:27:32 -04:00
pgraster_wkb_reader.hpp update copyright notice 2015-06-16 12:49:16 +02:00
README Add mention of CartoDB support in pgraster input plugin code 2014-08-20 17:31:41 +02:00
TODO pull in pgraster plugin by @strk from 2.3.x to master/3.x - refs #2329 #1660 2014-08-12 15:03:51 -07:00

PostGIS Raster input plugin for mapnik
======================================

This plugin shares directives with the "postgis" one,
with the following differences:

 - "raster_field" replaces "geometry_field"

 - "raster_table" replaces "geometry_table"

 - "prescale_rasters" replaces "simplify_geometries"

 - "use_overviews" introduced

 - "clip_rasters" boolean introduced, defaults to false

 - "band" introduced, with same semantic of the GDAL driver

Credits
=======

The plugin was initially developed by Sandro Santilli <strk@keybit.net>
with support from CartoDB.