Add SVG support to LinePatternSymbolizer and PolygonPatternSymbolizer #1010

Closed
PetrDlouhy opened this Issue Jan 8, 2012 · 5 comments

Comments

Projects
None yet
3 participants
Contributor

PetrDlouhy commented Jan 8, 2012

LinePatternSymblizer could use only PNG images as the pattern currently. It would be great, if SVG could be used for this.

@springmeyer springmeyer pushed a commit that referenced this issue Feb 1, 2012

Dane Springmeyer warn if non bitmap (svg) files are used for pattern symbolizers as th…
…is is not currently supported - refs #1010 and #1045
cf8e036
Owner

springmeyer commented Jul 31, 2012

note: patch at #710 (comment)

artemp was assigned by springmeyer Jul 30, 2014

Owner

artemp commented Jul 31, 2014

added in 18a7731
TODO: add transformations support

svg-patterns

<Style name="land">
    <Rule>
      <LineSymbolizer stroke="'red'" stroke-opacity="0.1 * 2" stroke-width="20" stroke-linejoin="'ro'+'und'" stroke-linecap="round" comp-op="src-over"/>
      <LinePatternSymbolizer file="/Users/artem/Projects/svg/uk.svg" comp-op="src-over"/>
      <PolygonSymbolizer fill="darkorange" fill-opacity="0.3" smooth="2" comp-op="color-burn"/>
      <PolygonPatternSymbolizer file="/Users/artem/Projects/svg/car.svg" comp-op="multiply" opacity="0.7" smooth="2" alignment="global"/>
    </Rule>
  </Style>
Owner

artemp commented Jul 31, 2014

90099bc - Cairo SVG polygon_pattern_symbolizer

Owner

artemp commented Aug 1, 2014

21d28c4
d44177b

  • "image-transform" in pattern symbolizers
    animated
Owner

springmeyer commented Aug 8, 2014

closing now that we've got tests.

springmeyer closed this Aug 8, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment