Skip to content

'gmt coast -S' incomplete water area filling #8942

Closed

Description

@mkononets

Hi,
Partial filling of water is observed when filling water areas only is requested:

gmt coast -JG-140/30/18c -Rg -Ssteelblue -A0/1/1 -B30g30 -png water

water.png with partial water filling:
Image

same with -JQ...:

gmt coast -JQ18c -Rg -Ssteelblue -A0/1/1 -B30g30 -png water_JQ
Image

Filling looks correct when both water and land filling is requested:

gmt coast -JG-140/30/18c -Rg -Ssteelblue -Glightred -A0/1/1 -B30g30 -png water+land

water+land.png:
Image

Land only also filled correctly:

gmt coast -JG-140/30/18c -Rg -Glightred -A0/1/1 -B30g30 -png land

land.png:

Image

Activity

  1. added
    bug
    on Mar 21, 2026
  2. mkononets commented on Mar 21, 2026

    @mkononets
    Author

    Same problem with water+land when water transparency is requested. Presence of coastline does not seem to affect it:

    gmt coast -JG-140/30/18c -Rg -Ssteelblue@70 -Glightred -Wfaint -A0/1/1 -B30g30 -png water+transparency+land+coastline
    

    water+transparency+land+coastline.png:

    Image
  3. mkononets commented on Mar 21, 2026

    @mkononets
    Author

    Land transparency also triggers the bug:

    gmt coast -JG-140/30/18c -Rg -Ssteelblue -Gred@70 -A0/1/1 -B30g30 -png water+land+transparency
    

    water+land+transparency.png:

    Image
  4. mkononets commented on Mar 21, 2026

    @mkononets
    Author

    There's something that looks as a grid in the background, exactly 10 degrees grid spacing. Many grid cells with no land have no water filling, but not all!:

    gmt coast -JG-140/30/18c -Rg -Ssteelblue@70 -Gred@70 -A0/1/1 -png water+transparency+land+transparency
    

    water+transparency+land+transparency.png:
    Image

    gmt coast -JG-140/30/18c -Rg -Ssteelblue@70 -Gred@70 -A0/1/1 -B10g10 -png water+transparency+land+transparency+10_deg_grid
    
    Image
  5. KristofKoch commented on Apr 2, 2026

    @KristofKoch
    Contributor

    I remember a similar problem many years ago … need to search some old bug reports of mine.

  6. KristofKoch commented on Apr 2, 2026

    @KristofKoch
    Contributor

    That was quicker than expected: Not exactly the same as this bug but some similarities with tiles not being filled correctly. See closed bug #7109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions