[mapserver-commits] r12845 - in trunk/msautotest: misc/data
renderers renderers/expected
svn at osgeo.org
svn at osgeo.org
Mon Dec 5 07:38:01 EST 2011
Author: tbonfort
Date: 2011-12-05 04:38:01 -0800 (Mon, 05 Dec 2011)
New Revision: 12845
Added:
trunk/msautotest/misc/data/alpinehut.svg
trunk/msautotest/renderers/expected/point_svg.cairopng.png
trunk/msautotest/renderers/expected/point_svg.pdf
trunk/msautotest/renderers/expected/point_svg.png.png
trunk/msautotest/renderers/expected/point_svg.svg
trunk/msautotest/renderers/point_svg.map
Modified:
trunk/msautotest/renderers/symbolset
Log:
add svg autotest
Added: trunk/msautotest/misc/data/alpinehut.svg
===================================================================
--- trunk/msautotest/misc/data/alpinehut.svg (rev 0)
+++ trunk/msautotest/misc/data/alpinehut.svg 2011-12-05 12:38:01 UTC (rev 12845)
@@ -0,0 +1,168 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ version="1.0"
+ width="580"
+ height="580"
+ id="svg2"
+ sodipodi:version="0.32"
+ inkscape:version="0.46"
+ sodipodi:docname="accommodation_alpinehut.svg"
+ sodipodi:docbase="s:\Data\FacilityIcons"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape">
+ <metadata
+ id="metadata2975">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <cc:license
+ rdf:resource="http://web.resource.org/cc/PublicDomain" />
+ <dc:language>en</dc:language>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <sodipodi:namedview
+ inkscape:window-height="947"
+ inkscape:window-width="1048"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="0.0"
+ guidetolerance="10.0"
+ gridtolerance="10.0"
+ objecttolerance="10.0"
+ borderopacity="1.0"
+ bordercolor="#666666"
+ pagecolor="#ffffff"
+ id="base"
+ inkscape:zoom="0.46083856"
+ inkscape:cx="301.39438"
+ inkscape:cy="106.87694"
+ inkscape:window-x="91"
+ inkscape:window-y="25"
+ inkscape:current-layer="svg2"
+ showgrid="false" />
+ <defs
+ id="defs4">
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 290 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="580 : 290 : 1"
+ inkscape:persp3d-origin="290 : 193.33333 : 1"
+ id="perspective2441" />
+ <inkscape:perspective
+ id="perspective3452"
+ inkscape:persp3d-origin="30 : 20 : 1"
+ inkscape:vp_z="60 : 30 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 30 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <symbol
+ viewBox="244.5 110 489 219.9"
+ id="symbol-university">
+ <path
+ id="path4460"
+ d="M79,43l57,119c0,0,21-96,104-96s124,106,124,106l43-133l82-17L0,17L79,43z" />
+ <path
+ id="path4462"
+ d="M94,176l-21,39"
+ stroke-width="20"
+ stroke="#000000"
+ fill="none" />
+ <path
+ id="path4464"
+ d="M300,19c0,10.5-22.6,19-50.5,19S199,29.5,199,19s22.6-19,50.5-19S300,8.5,300,19z" />
+ <path
+ id="path4466"
+ d="M112,216l-16-38L64,88c0,0-9-8-4-35s16-24,16-24"
+ stroke-width="20"
+ stroke="#000000"
+ ill="none" />
+ </symbol>
+ <inkscape:perspective
+ id="perspective4471"
+ inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
+ inkscape:vp_z="744.09448 : 526.18109 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 526.18109 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <inkscape:perspective
+ id="perspective4668"
+ inkscape:persp3d-origin="6 : 4 : 1"
+ inkscape:vp_z="12 : 6 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 6 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ </defs>
+ <g
+ id="g1327">
+ <path
+ d="M 66.275,1.768 C 24.94,1.768 1.704,23.139 1.704,66.804 L 1.704,516.927 C 1.704,557.771 22.599,579.156 63.896,579.156 L 515.92,579.156 C 557.227,579.156 578.149,558.841 578.149,516.927 L 578.149,66.804 C 578.149,24.203 557.227,1.768 514.628,1.768 C 514.624,1.768 66.133,1.625 66.275,1.768 z"
+ style="fill:#111111;stroke:#eeeeee;stroke-width:3.40799999"
+ id="path1329" />
+ </g>
+ <g
+ id="layer3"
+ inkscape:label="Layout"
+ style="display:none;stroke:#757575;stroke-opacity:1"
+ transform="matrix(48.14969,0,0,48.14969,-536.27327,-33.306752)">
+ <rect
+ style="fill:none;stroke:#757575;stroke-width:0.10000000000000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;display:inline"
+ id="rect4134"
+ width="10"
+ height="10"
+ x="1"
+ y="1" />
+ <rect
+ style="fill:none;stroke:#757575;stroke-width:0.10000000000000001;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;display:inline"
+ id="rect4136"
+ width="8"
+ height="8"
+ x="2"
+ y="2" />
+ </g>
+ <path
+ style="font-size:40px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:NPSPICT3;-inkscape-font-specification:NPSPICT3"
+ d="M 292.5262,455.65339 L 302.89454,540.80137 C 304.14266,550.0975 309.72218,555.51628 319.63318,557.05772 C 326.45137,557.99397 332.41627,556.06004 337.52792,551.25594 C 342.63911,546.45188 344.73145,540.64065 343.8049,533.82221 L 331.56409,437.07068 C 330.32503,429.94032 326.00325,425.62529 321.87774,419.87263 L 290.14433,375.62306 L 320.8271,322.17291 L 336.16139,341.69185 C 337.40003,343.55503 339.26302,344.94992 341.75038,345.87653 L 376.21612,362.61516 C 377.75733,363.23001 379.14748,363.53734 380.38661,363.5372 C 384.72702,363.53734 388.44828,361.83275 391.55043,358.42341 C 394.65198,355.01437 396.2029,351.13942 396.2032,346.79856 C 396.2029,339.05357 392.48164,333.94215 385.03936,331.46426 L 358.47484,316.59809 L 320.35898,270.56683 C 315.09133,264.37284 307.6535,260.50027 298.04553,258.94909 C 281.31618,256.47165 268.76696,262.35854 260.39777,276.60977 L 218.09726,349.59306 C 215.30739,354.24601 214.06854,359.97684 214.38069,366.78563 L 215.77087,459.28787 L 18
3.69795,528.08652 C 182.45904,530.87627 181.6883,533.19792 181.38573,535.0515 C 180.44945,540.94308 181.68594,546.13489 185.09519,550.62694 C 188.50433,555.11889 193.15474,557.83301 199.04641,558.76928 C 208.95713,560.3107 215.92681,556.90151 219.95553,548.54169 L 255.29108,473.23201 C 256.52978,470.44228 257.14922,467.5012 257.14934,464.40876 L 256.68123,407.22788 L 292.5262,455.65339 z M 317.11053,254.76443 C 325.47967,254.76469 332.76143,251.74323 338.95589,245.70003 C 345.14992,239.65738 348.24704,232.29994 348.24725,223.62772 C 348.24704,215.2587 345.14992,207.97457 338.95589,201.77529 C 332.76143,195.57664 325.47967,192.47717 317.11053,192.47684 C 308.42897,192.47717 301.06681,195.57664 295.02407,201.77529 C 288.98096,207.97457 285.9595,215.2587 285.95964,223.62772 C 285.9595,232.29994 288.98096,239.65738 295.02407,245.70003 C 301.06681,251.74323 308.42897,254.76469 317.11053,254.76443 L 317.11053,254.76443 z M 208.33779,339.83357 L 254.82297,259.88531 C 257.92469,254.
61811 256.84187,250.5895 251.57453,247.79947 L 236.69415,238.96201 C 231.42659,235.8699 227.39797,236.95743 224.60829,242.22464 L 178.12313,322.17291 C 175.0307,327.44057 176.11822,331.46918 181.38573,334.25878 L 196.25192,343.08201 C 201.5193,346.18402 205.54793,345.10123 208.33779,339.83357 L 208.33779,339.83357 z"
+ id="flowRoot3192"
+ sodipodi:nodetypes="cccsccscccccsssccccccccccscccccccsscsssscccccccccccc" />
+ <path
+ style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:12.86706638;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+ d="M 378.7668,360.28972 L 378.7668,540.66063"
+ id="path2770"
+ sodipodi:nodetypes="cc" />
+ <g
+ id="g3548"
+ transform="translate(0,-94)">
+ <path
+ style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:22.94434357;stroke-linecap:round;stroke-linejoin:round;marker-mid:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;display:inline"
+ d="M 31.672085,267.24336 L 288.29972,130.37529 L 544.92735,267.24336 L 527.74447,284.74081 L 441.94873,250.13486 L 288.20798,231.63196 L 134.11608,249.86754 L 48.769323,284.35596 L 31.672085,267.24336 z"
+ id="path7057"
+ sodipodi:nodetypes="ccccccccc" />
+ <rect
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:25.16522408;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;display:inline"
+ id="rect7061"
+ width="31.996138"
+ height="308.13077"
+ x="456.80032"
+ y="266.5777"
+ ry="0" />
+ <rect
+ ry="0"
+ y="266.5777"
+ x="84.800323"
+ height="308.13077"
+ width="31.996138"
+ id="rect3546"
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:25.16522408;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;display:inline" />
+ </g>
+</svg>
Property changes on: trunk/msautotest/misc/data/alpinehut.svg
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/msautotest/renderers/expected/point_svg.cairopng.png
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/renderers/expected/point_svg.cairopng.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/msautotest/renderers/expected/point_svg.pdf
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/renderers/expected/point_svg.pdf
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/msautotest/renderers/expected/point_svg.png.png
===================================================================
(Binary files differ)
Property changes on: trunk/msautotest/renderers/expected/point_svg.png.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/msautotest/renderers/expected/point_svg.svg
===================================================================
--- trunk/msautotest/renderers/expected/point_svg.svg (rev 0)
+++ trunk/msautotest/renderers/expected/point_svg.svg 2011-12-05 12:38:01 UTC (rev 12845)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="400pt" height="300pt" viewBox="0 0 400 300" version="1.1">
+<defs>
+<clipPath id="clip1">
+ <rect width="400" height="300"/>
+</clipPath>
+<g id="surface6" clip-path="url(#clip1)">
+<path style="fill-rule:nonzero;fill:rgb(6.666667%,6.666667%,6.666667%);fill-opacity:1;stroke-width:3.408;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(93.333333%,93.333333%,93.333333%);stroke-opacity:1;stroke-miterlimit:4;" d="M 66.274062 1.767187 C 24.94 1.767187 1.70375 23.141094 1.70375 66.804219 L 1.70375 516.925 C 1.70375 557.769688 22.597344 579.157188 63.895156 579.157188 L 515.919063 579.157188 C 557.225938 579.157188 578.15125 558.839063 578.15125 516.925 L 578.15125 66.804219 C 578.15125 24.201406 557.225938 1.767187 514.627656 1.767187 C 514.623125 1.767187 66.133594 1.626719 66.274062 1.767187 Z M 66.274062 1.767187 " transform="matrix(0.862069,0,0,0.862069,-200,-1)"/>
+<path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 52.179688 391.804688 L 61.117188 465.207031 C 62.191406 473.222656 67 477.894531 75.546875 479.222656 C 81.421875 480.027344 86.566406 478.363281 90.972656 474.21875 C 95.378906 470.078125 97.183594 465.070312 96.382812 459.191406 L 85.832031 375.785156 C 84.761719 369.636719 81.039062 365.917969 77.480469 360.960938 L 50.125 322.8125 L 76.574219 276.734375 L 89.792969 293.5625 C 90.863281 295.167969 92.46875 296.371094 94.613281 297.167969 L 124.324219 311.597656 C 125.652344 312.128906 126.851562 312.394531 127.917969 312.394531 C 131.660156 312.394531 134.871094 310.925781 137.542969 307.984375 C 140.21875 305.046875 141.554688 301.707031 141.554688 297.964844 C 141.554688 291.289062 138.347656 286.882812 131.929688 284.746094 L 109.03125 271.929688 L 76.171875 232.246094 C 71.628906 226.90625 65.21875 223.570312 56.9375 222.230469 C 42.515625 220.097656 31.695312 225.171875 24.4804
69 237.457031 L -11.984375 300.375 C -14.390625 304.382812 -15.457031 309.324219 -15.1875 315.195312 L -13.992188 394.9375 L -41.640625 454.246094 C -42.707031 456.652344 -43.371094 458.652344 -43.632812 460.25 C -44.441406 465.332031 -43.375 469.804688 -40.433594 473.679688 C -37.496094 477.550781 -33.488281 479.890625 -28.410156 480.699219 C -19.863281 482.027344 -13.855469 479.085938 -10.382812 471.878906 L 20.078125 406.957031 C 21.144531 404.554688 21.679688 402.019531 21.679688 399.351562 L 21.277344 350.058594 Z M 73.371094 218.625 C 80.585938 218.625 86.863281 216.019531 92.203125 210.808594 C 97.542969 205.601562 100.214844 199.257812 100.214844 191.78125 C 100.214844 184.566406 97.542969 178.289062 92.203125 172.945312 C 86.863281 167.601562 80.585938 164.929688 73.371094 164.929688 C 65.886719 164.929688 59.539062 167.601562 54.332031 172.945312 C 49.121094 178.289062 46.515625 184.566406 46.515625 191.78125 C 46.515625 199.257812 49.121094 205.601562 54.332031 21
0.808594 C 59.539062 216.019531 65.886719 218.625 73.371094 218.625 Z M -20.398438 291.960938 L 19.675781 223.039062 C 22.347656 218.5 21.414062 215.027344 16.875 212.621094 L 4.046875 205 C -0.496094 202.335938 -3.96875 203.273438 -6.371094 207.8125 L -46.445312 276.734375 C -49.113281 281.277344 -48.175781 284.75 -43.632812 287.152344 L -30.816406 294.761719 C -26.277344 297.433594 -22.804688 296.5 -20.398438 291.960938 Z M -20.398438 291.960938 "/>
+<path style="fill:none;stroke-width:12.867066;stroke-linecap:round;stroke-linejoin:miter;stroke:rgb(100%,100%,100%);stroke-opacity:1;stroke-miterlimit:4;" d="M 378.767187 360.28875 L 378.767187 540.659688 " transform="matrix(0.862069,0,0,0.862069,-200,-1)"/>
+<path style="fill-rule:evenodd;fill:rgb(100%,100%,100%);fill-opacity:1;stroke-width:22.944344;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(100%,100%,100%);stroke-opacity:1;stroke-miterlimit:4;" d="M 31.673437 267.243281 L 288.300781 130.376875 L 544.928125 267.243281 L 527.745625 284.742969 L 441.950938 250.133281 L 288.210156 231.632187 L 134.115937 249.865938 L 48.769844 284.357813 Z M 31.673437 267.243281 " transform="matrix(0.862069,0,0,0.862069,-200,-82.034483)"/>
+<path style="fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;stroke-width:25.165224;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(100%,100%,100%);stroke-opacity:1;stroke-miterlimit:4;" d="M 456.799844 266.577187 L 488.795 266.577187 L 488.795 574.706719 L 456.799844 574.706719 Z M 456.799844 266.577187 " transform="matrix(0.862069,0,0,0.862069,-200,-82.034483)"/>
+<path style="fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;stroke-width:25.165224;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(100%,100%,100%);stroke-opacity:1;stroke-miterlimit:4;" d="M 84.802344 266.577187 L 116.7975 266.577187 L 116.7975 574.706719 L 84.802344 574.706719 Z M 84.802344 266.577187 " transform="matrix(0.862069,0,0,0.862069,-200,-82.034483)"/>
+</g>
+<clipPath id="clip2">
+ <rect width="400" height="300"/>
+</clipPath>
+<g id="surface8" clip-path="url(#clip2)">
+<path style="fill-rule:nonzero;fill:rgb(6.666667%,6.666667%,6.666667%);fill-opacity:1;stroke-width:3.408;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(93.333333%,93.333333%,93.333333%);stroke-opacity:1;stroke-miterlimit:4;" d="M 66.267999 1.778656 C 24.935398 1.749528 1.691272 23.129464 1.7204 66.792303 L 1.7204 516.936078 C 1.7204 557.773504 22.576032 579.15344 63.879505 579.15344 L 515.945727 579.15344 C 557.2492 579.15344 578.13396 558.851239 578.163088 516.936078 L 578.163088 66.792303 C 578.163088 24.207199 557.220072 1.749528 514.634968 1.749528 C 514.60584 1.778656 66.12236 1.633016 66.267999 1.778656 Z M 66.267999 1.778656 " transform="matrix(0.0670532,-0.0670532,0.0670532,0.0670532,161.109127,100)"/>
+<path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;" d="M 211.277344 110.9375 L 217.683594 115.953125 C 218.390625 116.492188 219.125 116.480469 219.894531 115.921875 C 220.414062 115.527344 220.683594 114.996094 220.703125 114.332031 C 220.726562 113.667969 220.476562 113.136719 219.957031 112.742188 L 212.648438 107.074219 C 212.085938 106.679688 211.507812 106.679688 210.847656 106.570312 L 205.75 105.730469 L 204.222656 100.089844 L 206.5625 100.371094 C 206.769531 100.414062 206.988281 100.382812 207.214844 100.277344 L 210.648438 99.089844 C 210.792969 99.027344 210.910156 98.953125 210.992188 98.871094 C 211.28125 98.578125 211.417969 98.214844 211.398438 97.777344 C 211.375 97.34375 211.222656 96.976562 210.929688 96.6875 C 210.410156 96.167969 209.816406 96.074219 209.152344 96.40625 L 206.375 97.191406 L 200.734375 96.660156 C 199.964844 96.597656 199.207031 96.839844 198.457031 97.378906 C 197.167969 98.335938 196.722656 99.570312
197.117188 101.085938 L 199.175781 108.816406 C 199.300781 109.316406 199.601562 109.785156 200.078125 110.21875 L 206.375 116.328125 L 208.835938 123.09375 C 208.941406 123.363281 209.042969 123.570312 209.148438 123.714844 C 209.480469 124.171875 209.910156 124.4375 210.441406 124.511719 C 210.972656 124.582031 211.464844 124.453125 211.921875 124.121094 C 212.691406 123.558594 212.929688 122.863281 212.640625 122.03125 L 209.957031 114.613281 C 209.855469 114.34375 209.699219 114.105469 209.492188 113.898438 L 205.625 110.09375 Z M 199.457031 95.820312 C 200.015625 95.257812 200.300781 94.566406 200.3125 93.746094 C 200.324219 92.925781 200.035156 92.226562 199.457031 91.644531 C 198.894531 91.082031 198.199219 90.800781 197.367188 90.800781 C 196.535156 90.800781 195.839844 91.082031 195.277344 91.644531 C 194.695312 92.226562 194.410156 92.925781 194.421875 93.746094 C 194.429688 94.566406 194.71875 95.257812 195.277344 95.820312 C 195.859375 96.402344 196.554688 96.691
406 197.367188 96.691406 C 198.175781 96.691406 198.875 96.402344 199.457031 95.820312 Z M 197.867188 108.816406 L 195.621094 100.339844 C 195.476562 99.777344 195.132812 99.582031 194.59375 99.746094 L 193.003906 100.152344 C 192.441406 100.296875 192.246094 100.640625 192.410156 101.179688 L 194.65625 109.660156 C 194.800781 110.21875 195.144531 110.417969 195.683594 110.25 L 197.273438 109.84375 C 197.835938 109.699219 198.03125 109.359375 197.867188 108.816406 Z M 197.867188 108.816406 "/>
+<path style="fill:none;stroke-width:12.867066;stroke-linecap:round;stroke-linejoin:miter;stroke:rgb(100%,100%,100%);stroke-opacity:1;stroke-miterlimit:4;" d="M 378.75295 360.285811 L 378.75295 540.646252 " transform="matrix(0.0670532,-0.0670532,0.0670532,0.0670532,161.109127,100)"/>
+<path style="fill-rule:evenodd;fill:rgb(100%,100%,100%);fill-opacity:1;stroke-width:22.944344;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(100%,100%,100%);stroke-opacity:1;stroke-miterlimit:4;" d="M 31.663961 267.225935 L 288.281449 130.382694 L 544.928065 267.255063 L 527.742558 284.73185 L 441.931534 250.127812 L 288.223193 231.631546 L 134.136189 249.86566 L 48.791213 284.353187 Z M 31.663961 267.225935 " transform="matrix(0.0670532,-0.0670532,0.0670532,0.0670532,154.806123,93.696996)"/>
+<path style="fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;stroke-width:25.165224;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(100%,100%,100%);stroke-opacity:1;stroke-miterlimit:4;" d="M 456.815931 266.58512 L 488.798451 266.58512 L 488.798451 574.700873 L 456.815931 574.700873 Z M 456.815931 266.58512 " transform="matrix(0.0670532,-0.0670532,0.0670532,0.0670532,154.806123,93.696996)"/>
+<path style="fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;stroke-width:25.165224;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(100%,100%,100%);stroke-opacity:1;stroke-miterlimit:4;" d="M 84.793394 266.58512 L 116.775914 266.58512 L 116.775914 574.700873 L 84.793394 574.700873 Z M 84.793394 266.58512 " transform="matrix(0.0670532,-0.0670532,0.0670532,0.0670532,154.806123,93.696996)"/>
+</g>
+<clipPath id="clip3">
+ <rect width="400" height="300"/>
+</clipPath>
+<g id="surface10" clip-path="url(#clip3)">
+<path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,0%,0%);fill-opacity:1;" d="M 54 249 C 54 254.332031 46 254.332031 46 249 C 46 243.667969 54 243.667969 54 249 "/>
+<path style=" stroke:none;fill-rule:nonzero;fill:rgb(100%,0%,0%);fill-opacity:1;" d="M 204 100 C 204 105.332031 196 105.332031 196 100 C 196 94.667969 204 94.667969 204 100 "/>
+</g>
+</defs>
+<g id="surface2">
+<rect x="0" y="0" width="400" height="300" style="fill:rgb(100%,100%,100%);fill-opacity:1;stroke:none;"/>
+<use xlink:href="#surface6"/>
+<use xlink:href="#surface8"/>
+<use xlink:href="#surface10"/>
+</g>
+</svg>
Added: trunk/msautotest/renderers/point_svg.map
===================================================================
--- trunk/msautotest/renderers/point_svg.map (rev 0)
+++ trunk/msautotest/renderers/point_svg.map 2011-12-05 12:38:01 UTC (rev 12845)
@@ -0,0 +1,71 @@
+#
+# entity-encoded text rendering test.
+# this test may potentially segfault
+#
+# REQUIRES: OUTPUT=PNG
+#
+MAP
+
+STATUS ON
+EXTENT 0 0 400 300
+SIZE 400 300
+FONTSET "../misc/fonts.lst"
+IMAGETYPE png24
+symbolset "symbolset"
+
+CONFIG MS_ERRORFILE "stderr"
+DEBUG ON
+
+LAYER
+ NAME "symbol"
+ TYPE point
+ STATUS default
+ CLASS
+ NAME "test1"
+ STYLE
+ SYMBOL "svgicon"
+ END
+ END
+ FEATURE
+ POINTS
+ 50 50
+ END
+ END
+END
+
+LAYER
+ NAME "symbol rotated"
+ TYPE point
+ STATUS default
+ CLASS
+ NAME "test1"
+ STYLE
+ SYMBOL "svgicon"
+ SIZE 55
+ ANGLE 45
+ END
+ END
+ FEATURE
+ POINTS
+ 200 200
+ END
+ END
+END
+
+LAYER
+ NAME "anchors"
+ TYPE POINT
+ STATUS default
+ CLASS
+ STYLE
+ COLOR 255 0 0
+ SIZE 8
+ WIDTH 1
+ SYMBOL "circle"
+ END
+ END
+ FEATURE POINTS 50 50 END END
+ FEATURE POINTS 200 200 END END
+END
+
+END
Modified: trunk/msautotest/renderers/symbolset
===================================================================
--- trunk/msautotest/renderers/symbolset 2011-12-05 12:35:31 UTC (rev 12844)
+++ trunk/msautotest/renderers/symbolset 2011-12-05 12:38:01 UTC (rev 12845)
@@ -39,6 +39,14 @@
type pixmap
image "../misc/data/gdalicon.png"
end
+
+symbol
+ name "svgicon"
+ type svg
+ image "../misc/data/alpinehut.svg"
+end
+
+
symbol
name "gdalicongif"
type pixmap
More information about the mapserver-commits
mailing list