This internal function takes the WKT representation of a geometry as input -- not the geometry itself -- along with the color and line width for the respective SVG attributes.
这个内部函数以一个几何图形的 WKT 表示(而不是几何图形本身)以及作为 SVG 属性的颜色和线宽为输入。
The additional code here sets up the font, colors, and line width.
此处的添加代码用于设置字体、颜色和行宽。
Choosing a line width that is too small results in the lines not being visible at all, and a line width too large renders the output useless because the lines cover all geometries.
线宽太小会导致线条完全不可见,太大则会导致显示没有用的输出,因为线条覆盖了所有的几何图形。
词组短语
应用推荐