fix tower height, #39776
authorMark Wells <mark@freeside.biz>
Thu, 6 Oct 2016 23:30:32 +0000 (16:30 -0700)
committerMark Wells <mark@freeside.biz>
Thu, 6 Oct 2016 23:30:32 +0000 (16:30 -0700)
httemplate/misc/tower-export.html

index d359a97..9d63640 100644 (file)
@@ -18,7 +18,7 @@ if ( $cgi->param('format') eq 'tc' ) {
     next if ( !$tower->latitude or !$tower->longitude );
 
     my $name = $tower->towername;
-    my $height = ( ($tower->altitude || 0 ) + ($tower->height || 0) ) / 3.28;
+    my $height = ($tower->height || 0) / 3.28;
     $name =~ s(,)( )g;
     $text .= join(',',
       $name,