Soumettre la recherche
Mettre en ligne
iShare 技术 基于ArcGIS REST API实现客户端(Flex)API -- GP服务 20110708 Sun
•
Télécharger en tant que DOCX, PDF
•
0 j'aime
•
507 vues
Jun Sun
Suivre
基于ArcGIS REST API实现客户端(Flex)API -- GP服务
Lire moins
Lire la suite
Technologie
Business
Signaler
Partager
Signaler
Partager
1 sur 7
Télécharger maintenant
Recommandé
如果没有ArcGIS
如果没有ArcGIS
Jun Sun
OpenGeo Suite试用报告
OpenGeo Suite试用报告
Jun Sun
Rutina Frances
Rutina Frances
rigooooo
Mon Journal De Bord
Mon Journal De Bord
JeanMartinik
Presentacion
Presentacion
orelly29
Bonjour
Bonjour
rigooooo
Rutina Frances
Rutina Frances
rigooooo
Belharra Cognos Pilotage De La Performance Sept 2009
Belharra Cognos Pilotage De La Performance Sept 2009
belharra
Recommandé
如果没有ArcGIS
如果没有ArcGIS
Jun Sun
OpenGeo Suite试用报告
OpenGeo Suite试用报告
Jun Sun
Rutina Frances
Rutina Frances
rigooooo
Mon Journal De Bord
Mon Journal De Bord
JeanMartinik
Presentacion
Presentacion
orelly29
Bonjour
Bonjour
rigooooo
Rutina Frances
Rutina Frances
rigooooo
Belharra Cognos Pilotage De La Performance Sept 2009
Belharra Cognos Pilotage De La Performance Sept 2009
belharra
Belharra PréSentation E Scm 2009[V1]
Belharra PréSentation E Scm 2009[V1]
belharra
Compliance with Investment Business Regulations
Compliance with Investment Business Regulations
Micheal O'Neill
Is Budgeting Necessary? A Discussion on the Current Perpsectives on Budgeting
Is Budgeting Necessary? A Discussion on the Current Perpsectives on Budgeting
Micheal O'Neill
Managing Working Capital to Survive the Downturn
Managing Working Capital to Survive the Downturn
Micheal O'Neill
Green Tax Issues, R&D Tax Credits & Intellectual Property
Green Tax Issues, R&D Tax Credits & Intellectual Property
Micheal O'Neill
Lean Manufacturing - How Do Lean Manufacturing Strategies Affect Profitability?
Lean Manufacturing - How Do Lean Manufacturing Strategies Affect Profitability?
Micheal O'Neill
Managing your tax season
Managing your tax season
Micheal O'Neill
Legal Issues in Wind Farm Development
Legal Issues in Wind Farm Development
Micheal O'Neill
Financial Reporting Standards Refresher in SSAPs
Financial Reporting Standards Refresher in SSAPs
Micheal O'Neill
Audit Opinion Dilemmas
Audit Opinion Dilemmas
Micheal O'Neill
Annual Returns Accounts and Audit
Annual Returns Accounts and Audit
Micheal O'Neill
如何解决mailto乱码的问题
如何解决mailto乱码的问题
Jun Sun
iShare 人生 程序员通关指南(暗黑版) 20111216 Sun
iShare 人生 程序员通关指南(暗黑版) 20111216 Sun
Jun Sun
iShare 技术 GIS统一能力平台一统江湖
iShare 技术 GIS统一能力平台一统江湖
Jun Sun
GIS统一能力平台如何达到统一
GIS统一能力平台如何达到统一
Jun Sun
iShare 技术 爪哇斗地主 Sun
iShare 技术 爪哇斗地主 Sun
Jun Sun
GIS平台系统架构 beta2 20110621
GIS平台系统架构 beta2 20110621
Jun Sun
标准化GIS平台
标准化GIS平台
Jun Sun
ArcGIS地图服务叠加原理
ArcGIS地图服务叠加原理
Jun Sun
ArcGIS REST Mapserver vs WFS
ArcGIS REST Mapserver vs WFS
Jun Sun
基于标准的GIS系统
基于标准的GIS系统
Jun Sun
编码规范
编码规范
Jun Sun
Contenu connexe
En vedette
Belharra PréSentation E Scm 2009[V1]
Belharra PréSentation E Scm 2009[V1]
belharra
Compliance with Investment Business Regulations
Compliance with Investment Business Regulations
Micheal O'Neill
Is Budgeting Necessary? A Discussion on the Current Perpsectives on Budgeting
Is Budgeting Necessary? A Discussion on the Current Perpsectives on Budgeting
Micheal O'Neill
Managing Working Capital to Survive the Downturn
Managing Working Capital to Survive the Downturn
Micheal O'Neill
Green Tax Issues, R&D Tax Credits & Intellectual Property
Green Tax Issues, R&D Tax Credits & Intellectual Property
Micheal O'Neill
Lean Manufacturing - How Do Lean Manufacturing Strategies Affect Profitability?
Lean Manufacturing - How Do Lean Manufacturing Strategies Affect Profitability?
Micheal O'Neill
Managing your tax season
Managing your tax season
Micheal O'Neill
Legal Issues in Wind Farm Development
Legal Issues in Wind Farm Development
Micheal O'Neill
Financial Reporting Standards Refresher in SSAPs
Financial Reporting Standards Refresher in SSAPs
Micheal O'Neill
Audit Opinion Dilemmas
Audit Opinion Dilemmas
Micheal O'Neill
Annual Returns Accounts and Audit
Annual Returns Accounts and Audit
Micheal O'Neill
En vedette
(11)
Belharra PréSentation E Scm 2009[V1]
Belharra PréSentation E Scm 2009[V1]
Compliance with Investment Business Regulations
Compliance with Investment Business Regulations
Is Budgeting Necessary? A Discussion on the Current Perpsectives on Budgeting
Is Budgeting Necessary? A Discussion on the Current Perpsectives on Budgeting
Managing Working Capital to Survive the Downturn
Managing Working Capital to Survive the Downturn
Green Tax Issues, R&D Tax Credits & Intellectual Property
Green Tax Issues, R&D Tax Credits & Intellectual Property
Lean Manufacturing - How Do Lean Manufacturing Strategies Affect Profitability?
Lean Manufacturing - How Do Lean Manufacturing Strategies Affect Profitability?
Managing your tax season
Managing your tax season
Legal Issues in Wind Farm Development
Legal Issues in Wind Farm Development
Financial Reporting Standards Refresher in SSAPs
Financial Reporting Standards Refresher in SSAPs
Audit Opinion Dilemmas
Audit Opinion Dilemmas
Annual Returns Accounts and Audit
Annual Returns Accounts and Audit
Plus de Jun Sun
如何解决mailto乱码的问题
如何解决mailto乱码的问题
Jun Sun
iShare 人生 程序员通关指南(暗黑版) 20111216 Sun
iShare 人生 程序员通关指南(暗黑版) 20111216 Sun
Jun Sun
iShare 技术 GIS统一能力平台一统江湖
iShare 技术 GIS统一能力平台一统江湖
Jun Sun
GIS统一能力平台如何达到统一
GIS统一能力平台如何达到统一
Jun Sun
iShare 技术 爪哇斗地主 Sun
iShare 技术 爪哇斗地主 Sun
Jun Sun
GIS平台系统架构 beta2 20110621
GIS平台系统架构 beta2 20110621
Jun Sun
标准化GIS平台
标准化GIS平台
Jun Sun
ArcGIS地图服务叠加原理
ArcGIS地图服务叠加原理
Jun Sun
ArcGIS REST Mapserver vs WFS
ArcGIS REST Mapserver vs WFS
Jun Sun
基于标准的GIS系统
基于标准的GIS系统
Jun Sun
编码规范
编码规范
Jun Sun
Plus de Jun Sun
(11)
如何解决mailto乱码的问题
如何解决mailto乱码的问题
iShare 人生 程序员通关指南(暗黑版) 20111216 Sun
iShare 人生 程序员通关指南(暗黑版) 20111216 Sun
iShare 技术 GIS统一能力平台一统江湖
iShare 技术 GIS统一能力平台一统江湖
GIS统一能力平台如何达到统一
GIS统一能力平台如何达到统一
iShare 技术 爪哇斗地主 Sun
iShare 技术 爪哇斗地主 Sun
GIS平台系统架构 beta2 20110621
GIS平台系统架构 beta2 20110621
标准化GIS平台
标准化GIS平台
ArcGIS地图服务叠加原理
ArcGIS地图服务叠加原理
ArcGIS REST Mapserver vs WFS
ArcGIS REST Mapserver vs WFS
基于标准的GIS系统
基于标准的GIS系统
编码规范
编码规范
Dernier
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
NavinnSomaal
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Dubai Multi Commodity Centre
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Mark Simos
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
LoriGlavin3
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
LoriGlavin3
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Kalema Edgar
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Databarracks
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Precisely
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Fwdays
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
LoriGlavin3
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Alfredo García Lavilla
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Hervé Boutemy
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
2toLead Limited
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
Dernier
(20)
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
iShare 技术 基于ArcGIS REST API实现客户端(Flex)API -- GP服务 20110708 Sun
1.
HYPERLINK quot; http://services.arcgisonline.com/ArcGIS/SDK/REST/gpserver.htmlquot;
GP REST API<br />http://<catalog-url>/<serviceName>/GPServer<br />Task<br />http://<gpservice-url>/<taskName><br />Execute Task(Synchronous)<br />http://<task-url>/execute<br />执行同步任务, 发送请求后会一直处于等待状态, 直到任务执行完毕返回结果<br />Parameters<br />ParameterDetailsfDescription: The response format. The default response format is html. Values: html | json | kmz<gpParameter1>, <gpParameter2>, ...Description: The various input parameters accepted by the corresponding GP task. These parameters are listed in the parameters property of the JSON representation associated with the GP task resource.The valid values for the input parameters are dependent on the data type of the parameter. These values are discussed in more detail in submit job operation.<br />Example<br />http://a.com/ArcGIS/rest/services /ESRI_Currents_World/GPServer/MessageInABottle/execute?<br />Input_Point={quot; featuresquot; :[{quot; geometryquot; :{quot; xquot; :0,quot; yquot; :0}}]}&f=json<br />{<br /> quot; resultsquot; : [{<br /> quot; paramNamequot; : quot; Output_Stringquot; ,<br /> quot; dataTypequot; : quot; GPStringquot; ,<br /> quot; valuequot; : quot; Test Stringquot; <br /> }, {<br /> quot; paramNamequot; : quot; Output_Doublequot; ,<br /> quot; dataTypequot; : quot; GPDoublequot; ,<br /> quot; valuequot; : 545.64<br /> }],<br /> quot; messagesquot; : [{<br /> quot; typequot; : quot; esriJobMessageTypeInformativequot; ,<br /> quot; descriptionquot; : quot; Executingquot; <br /> }, {<br /> quot; typequot; : quot; esriJobMessageTypeInformativequot; ,<br /> quot; descriptionquot; : quot; Start Timequot; <br /> }]<br />}<br />Submit Job(Asynchronous)<br />http://<task-url>/submitJob<br />提交任务工单 -> 持续检测工单是否执行完毕 -> 取出Task的执行结果<br />Parameters<br />和Execute Task的参数一样<br />Example<br />http://a.com/ArcGIS/rest/services/ /ESRI_CadastralData_Portland/GPServer/MailingList/submitJob?<br />Parcel_ID= 1N1E34CC&f=json<br />{<br /> quot; jobIdquot; : quot; JE30155054C2C416EA3CF6C88A40B94FFquot; ,<br /> quot; jobStatusquot; : quot; esriJobSubmittedquot; ,<br /> quot; messagesquot; : [{<br /> quot; typequot; : quot; esriJobMessageTypeInformativequot; ,<br /> quot; descriptionquot; : quot; Submitted.quot; <br /> }]<br />}<br />Check Job Status<br />http://<task-url>/jobs/<job-id><br />检测任务工单的运行状态, 需要以一定的时间间隔持续调用该REST API接口, 直至检测到任务工单状态为esriJobSucceeded或其他失败状态<br />Parameters<br />ParameterDetailsfDescription: The response format. The default response format is html.Values: html | json | kmzreturnMessagesDescription: If true, the job messages are included in the response. The default is true.Values: true | false<br />Example<br />http://a.com/ArcGIS/rest/services /ESRI_CadastralData_Portland/GPServer/MailingList/jobs/ JE30155054C2C416EA3CF6C88A40B94FF&f=json<br />{<br /> quot; jobIdquot; : quot; JE30155054C2C416EA3CF6C88A40B94FFquot; ,<br /> quot; jobStatusquot; : quot; esriJobSucceededquot; ,<br /> quot; resultsquot; : {<br /> quot; Output_Longquot; : {quot; paramUrlquot; : quot; results/Output_Longquot; },<br /> quot; Output_Feature_Classquot; : {quot; paramUrlquot; : quot; results/Output_Feature_Classquot; }<br /> },<br /> quot; inputsquot; : {<br /> quot; Input_Stringquot; : {quot; paramUrlquot; : quot; inputs/Input_Stringquot; },<br /> quot; Input_Feature_Classquot; : {quot; paramUrlquot; : quot; inputs/Input_Feature_Classquot; }<br /> },<br /> quot; messagesquot; : [{<br /> quot; typequot; : quot; esriJobMessageTypeInformativequot; ,<br /> quot; descriptionquot; : quot; Submitted.quot; <br /> }, {<br /> quot; typequot; : quot; esriJobMessageTypeInformativequot; ,<br /> quot; descriptionquot; : quot; Executing...quot; <br /> }, {<br /> quot; typequot; : quot; esriJobMessageTypeInformativequot; ,<br /> quot; descriptionquot; : quot; Succeeded.quot; <br /> }]<br />}<br />Get Job Result<br />http://<job-url>/results/<param-name><br />Parameters<br />ParameterDetailsfDescription: The response format. The default response format is html.Values: html | json | image | kmzoutSRDescription: The spatial reference of the output geometries. The spatial reference can be specified as either a well-known ID or as a spatial reference json object. This parameter is applicable for result parameters that contain geometries. This parameter can be used to return the geometries in a spatial reference that is different from the spatial reference in which the outputs were initially created.returnTypeDescription: If the GP service is associated with a result map service, the default output for GPRasterDataLayer and GPFeatureSetLayer parameters is a map image. However, you can explicitly request the raw raster data by using returnType and setting its value to data.Values: data<br />Example<br />http://a.com/ArcGIS/rest/services/ /ESRI_CadastralData_Portland/GPServer/MailingList/jobs/ JE30155054C2C416EA3CF6C88A40B94FF/results/Output_Long?f=json<br />{<br /> quot; paramNamequot; : quot; Output_Longquot; ,<br /> quot; dataTypequot; : quot; GPLongquot; ,<br /> quot; valuequot; : 1234<br />}<br />GPFeatureRecordSetLayer<br />FeatureSet JSON格式的空间数据, 做为GP的输入/输出参数值<br />{<br /> quot; paramNamequot; : quot; Output_Featuresquot; ,<br /> quot; dataTypequot; : quot; GPFeatureRecordSetLayerquot; ,<br /> quot; valuequot; : {<br /> quot; geometryTypequot; : quot; esriGeometryPointquot; ,<br /> quot; spatialReferencequot; : {quot; wkidquot; : 4326},<br /> quot; featuresquot; : [{<br /> quot; geometryquot; : {quot; xquot; : -104.36, quot; yquot; : 34.657},<br /> quot; attributesquot; : {<br /> quot; TextFieldquot; : quot; aquot; ,<br /> quot; IntFieldquot; : 1234<br /> }<br /> }, {<br /> quot; geometryquot; : {quot; xquot; : -114.749, quot; yquot; : 31.439},<br /> quot; attributesquot; : {<br /> quot; TextFieldquot; : quot; bquot; ,<br /> quot; IntFieldquot; : 5678<br /> }<br /> }]<br /> }<br />}<br />如何自己实现Flex版的GP API<br />调用REST API接口<br />在调用过程中遵循GP REST API的规范<br />数据格式转换<br />对内只使用OpenScales的数据格式, 对外使用ArcGIS特有的数据格式, 做数据适配<br />200787052070ArcGIS00ArcGIS27723850909OpenScales00OpenScales<br />2094865155575FeatureSet00FeatureSet383689183434Vector.< Feature>00Vector.< Feature><br />218079369215Graphic00Graphic1667888147212047160266675Feature00Feature<br />2268855134188Geometry00Geometry558314131364Geometry00Geometry<br />2138045139497FeatureSet JSON00FeatureSet JSON2621280100127<br />26733587427ArcGIS GP REST API00ArcGIS GP REST API<br />
Télécharger maintenant