Hello Andrea > The closest workaround I can think of is to define a huge width/height > param so that no generalization is going to be needed.
Thanks for answering. By width/height "param" do you mean the actual mapArea passed over to GTRenderer.paint? I actually tried to set the renderer hint "declaredScaleDenominator" to get the same effect but it didn't do any good. Actually, I am a little lost as to where decimation is really done in the code. I thought the Decimator class would be used, but debugging the code it seems to be decimating the geometries without instantiating a single Decimator! I am clearly missing something big.. As a sidenote, I am using shapefiles with ShapefileRenderer, don't know if that affects the decimation process. Thanks again Milton Andrea Aime wrote: > Milton Jonathan ha scritto: >> Hello list and Andrea >> >> I was reading some discussions over the devel list, including the >> discussion on the generalization hints, and given a special need over >> here I wanted to ask you if there is currently no hint for >> enabling/disabling decimation in the ShapefileRenderer. I didn't find >> one, so I guess right now I should switch to the StreamingRenderer if >> I don't want decimation, is that correct? > > Hmmm... actually not even the StreamingRenderer has a way to > avoid decimating the data, we'd need another hint to disable it. > The closest workaround I can think of is to define a huge width/height > param so that no generalization is going to be needed. > > Cheers > Andrea > -- Milton Jonathan Grupo GIS e Meio Ambiente Tecgraf/PUC-Rio Tel: +55-21-3527-2502 ------------------------------------------------------------------------------ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
