Message Boards Message Boards

0
|
3457 Views
|
10 Replies
|
4 Total Likes
View groups...
Share
Share this post:

GeoListPlot

Dear All,

I'm currently using GeoListPlot to visualize countries:

GeoListPlot[{Entity["Country", "UnitedStates"], 
  Entity["Country", "Netherlands"]}, ImageSize -> 1200, 
 GeoRange -> "World"]

I was wondering why for the USA, Alaska is not highlighted? Is it possible to use "FullPolygon" like you can with CountryData?

Regards,

SH

POSTED BY: Sander Huisman
10 Replies

As in:

GeoListPlot[{Entity["Country", "UnitedStates"], 
  Entity["AdministrativeDivision", {"Alaska", "UnitedStates"}]}]
POSTED BY: David Reiss

By the way, I would never have figured this out if it was not in an example in the documentation. I tried several attempts at entity discovery using control-= but didn't come up with an equivalent except to explicitly include Alaska as an additional entity.

POSTED BY: David Reiss

Yes, and oil!

POSTED BY: David Reiss

That is very nice! So I can definitely include it!

I still think, though, that it should be included by default. It's a very substantial amount of land that is missing!!

POSTED BY: Sander Huisman
POSTED BY: David Reiss

Indeed, The Netherlands is by default composed of multiple parts:

GeoListPlot[Entity["Country", "Netherlands"], ImageSize -> 1200]

So I really see no reason to not include (a rough shape of) Alaska in the default polygon...

POSTED BY: Sander Huisman

You will get no argument from me! ;-)

POSTED BY: David Reiss

I see in the Documentation for GroPlot there is this entity construction

GeoVariant[Entity["Country", "UnitedStates"], "AllAreas"]

So this works:

GeoListPlot[{GeoVariant[Entity["Country", "UnitedStates"], 
   "AllAreas"], Entity["Country", "Netherlands"]}, ImageSize -> 1200, 
 GeoRange -> "World"]

Somewhat obscure...

POSTED BY: David Reiss

It seems really easy to fix right?

Just update the CountryData-dataset to include (a rougher version of) Alaska for the polygon version. And using the paclet data it should get updated...right?

POSTED BY: Sander Huisman
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract