html mebed高度问题,按要求完成下列句子。1.Mybedis180cmlong.(就划线部分提问) 2.Myroomis24squaremeters.(就划线部分提问) 3.Amyistall...

一般疑问句的改写:一、含有be动词的一般疑问句,通常把be动词调到句首。例如:

陈述句:They are in the swimming pool.

一般疑问句:Are they in the swimming pool?

注意:一般疑问句句末要用“?”。

二、含有情态动词的一般疑问句(can, may...),把情态动词调到句首。例如:

陈述句:He can drive a car.

一般疑问句: Can he drive a car?

三、含有have的一般疑问句,have译为“有”。一般疑问句式有两种形式:

1.把have/has调到句首。例如:

陈述句:Tommy has a computer.

一般疑问句:Has Tommy/he a computer?

2.加助动词do/does,第三人称单数用does,其他人称用do。其句型为:Do/Does + 主语 + have...?

例如上句可变为: Does Tommy have a computer?

四、一般动词的一般疑问句,也要借助助动词do/does,第三人称单数用does,其余人称用do。

其句型为:Do/Does + 主语 + 动词原形+其它?

陈述句:Amy speaks English.

一般疑问句:Does Amy speak English?

一般疑问句的回答:

首先要有人称的改变。当主语为名词时,在答语中要改成其相应的代词。

另外,答语有两种,肯定的回答(用yes)和否定的回答(用no),否定式常用缩写形式。

现在还是让我们分句型一一说明。

一、一般疑问句含be动词时,用be动词回答,句末用句号。例如:

-Is Mary your sister?

-Yes, she is. / No, she isn’t.(缩写)

二、一般疑问句含有情态动词(can, may, should等)时,用情态动词回答。例如:

-May I come in?

-Yes, you may. / No, you can’t.

三、一般疑问句含有have(译为“有”)时,有两种回答方式。

1.直接用have/has回答。

例如:

-Have they any pictures?

-Yes, they have. / No, they haven’t.

2.用助动词do/does回答。

例如:

-Does Millie smoke?

-Yes, she does. / No, she doesn’t.

四、一般动词的一般疑问句回答时也用助动词。

例如:

-Do the workers live in London?

-Yes, they do. / No, they don’t.

import arcpy # 输入参数 input_features = arcpy.GetParameterAsText(0) join_field = arcpy.GetParameterAsText(1) target_feature = arcpy.GetParameterAsText(2) target_field = arcpy.GetParameterAsText(3) area_threshold = arcpy.GetParameterAsText(4) # 创建空间连接 arcpy.SpatialJoin_analysis(input_features, target_feature, "in_memory/spatial_join", "JOIN_ONE_TO_ONE", "KEEP_ALL", "", "INTERSECT") # 选择面积大于阈值的连接要素 arcpy.Select_analysis("in_memory/spatial_join", "in_memory/selected_features", "\"Shape_Area\" > " + str(area_threshold) + " SquareMeters") # 统计相同连接字段值的面积总和 arcpy.Statistics_analysis("in_memory/selected_features", "in_memory/summarized_features", "Shape_Area SUM", join_field) # 创建字典,存储连接字段值和对应的面积总和 sum_dict = {} with arcpy.da.SearchCursor("in_memory/summarized_features", [join_field, "SUM_Shape_Area"]) as cursor: for row in cursor: sum_dict[row[0]] = row # 更新目标要素中的字段值 with arcpy.da.UpdateCursor(target_feature, [target_field, join_field]) as cursor: for row in cursor: join_value = row[1] if join_value in sum_dict: area_sum = sum_dict[join_value] row[0] = str(area_sum[1]) cursor.updateRow(row) # 导出结果 arcpy.CopyFeatures_management(target_feature, arcpy.GetParameterAsText(5))运行错误:Traceback (most recent call last): File "D:\实验2\空间连接.py", line 14, in <module> File "c:\program files (x86)\arcgis\desktop10.2\arcpy\arcpy\analysis.py", line 84, in Select raise e ExecuteError: ERROR 000358: 无效的表达式 "Shape_Area" > 600 SquareMeters 执行(Select)失败。 执行(fzzz)失败。请改正代码
05-24
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值