On Wed, Jul 13, 2011 at 3:44 PM, Jan De Moerloose
<[email protected]> wrote:
> Hi,
>
> i'm trying to create a hatch pattern by using the following SLD (using
> StreamingRenderer and ) :
>
> <PolygonSymbolizer>
> <Fill>
> <GraphicFill>
> <Graphic>
> <Mark>
> <WellKnownName>shape://slash</WellKnownName>
> <Stroke>
> <CssParameter name="stroke">#990099</CssParameter>
> <CssParameter name="stroke-width">2</CssParameter>
> </Stroke>
> </Mark>
> <Size>16</Size>
> </Graphic>
> </GraphicFill>
> </Fill>
> </PolygonSymbolizer>
>
> All works fine, except that my hatch pattern 'jumps' at tile borders
> because it starts filling at the tile origin and tile width/height is
> not an exact multiple of the pattern image width/height.
> Is there some way to solve this problem, e.g. by anchoring the hatch
> pattern to a fixed point of the map ?

Nope, there is no way at the moment. This has been in my todo list
for a long time, but so far none of the projects I've worked on
used hatch patterns and tiling at the same time so... patches welcomed? :-)

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to