2010年8月26日周四_understanding ArcGIS Server_using an ArcGIS Server service_8.3
2010-08-26 14:27
477 查看
/***********************************************************************************/
// Using an ArcGIS Server service
//2010年8月26日
//Version 2.0
/***********************************************************************************/
To use an ArcGIS Server service in the ArcGIS API for Flex, you need to know the URL of the service. URLs can vary but will often look like the following:
http://www.example.com/arcgis/rest/services/ExampleService/MapServer
为了在ArcGIS API for Flex中使用一个ArcGIS Server服务,你需要知道服务的URL,URL可能有些不同,但是大多数的都和下面的相似:
http://www.example.com/arcgis/rest/services/ExampleService/MapServer
Using map services
You can obtain information about a map service either from your ArcGIS Server administrator or by searching the ArcGIS Services Directory.
In addition to the service's URL, you may also need further information to use a map service:
Map layer IDs. These are necessary if you intend to identify or query on those layers.
NOTE: IDs are usually integer values and are not the same as the layer name, which is assigned by the author of the map.
Names of the attribute fields in a layer. These are needed if you intend to specify which fields are returned from a query.
Other map information, such as the spatial extent of the map or individual layers, the feature type of a layer (point, line, or polygon), or the minimum and maximum scales at which the layer will display.
你可以从你的ArcGIS Server管理员那里或者通过搜索ArcGIS Services 目录来获取一个地图服务的的信息。除了服务的URL,你可能还需要更多的信息来使用Map服务。
1:Map layer 的ID。如果你打算鉴定或者查询这些图层,他们是必须的。
注意:ID值通常是整形值,并且和layer的名称不相同,它是由地图的创建者指定的
2:图层中属性字段的名称。 如果你打算指定在一个查询中返回那些字段值,那么这些字段值的名称是必须的。
3:其他的地图信息,比如:地图或者单独图层的显示范围,一个图层的feature类型(点、线、面)或者地图将要展示的最大或者最小比例尺。
Using other service types
Other services require different information. For example, geocoding services have address fields that you provide inputs for, such as street, city and state, and postal code, to return a result. Geoprocessing services contain input parameters for which you supply information. These parameters have certain data types and may or may not be required.
This data can be obtained from the ArcGIS Services Directory associated with the ArcGIS Server you want to use. In addition, some services may be secured so only authorized users may access them.
使用其他的服务类型。
其他的服务需要不同的信息、 比如:地理编码字段拥有地址字段值,她的值由你提供输入,比如:一个街道、城市和州、邮政编码等来返回结果。Geoprocessing服务包含输入变量,用来接受你提供的信息。 这些变量有一些数据类型,这些类型可能是要求的也可能不是要求的。
这些数据你可以从ArcGIS Services目录中获取,这个目录与你想使用的ArcGIS 服务器想关联。
// Using an ArcGIS Server service
//2010年8月26日
//Version 2.0
/***********************************************************************************/
To use an ArcGIS Server service in the ArcGIS API for Flex, you need to know the URL of the service. URLs can vary but will often look like the following:
http://www.example.com/arcgis/rest/services/ExampleService/MapServer
为了在ArcGIS API for Flex中使用一个ArcGIS Server服务,你需要知道服务的URL,URL可能有些不同,但是大多数的都和下面的相似:
http://www.example.com/arcgis/rest/services/ExampleService/MapServer
Using map services
You can obtain information about a map service either from your ArcGIS Server administrator or by searching the ArcGIS Services Directory.
In addition to the service's URL, you may also need further information to use a map service:
Map layer IDs. These are necessary if you intend to identify or query on those layers.
NOTE: IDs are usually integer values and are not the same as the layer name, which is assigned by the author of the map.
Names of the attribute fields in a layer. These are needed if you intend to specify which fields are returned from a query.
Other map information, such as the spatial extent of the map or individual layers, the feature type of a layer (point, line, or polygon), or the minimum and maximum scales at which the layer will display.
你可以从你的ArcGIS Server管理员那里或者通过搜索ArcGIS Services 目录来获取一个地图服务的的信息。除了服务的URL,你可能还需要更多的信息来使用Map服务。
1:Map layer 的ID。如果你打算鉴定或者查询这些图层,他们是必须的。
注意:ID值通常是整形值,并且和layer的名称不相同,它是由地图的创建者指定的
2:图层中属性字段的名称。 如果你打算指定在一个查询中返回那些字段值,那么这些字段值的名称是必须的。
3:其他的地图信息,比如:地图或者单独图层的显示范围,一个图层的feature类型(点、线、面)或者地图将要展示的最大或者最小比例尺。
Using other service types
Other services require different information. For example, geocoding services have address fields that you provide inputs for, such as street, city and state, and postal code, to return a result. Geoprocessing services contain input parameters for which you supply information. These parameters have certain data types and may or may not be required.
This data can be obtained from the ArcGIS Services Directory associated with the ArcGIS Server you want to use. In addition, some services may be secured so only authorized users may access them.
使用其他的服务类型。
其他的服务需要不同的信息、 比如:地理编码字段拥有地址字段值,她的值由你提供输入,比如:一个街道、城市和州、邮政编码等来返回结果。Geoprocessing服务包含输入变量,用来接受你提供的信息。 这些变量有一些数据类型,这些类型可能是要求的也可能不是要求的。
这些数据你可以从ArcGIS Services目录中获取,这个目录与你想使用的ArcGIS 服务器想关联。
相关文章推荐
- 2010年8月26日周四_understanding ArcGIS Server_overview_8.1
- 2010年8月26日周四_understanding ArcGIS Server_ArcGIS Services Directory_8.2
- Error message when you try to install a SQL Server 2005 service pack or a SQL Server 2005 hotfix package: "Error 29528. The setup has encountered an unexpected error while Setting Internal Properties"
- 转载:Using JQuery with an ASP.NET webservice
- Java IDL: The "Hello World" Example Using the POA, a persistent server, and a persistent naming service
- How to update Server firmware using HP Service Pack
- Using a Service Locator to Work with MessageBoxes in an MVVM Application
- How to Configure an SSIS Package to Access a Web Service using WCF
- 基于gis的系统开发,程序运行出现问题 ArcGIS product not specified.You must first bind to an ArcGIS version prior to using any ArcGIS components.
- Implement, deploy and call an EJB 3.0 webservice using Glassfish and JAX-WS
- consume an asp.net webservice(upload a file to server) from java via soap
- arcgis server manager - An error has occured on the server. For details please check the Event (Application) log on the web.
- 使用GeoServer+QGIS发布WMTS服务 | Publishing WMTS Service Using GeoServer+QGIS
- How to CORS enable ArcGIS Server 10.2.1 to Access REST Services without Using proxy.ashx
- the server has disconnected with an error. server message reads: a protocol error occurred.chang of username or service not allowedroot, (root,ssh-con
- Quickstart: Embed a Power BI Report Server report using an iFrame in SharePoint Server
- using C# to post XML to an https service (non-SOAP) RSS
- Using the Raspberry Pi as an RTL-SDR streaming server
- Using ArcGIS Server with a 64-bit processor
- How to Send an Email Using UTL_SMTP with Authenticated Mail Server