So there are a couple of ways to fix this - each of which requires an
API change ....
We can duplicate up the methods ...
> import org.geotools.filter.Expression;
> interface AnchorPoint {
> void setAnchorPointX(Expression x);
> void setAnchorPointX(org.opengis.filter.expression.Expression x);
>
> Expression getAnchorPointX();
> ...
> }
That only solves half the problems ... getAnchorPointX woudl still be
deprecated.
Or we could change the import ...
> import org.opengis.filter.expression.Expression;
> interface AnchorPoint {
> void setAnchorPointX(Expression x);
> Expression getAnchorPointX();
> ...
> }
The second option makes sense, and was the direction we were heading:
1. But we got tired
2. We wanted to review SLD 1.1
I will try updating the code in place and we can talk about it at the
meeting,
Jody
Jesse Eichar wrote:
> Hi all,
>
> I've noticed this weekend that there is no way to hack styles without
> using Deprecated code. The public style API requires the old
> deprecated Geotools expressions and filters so there is no way to
> create a symbolizer (other than with the builder which isn't always
> sufficient) without using deprecated code.
>
> Ideas?
>
> Jesse
>
> -------------------------------------------------------------------------
> 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-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
-------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel