bugMapOSMatic - Bugs: bug #28834, Lowercase letters having their own...

 
 

bug #28834: Lowercase letters having their own labels

Submitter:  None
Submitted:  Sun 07 Feb 2010 12:00:00 PM UTC
   
 
Category:  ocitysmap Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Wont Fix
Privacy:  Public Assigned to:  dmentre
Open/Closed:  Closed Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 10 Feb 2010 08:24:32 PM UTC, comment #2: 

Hi
I agree that it is not a bug, and it helps find bugs in OSM, but I think it can be quite a mess until all possible prefixes are present in maposmatic database.

Imagine a place that doesn't have its language support in maposmatic - it would be quite a mess (prefixes not postfixed).
That feature is useful for contributors, but it's just another nuisance for someone wanting to just see a slick map (besides having the list sorted wrong because of prefixes).

Another approach is to assume all names starting with a lowercase character to have a prefix.

Cheers,
rhn

Anonymous
Mon 08 Feb 2010 12:57:08 PM UTC, comment #1: 

Hello,

We consider this behaviour a feature and not a bug. More exactly, we consider that the label should have an upper case in OSM itself and the issue should be fixed in OSM. In other words, the bug is in OSM data and not maposmatic.

However, if you think that there are some valid use case for enforcing upper-case letter, let us know.

Regards,
d.

David Mentré <dmentre>
Group administrator
Sun 07 Feb 2010 12:00:00 PM UTC, original submission:  

If a prefix is not postfixed or something else goes wrong, then we end up with a mess of labels, see:
http://maposmatic.org/rendered//009679_2010-02-06_20-55_Sokka_index.png

Here's a crude fix:

        for street in self.streets:
            # Letter label
+            firstletter = street[0].upper()
-            firstletter = street[0]
            if not self.i18n.first_letter_equal(firstletter, prevletter):

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mpetazzoni (Updated the item)
  • -email is unavailable- added by dmentre (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-05-11 mpetazzoni Open/ClosedOpen Closed
    2010-02-08 dmentre CategoryNone ocitysmap
        StatusNone Wont Fix
        Assigned toNone dmentre

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code