Monday 24 April 2017

Querying two Separate Columns in ArcPy SQL {where clause}?



Using ArcPy I'm Trying to Set up a Where Clause in my "FeatureClassToFeatureClass_conversion"


This {Where Clause} needs to Query Two Columns in the data:


FEATURE = 'ENVIRONMENT'


and

TEMPERATURE > 50

I'm having a hard time doing both queries in the same expression as you would using "AND"



"\"FEATURE\" = 'ENVIRONMENT'" ?AND? "\"TEMPERATURE\" > 50"





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...