Hi all,
I'm working on a project with geotools at the moment and have run into a
few issues - I'd like to run them by the list to ask whether they are
bugs or an issue with my understanding of them. First when using the
"like" filter:
f = filterFactory2.like(filterFactory2.property("myProperty"),
"findMe");
In the examples/documentation the wildcard is given as "%" however it
appears to be impletmented as ".?" and ".*".
Also, the filter only evaluates as true on a full match of the input
string e.g. Matcher.matches() method. I can't get a filter to work so
that I can select features based on if a property containing a string, e.g.
myFeature.myProperty= "abcFindMedef"
with the filter:
like(filterFactory2.property("myProperty"), ".*findMe.*");
I also had an issue with the documentation for ExternalGraphic:
http://docs.geotools.org/latest/userguide/library/render/style.html It
seems that:
symbols.add(sf.externalGraphic(png, "png", null)); // png preferred
Should be
symbols.add(sf.externalGraphic(png, "image/png", null)); // png preferred
Any thoughts on this would be appreciated...
Cheers,
Mark
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users