Commit 274cc4bb authored by Leigh Stoller's avatar Leigh Stoller

Reduce exclusion zone from 25 to 23 pixels (2 cm in the current map).

parent 2693c629
...@@ -595,7 +595,7 @@ sub dofloor($$) ...@@ -595,7 +595,7 @@ sub dofloor($$)
$baseimages{$building}->{"ppm"}; $baseimages{$building}->{"ppm"};
$err = $baseimage->Draw(stroke=>'orange', $err = $baseimage->Draw(stroke=>'orange',
strokewidth=>'1.5', strokewidth=>'1',
primitive=>'rectangle', primitive=>'rectangle',
points=>"$xmin,$ymin $xmax,$ymax"); points=>"$xmin,$ymin $xmax,$ymax");
warn "$err" if "$err"; warn "$err" if "$err";
...@@ -628,7 +628,7 @@ sub dofloor($$) ...@@ -628,7 +628,7 @@ sub dofloor($$)
$areamap->{"$id"} = $props; $areamap->{"$id"} = $props;
if ($show_exclusion) { if ($show_exclusion) {
my $obstacle_buffer = 25; # XXX my $obstacle_buffer = 23; # XXX
my $xmin = $x1 - $obstacle_buffer; my $xmin = $x1 - $obstacle_buffer;
my $ymin = $y1 - $obstacle_buffer; my $ymin = $y1 - $obstacle_buffer;
my $xmax = $x2 + $obstacle_buffer; my $xmax = $x2 + $obstacle_buffer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment