【GIS】ArcGIS⽡⽚组织规则1. ArcGIS Server⽡⽚格式
1.1. ⽂件说明
第⼀层⽬录:⽡⽚描述信息,包含了:l、conf.cdi及缺省标注⽬录名_ _alllayers
第⼆层⽬录:L+层数(0补齐,2位数)
第三层⽬录:R+⽡⽚⾏号的16进制的8位数(0补齐)
第四层⽬录:C+⽡⽚列号的16进制的8位数(0补齐)
conf.cdi:定义了⽡⽚覆盖区域
_alllayers:分级存储了⽡⽚⽬录
1.2. ⽂件⽬录
1.1.1. 第⼀层
1.1.
2. 第⼆层
1.1.3. 第三层
1.1.4. 第四层
1.3. 切⽚规则
经纬度坐标⼀般默认(x0,y0)=(-400,400)作为切图的起始点,即从这开始算⾏列号。假设切图的地图某点坐标为x,y,切图的⽡⽚⼤⼩为256,其⽡⽚的级别分辨率为resolution,则计算该地图点的⾏列号计算如下:
col = | floor((x0 - x)/(256*resolution)) |;
row = | floor((y0 - y)/(256*resolution)) |;
LOGInfos是每个层级切⽚信息,ID是层级,Scale是⽐例尺⼤⼩,Resolution是当前⽐例尺层级下切⽚的每个像素点代表的实际长度;0级 Resolution = 20037508.3427892 * 2 / 256 = 156543.03392804062
1级 Resolution = 20037508.3427892 * 2 / 256 / 2 = 78271.51696402031
n级 Resolution = 20037508.3427892 * 2 / 256 / 2 ^ n = ****
……………….
col = | floor((x0 - x)/(256*resolution)) = floor((-20037508.3427892-(-20037508.3427892)/(256 * 156543.03392804062)) | = 0
row = | floor((y0 - y)/(256*resolution)) = flow((20037508.3430388-20037508.3430388)/(256 * 156543.03392804062)) | = 0
col = | floor((x0 - x)/(256*resolution)) = floor((-20037508.3427892-12388034.5186361)/(256 * 156543.03392804062)) | = 0
row = | floor((y0 - y)/(256*resolution)) = flow((20037508.3430388-3594413.03659627)/(256 * 156543.03392804062)) | = 0
col = | floor((x0 - x)/(256*resolution)) = floor((-20037508.3427892-12388034.5186361)/(256 * 0.597164283477939)) | = 212106 =
33C8A(转16进制)
row = | floor((y0 - y)/(256*resolution)) = flow((20037508.3430388-3594413.03659627)/(256 * 0.597164283477939)) | = 107559 =
1A427(转16进制)
⽡⽚存储路径位于:
<EnvelopeN>gis字符串是什么
<XMin>12388034.5186361</XMin>
<YMin>3594413.03659627</YMin>
<XMax>12393881.9512999</XMax>
<YMax>3600795.52845809</YMax>
</EnvelopeN>
<TileOrigin xsi:type="typens:PointN">
<X>-20037508.3427892</X>
<Y>20037508.3430388</Y>
</TileOrigin>
<TileCols>256</TileCols>
<TileRows>256</TileRows>
<DPI>96</DPI>
<LODInfos xsi:type="typens:ArrayOfLODInfo"> <LODInfo xsi:type="typens:LODInfo">
<LevelID>0</LevelID>
<Scale>591658710.91</Scale>
<Resolution>156543.033928041</Resolution> </LODInfo>
<LODInfo xsi:type="typens:LODInfo">
<LevelID>1</LevelID>
<Scale>295829355.45</Scale>
<Resolution>78271.5169640205</Resolution> </LODInfo>
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论