mirror of
https://github.com/mapnik/mapnik.git
synced 2026-02-01 17:36:36 +00:00
Merge branch 'pgraster-just-overviews' of https://github.com/CartoDB/mapnik into CartoDB-pgraster-just-overviews
This commit is contained in:
commit
1714d4317c
@ -878,9 +878,10 @@ featureset_ptr pgraster_datasource::features_with_context(query const& q,process
|
||||
std::string table_with_bbox;
|
||||
std::string col = geometryColumn_;
|
||||
|
||||
if ( use_overviews_ ) {
|
||||
std::string sch = schema_;
|
||||
std::string tab = mapnik::sql_utils::unquote_double(raster_table_);
|
||||
if ( use_overviews_ && !overviews_.empty()) {
|
||||
std::string sch = overviews_[0].schema;
|
||||
std::string tab = overviews_[0].table;
|
||||
col = overviews_[0].column;
|
||||
const double scale = std::min(px_gw, px_gh);
|
||||
std::vector<pgraster_overview>::const_reverse_iterator i;
|
||||
for (i=overviews_.rbegin(); i!=overviews_.rend(); ++i) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user