{'fraction_non_alphanumeric': 0.008571428571428572, 'fraction_numerical': 0.0, 'mean_word_length': 5.487654320987654, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Mental Map Preservation for Progressively Labeling Railway Networks

Schematizing railway networks for better readability is often achieved by aligning railway lines along the octilinear directions. However, such railway map layouts require further adjustment when placing station name labels. In this article, the authors present a novel approach to automating the placement of station names around the railway network while maximally respecting its original layout as the mental map. The key idea is to progressively annotate stations from congested central downtown areas to sparse rural areas. This is accomplished by introducing the sum of geodesic distances over the railway network to properly order the stations to be annotated first, and then elongating the line segments of the railway network while retaining their directions to spare enough labeling space around each station. Additional constraints are also introduced to restrict the aspect ratios of the region confined by the railway network for better preservation of the mental map.