From 25f1e2b22bdefc59b93ca1ffdefda07aee22c4bc Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 28 Sep 2005 16:39:58 +0000 Subject: [PATCH] Very slightly tweak clipping semantics to try to reduce artifacts and cracks in the scenery. --- src/BuildTiles/Clipper/clipper.cxx | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/BuildTiles/Clipper/clipper.cxx b/src/BuildTiles/Clipper/clipper.cxx index a1d8e285..8c2d9291 100644 --- a/src/BuildTiles/Clipper/clipper.cxx +++ b/src/BuildTiles/Clipper/clipper.cxx @@ -533,10 +533,18 @@ bool TGClipper::clip_all(const point2d& min, const point2d& max) { // Airport areas are limited to existing land mass and // never override water. - if ( i == AirportArea ) { - tmp = tgPolygonInt( tmp, land_mask ); - tmp = tgPolygonDiff( tmp, water_mask ); - } + // + // 9/26/2005 - CLO: We are going to add the ability to + // manually define airport areas when the default area + // isn't sufficient. It is clear that it is impossible to + // auto-generate correct airport areas in all cases. For + // now we default to topologically continuous scenery and + // wait for people to submit manual fixes. + // + // if ( i == AirportArea ) { + // tmp = tgPolygonInt( tmp, land_mask ); + // tmp = tgPolygonDiff( tmp, water_mask ); + // } // if a water area, cut out potential islands if ( is_water_area(AreaType(i)) ) {