Skip to content
Permalink
Browse files

Merge pull request #5991 from jbo-ads/sld

Cleanup SLD msautotests
  • Loading branch information
rouault committed Feb 13, 2020
2 parents 28b9f83 + bc3ff71 commit 450a951d026fd98b1e85d4949cb00196d5670776
@@ -53,113 +53,6 @@

MAP

NAME GEOMETRY_LINE
SHAPEPATH ./data
SIZE 300 300
IMAGECOLOR 100 100 100
FONTSET "data/fonts.lst"
PROJECTION
"init=epsg:4326"
END
WEB
IMAGEPATH "/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
METADATA
"wms_title" "Test SLD"
"wms_onlineresource" "http://localhost/path/to/wms_simple?"
"wms_srs" "EPSG:4326"
"ows_schemas_location" "http://ogc.dmsolutions.ca"
"ows_enable_request" "*"
"ows_sld_enabled" "true"
END
END

LAYER
NAME lline
DATA hexagon
TYPE LINE
STATUS ON
SIZEUNITS pixels
CLASS
STYLE
WIDTH 5
OPACITY 50
COLOR 255 255 0
END
END
END

LAYER
NAME lpolygon
DATA inner
TYPE POLYGON
STATUS ON
SIZEUNITS pixels
CLASS
STYLE
WIDTH 1
OPACITY 50
COLOR 0 255 255
OUTLINECOLOR 255 0 255
END
END
END

LAYER
NAME lpoint
DATA plot
TYPE POINT
STATUS ON
SIZEUNITS pixels
CLASS
STYLE
COLOR 0 0 255
OUTLINECOLOR 255 0 0
OPACITY 50
SYMBOL "star"
SIZE 20
ANGLE 180
OFFSET 2 2
END
LABEL
TEXT "[name]"
COLOR 255 255 255
OUTLINECOLOR 0 255 0
OUTLINEWIDTH 2
TYPE TRUETYPE
FONT vera-bold
SIZE 12
OFFSET 2 20
ANGLE 15
END
END
END

SYMBOL
NAME "circle"
TYPE ellipse
FILLED true
POINTS
1 1
END
END

SYMBOL
NAME "star"
TYPE vector
FILLED true
POINTS
0 0.375
0.35 0.375
0.5 0
0.65 0.375
1 0.375
0.75 0.625
0.875 1
0.5 0.75
0.125 1
0.25 0.625
END
END
INCLUDE "data/test_sld.map.include"

END
@@ -117,113 +117,6 @@

MAP

NAME GEOMETRY_POINT
SHAPEPATH ./data
SIZE 300 300
IMAGECOLOR 100 100 100
FONTSET "data/fonts.lst"
PROJECTION
"init=epsg:4326"
END
WEB
IMAGEPATH "/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
METADATA
"wms_title" "Test SLD"
"wms_onlineresource" "http://localhost/path/to/wms_simple?"
"wms_srs" "EPSG:4326"
"ows_schemas_location" "http://ogc.dmsolutions.ca"
"ows_enable_request" "*"
"ows_sld_enabled" "true"
END
END

LAYER
NAME lline
DATA hexagon
TYPE LINE
STATUS ON
SIZEUNITS pixels
CLASS
STYLE
WIDTH 5
OPACITY 50
COLOR 255 255 0
END
END
END

LAYER
NAME lpolygon
DATA inner
TYPE POLYGON
STATUS ON
SIZEUNITS pixels
CLASS
STYLE
WIDTH 1
OPACITY 50
COLOR 0 255 255
OUTLINECOLOR 255 0 255
END
END
END

LAYER
NAME lpoint
DATA plot
TYPE POINT
STATUS ON
SIZEUNITS pixels
CLASS
STYLE
COLOR 0 0 255
OUTLINECOLOR 255 0 0
OPACITY 50
SYMBOL "star"
SIZE 20
ANGLE 180
OFFSET 2 2
END
LABEL
TEXT "[name]"
COLOR 255 255 255
OUTLINECOLOR 0 255 0
OUTLINEWIDTH 2
TYPE TRUETYPE
FONT vera-bold
SIZE 12
OFFSET 2 20
ANGLE 15
END
END
END

SYMBOL
NAME "circle"
TYPE ellipse
FILLED true
POINTS
1 1
END
END

SYMBOL
NAME "star"
TYPE vector
FILLED true
POINTS
0 0.375
0.35 0.375
0.5 0
0.65 0.375
1 0.375
0.75 0.625
0.875 1
0.5 0.75
0.125 1
0.25 0.625
END
END
INCLUDE "data/test_sld.map.include"

END
@@ -73,113 +73,6 @@

MAP

NAME GEOMETRY_POLYGON
SHAPEPATH ./data
SIZE 300 300
IMAGECOLOR 100 100 100
FONTSET "data/fonts.lst"
PROJECTION
"init=epsg:4326"
END
WEB
IMAGEPATH "/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
METADATA
"wms_title" "Test SLD"
"wms_onlineresource" "http://localhost/path/to/wms_simple?"
"wms_srs" "EPSG:4326"
"ows_schemas_location" "http://ogc.dmsolutions.ca"
"ows_enable_request" "*"
"ows_sld_enabled" "true"
END
END

LAYER
NAME lline
DATA hexagon
TYPE LINE
STATUS ON
SIZEUNITS pixels
CLASS
STYLE
WIDTH 5
OPACITY 50
COLOR 255 255 0
END
END
END

LAYER
NAME lpolygon
DATA inner
TYPE POLYGON
STATUS ON
SIZEUNITS pixels
CLASS
STYLE
WIDTH 1
OPACITY 50
COLOR 0 255 255
OUTLINECOLOR 255 0 255
END
END
END

LAYER
NAME lpoint
DATA plot
TYPE POINT
STATUS ON
SIZEUNITS pixels
CLASS
STYLE
COLOR 0 0 255
OUTLINECOLOR 255 0 0
OPACITY 50
SYMBOL "star"
SIZE 20
ANGLE 180
OFFSET 2 2
END
LABEL
TEXT "[name]"
COLOR 255 255 255
OUTLINECOLOR 0 255 0
OUTLINEWIDTH 2
TYPE TRUETYPE
FONT vera-bold
SIZE 12
OFFSET 2 20
ANGLE 15
END
END
END

SYMBOL
NAME "circle"
TYPE ellipse
FILLED true
POINTS
1 1
END
END

SYMBOL
NAME "star"
TYPE vector
FILLED true
POINTS
0 0.375
0.35 0.375
0.5 0
0.65 0.375
1 0.375
0.75 0.625
0.875 1
0.5 0.75
0.125 1
0.25 0.625
END
END
INCLUDE "data/test_sld.map.include"

END

0 comments on commit 450a951

Please sign in to comment.
You can’t perform that action at this time.