From 8d99adeda2f39a90f8e7410228b639f7d76bcdaa Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 15 Nov 2000 20:22:22 +0000 Subject: [PATCH] Up max node count to 4000 Temporarily disable land cover for testing purposes. --- src/BuildTiles/Main/construct.hxx | 2 +- src/BuildTiles/Main/main.cxx | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/BuildTiles/Main/construct.hxx b/src/BuildTiles/Main/construct.hxx index ac85ec35..dba81b5f 100644 --- a/src/BuildTiles/Main/construct.hxx +++ b/src/BuildTiles/Main/construct.hxx @@ -32,7 +32,7 @@ // Maximum nodes per tile -#define FG_MAX_NODES 2000 +#define FG_MAX_NODES 4000 #include diff --git a/src/BuildTiles/Main/main.cxx b/src/BuildTiles/Main/main.cxx index d196578b..588ed44d 100644 --- a/src/BuildTiles/Main/main.cxx +++ b/src/BuildTiles/Main/main.cxx @@ -270,9 +270,6 @@ static int actual_load_landcover ( LandCover &cover, FGConstruct & c, // load all 2d polygons matching the specified base path and clip // against each other to resolve any overlaps static int load_polys( FGConstruct& c ) { - string glc = c.get_work_base(); - glc += "/LC-Global/gusgs2_0ll.img"; - LandCover cover( glc ); FGClipper clipper; string base = c.get_bucket().gen_base_path(); @@ -290,8 +287,13 @@ static int load_polys( FGConstruct& c ) { cout << " loaded " << count << " total polys" << endl; } +#if 0 // Load the land use polygons + string glc = c.get_work_base(); + glc += "/LC-Global/gusgs2_0ll.img"; + LandCover cover( glc ); count += actual_load_landcover ( cover, c, clipper ); +#endif point2d min, max; min.x = c.get_bucket().get_center_lon() - 0.5 * c.get_bucket().get_width();