Consider a shape file that has an attibute of type Double. When using the
PropertyIsLike filter, I'm having some trouble matching. A double can look
very different at various points, i.e. 1.602323E6, 10002.0, etc. However,
the main problem is that it actually is just a long stored as Double in the
shape file. I'd like to do sth like this:
Filter likeFilter = filterFactory_.like(filterFactory_.property("PP_ID"),
somePattern);
fstore.removeFeatures(likeFilter);
But this doesn't work for the reason I mentioned earlier. What I really need
is some control as to how the filter is used to remove the features. I need
this :
when doing the matching with PP_ID attribute the double value be converted
to a long before matching with the pattern. Is there any way of doing this
?
Regards,
Enam
--
View this message in context:
http://www.nabble.com/Filter-with-double-attribute-type-tf3629299.html#a10134184
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users