Group Abstract Group Abstract

Message Boards Message Boards

Export GeoGraphics output to vector graphics

Posted 5 hours ago
POSTED BY: Ehud Behar
2 Replies

Part of the problem is that the graphics data contain polygons with holes, which are not supported for vector export:

Export["holes.pdf",
 Graphics[Polygon[{{0, 0}, {1, 0}, {1, 1}, {0, 1}} ->
    {{1/2, 1/2}, {3/4, 1/2}, {3/4, 3/4}}]]]
POSTED BY: Gianluca Gorni

The short answer is, they cannot. While the result from evaluation contains graphics primitives (instead of a raster), the renderer does not support writing them out as such to PDF and SVG. So instead they are rasterized. This is similar to what happens when you use HatchFilling and friends in 2D (which is implemented as a pixel shader).

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