In the model builder, the "Select Layer by location" tool gives incorrect result if placed directly after "Make Feature Layer" tool containing a SQL expression.
Last Published: August 25, 2014No Product Found
Bug ID Number
NIM012209
Submitted
October 8, 2007
Last Modified
June 5, 2024
Applies to
No Product Found
Version found
9.2
Version Fixed
9.3
Status
Fixed
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
Workaround
Use the following sequence of tools to provide the input layer to the final "Select Layer by location" tool:1.Provide the input Feature Class to the "Make Feature Layer" tool which contains the SQL Expression. 2. Use "Copy Feature" tool to output the layer as Feature Class. 3. Again use "Make Feature Layer" tool on the Feature Class from the previous step to provide the resulting layer as an input to "Select Layer by location" tool.