3

I have a polygon feature which returns Bad envelope when run through the Check Geometry tool.

According to the help:

Bad envelope : The envelope does not match the coordinate extent of the geometry.

I'm not sure what this means. I tried googling feature envelopes but couldn't find anything discussing.

I ran a Feature Envelope To Polygon on the bad feature and The polygon created fit the polygon perfectly:

enter image description here

I checked the original polygon's extent min/max x/ys and they match the envelope polygon exactly.

>>> print inExt.YMin
13693868.258
>>> print envExt.YMin
13693868.258
>>> print inExt.YMax
13694050.7098
>>> print envExt.YMax
13694050.7098
>>> print inExt.XMin
1814653.01959
>>> print envExt.XMin
1814653.01959
>>> print inExt.XMax
1815376.21679
>>> print envExt.XMax
1815376.21679

Question: What does it mean for a feature to have a bad envelope?

Note: I ran a Repair Geometry on the feature. The tool indicates the envelope has been fixed, but after this is done a Check Geometry on the same feature returns Bad envelope still.

  • Is this a shapefile or file geodatabase, or some other format? – Vince Feb 13 at 23:49
  • @Vince file geodatabase feature class. – Emil Brundage Feb 13 at 23:50
  • Perhaps the envelope extends beyond the projection horizon even though the polygon itself doesn't, and CheckGeometry isn't robust enough to tell you that. – Kirk Kuykendall Feb 14 at 1:26
  • 1
    This shouldn't be possible, but I've sometimes seen it happen when projection-on-the-fly is used with editing. There could be corruption of the FGDB, so creating a new .gdb and copying the FC is certainly something to try. If it persists, then it's time to visit Tech Support. – Vince Feb 14 at 18:37
  • @KirkKuykendall An interesting idea, but there are polygons to the north, south, east, and west of this polygon throwing the error, none of which have the same error given. – Emil Brundage Feb 19 at 18:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.