Changeset 33139

Show
Ignore:
Timestamp:
07.06.2019 20:05:14 (2 weeks ago)
Author:
wy59
Message:

Having 'fixed' the duplication issue of Coordinate data in the index, the side-effect of the fix was that GPS.mapOverlay meta never went into the index after that. Correction to the original 'fix' to get GPS.mapOverlay meta back into the index

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/doc.pm

    r33128 r33139  
    11581158        # and therefore skip converting the GPS.mapOverlay meta into Coordinate meta! What to dooooo? 
    11591159        # So the return statement immediately below is a temporary solution, until we find a better one that will always work. 
    1160         my $metaMap = $self->get_metadata_hashmap($section); 
    1161         if($metaMap->{'Coordinate'}) {  
    1162             return; 
    1163         } 
    1164          
     1160      my $metaMap = $self->get_metadata_hashmap($section); 
     1161      if(!$metaMap->{'Coordinate'}) { 
     1162             
    11651163        print STDERR "GPS.mapOverlay before val: " . $value . "\n"; 
    11661164         
     
    12581256         
    12591257        } # end for on each shape in GPS.mapOverlay 
    1260  
     1258      } 
    12611259    } # end GPS.mapOverlay meta 
    12621260