Actually the hatch mark is perhaps still there, but dead!
Dear Andreas, I cannot find this class "WellKnownMarkFactory" in Geotools
2.4. and  in Geotools 2.5 the following method 
 
public String[] getWellKnownMarkNames() {
        return new String[] {
            MARK_SQUARE,
            MARK_CIRCLE,
            MARK_TRIANGLE,
            MARK_STAR,
            MARK_CROSS,
            MARK_ARROW,
            MARK_X };
    }

in StyleBuilder does not contain MARK_HATCH or so.

Hence I cannot use hatch in sld for Symbolization without using
externalGraphic.
Perhaps there is a way to do it that I cannot find out.
please help.

Thanks.

Agossa




aaime wrote:
> 
> Jody Garnett ha scritto:
>> I think you have the answer to your question; Jesse added it to
>> GeoTools 2.2 on April of 06; by that time the majority of the geotools
>> community had moved on to a newer version of GeoTools.
>> 
>> I suspect the patch has just not been applied to GeoTools trunk.
> 
> Actually the hatch mark is still there, alive and kicking:
> http://svn.osgeo.org/geotools/trunk/modules/library/render/src/main/java/org/geotools/renderer/style/WellKnownMarkFactory.java
> 
> Cheers
> Andrea
> 
> -- 
> Andrea Aime
> OpenGeo - http://opengeo.org
> Expert service straight from the developers.
> 
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Why-is-hatch-mark-removed-from-geotools---tp2663851p2670282.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to