- 浏览: 1741883 次
- 性别:
- 来自: 成都
文章分类
- 全部博客 (520)
- Oracle (10)
- Oracle错误集 (8)
- Oracle安装升级 (15)
- Oracle日常管理 (51)
- Oracle字符集 (7)
- Oracle备份恢复 (24)
- Oracle优化 (4)
- Oracle编程 (52)
- Oracle导入导出 (19)
- Oracle体系结构 (15)
- Oracle网络 (2)
- Oracle安全 (2)
- Oracle权限 (3)
- Oracle数据字典和性能视图 (2)
- Oracle常用地址 (5)
- SQLPLUS专栏 (7)
- SqlServer (13)
- SqlServer2005编程 (27)
- SqlServer2005管理 (15)
- MySQL (20)
- Dorado应用 (1)
- C# (24)
- Arcgis Server开发 (20)
- ArcSDE技术 (19)
- UML学习 (2)
- 设计模式 (2)
- JAVA EE (4)
- JavaScript (3)
- OFBIZ (27)
- JAVA WEB开发 (22)
- Linux&Unix (34)
- SHELL编程 (14)
- C语言 (11)
- 网络协议 (14)
- FREEMARKER (2)
- GROOVY (2)
- JAVA语言 (3)
- 防火墙 (0)
- PHP (2)
- Apache (2)
- Loader Runner (1)
- Nginx (3)
- 数据库理论 (2)
- maven (1)
最新评论
-
怼怼怼怼:
oracle的timestamp类型使用 -
怼怼怼怼:
oracle的timestamp类型使用 -
怼怼怼怼:
oracle的timestamp类型使用 -
pg_guo:
感谢
oracle中查看用户权限 -
xu234234:
5、MapResourceManager控件中添加了两个服务, ...
北京ArcGis Server应用基础培训笔记1
ArcGIS Server APIs
SOAP
1)XML-structured 语言。
2)对server objects和server object extensions可用。
3)设计用作stateless 交互。
4)Catalog 请求由IServerCatalogAdmin 接口处理。
5)Service 请求由IRequestHandler 接口处理。
ArcObjects
1)远程与GIS Server上的ArcObjects 交互。
2)使用客户端的Primary Interop Assemblies (PIA) 和object libraries。
3)通过SOM访问获得ArcGIS Server services。
4)设计用作stateless 和stateful 交互。
ArcGIS Server MapResource 类型
A、MapResourceInternet – 连接到Web service endpoint
B、MapResourceLocal – 连接到Server Object Manager
1)访问ServerContext
2)使用ArcObjects
ArcGIS Server Internet: SOAP编程
1)MapResourceInternet
MapServerProxy, 访问value objects
2)通讯是stateless
3)使用pooled objects
Dim mapRes as ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.MapResourceInternet
mapRes = gisFunc.Resource
Dim mapsProxy as ArcGISServer.MapServerProxy = mapRes.MapServerProxy
Dim mapInfo as ArcGISServer.MapServerInfo =
mapsProxy.GetServerInfo(mapsProxy.GetDefaultMapName())
Dim mapDesc as ArcGISServer.MapDescription = mapInfo.DefaultMapDescription
Dim mLayerInfo as ArcGIServer.MapLayerInfo()
mLayerInfo = mapRes.MapServerInfo.MapLayerInfos
Dim layerDescs as ArcGISServer.LayerDescription()
layerDescs = mapDesc.LayerDescriptions
ArcGIS Server Local: ArcObjects 编程
1)远程访问ArcObjects
2)MapServerLocal
MapServer > IMapServer (COM) >IMapServerObjects (COM)
3)通过.NET部件访问高级的functionality
Dim mapFunc as IMapFunctionality = Map1.GetFunctionality(0)
Dim ags_mr as ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.MapResourceLocal
ags_mr =
CType(mapFunc.Resource,ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.MapResourceLocal)
' Access the ArcObjects COM ServerObject directly
Dim mapServer as ESRI.ArcGIS.Carto. IMapServer = CType(ags_mr.MapServer,IMapServer)
Dim mapServerObjs as ESRI.ArcGIS.Carto.IMapServerObjects
mapServerObjs = CType(mapServer,IMapServerObjects)
Dim map as ESRI.ArcGIS.Carto.IMap = mapServerObjs.Map
' Now perform more ArcObjects operations
Dim featClass as IFeatureClass = CType(map.Layers(0)).FeatureClass,
深入ArcGIS Server Local API
1)MapResourceLocal
通过DCOM访问server上的ArcObjects
ServerContext
2)所有的过程在远程完成
ArcObjects 远程编程
1)能在服务器上创建新的对象
2)MapServerLocal
ServerContextInfo
ServerContext
3)不需要release servercontext
Dim ags_mr as ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.MapResourceLocal
ags_mr =
CType(qfunc.Resource,ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.MapResourceLocal)
' Create a new ArcObjects COM objects
Dim context as ESRI.ArcGIS.Server.IServerContext = ags_mr.ServerContextInfo.ServerContext
Dim pnt as ESRI.ArcGIS.Geometry.IPoint = context.CreateObject("esriGeometry.Point")
pnt.X = 60
pnt.Y = 100
Dim topo as ESRI.ArcGIS.Geometry.ITopologicalOperator = CType(pnt, Itopological)
常用开发模式
--首先建立连接 Identity identity = new Identity("username", "pwd", "domain"); AGSServerConnection connection = new AGSServerConnection("fmc-pca187", identity); connection.Connect(); --获得服务器对象 IServerObjectManager m_pSOM = connection. ServerObjectManager ; IServerContext m_pServerContext = m_pSOM. CreateServerContext (" testMap" , "MapServer" ) ; IMapServer pMapServer = m_pServerContext . ServerObject as IMapServer ; --使用服务器对象 IMapServerObject s pMapServerObject s = ( IMapServerObject s) pMapServer ; IMap pMap = pMapServerObject s. get_Map (pMapServer .DefaultMapName) ; IFeatureLayer p FLayer = ( IFeatureLayer) pMap. get_Layer(0) ; IFeatureClass p FeatureClass = p FLayer . FeatureClass ; int i = p FeatureClass. FeatureCount (null) ; --释放服务器对象 m_pServerContext . ReleaseContext () ;
发表评论
-
FileGDB的要素编辑
2008-09-19 10:46 4958这段时间在做FileGDB的要素编辑,以前做过shp的编辑,以 ... -
远程上传shp文件后添加到SDE已有的FeatureClass里
2008-09-18 17:07 4129功能:远程web上传shp文件,然后添加到指定的SDE已经存在 ... -
利用JavaScript实现图片标注——SearchMapIdentityTask
2008-09-16 16:04 7841功能:功能实现了现在网络流行的定位后在地图上画一个图标,点击图 ... -
Arcgis Server发布WMS服务时URL样式
2008-09-08 15:50 6777http://192.168.1.102/ArcGIS/ser ... -
关于处理Maptips的技巧和方法总结
2008-09-02 17:20 2539为了处理adf中关于Maptips的各种棘手问题,我前段时间没 ... -
ArcGIS Server概述
2008-09-02 16:32 30881、概述 ArcGIS Server——基于AO的对象服务器, ... -
Data source-specific APIs 编程中的常用概念
2008-08-06 15:23 1562首先介绍几个概念: Server Objects 一个服务器对 ... -
Web ADF编程
2008-08-06 14:11 1940通用步骤:1. 从Web controls 开始2. 访问re ... -
北京ArcGis Server应用基础培训笔记2
2008-08-04 17:43 306317、ArcGIS Server Internet连接方式和A ... -
北京ArcGis Server应用基础培训笔记1
2008-08-04 14:25 36291 用户名问题在GIS Server PostInstall过 ... -
北京ArcGis Server开发培训例子(整理)
2008-08-01 16:07 9832前段时间到北京去参加了ArcGis Server应用开发的培训 ... -
Arcgis Server常用类库分类
2008-07-29 11:34 2787Web controls----ESRI.ArcGIS.ADF ... -
北京ArcGis Server开发培训笔记
2008-07-28 15:57 29261、以local方式连接arcgis server 时需要设置 ... -
如何采用Local方式连接到ArcGIS Server
2008-06-20 22:05 2964在使用ArcGIS Server ArcObjects API ... -
ArcGISServer 开发问题集
2008-06-13 08:35 2387Map resource "MapResou ... -
ArcGIS Server几个基本概念
2008-06-12 17:06 30941 gis server 简单的说,gis ... -
ArcGIS Server开发调试中经常遇到的问题
2008-06-10 13:21 2916在对.net开发ArcGIS Server 的web 应用程序 ... -
ArcGIS Server开发——控制图层是否可见
2008-06-10 13:18 2294当需要控制图层的可见性时,可以使用 IMapDescripti ... -
在ArcGIS Server中不能直接用New来创建ArcObjects对象,而应该用serverC
2008-06-10 13:15 19891 web应用调用的是远程的AO组件,这些AO对象都运行在服务 ...
相关推荐
Esri一共提供了四种开发模式: 1.Web ADF/Web Control 页面ADF框架和页面...4.Data Source Specific APIs 直接使用数据源具体API 这四种开发方式难度是有易至难的,但其可定制性也越强,下面就具体分析这四种开发方式。
Secure Coding Frameworks (APIs) Manual Code Review Independent Code Review and Testing (by Experts or Third Parties) Static Analysis Risk Assessment Methodology Integration of SDL with SDLC ...
When using the EDSDK libraries, you must call this API once before using EDSDK APIs. Parameters: In: None Out: None Returns: Returns EDS_ERR_OK if successful. In other cases, see EDSDKError....
Play Framework is an open source web application framework that is written in Java and Scala. It follows the Model-View-Controller architectural pattern and enables the user to employ Scala for ...
Selenium WebDriver is an open source automation tool implemented through a browser-specific driver, which sends commands to a browser and retrieves results. The latest version of Selenium 3 brings ...
* Learn the Hadoop Distributed File System (HDFS), including ways to use its many APIs to transfer data * Write distributed computations with MapReduce, Hadoop's most vital component * Become familiar...
Its unique architecture allows the lean reporting engine to quickly read records from the data source and immediately render them to the output device. The simplicity of the design allows the data to...
Its unique architecture allows the lean reporting engine to quickly read records from the data source and immediately render them to the output device. The simplicity of the design allows the data to...
Its unique architecture allows the lean reporting engine to quickly read records from the data source and immediately render them to the output device. The simplicity of the design allows the data to...
Google-Specific Magic Smart Pointers cpplint Other C++ Features Reference Arguments Function Overloading Default Arguments Variable-Length Arrays and alloca() Friends Exceptions Run-Time Type ...
Simple application that calls various PLX APIs for a selected device & verifies return codes & parameters. The API calls made depend upon the type of device selected. - DSlave Demonstrates how to ...
This practical book provides the concepts and code you need to develop software with Android, the open-source platform for cell phones and mobile devices that's generating enthusiasm across the ...
* fixed: audio delay was incorrect when 1st m2ts part contained no audio data * fixed: very small WAV files were not detected correctly * fixed: "eac3to source.eac3 dest.dts -core" crashed v3.12 * ...
Persistence is an important set of techniques and technologies for accessing and using data, and ensuring that data is mobile regardless of specific applications and contexts. In Java development, ...
Shell APIs The Shell Namespace The Taskbar Notification Area Summary Chapter 10: Utility and Exception Classes CStrings Constructing CString Objects CString Operators CStrings and String ...
learn the concepts and architecture of a specific feature set, including views, maps, location-based services, persistent data storage, 2D and 3D graphics, media services, telephony services, and ...
Current stable release...Call C functions directly (no wrappers or special APIs needed) Powerful shell-like capabilities for managing other processes Lisp-like macros and other metaprogramming facilities
The code has been tested under NT4 SP6a<END><br>31,passdemo.zip This is a very good example of how to use the registry to save data. It shows how to create, store and save a password to the ...
You may also find it useful to refer to the source code of ProCamCalib and ProCamTracker as well as examples ported from OpenCV2 Cookbook and the associated wiki pages. Please keep me informed of ...