GA大数据分析runpythonscript脚本能不能发布为GP服务供前端调用

GA大数据分析runpythonscript一般在前端怎么使用,发布成GP服务可以吗?
已邀请:

刘恒

赞同来自:

参考一下几篇博文,学习一下,或许能帮助你解答你的疑问:
 
ArcGIS Python如何将py脚本制作成python工具(自定义地理处理工具)
https://blog.csdn.net/weixin_40625478/article/details/106235943
 
arcgis server如何发布依赖第三方库的GP服务并成功运行rest查询服务:
https://blog.csdn.net/weixin_4 ... 81353
 
 
发布和使用ArcGIS Server 服务之–地理处理服务(Geoprocessing service):https://blog.csdn.net/weixin_4 ... 86845

菠萝仔

赞同来自:

大数据扩展接口runpythonscript提供两种方式的调用:一种是rest API 的方式,可以在前端调用,详细的使用可以参考官网帮助:https://developers.arcgis.com/rest/services-reference/run-python-script.htm
官网的例子:
https://developers.arcgis.com/rest/services-reference/run-python-script-examples.htm
 
 
另一种方式是通过 arcgis for python API接口,详细使用参考官网:
https://developers.arcgis.com/python/api-reference/arcgis.geoanalytics.manage_data.html?highlight=run_python_script#arcgis.geoanalytics.manage_data.run_python_script
 
 
 

要回复问题请先登录注册