udig编辑geoserver的图层styles - cytggit/Map-openlayers GitHub Wiki
创建数据库的连接
new layer → postgis → 填写host user password → 选择数据库 → list → 勾上需要的table → finish
编辑styles
1、选中图层 → change style...
2、编辑完成后 → export → 保存到本地
3、修改文件中的UTF-8为GB2312
-
general
rule name:创建单条style的名称 size:point的size rotation:point的旋转角度 offset(x,y):未知! maximum scale:该style显示的最大比例尺(精度低) minimum scale:该style显示的最小比例尺(精度高)
-
border
width:边框的宽 opacity:透明度 color:颜色RGB graphics:选择图形作为线段填充 dash:边框虚线(铁路式样需要用到) dash offset:边框虚线位置偏移 line cap:线端点样式 line join:相交线的样式 end style & begin style:始点和终点特殊样式
-
fill
color:颜色RGB graphics:选择图形作为面填充 well know mark: opacity:透明度
-
labels
label:注记显示的字段 opacity:透明度 font:字体、字号、字形等 font color:字体颜色 halo:字体环绕光晕的颜色和宽 anchor:注记相对中心点的位置(选择上中下、左中右) perpendicular offset:注记相对线的位置(上下) displacement:注记显示的位置(左右、上下) initial gap:未知! max displacement pixels:未知! repeat every pixels:未知! auto wrap pixels:未知! space around pixels:未知! follow line:未知!
-
filter
根据属性选取式样的条件
参考
1、udig快速入门:http://live.osgeo.org/zh/quickstart/udig_quickstart.html
2、udig的应用:http://www.360doc.com/content/14/1204/13/7669533_430344032.shtml