Skip to content

Feature/renderoceans#159

Open
durankeeley wants to merge 3 commits intooriginalankur:mainfrom
durankeeley:feature/renderoceans
Open

Feature/renderoceans#159
durankeeley wants to merge 3 commits intooriginalankur:mainfrom
durankeeley:feature/renderoceans

Conversation

@durankeeley
Copy link

Render Oceans and overlay when there or islands or inlets with roads so they not rendered with water (coastlines can not outline them)

@originalankur
Copy link
Owner

Thanks @durankeeley will review during upcoming weekend and get back.

@D3SX
Copy link

D3SX commented Feb 9, 2026

Hi, I have this problem for Hong-Kong and your PR does not fix the issue for this city. It works for other countries, but not this one.
Thanks

@durankeeley
Copy link
Author

@D3SX my latest commit should work

@D3SX
Copy link

D3SX commented Feb 10, 2026

@D3SX my latest commit should work

It does, thanks a lot !

LouvAndTech added a commit to LouvAndTech/easy-maptoposter that referenced this pull request Mar 5, 2026
LouvAndTech added a commit to LouvAndTech/easy-maptoposter that referenced this pull request Mar 6, 2026
@LouvAndTech
Copy link

Hello,

I tried implementing your PR and got interesting results for the Island of Texel in the Netherlands while using the --include-oceans option, could that be caused by the fact this island is partially under the sea level ?

texxel_pastel_dream_20260305_114330

It's not really a problem since using you PR without the option gives a really nice result, but I thought I would let you know.

texxel_pastel_dream_20260306_105735

@jimmyhartington
Copy link

I have tried this for Copenhagen to fix the ocean from the original and it helps. But it still does not render all the ocean/water ways correctly.
Billedfremviser-copenhagen_terracotta_20260316_103847 png-2026-03-16 at 10 42 15@2x

@LouvAndTech
Copy link

@jimmyhartington I had the a similar problem with Gouda where some water element would be hidden behind land, the fix for me was to edit the Z-Order to make sure that 'parks' (or other elements) would be displayed behind any body of water.
I don't know if your issue come from there but that may be easy to test.

@jimmyhartington
Copy link

@jimmyhartington I had the a similar problem with Gouda where some water element would be hidden behind land, the fix for me was to edit the Z-Order to make sure that 'parks' (or other elements) would be displayed behind any body of water. I don't know if your issue come from there but that may be easy to test.

I can try that. But I am a bit unsure, where I define this?

@LouvAndTech
Copy link

LouvAndTech commented Mar 17, 2026

I can try that. But I am a bit unsure, where I define this?

You're looking for the lines :

parks_polys.plot(ax=ax, facecolor=THEME['parks'], edgecolor='none', zorder=0.8)

and

water_polys.plot(ax=ax, facecolor=THEME['water'], edgecolor='none', zorder=0.5)

In the original script. If I'm not mistaken you can basically try to invert the two zorder.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants