From 612ecddb99f33420077dcd3f1ca0ac9666e741b6 Mon Sep 17 00:00:00 2001 From: Stepan Kuzmin Date: Fri, 25 May 2018 17:22:21 +0300 Subject: [PATCH] fix: set default tile buffer to 64 --- src/source.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/source.rs b/src/source.rs index 5e7d809a..6f44e61d 100755 --- a/src/source.rs +++ b/src/source.rs @@ -1,9 +1,9 @@ use std::collections::HashMap; -use std::io; use std::error::Error; +use std::io; -use super::utils; use super::db::PostgresConnection; +use super::utils; #[derive(Clone, Debug, Serialize)] pub struct Source { @@ -74,7 +74,7 @@ pub type Sources = HashMap; pub fn get_sources(conn: PostgresConnection) -> Result { let default_extent = 4096; - let default_buffer = 0; // 256 + let default_buffer = 64; let default_clip_geom = true; let mut sources = HashMap::new();