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
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Delhi Call girls
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Alan Dix
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
BookNet Canada
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Allon Mureinik
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
ThousandEyes
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Maria Levchenko
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
Paola De la Torre
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
Sujit Pal
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Results
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ridwan Fadjar
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
Scott Keck-Warren
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Delhi Call girls
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
HostedbyConfluent
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Sinan KOZAK
Dernier
(20)
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
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