Menu

#338 Bug displaying map bathymetric contours (version Beta 2)

Approved
closed-fixed
None
5
2018-10-31
2017-11-07
No

Pamguard Beta 2.00.11c does not correctly display the coastlines and bathymetric contours from attached map file.

Coastlines and contours display correctly when using the exact same map file in Pamguard Core 1.X.

It appears that contours display correctly when only viewing E longitudes, but things seem to fall over if the map includes any W longitudes.

3 Attachments

Discussion

  • Brian Miller

    Brian Miller - 2017-12-22

    Sleuthing through SVN comments has led me to discover that this bug was introduced in revision 4064 which introduced a new 3D map.

     
  • Brian Miller

    Brian Miller - 2018-08-03

    The previously attached map file, mapTestEtopo2.asc, represented Western longitudes as 180-360 degrees. Switching the representation of Western longitudes so that they are from -180- 0 (see attached) helped a bit. Now Western longitudes can be shown.

    However the contours and longitude gridlines still broken whenever the map includes the dateline (+/-180 longitude).

     
  • Brian Miller

    Brian Miller - 2018-10-23

    Just to be specific about what works and doesn’t at the dateline here’s a table, and two PSF files that can be use to reproduce this bug:

    Feature Core status (at & across 180 longitude) Beta status (at & across 180 longitude) Additional notes
    Bathymetry contours Works Broken Contours don’t display, plus ‘wrapping’ artifacts (horizontal lines across the whole display) are shown
    Cursor position range **Broken ** Broken Distance & bearing measured the long way around instead of short way around.
    Distance measurement tool Broken Broken Distance & bearing measured the long way around instead of short way around.
    Ship GPS position & track Works Works
    Grid lines mostly Works mostly Works Longitude grid lines disappear when latitude limit exceeds 90° (e.g. used when viewing data from our circumnavigation voyage)
     
  • Brian Miller

    Brian Miller - 2018-10-23
    • assigned_to: Doug Gillespie
     
  • Doug Gillespie

    Doug Gillespie - 2018-10-24
    • status: open --> open-fixed
     
  • Doug Gillespie

    Doug Gillespie - 2018-10-24

    Fixed. Code checked in revision 4754

     
  • Michael

    Michael - 2018-10-31
    • Status: open-fixed --> closed-fixed