2010年8月26日周四_understanding ArcGIS Server_ArcGIS Services Directory_8.2
Posted on 2010-08-26 14:04 星尘的天空 阅读(441) 评论(0) 编辑 收藏 举报/*************************************************/
// Using the ArcGIS Services Directory
//
//Version 2.0
/*************************************************/
The ArcGIS Services Directory, a component of the ArcGIS Server 9.3 REST infrastructure, contains information on the services available at each server.
Search for available services (including secured services, with proper login) and view service details including the following:
- Properties such as spatial extent and supported operations
- Layers with links to layer details (Simple queries can also be executed on layers.)
- Required input for services, such as the address format for a geocoding service
ArcGIS Services 目录,是一个ArcGIS Server 9.3 RESR信息结构的一部分,她包含每一个服务器上可以获取的服务的信息。
搜索可以利用的服务并查看Service的详细信息,包括以下内容:
属性信息:比如空间范围、支持的操纵
关联有layer详细信息的Layers(在layer上面也可以执行简单的查询)
服务要求的输入:比如:用于地理编码服务的地址格式
Opening the ArcGIS Services Directory
To open the ArcGIS Services Directory for an ArcGIS Server machine, you must know the URL of the server instance. The ArcGIS Server instance is typically installed in the Web server's root as arcgis, and the ArcGIS Services Directory is in the rest folder inside the instance. For example, if the server is at www.example.com, the ArcGIS Services Directory would be located at http://www.example.com/arcgis/rest/services (.NET) or http://www.example.com:8389/arcgis/rest/services (Java).
Contact your ArcGIS Server system administrator if you are uncertain about the server URL or ArcGIS instance.
为了打开ArcGISServer 服务器上面的ArcGIS Services 目录,你必须知道服务器实例的URL。 ArcGIS Server实例典型的安装在web Server的根目录,名称为:arcgis,ArcGIS Services 目录是实例里面的rest文件夹。比如:如果服务器名称为:www.example.com,ArcGIS Services目录江湖定位在http://wwww.example.com/arcgis/rest/services(.NET环境下)或者http://www.example.com:8389/arcgis/rest/services(java环境下)。如果你不确定服务器的URL或者ArcGIS 实例,联系你的ArcGIS Server 系统的管理员
Finding information about a service
Use the ArcGIS Services Directory to obtain information you need to use in a service with the ArcGIS API for Flex. Copy the desired service's URL from the address bar in your browser and paste it in your code. For example, a service in the example server above might have a URL of http://www.example.com/arcgis/rest/services/ExampleService/MapServer. The server type appended to the end of the URL is required to specify the type of service used.
使用ArcGIS Services 目录获取你在一个服务中需要使用的信息,这个服务是ArcGIS API for Flex类型服务。在你的浏览器的地址里面种拷贝你想要的服务的URL,黏贴到你的代码中。比如: 在上面的示例服务器中的一个服务可能有一个URL为:http://www.example.com/arcgis/rest/services/ExampleService/MapServer。 Server的类型附加在URL的尾部,她指明了我们使用的服务的类型
The directory also allows you to search for layer IDs to identify features within particular layers. The layer IDs can be found in the Layers list on a map service's properties page. If you need names of attribute fields to specify the information to return in a query, you can drill down to the layer's properties to find a list of fields.
目录也允许你搜索layer的ID,来指明在特定的layers中的features。 Layer 的ID可以在一个地图服务属性页面中的layers列表中找到。如果你需要属性字段值的名称来指定查询任务中要返回的信息,你可以进入图层的属性来找到字段值的列表。
Some services may be secured so that only authorized users may access them. Log in to the ArcGIS Services Directory to see which services you have access to. For more information, see Secured services.
一些服务可能设置了安全性,因此只有一些授权的用户才能访问他们。登陆到ArcGIS Services 目录查看那些服务你可以访问。更多信息,查看Secured services