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

 
 

bug #28834: Lowercase letters having their own labels

Submitted by:  None
Submitted on:  Sun 07 Feb 2010 12:00:00 PM UTC  
 
Category: ocitysmapSeverity: 3 - Normal
Priority: 5 - NormalStatus: Wont Fix
Privacy: PublicAssigned to: David MentrĂ© <dmentre>
Open/Closed: ClosedRelease: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 11 May 2010 03:04:13 PM UTCmpetazzoniOpen/ClosedOpen=>Closed
    Mon 08 Feb 2010 12:57:08 PM UTCdmentreCategoryNone=>ocitysmap
      StatusNone=>Wont Fix
      Assigned toNone=>dmentre

    Back to the top


    Powered by Savane 3.1-cleanup1