Hi,

________________________________
De : [email protected] [mailto:[email protected]] De la part de Andrea 
Aime
Envoyé : vendredi 25 octobre 2013 14:29
À : Michael Michaud
Cc : Jonathan Moules; [email protected]
Objet : Re: [Geoserver-users] Visible shift between superimposed dashed lines

On Fri, Oct 25, 2013 at 2:21 PM, Michael Michaud 
<[email protected]<mailto:[email protected]>> wrote:
Hi Jonathan,

It seems my last email to you bounced (though it clearly got to the list).
Anyway, you might want to try removing the lines:

</FeatureTypeStyle>
<FeatureTypeStyle>
Thanks for your answer,
We have just tried your suggestion, but it does not solve the problem.

By using those, you're asking GeoServer to draw the lines on separate rendering 
passes. In reality you want them done on the same pass.
I want them to be drawn with consistent parameters, not really in the same pass.
Indeed, we generally want them to be drawn in two separate passes so that
crossroads look nice.

My guess is that the problem comes from the following code :

class StreamingRenderer
        private void processSymbolizers(...) {
                ...
                for (Symbolizer symbolizer : symbolizers) {
                        ...
                        double size = RendererUtilities.getStyle2DSize(style) + 
10;
                        env.expandBy(size);
                        ...
                }
                ...
        }
}

It's the code that expands the envelope based on how big the symbolizers to be 
painted are.
You should be able to dodge it by adding &buffer=20 to your requests, forcing 
the
envelope buffering to a fixed value.
See if that works

Can't make it work with &buffer=20 :o(
(I can see some effects of &buffer on ponctual symbols, but not on linear 
symbols)

I did not go through all the code but I wonder if the &buffer parameter is
really used for "line clipping" (I have seen it used for "feature selection" 
only).

Regards,

Michaël

Cheers
Andrea

--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more 
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to