1.5. 遥感图像的标注¶
1.5.1. Mapfile代码¶
具体情况如下:
1MAP
2 EXTENT -180 -90 180 90
3 SIZE 600 300
4 SHAPEPATH "/gdata"
5 LAYER
6 NAME "topo"
7 DATA "land_shallow_topo_8192.tif"
8 STATUS OFF
9 TYPE RASTER
10 END
11 LAYER
12 NAME "label"
13 STATUS DEFAULT
14 TYPE POINT
15 FEATURE
16 POINTS
17 116.3333333333 39.9333333333333
18 END
19 TEXT "Bei Jing"
20 END
21 CLASS
22 STYLE
23 COLOR 255 255 0
24 END
25 LABEL
26 TYPE BITMAP
27 COLOR 255 255 0
28 END
29 END
30 END
31END
1.5.2. 效果¶
效果如下: