Knowledge Base - Technical Articles


Technical Article   Bug:  Polygons are divided in tiny strips when exported to EPS, PDF, CGM, or AI Illustrator

Article ID: 19156
Bug Id: CQ00143329
Software:  ArcGIS - ArcEditor 8.1, 8.1.2, 8.2, 8.3 ArcGIS - ArcInfo 8.0.2, 8.1, 8.1.2, 8.2, 8.3 ArcGIS - ArcView 8.1, 8.1.2, 8.2, 8.3
Platforms:  Windows NT 4.0, 2000, XP

Description

When an ArcMap generated EPS, PDF, CGM, or AI Illustrator file is opened in an external editor, like Adobe Illustrator, some large polygons are divided into thin vertical strips.

The Adobe Illustrator export format was not available until ArcGIS 8.1 Service Pack 1.

Cause

This is called polygon dicing, and is implemented on polygons containing more than 20,000 vertices. The purpose is to speed up on-screen drawing and output to a printer.

Workaround

Try one of these options to reduce the effect of polygon dicing:

  • Simplify the polygon data.
  • In ArcGIS 8.1.2 and later, you can use the following Visual Basic code to turn polygon dicing off and on.

    Run this code prior to exporting your map:

    Public Sub turnOffDicing()
    

    Dim pGeometryEnv As IGeometryEnvironment3
    Set pGeometryEnv = New GeometryEnvironment

    pGeometryEnv.DicingEnabled = False

    End Sub


     This code will not work with CGM files. Unexpected results can occur when exporting to CGM with polygon dicing turned off.

    To turn polygon dicing back on, run this code:

    Public Sub turnOnDicing()
    

    Dim pGeometryEnv As IGeometryEnvironment3
    Set pGeometryEnv = New GeometryEnvironment

    pGeometryEnv.DicingEnabled = True

    End Sub


     Turn polygon dicing back on after exporting, otherwise screen drawing and printing performance may slow considerably.


Created: 5/14/2001
Last Modified: 4/12/2005

Article Rating: (1)
If you would like to post a comment, please login

Comments

By Anonymous - 04/23/2003 3:35 PM

It no longer seems to work with installation of 8.3

Rating: