Hi,
I'm trying to use the 'Locate' to find attributes in a feature class. I've used the Locate before, and have all the setting set properly. It just isn't working anymore.
It's clearly in my attribute table:
And I have the Locate settings set properly:
Thanks,
Solved! Go to Solution.
My guess is that this is an index issue if it can find some records, but not others. To create an index you will need to connect to the database (GISWRKS1) as the data owner (WORKS). You can then right-click on the feature class in the Catalog window > Properties > Indexes > Add. Choose a name for the index, and then select the field (LATERAL_NUMBER) to build the index for.
Hi Brian,
1. Try moving the layer to the top of the list within the Locate pane:
2. Try setting the search mode to 'Contains'
3. Make sure the field has an attribute index built.
Are you trying to locate using a polyline feature class? If so, could it be that you have zoomed into the feature but the Locate tool offsets the found location with the A identifier at some default distance?
I have used the Locate with both a polygon and a polyline feature. For the polygon feature the Locate tool zooms to the polygon centroid, but with the polyline feature the Locate tools zooms to some offset distance from the selected feature. I do not currently know how to configure this offset distance.
On further inspection, I'm wondering if true (Bezier) curves cause an offset of the polyline identifier as it seems that polylines that are straight segments show the identifier on the line but curves can show the identifier at varying distances from the polyline (maybe a function of the angle that the arc is created from).
In addition to what Jake mentions above also make sure that the find provider is enabled in the settings of the Locate Pane.
Hi,
I have been using ArcPro for quite some time, and have used the Locate tool on many occasions. In response to Jake:
And to Brad: yes, the layer is enabled in the Locate pane.
My guess is that this is an index issue if it can find some records, but not others. To create an index you will need to connect to the database (GISWRKS1) as the data owner (WORKS). You can then right-click on the feature class in the Catalog window > Properties > Indexes > Add. Choose a name for the index, and then select the field (LATERAL_NUMBER) to build the index for.
I see. I will ask our IT department to put an index on that field. The table is 'Locked' when I try to do it.
Thanks!
What version of Pro are you using? At 2.1.2 you have both Equals and Contains as options for searching.
I am at 2.1.2. It is a numeric field, so that is probably why Contains is not listed. String fields have it.
Hi Jake Skinner,
The Index was put on the feature class but the Locate is still not finding features. If I scroll down the attribute table till it says 'Scanning', then do a 'Locate' for the indexed attribute, the value is still not found.
Any other ideas??