Skip to content

Commit

Permalink
add test for buffer geomtransform
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed May 29, 2012
1 parent abbea19 commit d6af73d
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added renderers/expected/polygon-as-line-offset.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added renderers/expected/polygon-as-line-offset.pdf
Binary file not shown.
Binary file added renderers/expected/polygon-as-line-offset.png.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions renderers/expected/polygon-as-line-offset.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions renderers/polygon-as-line-offset.map
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#
# entity-encoded text rendering test.
# this test may potentially segfault
#
# REQUIRES: OUTPUT=PNG SUPPORTS=GEOS
#
MAP

STATUS ON
EXTENT -125.549477 -69.508628 101.670954 15.840339
SIZE 400 300
FONTSET "../misc/fonts.lst"
IMAGETYPE png24
symbolset "symbolset"
shapepath "../misc/data"
imagecolor 255 255 0
CONFIG MS_ERRORFILE "stderr"



SYMBOL
name "hatch"
type hatch
end

LAYER
NAME "world"
TYPE polygon
STATUS default
DATA "world_testpoly"
CLASS
NAME "test1"
STYLE
OUTLINECOLOR 180 0 0
WIDTH 1
GEOMTRANSFORM (buffer([shape], 1))
END
STYLE
OUTLINECOLOR 180 0 0
WIDTH 1
GEOMTRANSFORM (buffer([shape], -1))
END
END
END

END

0 comments on commit d6af73d

Please sign in to comment.