I'm trying to build a real world map in Minecraft and want a pixel-perfect raster image I can copy pixel for block.
How can I modify
CountryData["World", {"Shape", "Robinson"}]
which gives
such that:
- Each country is its own separate color (random colors are fine).
- The water color is distinct from the background.
- There are no black border lines (but the borders are still clear from the color difference in countries).
- There is no anti-aliasing or color blending between regions of different colors, be they countries, water, or the background.
- I can scale the map to the exact width (or height) in pixels I want.
Sorry if this is asking a bit much. Mathematica is completely new to me and I wasn't getting anywhere fumbling around with CountryData and GeoGraphics and WorldPlot for an hour.


Graphics[Riffle[CountryData["World", {"SchematicPolygon", "Robinson"}] /. Polygon[{p__?MatrixQ}] :> Map[Polygon, {p}], Unevaluated[RandomColor[]], {1, -2, 2}], Background -> ColorData["Legacy", "Azure"]]suit your needs? – J. M.'s missing motivation Jul 22 '16 at 05:20"FullPolygon"instead of"SchematicPolygon"? FWIW: these are all generating vector graphics, which you can easily resize before saving as an image file. – J. M.'s missing motivation Jul 22 '16 at 05:41Graphics[{EdgeForm[Black], Riffle[CountryData["World", {"FullPolygon", "Robinson"}] /. Polygon[{p__?MatrixQ}] :> Map[Polygon, {p}], Unevaluated[RandomColor[]], {1, -2, 2}]}, Background -> ColorData["Legacy", "Azure"]]with the previous snippet. Also: can you tell me why the background and water can't be the same color? (Note that the polygons for countries do not have holes corresponding to lakes and other landlocked bodies of water.) – J. M.'s missing motivation Jul 22 '16 at 06:03