Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-7450

Places on the equator don't have their coordinates displayed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2014-04-28
    • None
    • Data display
    • None

      When the sidebar tries to find out if a place has coordinates, it does so by checking if latitude and longitude are true. Since 0 evaluates to false, no coordinates are displayed for places on the equator or on the Greenwich meridian.

      Similarly, the "add place" edit display evaluates the latitude (only). This works at the moment, but only by accident, because a zero coordinate is stored as "0.000000" in the edit data (MBS-7438), which evaluates to true.

            chirlu Ulrich Klauer
            chirlu Ulrich Klauer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2014-04-28