WARNING 000635: Skipping feature because of NULL or EMPTY geometry.

6614
4
Jump to solution
06-09-2016 09:28 AM
CarolLiu
New Contributor II

I got warning message "WARNING 000635: Skipping feature because of NULL or EMPTY geometry" while doing Buffer_analysis {arcpy.Buffer_analysis("StreetLights",r"C:\MyExercises\Scratch\Temporary Storage.gdb\bf5","BuffDis")}. The input was point feature "StreetLights", The buffer distance was "BuffDis" (which is field of StreetLights).

Does anyone know why warning message happened?

0 Kudos
1 Solution

Accepted Solutions
DanPatterson_Retired
MVP Emeritus

Geometry then.  How many points do you have?  the OBJECTID are missing some or is that a sorted selection.  Try Repair Geometry, or since you have a point file, it wouldn't hurt to add the XY coordinates to the table

Add Geometry Attributes—Help | ArcGIS for Desktop

If you get 0,0 for any of the points, they are null geometry and need to be removed or fixed

View solution in original post

4 Replies
DanPatterson_Retired
MVP Emeritus

a record did not have a value in the buffer field or it is in error (ie null or 0 ) Always query for appropriate records first before using tools such as this.  A simple test is to query all records whose buffer distance is > 0.0.  Then when you run the buffer tool, only those records will be involved in the process, excluding erroneous records.

0 Kudos
CarolLiu
New Contributor II

I don't quite understand what you point out...You mean table record? None of the value of in the field "BuffDis" is null or 0 (see the screenshot).

buff_warning.jpg

0 Kudos
DanPatterson_Retired
MVP Emeritus

Geometry then.  How many points do you have?  the OBJECTID are missing some or is that a sorted selection.  Try Repair Geometry, or since you have a point file, it wouldn't hurt to add the XY coordinates to the table

Add Geometry Attributes—Help | ArcGIS for Desktop

If you get 0,0 for any of the points, they are null geometry and need to be removed or fixed

CarolLiu
New Contributor II

You are right. That was geometry issue. I added XY, it turned out 151 out of 1470 were NULL. Thanks, Dan!