English

Problem: GRIDPOLY output does not align with output from the Raster to Features function in Spatial Analyst

Description

The output coverage from the GRIDPOLY command or the Grid to Polygon Coverage tool in ArcToolbox does not align well with the output shapefile from the Raster to Features function in Spatial Analyst.

Cause

The coverage created by GRIDPOLY or the Grid To Polygon Coverage tool is a single precision coverage.

The output from the Raster to Features function in Spatial Analyst creates a shapefile which stores double precision coordinates by default.

Solution or Workaround

Specify that the coverage to be created will be double precision.

  • In Workstation, use the PRECISION command to set the output coverage precision to double before performing GRIDPOLY.

    Code:
    Arc: precision double double
    Arc: gridpoly vegetation vegcov

  • In ArcToolbox, set the output coverage precision to store double precision coordinates. This option is found under Tools > Options > Precision tab.