Hi,

I could explain you better the case, but at this time, it's difficult to produce a sample program.

I setted up a single MapContext, with a simple DefaultMapLayer, all inside a StreamingRenderer. The FeatureSource for the Layer is a IndexedShapeFeatureSource, working on a simple shape file. Above the layer I applied a Style with a PolygonSymbolizer (representing black lines)
and a TextSymbolizer to draw region texts.

Then I made a paint an obtain  PNG image and
after that I moved the AreaOfInterest of the map end repaint to obtain a second PNG image.

In the first and second image polygons moved correctly,
but labels was repainted 2 times in the second image, with an effect like an echo.

It seems like a cache effect (something wrong on the TextSymbolizer).

The same happens doing zoomin/zoomout operations.

I hope that this is enough explicative, otherwise I will try to extract a sample code from my project.

Thank you in advance.

Bye,
Manuele



in data 09/02/2006 8.11 Jody Garnett ha detto:
Martin Desruisseaux wrote:

Jody Garnett a écrit :

I have noticed some problem switching to version 2.2-RC0.
For instance, after pan operations or zoom operations and repainting the map, the labels (FeatureTypeStyle with TextSymbolizers) doesn’t follow the layers. So I have a sort of echo in all the labels!

Does anybody fall in this error?


Afraid not, I assume this error occurs in a styling pane widget? This widget is not really supported in geotools 2.2, it makes use of the legacy jar etc...


I was assuming the opposite (the Manuele uses the lite or streaming renderer) because I have not done any change in J2D-renderer for a while. While Renderer are you using Manuele?

Well if it is StreamingRenderer we have a bug to hunt down, what more can you tell us? Have you tried a debugger? Lets set up an Issue in Jira to track this (perhaps you could attach a sample program?)

Martin will apparently be working on it again for geotools 2.3 ...


And the work has begun!! :) For peoples interrested in J2D-renderer, the work in underway in the ext/go module (http://maven.geotools.fr/reports/go/index.html). It is a refactoring of J2D-renderer as a GO-1 implementation (org.opengis.go.* interfaces). In the process, I'm trying to fix many griefs posted against J2D-renderer.

I never looked seriously to org.opengis.go.* interfaces before. But now that the work has really begun, up to date I'm quite happy with those GO-1 interfaces. They should help to improves greatly the renderer since they are designed for interactivity for example.

Wow - 2.3 is really going to be the release where we catch up to GeoAPI. Fun stuff, and glad your work is going well.
Jody



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to