的想法
|
科里,你是想给我指出专业SDK空间里的什么东西吗?你的链接只是解析到Pro SDK空间的顶层。
...查看更多
01-03-2018上午11:05
|
0
|
0
|
575
|
的想法
|
ArcGIS Pro支持通过其“插件文件夹”设置键(https://github.com/Esri/arcgis-pro-sdk/wiki/ArcGIS-Pro-Registry-Keys)自动安装和检查位于给定UNC路径的专业插件的更新。这很好,而且在很长一段时间里都很好。然而,随着越来越多的组织转向云计算,并开始通过UNC路径逐步使用“共享文件夹”,将需要替代解决方案来继续提供这一功能。我希望能够在这个注册表项中引用一个GitHub发布的专业插件URI。通过这样做,一旦我们在Git上发布了一个版本,一旦我们构建了解决方案,我们就可以上传二进制*.esriaddin文件作为发布资产。注册表项的URI类似于:https://github.com/Esri/arcgis-pro-sdk-community-samples/releases/latest给定这个URI, Pro将需要使用GitHub的发布API找到*.esriaddin文件,然后可以自动下载和安装发布。另一种更简单的解决方案可能是简单地允许我们指定静态URI链接,这将允许开发人员将他们的二进制发布文件存储在云驱动器解决方案上,如s3桶、OneDrive、Dropbox等。只要链接没有改变,并且它解析为*.esriaddin文件,它就应该能够工作。除了通过HTTP下载解决方案而不是通过UNC复制解决方案之外,GitHub请求之外,静态URI链接实际上与当前工作流没有任何不同。
...查看更多
12-27-201708:59我
|
4
|
4
|
6416
|
帖子
|
在AWS中运行ArcGIS许可证管理器有什么chef脚本、amis或建议吗?我们需要将所有内容转移到AWS,但也需要从许可证管理器支持ArcGIS桌面许可。ArcGIS Pro可以从Portal获得授权,但ArcGIS Desktop (ArcMap, ArcCatalog等)就没有这样的运气了。它占用的空间如此之小,以至于我不愿意仅为许可证管理器运行一个t2实例。如果可以通过一个lamba函数授权ArcGIS Desktop,或者直接从Portal授权,那就太好了。什么好主意吗?
...查看更多
12-13-201708:56我
|
0
|
8
|
3433
|
帖子
|
谢谢RJ。很高兴知道它只缓存更新键数据。至于SOI,这就是现有解决方案现在所做的——但我们确实希望支持托管服务,而且不可能在托管服务上配置SOI,因此我们正在寻找一种方法,为托管和联邦服务交付类似的功能。不过,如果有一种方法可以构建一个可以“订阅服务端点”的GeoEvent服务,那就太好了。现在我们知道GeoEvent不能解决问题,我们正在考虑尝试使用AWS Lamba函数欺骗托管功能服务,然后我们将它注册到我们的门户,然后使用这个被欺骗的功能服务作为我们想要拦截调用并进行一些前后处理的实际功能服务的代理。
...查看更多
12-05-2017需要点
|
0
|
0
|
593
|
帖子
|
根据RJ Sunderman的这篇文章,当你轮询ArcGIS服务器的特征并使用获取增量更新方法时,输入将维护内存中的缓存。有没有办法查询这个缓存来确定底层的增量是什么?在我的例子中,我想创建一个GeoEvent服务,它将每5分钟轮询一个Feature service进行更新。当它确定对服务进行了更新(添加了一个或多个特性,编辑了一个或多个特性,或两者的某种组合)时,我希望它实际地将返回的特性与内存中的缓存进行比较,并编译实际的更改,以便将它们作为新特性写入“Change-Log”特性服务。如果没有一种方法来查询内存中的缓存(这是我的期望),是否有另一种方法来确定更改的性质?我们希望非常细粒度地跟踪对某些服务所做的每一个更改。我们尝试使用soi来实现这一点,并且在一定程度上取得了成功,但是缺少对托管服务的支持已经成为了一个障碍,因为我们正在非常努力地摆脱联邦服务。
...查看更多
12-04-201707:52我
|
0
|
2
|
878
|
帖子
|
有人知道FieldInfo类中的addField方法是做什么的吗?关于它的文档并不是特别有用。我想知道这是否可能是一个非常有效的方法,将一个字段添加到一个特征层。
...查看更多
10-27-2017早上07:00
|
0
|
2
|
675
|
帖子
|
由于Johnathan !
...查看更多
10-25-2017时间为上午
|
0
|
0
|
1724
|
帖子
|
也许我遗漏了一些东西,但这并不能解释为什么参数[0]。valueAsText只返回第一个字符。您可以看到列表是如何创建的。它是一个静态列表。我没必要把它切成薄片。必须对列表进行切片将使valueAsText属性的目的变得毫无意义,因为我永远无法从ValueList中确定当前选择的值
...查看更多
10-20-201712:35点
|
0
|
3.
|
1724
|
帖子
|
一小时前试过了。list对象没有valueAsText属性
...查看更多
10-20-2017下午12点
|
0
|
5
|
1724
|
帖子
|
今天我在组装一个工具箱工具时,遇到了一个有趣的问题。import arcpy class Toolbox (object): def __init__ (self): """定义工具箱(工具箱的名称是.pyt文件的名称)"自我。标签= "工具箱"自我。alias = "" #与工具箱self相关的工具类列表。工具(对象):def __init__ (self): """定义工具(工具名是类的名称)。"自我。label = "工具"自我。Description = "" self。canRunInBackground = False def MessageBox (self, Title, Message, ButtonStyle = 0, MessageboxType = "NOICON"): """用给定的标题和指定的ButtonStyle和MessageboxType引发一个系统模式的消息框。用于从在后台线程上操作的Python工具箱工具中引发消息框。input: Title (String)消息框的标题Message (String)消息框中显示的消息ButtonStyle (Integer)值:按钮显示:0 OK(默认)1 OK | Cancel 2 Abort | Retry | Ignore 3 Yes | No | Cancel 4 Yes | No 5 Retry | No 6 Cancel | Try Again | Continue MessageboxType (String)值:描述: NOICON No icon is displayed in the Messagebox INFO An Information Icon is displayed QUESTION A Question Mark Icon is displayed WARNING A Warning Icon is displayed ERROR An Error Icon is displayed OUTPUTS: Button Clicked (Integer) Value returned indicates the buttonpressed by the user Return Value Button Pressed 1 OK 2 Cancel 3 Abort 4 Retry 5 Ignore 6 Yes 7 No 10 Try Again 11 Continue """ if MessageboxType == "NOICON" : MB_STYLE = 0x00 elif MessageboxType == "INFO" : MB_STYLE = 0x40 elif MessageboxType == "QUESTION" : MB_STYLE = 0x20 elif MessageboxType == "WARNING" : MB_STYLE = 0x30 elif MessageboxType == "ERROR" : MB_STYLE = 0x10 else : raise Exception ( "Invalid 'MessageboxType' value" ) if ButtonStyle not in range ( 0 , 7 ) : raise Exception ( "Invalid 'ButtonStyle' value" ) import ctypes buttonPressed = ctypes . windll . user32 . MessageBoxA ( 0 , Message , Title , ButtonStyle | MB_STYLE | 0x40000 ) return buttonPressed def getParameterInfo ( self ) : """Define parameter definitions""" param0 = arcpy . Parameter ( displayName = "Input Features" , name = "in_features" , datatype = "GPString" , parameterType = "Required" , direction = "Input" ) param0 . filter . type = "ValueList" param0 . filter . list = [ "Butter" , "Milk" , "Bread" ] params = [ param0 ] return params def isLicensed ( self ) : """Set whether tool is licensed to execute.""" return True def updateParameters ( self , parameters ) : """Modify the values and properties of parameters before internal validation is performed. This method is called whenever a parameter has been changed.""" if parameters [ 0 ] . value : self . MessageBox ( "Selected Parameter" , parameters [ 0 ] . valueAsText ) return def updateMessages ( self , parameters ) : """Modify the messages created by internal validation for each tool parameter. This method is called after internal validation.""" return def execute ( self , parameters , messages ) : """The source code of the tool.""" arcpy . AddMessage ( "Parameter 0: " + parameters [ 0 ] . valueAsText ) return There's nothing crazy going on here. Only thing out of the ordinary is that MessageBox function. Here's the weird thing. My updateParameters function has some logic to raise a Messagebox that displays the value selected by the user in param0. Works fine except that for some reason, the value is being sliced - I'm only getting the first letter of the selected parameter. I also added an AddMessage function to the execute function to print the selected parameter to the Results Window. That actually gives me the full value, so perhaps it is my Messagebox function that is slicing it but I don't think so. Anyone have any insight?
...查看更多
10-20-201712:03点
|
0
|
8
|
3322
|
标题 | 荣誉 | 发布 |
---|---|---|
1 | 06-11-201512:02点 | |
2 | 02-04-201602:35点 | |
1 | 04-11-201751点 | |
1 | 08-07-2015上午11 | |
4 | 06-19-201501:44点 |