I am trying to make a layer from schools that depicts schools at greater than 700 meters. There is an attribute field "ELEV_METER" that has the numeric value for elevation. The query keeps being rejected. I can do this in ArcMAP but need the python script to work. Any ideas?
arcpy.env.overwriteOutput = True schools = "Schools" highelevschools = "HighElevSchools" arcpy.MakeFeatureLayer_management(schools, highelevschools) arcpy.SelectLayerByAttribute_management(highelevschools, "NEW_SELECTION", "ELEV_METER" >= 700)