Message Boards Message Boards

2
|
7507 Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Avoid problem with DiscretizeGraphics?

When I used this function with Mathematica 10.1 I obtain the map of France with Corsica

DiscretizeGraphics[CountryData["France", {"Polygon", "Mercator"}]]

But with Mathematica 11, I obtain only the map of Corsica. enter image description here

Do you have a solution to obtain the complete map with France and Corsica?

POSTED BY: André Dauphiné
3 Replies

This is funny too:

DiscretizeGraphics[
 CountryData["France", {"SchematicPolygon", "Mercator"}]]
POSTED BY: Gianluca Gorni

Seems indeed like incorrect behaviour. Threading the polygon before seems to work always (also for Netherlands where there are more than 2 polygons). Submitted as product feedback: CASE: 3850879. Also not (yet) fixed in an upcoming release.

POSTED BY: Sander Huisman
Posted 7 years ago

Yes, I got the same problem with v11.0.1.

This workaround seems to work :

DiscretizeGraphics@
 Thread@CountryData["France", {"Polygon", "Mercator"}]

enter image description here

POSTED BY: Chris P
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