Publishing ArcGIS REST Map Service |
Feedback |
SuperMap iServer supports publishing ArcGIS REST map
services as map services, such as REST map services, WMS service, WMTS
service.
You can publish a ArcGIS REST map services by following
these steps:
- In the service management
homepage, click on quick service
publishing or in the Servcie->Service management page, click on
quick service creation to enter the publishing
wizard;
- Select "ArcGIS REST map services"
as data source and click "Next";
- Enter a ArcGIS REST map service URL, such
as a http://localhost:6080/arcgis/rest/services/SampleWorldCities/MapServer,
if the service entered is not an exposed service, security authentication
is required, which can be done in two ways:
- Security type select "Username/Password"
and enter the user name, password, and ArcGIS with access rights,
respectively Token service address(http://{myserver}:{port}/arcgis/tokens)
- Security type select "Token", and
then enter the string of the acquired token. If the acquired token
is generated in HTTP Referer mode, you need to fill in the corresponding
HTTP referer value
After completing the above configuration, click Next;
- Select the published service type, such
as rest map service, and click Next;
- Configure the service, and select enable cache for map tiles. When
enabled, you can specify the storage type of tile data generated during
map browsing (e.g. SMTiles, MongoDB, OTS, GDP) and location, click
Publish;
- After publishing, you can see the name
and link of the currently published service. Click it to access the
service directly.
Caution
:
When iServer forwards ArcGIS REST
map tile requests, the ConnectTimeout connection timeout is 40000
milliseconds, and the ReadTimeout read timeout is 20000 milliseconds.
If timeout occurs, the published iServer map service may exhibit white
image
When the forwarded ArcGIS REST service
layer does not support pagination, the ArcGIS Result Offset and Result
Record Count parameters cannot be used when executing SQL queries,
and the corresponding iServer query start record position (startRecord)
and expected return record count (expectCount) cannot be used. If
you need to query data, please set the above two parameters to 0.