Stefan A. Krüger ha scritto:
> Hi
> 
> I am developing the LGPL AtlasStyler SLD Editor ( try it at 
> http://www.geopublishinrg.org/AtlasStyler, just click the Starte AtlasStyler 
> button ) and i accumulated a bunch of SLD related questions during the last 
> weeks. I will keep posting during the next days.
> 
> I start with a first one:
> 
> 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 \\\\ 

I believe the way would be to create new well known markers that 
represent those kind of fills. I recently rolled out in GeoTools trunk
a proposal 
(http://docs.codehaus.org/display/GEOTOOLS/Dynamic+SLD+Graphic+objects)
that should allow you to implement a new set of markers to be used for
this case. Of course, this would make it GeoTools specific, other
toolkits won't be able to properly interpret the extra marks you added
this way.

My pipe dream is to make up a mark factory that is able to read
the Autocad hatch files, but I don't know when and if I'll be able
to implement that.

Cheers
Andrea

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to