在GeoDMS(Object Vision的地理编码语言)中,我无法在GeoDmsRun.exe中运行代码,我可以在GeoDmsGui.exe中运行该代码。问题是它无法找到确实未定义的参数'Values',但显然隐含在GeoDMS中的某个地方。 GUI可以找到此参数。
我尝试定义查找正在寻找明确使用的值
attribute<uint32>values1:=values;
但那没用。最好是在不必使用任何隐式变量的情况下获得此查找功能,但如何做到这一点?
码:
unit<uint32> heatNet2 := unique(buildingWithHeatDemand/roadID)
, dialogType = 'map'
, dialogData = 'geometry'
{
attribute<rdc> geometry(arc) := lookup(values,input/geographic/roads/geometry);
}
版本:7177
谢谢你的帮助!
unique(D->V)
运算符确实定义了一个属性E->V
,其名称为values
,结果单位为E
,将得到的单位E
映射到V
的找到值。 GeoDmsRun.exe应该以与GeoDmsGui.exe相同的方式处理脚本,因此最好在http://www.mantis.objectvision.nl上将此报告为问题。
同时,您可以尝试显式定义values属性:
unit<uint32> heatNet2 := unique(buildingWithHeatDemand/roadID)
, dialogType = 'map'
, dialogData = 'geometry'
{
attribute<input/geographic/roads> values(heatNet2);
attribute<rdc> geometry(arc) := lookup(values,input/geographic/roads/geometry);
}
现在明确定义的values
将引用唯一运算符的结果的属性。