Sunday 22 November 2015

arcgis desktop - Invalid expression error 000358 when using in_memory workspace?



Make Feature Layer with an SQL Selection Expression against a geometry property like length fails when the source feature class is in an in_memory workspace. An otherwise identical model works just fine when the feature class source is in a regular workspace (file-gdb).


ERROR 000358: Invalid expression Shape_Length = 0
Failed to execute (Layer of Zero Length Lines).

I'm using ArcGIS Desktop 10.3.1 but don't believe the issue to be version specific.


Fail:



Model diagram and relevant tool properties for failure situation


Success:


Model diagram and relevant tool properties for success situation




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...