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?

As a side note, what I want to do is simply to render the map on a Batik 
SVGGraphics, so as to export it to an SVG file (and I want to export the 
full geometries, thus no decimation wanted)

Cheers
Milton


Andrea Aime (JIRA) wrote:
> DirectoryDataStore wrapping is preventing ShapefileRenderer to kick in
> ----------------------------------------------------------------------
> 
>                  Key: GEOT-2418
>                  URL: http://jira.codehaus.org/browse/GEOT-2418
>              Project: GeoTools
>           Issue Type: Bug
>           Components: data directory, ext shapefilerender
>     Affects Versions: 2.5.4
>             Reporter: Andrea Aime
>             Assignee: Andrea Aime
>              Fix For: 2.5.5
> 
> 
> The directory datastore can be mainly used to ease up using directories 
> filled with shapefiles atm, yet the shapefilerenderer won't kick it when a 
> shapefile is provided by DDS because it does an instanceof check against the 
> datastore attached to the feature source being rendered.
> On 2.5.x I want to make the DDS FeatureSource return the native datastore 
> again, as a stop gap measure, whilst on trunk the please is to leave it be 
> and work on killing the shapefile renderer instead (all the optimization it 
> has can be turned into generic hints that streaming renderer can use + other 
> datastores can implement).
> 

-- 

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

Reply via email to