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

svn at osgeo.org svn at osgeo.org
Tue Dec 6 09:16:34 EST 2011


Author: tbonfort
Date: 2011-12-06 06:16:33 -0800 (Tue, 06 Dec 2011)
New Revision: 12852

Added:
   trunk/msautotest/renderers/data/
   trunk/msautotest/renderers/data/fonts.lst
   trunk/msautotest/renderers/data/world.tif
   trunk/msautotest/renderers/data/world_testlines.dbf
   trunk/msautotest/renderers/data/world_testlines.prj
   trunk/msautotest/renderers/data/world_testlines.qpj
   trunk/msautotest/renderers/data/world_testlines.shp
   trunk/msautotest/renderers/data/world_testlines.shx
   trunk/msautotest/renderers/data/world_testpoly.dbf
   trunk/msautotest/renderers/data/world_testpoly.shp
   trunk/msautotest/renderers/data/world_testpoly.shx
   trunk/msautotest/renderers/expected/mask.cairopng.png
   trunk/msautotest/renderers/expected/mask.gif
   trunk/msautotest/renderers/expected/mask.png.png
   trunk/msautotest/renderers/mask.map
Log:
add tests for rfc79 masking


Added: trunk/msautotest/renderers/data/fonts.lst
===================================================================
--- trunk/msautotest/renderers/data/fonts.lst	                        (rev 0)
+++ trunk/msautotest/renderers/data/fonts.lst	2011-12-06 14:16:33 UTC (rev 12852)
@@ -0,0 +1 @@
+default        ../../misc/data/LucidaBrightRegular.ttf

Added: trunk/msautotest/renderers/data/world.tif
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/renderers/data/world.tif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/renderers/data/world_testlines.dbf
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/renderers/data/world_testlines.dbf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/renderers/data/world_testlines.prj
===================================================================
--- trunk/msautotest/renderers/data/world_testlines.prj	                        (rev 0)
+++ trunk/msautotest/renderers/data/world_testlines.prj	2011-12-06 14:16:33 UTC (rev 12852)
@@ -0,0 +1 @@
+GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]
\ No newline at end of file

Added: trunk/msautotest/renderers/data/world_testlines.qpj
===================================================================
--- trunk/msautotest/renderers/data/world_testlines.qpj	                        (rev 0)
+++ trunk/msautotest/renderers/data/world_testlines.qpj	2011-12-06 14:16:33 UTC (rev 12852)
@@ -0,0 +1 @@
+GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]],AUTHORITY["EPSG","4326"]]

Added: trunk/msautotest/renderers/data/world_testlines.shp
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/renderers/data/world_testlines.shp
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/renderers/data/world_testlines.shx
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/renderers/data/world_testlines.shx
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/renderers/data/world_testpoly.dbf
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/renderers/data/world_testpoly.dbf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/renderers/data/world_testpoly.shp
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/renderers/data/world_testpoly.shp
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/msautotest/renderers/data/world_testpoly.shx
===================================================================
(Binary files differ)


Property changes on: trunk/msautotest/renderers/data/world_testpoly.shx
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

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


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

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


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

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


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

Copied: trunk/msautotest/renderers/mask.map (from rev 12822, trunk/msautotest/renderers/polygon-hatch.map)
===================================================================
--- trunk/msautotest/renderers/mask.map	                        (rev 0)
+++ trunk/msautotest/renderers/mask.map	2011-12-06 14:16:33 UTC (rev 12852)
@@ -0,0 +1,78 @@
+#
+# entity-encoded text rendering test.
+# this test may potentially segfault
+#   
+# REQUIRES: OUTPUT=PNG
+#
+MAP
+
+STATUS ON
+EXTENT -180 -90 180 90
+SIZE 400 300
+FONTSET "data/fonts.lst"
+IMAGETYPE png24
+symbolset "symbolset"
+shapepath "data"
+
+CONFIG MS_ERRORFILE "stderr"
+
+
+DEBUG ON
+
+LAYER
+  NAME "mask"
+  TYPE polygon
+  STATUS off
+  DATA "world_testpoly"
+  CLASS
+    STYLE
+      COLOR 0 0 0
+    END
+  END
+END
+
+LAYER
+  NAME "world"
+  TYPE RASTER
+  STATUS on
+  DATA "world.tif"
+  MASK "mask"
+END
+
+LAYER
+  NAME "lines"
+  TYPE LINE
+  STATUS ON
+  MASK "mask"
+  DATA "world_testlines"
+  LABELITEM "label"
+  CLASS
+    STYLE
+      WIDTH 0.5
+      COLOR 0 0 0
+    END
+    LABEL
+      TYPE TRUETYPE
+      FONT "default"
+      SIZE 8
+      COLOR 0 0 0
+      ANGLE FOLLOW
+    END
+  END
+END
+
+
+LAYER
+  NAME "countours"
+  TYPE polygon
+  STATUS on
+  DATA "world_testpoly"
+  CLASS
+    STYLE
+      OUTLINECOLOR 0 0 0
+      WIDTH 0.5
+    END
+  END
+END
+
+END



More information about the mapserver-commits mailing list