mapnik/plugins/input/pgraster
Rafa de la Torre af4c2620aa Ignore overviews with 0 scale in pgraster
refs #2551

Postgis raster_columns view is returning NULL values for raster
overviews with large scale factors. That issue in postgis is described
in http://trac.osgeo.org/postgis/ticket/3006

This causes two main problems:

  - The first overview with scale = NULL is wrongly chosen for rendering
    always

  - The messed up scaling factor causes the render symbolizer to spent
    an insane amount of CPU and memory to render a messed up tiles.

The patch in postgis is expected to be released with the new version, a
few months from now.

Conflicts:
	plugins/input/pgraster/pgraster_datasource.cpp
2014-12-04 12:29:16 -05:00
..
build.py make sure pgraster is rebuilt if headers change inside the postgis plugin dir 2014-08-12 20:29:51 -07:00
pgraster_datasource.cpp Ignore overviews with 0 scale in pgraster 2014-12-04 12:29:16 -05:00
pgraster_datasource.hpp Add mention of CartoDB support in pgraster input plugin code 2014-08-20 17:31:41 +02:00
pgraster_featureset.cpp update copyright year 2014-11-20 15:25:50 +01:00
pgraster_featureset.hpp update copyright year 2014-11-20 15:25:50 +01:00
pgraster_wkb_reader.cpp make concrete image_data type names more expressive and explicit about color channels/depth: 2014-12-04 11:02:42 +01:00
pgraster_wkb_reader.hpp fix compile of pgraster plugin 2014-12-03 00:35:34 -05: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.