I want to create a map of the world's terrain (i.e. using GeoStyling["ReliefMap"]), but one that only shows the relief on the land, and not in the oceans (i.e. excluding submarine ridges, etc). Is there a way to restrict GeoGraphics to show only land relief, and display the seas and oceans as e.g. a neutral grey? Ideally, the coastlines would be outlined with a black line, but not also showing national borders (which Polygon[Entity["Country", "World"]], EdgeForm[Black] seems to force).

Can anyone help with this please? Apologies if this is answered elsewhere - I can't find anything similar with searches.


1 Answer 1


One way:

GeoGraphics[{GeoStyling["ReliefMap"], Polygon[Entity["Country", "World"]], 
             Polygon[Entity["GeographicRegion", "Antarctica"]]}, 
            GeoBackground -> GeoStyling[{"Coastlines", "Ocean" -> LightGray,
                                         "Border" -> Directive[Black, Thick]}],
            GeoRange -> "World"]

relief map of world's land


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.