在ArcGIS Server中如何定义“此级别无数据”图片?

一直很疑惑如何在ArcGIS Server中如何定义“此级别无数据”图片?如下图效果。

image

经过esri的diligentpig同学支持,获取如下解决办法,看来似乎可以解决。记载这里待明日找环境一试。

How do I display a "Data not available" tile for empty cache areas?
If an area of your cache does not exist, you can either create the tile on demand, or you can configure your web server to return a "Data not available" tile. The "Data not available" tile is also useful if someone pans to the edge of the map or navigates to an area that you have not completed caching. Configuring your server to return a "Data not available" tile can in some cases yield a better user experience than returning nothing.

To display the tile, you need to create a custom error response on your virtual cache directory for HTTP Error 404: "Not Found". Instead of an error message, the Web server returns the tile.

IIS instructions:

Open Windows Control Panel and click Administrative Tools > Internet Information Services (IIS) Manager
Navigate to the virtual cache directory and find the folder containing your map cache. Right-click the folder and click Properties.
Click the Custom Errors tab, scroll down, and select the 404 error code.
Click the Edit button. In the URL box, specify the tile that IIS should return whenever a tile is missing. Use a relative URL and not just a path to a file.
Click OK to dismiss the dialogs.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值