Attribute Assistant - NEAREST_FEATURE_ATTRIBUTES - Empty Geometry

3934
14
03-12-2014 06:04 AM
Labels (1)
KennyWebster
New Contributor III
Just upgraded from 10.0 to 10.2.

Worked fine in 10.0.  Just pulling 2 attributes from a street feature class (from sde) and loading them into a civic point feature class (also sde).  For whatever reason it's now giving an error saying cannot be performed on empty geometry.  Clearly the geometry is not empty.

Any clues?
0 Kudos
14 Replies
KennyWebster
New Contributor III
Had some more time to poke around at this today.

I exported the fc's from SDE to a File Geodatabase to test to see if it was something in SDE and got an error saying feature not found(instead of the empty geometry error when it was in SDE).  I verified that there was indeed a feature within the distance attribute by measuring.

So tried taking the original files from the included geodatabase to test with.  Guess what?  Same error.  I didn't modify the dynamic value table at all.  There was on NEAREST_FEATURE_ATTRIBUTE rule in it.  So added both those associated fc's and gave it a try.  From the log file:

Row Info
        Row Number 13
        TableName: FacilitySitePoint
        FieldName: FULLADDR
        ValueInfo: SiteAddressPoint|FULLADDR|FULLADDR|150
        ValueMethod: NEAREST_FEATURE_ATTRIBUTES
        On Create: 1
        On Change: 1

      Checking for Subtype Restriction
      Field Name: Full Address was found at index: 8
                  Trying NEAREST_FEATURE_ATTRIBUTES
                  Looking for layer: SiteAddressPoint
                  Site Address Points layer Found: SiteAddressPoint
                  Checking Field Mapping
                  Field Mapping verified
                  Searching for Nearest Feature
                  No Feature was found, default fields
                  Finished: NEAREST_FEATURE_ATTRIBUTES


AcrGIS 10.2.1 and Att Assistant 10.2.0.3
0 Kudos
RobertBorchert
Frequent Contributor III
Open your attribute table and sort the values on shape_length from shortest to longest.

Delete all Zero values if any and fix any issues with lengths less than 5.  For road centerlines you really should clean up things less than 10.

Also, turn snapping off it it is on.



Just upgraded from 10.0 to 10.2.

Worked fine in 10.0.  Just pulling 2 attributes from a street feature class (from sde) and loading them into a civic point feature class (also sde).  For whatever reason it's now giving an error saying cannot be performed on empty geometry.  Clearly the geometry is not empty.

Any clues?
0 Kudos
KennyWebster
New Contributor III
Open your attribute table and sort the values on shape_length from shortest to longest.

Delete all Zero values if any and fix any issues with lengths less than 5.  For road centerlines you really should clean up things less than 10.

Also, turn snapping off it it is on.


There's no 0 length roads, and only 3 less then 10m.  Remember I've also tried this with the example datasets provided by ESRI and am getting the same issue (this would be points to points).

I did try turning snapping off but got the same issue.
0 Kudos
KennyWebster
New Contributor III
Right now I'm just working with ESRI example datasets.

Tried the following:
-uninstalling the att assistant add on
-Re-downloaded the full package
-Deleted any existing configuration files
-Reinstalled add in
-Opened a ArcMap with a new map, added generateId, dynamic value and the two layers that use nearest_feature_attribute
-tried added a point to facility site points under 10 feet from a site address point
-got the same error saying no features found
0 Kudos
MikeMillerGIS
Esri Frequent Contributor
I believe this might be related to a bug that was logged a few weeks ago(NIM099431).  We resolved the issue and it will be included in the next release.
0 Kudos
DominickCisson
Occasional Contributor

I'm seeing the exact same behavior, over a year later... Attribute Assistant version 6.26.2015.  Adding an address point, and trying to pull some fields off of street centerlines in the creation phase.

    ------------------------------------------------

      Row Info

        Row Number 1

        TableName: ADDRESS_POINTS

        FieldName:

        ValueInfo: CENTERLINES|ST_NAME,PRE_DIR,SUF_DIR|STREETNAME,PREDIRECTION,SUFDIRECTION|500

        ValueMethod: NEAREST_FEATURE_ATTRIBUTES

        On Create: 1

        On Change: 0

      Checking for Subtype Restriction

      Field is not specified, empty, or set for all.

                  Trying NEAREST_FEATURE_ATTRIBUTES

                  Looking for layer: CENTERLINES

                  Street Centerlines layer Found: CENTERLINES

                  Checking Field Mapping

                  Field Mapping verified

                  Searching for Nearest Feature

                  No Feature was found, default fields

                  Finished: NEAREST_FEATURE_ATTRIBUTES

    ------------------------------------------------

If I take off the 500 foot search distance, essentially setting it to zero, and click directly on a street centerline, the message changes slightly, but still finds nothing.

    ------------------------------------------------

      Row Info

        Row Number 1

        TableName: ADDRESS_POINTS

        FieldName:

        ValueInfo: CENTERLINES|ST_NAME,PRE_DIR,SUF_DIR|STREETNAME,PREDIRECTION,SUFDIRECTION

        ValueMethod: NEAREST_FEATURE_ATTRIBUTES

        On Create: 1

        On Change: 0

      Checking for Subtype Restriction

      Field is not specified, empty, or set for all.

                  Trying NEAREST_FEATURE_ATTRIBUTES

                  WARNING:  search distance as not specified, defaulting to 0

                  Looking for layer: CENTERLINES

                  Street Centerlines layer Found: CENTERLINES

                  Checking Field Mapping

                  Field Mapping verified

                  Searching for Nearest Feature

                 Features Found, looping for closest

                  No Feature was found, default fields

                  Finished: NEAREST_FEATURE_ATTRIBUTES

    ------------------------------------------------

    ------------------------------------------------

Does the NEAREST_FEATURE_ATTRIBUTES method really work in AA?

0 Kudos
MikeMillerGIS
Esri Frequent Contributor

Could you send me a map package so I can repo the issue?

mmiller@esri.com    

0 Kudos
DominickCisson
Occasional Contributor

Sure.  It's pretty big, so I'll send an email with instructions on where to retrieve it...

0 Kudos
MikeMillerGIS
Esri Frequent Contributor

Dominick,

  I am not sure what is going on.  I ran through your map package in debug mode and it is working.  Could we try to do a clean install and just to verify it is not working in the 6.25.2015 version?

You need to find the folder(path below) with the Attribute Assistant add in and if you have them installed, the water editing tools, address tools and the project costing tools and remove those folders.  Then open and close arcmap, then reinstall the 6.25 attribute assistant.

C:\Users\%username%\AppData\Local\ESRI\Desktop10.3\AssemblyCache

0 Kudos