[mapserver-commits] r12884 - in trunk/msautotest/renderers: . expected

svn at osgeo.org svn at osgeo.org
Mon Dec 12 05:27:41 EST 2011


Author: tbonfort
Date: 2011-12-12 02:27:41 -0800 (Mon, 12 Dec 2011)
New Revision: 12884

Added:
   trunk/msautotest/renderers/expected/line_short_gap.cairopng.png
   trunk/msautotest/renderers/expected/line_short_gap.gif
   trunk/msautotest/renderers/expected/line_short_gap.pdf
   trunk/msautotest/renderers/expected/line_short_gap.png.png
   trunk/msautotest/renderers/expected/line_short_gap.svg
   trunk/msautotest/renderers/line_short_gap.map
Log:
add tests for line markers where gap is smaller than line length (#4120)


Added: trunk/msautotest/renderers/expected/line_short_gap.cairopng.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/renderers/expected/line_short_gap.cairopng.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/renderers/expected/line_short_gap.gif
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/renderers/expected/line_short_gap.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/renderers/expected/line_short_gap.pdf
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/renderers/expected/line_short_gap.pdf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/renderers/expected/line_short_gap.png.png
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/renderers/expected/line_short_gap.png.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/renderers/expected/line_short_gap.svg
===================================================================
--- trunk/msautotest/renderers/expected/line_short_gap.svg	                        (rev 0)
+++ trunk/msautotest/renderers/expected/line_short_gap.svg	2011-12-12 10:27:41 UTC (rev 12884)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100pt" height="100pt" viewBox="0 0 100 100" version="1.1">
+<defs>
+<clipPath id="clip1">
+  <rect width="100" height="100"/>
+</clipPath>
+<g id="surface6" clip-path="url(#clip1)">
+<path style="fill:none;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(100%,100%,100%);stroke-opacity:1;stroke-miterlimit:10;" d="M 43.675781 86.769531 L 29.117188 71.628906 L 25.625 50.664062 L 32.03125 32.613281 L 48.335938 25.042969 L 64.640625 22.128906 L 82.113281 27.953125 "/>
+</g>
+<clipPath id="clip2">
+  <rect width="100" height="100"/>
+</clipPath>
+<g id="surface8" clip-path="url(#clip2)">
+<path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,0%,100%);fill-opacity:1;" d="M 28.0625 42.511719 L 31.214844 33.625 L 28.503906 33.574219 L 32.765625 30.539062 L 34.160156 35.582031 L 32.023438 33.914062 L 28.871094 42.800781 L 28.0625 42.511719 "/>
+</g>
+</defs>
+<g id="surface2">
+<rect x="0" y="0" width="100" height="100" style="fill:rgb(88.235294%,88.235294%,88.235294%);fill-opacity:1;stroke:none;"/>
+<use xlink:href="#surface6"/>
+<use xlink:href="#surface8"/>
+</g>
+</svg>

Added: trunk/msautotest/renderers/line_short_gap.map
===================================================================
--- trunk/msautotest/renderers/line_short_gap.map	                        (rev 0)
+++ trunk/msautotest/renderers/line_short_gap.map	2011-12-12 10:27:41 UTC (rev 12884)
@@ -0,0 +1,82 @@
+MAP
+  SIZE 100 100
+  IMAGETYPE png
+  EXTENT 114.18435 22.3058 114.184464 22.30597
+  UNITS dd
+  IMAGECOLOR 225 225 225
+
+  SYMBOL
+    NAME "circlef"
+    TYPE ellipse
+    FILLED true
+    POINTS
+      1 1
+    END # POINTS
+  END # SYMBOL
+
+  SYMBOL
+    NAME "arrow_right_shift"
+    TYPE VECTOR
+    POINTS
+      30 6
+      52 6
+      50 0
+      60 7
+      50 14
+      52 8
+      30 8
+      30 6
+    END
+    FILLED TRUE
+  END
+
+###########################################################
+
+  LAYER  # testline - arrows
+    STATUS DEFAULT
+    TYPE LINE
+    FEATURE
+      POINTS
+        114.184397000000004 22.305821
+        114.184371999999996 22.305847
+        114.184365999999997 22.305883
+        114.184376999999998 22.305914
+        114.184404999999998 22.305927
+        114.184432999999999 22.305932
+        114.184462999999994 22.305922
+      END
+    END
+    CLASS
+      STYLE
+        COLOR 255 255 255
+        WIDTH 6
+      END # STYLE
+    END # CLASS
+  END # LAYER
+
+  LAYER  # testline - arrows
+    STATUS DEFAULT
+    TYPE LINE
+    FEATURE
+      POINTS
+        114.184397000000004 22.305821
+        114.184371999999996 22.305847
+        114.184365999999997 22.305883
+        114.184376999999998 22.305914
+        114.184404999999998 22.305927
+        114.184432999999999 22.305932
+        114.184462999999994 22.305922
+      END
+    END
+    CLASS
+      STYLE
+        ANGLE auto
+        SYMBOL "arrow_right_shift"
+        COLOR 255 0 255
+        SIZE 6
+        GAP -400
+      END # STYLE
+    END # CLASS
+  END # LAYER
+
+END # MAP



More information about the mapserver-commits mailing list