Skip to content

Commit c6a11a6

Browse files
authored
Merge pull request #58 from dadiorchen/sql-optm
fix: sql extremelly slow
2 parents 0da6661 + 2f92e93 commit c6a11a6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

greenstand/config.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,9 @@ class Config {
124124
) ? true: false;
125125
function checkUseBounds(){
126126
if(zoomLevelInt > ZOOM_LEVEL_THRETHOLD_OF_CLUSTER){
127-
log.info("zoom level for trees should use bounds anyway");
128-
return true;
127+
//mapnik would add the bounds automatically
128+
log.info("zoom level for trees should not use bounds anyway");
129+
return false;
129130
}
130131
if(map_name){
131132
log.info("org map always use global data set");

0 commit comments

Comments
 (0)