关于ArcGIS地图服务空间参考的处理

关于ArcGIS地图服务空间参考的处理
ArcGIS示例Any projection中提到了ArcGIS目前对于空间参考的处理。
At version 3.3, the API supports using only vector layers in the map (no basemap required).
在3.3版本API提供了不适用底图加载矢量图层的方式。
This means that features from a feature service can be displayed in any projection.
这也就意味着要素服务中的要素可以用任何投影展示。
To use a projection other than a service's default, define the Map's spatial reference by specifying the extent constructor option.
通过使用extent对象构造地图的空间参考我们可以只考虑地图的投影而不考虑地图服务的投影。
The spatial reference of the extent will be used as the map's spatial reference.
extent对象定义的空间参考也就是整个地图的空间参考。
When requests are made for features from a service, the map's spatial reference will be included which tells the service to re-project features before sending them to the client.
当我们请求服务之后,地图空间参考将会被包含在请求之中告诉服务奖地图要素转换为客户端需要的。
Use this sample to explore various projections and to create extents for use in your own applications.
使用示例来找到适应于你的应用的投影和范围。


以上内容翻译自URL

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值