I would like to get polygon covering of all water area of earth. I though of doing by inverting
Polygon[EntityClass["Country", "LandMasses"]]
How do i invert this polygon, such that it covers all the oceans and seas?
Specific use case example:
GeoListDensityPlot[data_] := Module[
{colorRange, colorRegion, color},
colorRange = MinMax[data];
color = ColorData["TemperatureMap"];
colorRegion[pos_ -> value_] := {
color[(value - colorRange[[1]])/(colorRange[[2]] -
colorRange[[1]])], area[pos]};
GeoGraphics[{
colorRegion /@ Normal[data],
EdgeForm[Black], GeoStyling["ReliefMap"],
Polygon[EntityClass["Ocean", "Oceans"]]
} , GeoBackground -> GeoStyling["Coastlines"] ]
]
where i need to include seas as well
GeoBackground -> GeoStyling[LightBlue]
suffice? $\endgroup$GeoBackground
to a color. Also it seems you have a regular grid of data points. If you're wanting to color the background, would making anImage
be a better choice? $\endgroup$