Group Abstract Group Abstract

Message Boards Message Boards

0
|
6.4K Views
|
5 Replies
|
2 Total Likes
View groups...
Share
Share this post:

[?] Visualize European Union without United Kingdom?

Posted 6 years ago

Hi everyone, I am trying to create a map of the European Union, but exclude the UK (thus, the EU after Brexit, if Brexit occurs). The code for mapping the EU was easy enough:

GeoGraphics[
 {EdgeForm[Black], FaceForm[Red], 
  Polygon[EntityClass["Country", "EuropeanUnion"]]}
  ]

Please, however, what do I add to not include the UK? Thank you. Stanley

POSTED BY: Stanley Max
5 Replies

Hi,

is this what you need?

GeoGraphics[{EdgeForm[Black], FaceForm[Red], Polygon[DeleteCases[EntityList[EntityClass["Country", "EuropeanUnion"]], Entity["Country", "UnitedKingdom"]]]}]

enter image description here

Cheers,

Marco

POSTED BY: Marco Thiel
Posted 6 years ago
POSTED BY: Stanley Max
Posted 6 years ago

Great Information.well done

POSTED BY: soni roy
Posted 6 years ago

Hi Marco,

Could I please ask you two last questions on making a Mathematica geographical map. If you don't want to do this, then I promise that I will not disturb you again. But I just cannot figure out how to do this, and I really need these two maps.

Question 1 of 2: What would be the code to generate a map of the EU in a past year, for example 2004?

Question 2 of 2: What would be the code to generate a map of the European Economic Community (EEC)? The EEC came into existence in 1958 following the 1957 Treaty of Rome. The EEC was the predecessor to the EU.

POSTED BY: Stanley Max
Posted 6 years ago

Hi Marco, Perfect! Just what I needed. Thank you so much. Stanley

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