操作方法
非地理数据(例如文档、图像和视频)可以作为附件与地图上的要素相关联。 可以在 ArcGIS Pro、Portal for ArcGIS、ArcGIS Online 和 ArcGIS Field Maps 中完成向要素添加附件的操作。 但是,某些 Esri 产品(例如 ArcGIS Online)将附件文件大小限制为 10 MB。
或者,可以通过 ArcGIS REST 服务目录添加附件。 默认情况下,ArcGIS REST 服务目录允许将最大 2 GB 的附件添加到要素中。 有关增加上传限制的说明,请参阅 ArcGIS REST API:上传。
Note: Ensure the layer allows attachments before adding them. Allow attachments in ArcGIS Pro using the Enable Attachments tool before sharing the layer as a web layer. Refer to ArcGIS Pro: Enable attachments for instructions. Alternatively, attachments can also be enabled for features in Portal for ArcGIS. Refer to Portal for ArcGIS: Allow attachments for instructions.
http://webadaptorhost.domain.com/webadaptorname/rest
http://webadaptorhost.domain.com/webadaptorname/rest/services/<folder_name>/<feature_service>/FeatureServer/<layer_ID>/<feature_ID>/addattachment
文章 ID: 000029873
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序