博客
|
你们证明了这个社区是合法的,我们非常感谢你们为解决我们客户和合作伙伴的具体问题所做的贡献。尤其是在与固执己见的技术人员(包括我)打交道时:感谢你们的耐心、理解和善意!
...查看更多
2周前
|
4
|
0
|
746
|
帖子
|
我们的开发人员也更喜欢使用Visual Studio 2019/2022环境。我们根据@JamesBallard1的建议改用CMake来实现项目。我知道CMake是一个不同的野兽——特别是当涉及到缓存和多种配置时——但是迁移到新的版本200。x基于Qt6,在我们的项目中发挥了巨大的作用。在更复杂的场景中,我们仍然会看到CMake和VS环境中的缓存的一些问题,比如使用vcpkg编译Qt Maps SDK,例如将pybind11编译到一个核心的Python基础模块中,因为我们的数据工程师喜欢在他们的Python环境中使用Maps SDK功能。因此,我们使用Qt Creator和CMake建立一个新项目或解决现有项目的问题,然后切换回Visual Studio。下面是来自微软的一些简洁的教程:使用VS 2019的CMake项目
...查看更多
2周前
|
1
|
0
|
40
|
帖子
|
我们有一些客户和合作伙伴仍然依赖于File Geodatabase API。目前,他们试图迁移或至少估计迁移到新的。net 6长期支持版本的工作。相关的Github问题很想从维护者那里得到一些反馈。
...查看更多
|
0
|
0
|
60
|
帖子
|
这是以毫秒为单位的UNIX时间戳/纪元。如果你想使用FeatureSet作为一个数据帧,最简单的方法是空间启用数据帧。从arcgis导入GIS。features import FeatureLayer, featurelset from datetime import datetime import json import geopandas as gpd gis = gis () url_2000 = 'https://services3.arcgis.com/T4QMspbfLg3qTGWY/arcgis/rest/services/Historic_Geomac_Perimeters_All_Years_2000_2018/FeatureServer/0' layer_2000 = FeatureLayer(url_2000) fset_2000 = layer_2000.query() fset_2000。从UTC时间戳到datetime对象的转换是在底层完成的。如果您仍然希望使用来自geopandas模块的GeoDataFrame,则必须编写自己的转换实现。FeatureSet的to_geojson属性将把datetime对象重新转换回UTC时间戳。这看起来有点尴尬。下面的函数将UTC时间戳转换为ISO格式字符串,因为您的代码将GeoJSON重新加载为python对象。此外,to_geojson还将字符串编码为unicode转义字符('\uxxx') -我喜欢我们的德语变音。我建议不要使用to_geojson方法。 The following function directly converts the UTC timestamps into the ISO string format. def convert_timestamps(feature_set: FeatureSet, field_names, use_iso=True): """Converts timestamps (UNIX epoch in [ms]) into datetime objects by modifying the feature set directly.""" for feature in feature_set.features: for attribute_name in feature.attributes: if attribute_name in field_names: if use_iso: feature.attributes[attribute_name] = datetime.utcfromtimestamp(feature.attributes[attribute_name] * 1e-3).isoformat() else: feature.attributes[attribute_name] = datetime.utcfromtimestamp(feature.attributes[attribute_name] * 1e-3) So that, you just need to call it by using: convert_timestamps(fset_2000, ['perimeterdatetime']) gjson_string_2000 = fset_2000.to_geojson gjson_dict_2000 = json.loads(gjson_string_2000) gdf_2000 = gpd.GeoDataFrame.from_features(gjson_dict_2000['features']) The geopandas dataframe contains the correct ISO string. You have to reconvert it into a datetime object, again. This is only needed because of the to_geojson property behavior. Hope it helps.
...查看更多
12-14-202206:21我
|
2
|
0
|
74
|
帖子
|
需要定制工作流,因为默认浏览器不能在某些安全设备上使用。因此,必须自定义身份验证管理器,或者必须使用本机设备“身份验证控制器”实现身份验证挑战处理程序。我们所知道的唯一的库是AppAuth for iOS,通过openid支持在“SFSafariViewController”之上的自定义身份验证处理程序。也许我们应该试一试……@NimeshJarecha
...查看更多
04-06-202208:16我
|
0
|
1
|
170
|
帖子
|
ArcGIS Enterprise 10.9允许管理员管理OpenID登录。我们的一个客户试图通过使用本机登录屏幕和用于OpenID连接的自定义身份验证处理程序来实现OpenID登录。我们没有找到任何使用OpenID连接登录的ArcGIS运行时示例。您能告诉我们,如果AuthenticationManager支持OpenID连接,或者如何实现自定义的AuthenticationManager吗?后续:你的想法在ArcGIS企业10.9 - Esri社区ArcGIS -runtime-sampl188金宝搏网址导航188金宝博复式es-ios/ ArcGIS -ios-sdk-samples/Cloud和portal/Token认证在main·Esri/ ArcGIS -runtime-samples-ios (github.com)
...查看更多
04-04-202204:55我
|
0
|
3.
|
218
|
帖子
|
@CharlesMacleod你知道从图像服务层和元数据光栅层访问“属性表”的任何解决方案吗?或者这是目前Pro SDK不可能的?到目前为止,我们只发现ImageServiceLayer::GetRaster()::GetAttributeTable()返回一个空引用。
...查看更多
01-10-202204:41我
|
0
|
0
|
193
|
帖子
|
@MatthiasSchenker向我展示了一个使用TableControlContentFactory填充底层表内容的示例(ProGuide tableccontrol·Esri/arcgis-pro-sdk Wiki (github.com))。TableControlContentFactory与ImageServiceLayer一起工作。当我们试图通过调用ImageServiceLayer::GetRaster()::GetAttributeTable()来访问属性表时,我们只能得到一个未初始化的实例。到目前为止,我们又不走运了。if(图层是ImageServiceLayer ImageServiceLayer) {await QueuedTask.Run(() => {var raster = ImageServiceLayer . getraster ();var table = raster.GetAttributeTable();if (null != table) {using (var cursor = table. search ()) {var fieldCount = -1;while (cursor.MoveNext()) {var currentRow = cursor.Current;if (null != currentRow) {if (-1 == fieldCount) {fieldCount = currentRow. getfields ().Count;} for (var fieldIndex = 0; fieldIndex < fieldCount; fieldIndex++) { var value = currentRow[fieldIndex]; if (null != value) { } } } } } } }); }
...查看更多
11-10-202102:07我
|
0
|
1
|
285
|
帖子
|
我们需要访问加载记录到我们的智能数据分析器在内存自定义智能表视图。因此,我们的任何客户都可以轻松地选择/过滤/聚合底层图像块,而无需使用不那么直观的SQL语句。我们的自定义表视图具有与属性或任何其他记录/特征选择视图相同的行为。为了更好地理解,看看我们的产品页面智能数据分析器。
...查看更多
11-08-2021上午08:19
|
0
|
2
|
323
|
标题 | 荣誉 | 发布 |
---|---|---|
4 | 2周前 | |
1 | 2周前 | |
2 | 12-14-202206:21我 | |
1 | 07-08-202104:26我 | |
1 | 09-06-201901:18我 |
在线状态 |
离线
|
最后到访日期 |
星期五
|