From: Kaj-Michael Lang Date: Fri, 25 Apr 2008 10:22:39 +0000 (+0300) Subject: Start with a larger area when searching for roads X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fafab2ce2dbb324ccfff7d3d0db4fd81c70f6b0b;p=mapper Start with a larger area when searching for roads --- diff --git a/src/osm-db.c b/src/osm-db.c index 4e1ea23..01e7674 100644 --- a/src/osm-db.c +++ b/src/osm-db.c @@ -44,12 +44,12 @@ #define OSM_DB_PROGRESS_NUM (30000) /* Node search ranges */ -#define OSM_RANGE_START (16384) +#define OSM_RANGE_START (16384*2) #define OSM_RANGE_STEP (8192) #define OSM_RANGE_STOP (65535) /* Way range for searching again */ -#define OSM_RANGE_WAY (20000) +#define OSM_RANGE_WAY (12000) static sqlite3 *osmdb; static gboolean osm_db_ok;