北京ArcGis Server开发培训笔记

1、以local方式连接arcgis server 时需要设置ArcGis Identity,并且连接的用户要属于agsadmin或agsusers;而如果以internet方式连接不用设置identity,它是以Web Application Post Install时指定的用户进行连接,如ArcGISWebServices。

 

2、Arcgis Server中的Web resource

     A、Use Asp.net 2.0 HTTP handler WebResource.axd

     i)Resource ar embedded into assemblies

  •        javascript
  •        images

     ii)Streamed to client at run time by default

 

     B、Files provide alternative resources

     i)<IISRoot>/aspnet_client

     ii)Web application relative path

     iii)Support file-based Web sites(Cassini)

注意:A是默认的方法,如果要启用B方法,需要将UseDefaultWebResources设置为false,并且WebResourceLocation要指定要一个正确的路径上。

 

 

3、Map控件的ImageBlendingMode属性介绍

i)Image blending:Web tier    ——图片叠加发生在web server

  • Images are created for each map resource
  • Images are blended at web tier
  • Browser receives a single image
  • Individual resource cannot be refreshed

ii)image blending:Browser     ——图片在浏览器端叠加

  • Images are created for each map resource
  • Browser receives individual images
  • Images are blended on the client using css
  • Individual resources may be refreshed

eg。

if(Map1.ImageBlendingMode==ImageBlendingMode.WebTier)
            {
                //对所有的地图图层刷新                Map1.Refresh();
            }
else if(Map1.ImageBlendingMode==ImageBlendingMode.Browser)
            {
                //只刷新Graphics Resource
                Map1.RefreshResource(selectResource.Name);
            }

 

4、MapTips控件在9.2中只能应用于点图层。

 

5、ZoomLevel控件只能应用于创建了缓存的服务,不然的话就算使用了,也显示不出来。

 

6、Graphics overview

7、使用graphics layers的一般步骤

  • Create a new graphics layers
  • Add to graphics  dataset
  • Create new geometry
  • Define symbols and rendering
  • Create graphic elements
  • Add to graphics layer
  • Redraw graphics  resource

8、ElementGraphicsLayer和FeatureGraphicsLayer的区别

ElementGraphicsLayer:

  • 只能包含几何体和symbol等空间信息,不能包含属性信息。
  • 可以包含任何的几何图形,混合存储
  • 简单渲染
  • 在selection,buffering,displaying a few features等简单的情况下使用

FeatureGraphicsLayer:

  • 即有空间信息又有属性信息
  • 只能存储某种单一几何图形
  • 可以支持复杂渲染器
  • 量大的时候使用

9、CallbackResults的eventArg说明

eventArgDescription
"content"Sets outerHTML of element
"innercontent"Sets innerHTML of element
"image"Sets src of image
"javascript"Executes javascript(function)

 

10、Task Runtime WorkFlow

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
课程简介 : ArcGIS Server包含了一系列软件和集中管理的GIS Web应用程序的开发框架。本高级课程介绍了ArcGIS Server Web应用程序开发框架(ADF),并教授学员如何开发ArcGIS Server Web应用程序以使用多种GIS服务。学员将学习有用的类库、API及ArcGIS Server开发流程。在课程练习中,学员将创建应用程序,使用ADF Web控件来整合多种数据源、执行查询、执行新添的geoprocessing任务。学员还将学到如何使用自定义按钮和工具来扩展Web ADF,以及如何使用server对象扩展模块扩展GIS服务器。 学员收益: 理解ArcGIS Server Web ADF的组成 学习如何使用Web地图应用程序模板 在Web应用程序中使用ArcGIS Server API 使用ASP.NET Web控件开发自定义Web应用程序 开发自定义命令和工具 使用task框架创建和部署自定义web任务 使用server对象扩展模块 培训内容: 建立Web ADF应用程序:Web ADF开发者资源;Web地图应用程序模板的组织;使用Web地图应用程序模板的优点。 使用Web ADF控件:ResourceManager控件;Mapping控件;web控件与MapControl控件关联;ImageBlending选项。 Web ADF编程:使用数据源、资源和函数;普通数据源API。 图形数据源编程:元素与要素图形图层;几何体;渲染;符号化;刷新图形图层。 ArcGIS Server数据源编程:SOAP和ArcObjects API;Value和Proxy对象;网络和本地资源;在COM与Web ADF类型间转换;管理状态。 创建自定义命令和工具:扩展Web ADF工具条;客户端与服务器动作;ToolEventArgs;Postbacks和callbacks;使用CallbackResults。 Web ADF任务框架:TaskManager和TaskResults;配置任务。 创建自定义任务:Itask;扩展FloatingPanelTask;使用TaskResults;整合任务至Visual Studio和ArcGIS Server Manager。 Geoprocessing:GeoprocessingFunctionaility; GPServer; Geoprocessor;geoprocessing任务的定制与使用。 扩展GIS服务器:COM有用对象;服务器对象扩展;部署服务器对象扩展的条件;在Web应用程序上使用服务器对象扩展。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值