mapaction / mapaction-toolbox

A collection of tools to help streamline the process of producing maps including data renaming and map exports.
GNU General Public License v3.0
3 stars 1 forks source link

Map title spacing in xml file. #96

Closed stringfellow closed 8 years ago

stringfellow commented 10 years ago

From ewingch...@gmail.com on September 24, 2014 11:41:57

What steps will reproduce the problem? ////// Hi All –

We’re getting a recurring problem in pretty much every deployment which you might be able to solve?

Problem In ArcMap, mappers often remove spaces from the map title so it aligns nicely within the allocated space. For example: Liberia Ebola Outbreak Administration Boundaries (as of 22 Sep 2014)

This looks fine in ArcMap, but when the title is picked up by the export tool and sent to XML, the results is something like this:

LiberiaEbola OutbreakAdministration Boundaries(as of 22 Sep 2014)

These are displayed in the map catalogue, and make us look rather careless - which in my view loses us credibility.

Solution? Is it possible to detect the manual line breaks in the title text and replace them with a space before exporting to XML? You would probably then want to check for double spaces, in case a space was left in at the end of a line.

Is that something that could be considered for action? I’m keen to push it as it wastes time on pretty much every deployment and in the meantime makes us look a bit shoddy! Let me know what you think.

Many thanks, Nick. /////////// What is the expected output? Nicely formatted text for the map title in XML What do you see instead? funny spacing in the map title

Recreate the problem? Create a new map and use line breaks in the map title. The xml map title will have incorrect spacing.

Original issue: http://code.google.com/p/mapaction-toolbox/issues/detail?id=96

stringfellow commented 10 years ago

From ewingch...@gmail.com on October 03, 2014 15:32:12

This issue was closed by revision fb0a5e73806d .

Status: Fixed

stringfellow commented 10 years ago

From ClaireBy...@gmail.com on October 29, 2014 14:42:03

verified in 10.2.2. Still needs to be tested in 10.1.

andrewphilipsmith commented 8 years ago

This problem is still reoccurring. We need to double check if the fix has been merged into the master branch and has been deployed onto the laptops.

@ncmcw

andrewphilipsmith commented 8 years ago

Believed fixed at v4.0.6013.24320 See #129 and fe35735c8a007ebc716b8e52147e0b0f22b065f5