From: D.J. Z. <zha...@gm...> - 2006-12-04 16:21:29
|
Hi All, I am a new user to the list. I got two problems about geotools that have been bothering me for a while. But they may all solved in the new version. Could anyone give me some info about these? I am using Geotools 2.1.0. My first problem is that MaxScaleDenominator doesn't work for me. I tried a very simple test, to either or not render a road according to the zoom levels. I tried by using both Java coding and SLD, but MaxScaleDenominator just doesn't seem to work. Similarly filter also doesn't work for me. One simple filter example I have tried is the distance filter to find a feature close to a point. And it doesn't work either. I am not sure whether these are bugs in version 2.1.0 or I didn't do it in the right way. Are these functions working in the current version? My second question is road's label rendering - all the labels are rendered horizontally. But ideally I want the labels to be rendered by aligning the road direction, and close to and on the road. How should I do to achieve these? Which geotools version support these features? thank you, Dejin |