您可以创建引用一个或多个矢量 (.vec) 文件的矢量层,文件中包含定义要在地球上绘制的矢量的数据。
To define a vector layer that references one or more .vec files, you must have the following:
一个或多个.vec文件 ,其中包含用于在地球上绘制矢量的数据。
To obtain .vec files to use with your vector layers, contact Adobe.
指定文件位置的图层文件.vec 。 有关层文件所需格式的详细信息,请参阅矢量层文件格式。
The Boundaries.layer file, provided with the Geography profile, is a vector layer that references the mwnation.vec, mwstate.vec, mwcoast.vec, mwlake.vec, and mwisland.vec files.
Each vector layer file referencing .vec files must be formatted using the following template:
Layer = VectorLayer:
Vec Files = vector: n items
0 = string: Maps\\.vec file 1
1 = string: Maps\\.vec file 2
. . .
n-1 = string: Maps\\.vec file n
Color = v3d: color vector
Alpha = double: alpha
Width = double: width
Error Factor = double: error factor
参数 | 描述 |
---|---|
Vec Files(Vec 文件) | Path(s) to the .vec file(s) containing the vector data. |
Color(颜色) | RGB 颜色矢量,表达为 (红,绿,蓝)。有关矢量中的每种颜色,您可以输入 0.0 到 1.0 之间的值。例如,(1.0, 0.0, 0.0) 是大红,(0.5, 0.5, 0.5) 是灰色。 |
Alpha(透明度) | 控制地球上显示的矢量的透明度。范围为 0 到 1,其中 0 表示最透明。 |
Width(宽度) | 可选。设置数据的宽度(以像素为单位)。建议的范围为 1 到 4。 |
Error Factor(误差因子) | 控制矢量的绘制精度。值越大,矢量的绘制精度越低,速度越快。默认值为 5。 |
Boundaries.layer 文件按照以下方式设置格式:
Boundaries.layer file is formatted as follows:
Layer = VectorLayer:
Vec Files = vector: 5 items
0 = string: Maps\\mwnation.vec
1 = string: Maps\\mwstate.vec
2 = string: Maps\\mwcoast.vec
3 = string: Maps\\mwlake.vec
4 = string: Maps\\mwisland.vec
Color = v3d: (.5,.5,1)
Alpha = double: .5
Error Factor = double: 4