Hi As some might know already, i am writing an stand-alone SLD editor based on Swing+Geotools 2.4. Its licensed under LGPL and maybe maybe will be merged into the geowidgets-pending module in August.
http://www.geopublishing.org/AtlasStyler I realized that hatchures (de: Schraffuren) are not easily realized with SLD 1.1. Following the official standard, one can A) only used squares, triangle and circle to fill a polgon, no /// or \\\ possible :-( B) can use an external SVG graphic to fill a polygon. As SVGs contian their color information its not a cool solution. Still it would be possible to use a black hatchures SVG and change the color of the background to create different hatchures. I thought ... I added a cool SVG support to the AtlasStyler. If you want to use an external graphic, you can browse a collection of about 100 open source SVGs at www.geopublishing.org online. This collection is updated form the OpenStreetMap projects svn-repository from time to time. So the user of the AtlasStyler can directly start accessing about 100 open source SVGs... Sadly, i realized that geotools 2.4 doesn't seem to render a PolygonSymbolizer with an External Graphic :-( Nothing is rendered .. no exceptions... I only see SVGs rendered when it is used with a PointSymbolizer. I didn't test it with a LineSymbolizer. Any chances, that this could be fixed in some 2.4.x release? Greetings Steve On Thursday 26 June 2008 14:49:26 you wrote: > > How are we supposed to make hachures / hatchures (dt. Schraffuren) for a > > polygon with SLD? The "native" Graphic+Mark stuff (with circle and box > > etc) doesn't help much. > > When i use ExternalGraphics i can use a nice hatchures graphics to fill > > the polygon, BUT i can't change the color programatically. So i would > > need many many precolored SVGs - which sux for seriouse classifications. > > > > Am i missing something? I just want to fill the polygon with //// or \\\\ Hi I implemented -- wiki² - Softwareentwicklung Stefan Krüger Straßburger Weg 26 53113 Bonn email [EMAIL PROTECTED] mobile 0151 50543949 webpage wikisquare.de skype alfonx reclaim your net - http://tor.eff.org enforce privacy - http://www.pgpi.org pgp key id: 51B576FD - http://pgp.mit.edu Please note that according to the German law on data retention, information on every electronic information exchange with me is retained for a period of six months. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
