diff --git a/noinfo/make-indxal4.pl b/noinfo/make-indxal4.pl index 65458f03d..d7420bce7 100755 --- a/noinfo/make-indxal4.pl +++ b/noinfo/make-indxal4.pl @@ -4,6 +4,7 @@ use File::Path; use Getopt::Long; # no_info col is currently unused +# also, header never has any info... ((my $progname = $0) =~ s/^.*(\/|\\)//ig); # basename $0 @@ -31,7 +32,7 @@ open INDXAL, ">..\/indxal.htm" or die $!; print INDXAL << "END"; - +
"; - unless ($ent_name) { - print FILE "Entrance:"; + if ($tag_punkt || $other_punkt || $exact_punkt || $gpspostsa || $gpspresa || $easting || $northing || $altitude || $fix_type || $desc_other_punkt && !$ent_name) { # basically, if do_ent is going to do anything, print "Entrance:" + print FILE "Entrance: "; } # Process the location data for the entrance do_ent($tag_punkt,$other_punkt,$exact_punkt,$gpspostsa,$gpspresa,$easting,$northing,$altitude,$ent_name,$fix_type,$desc_other_punkt); @@ -343,8 +344,11 @@ END print FILE "\n\n
$footer
"; } - print FILE "\n\n\n