|
Hi. Sorry to bug the list again, but I have been trying to create my
own renderer based on BasicFeatureRenderer to render the features of a
WFS layer. What I have done is this:
I have noticed that the filter/queries that are set on the layer are different to the ones set when using BasicFeatureRenderer. In BFR the filter is: Query: [Request All Features] feature type: null filter: Filter.NONE [properties: ALL ]but in mine it was Filter.ALL (which I believe means filter OUT everything - return nothing). So I explicitly set the query to Query.ALL in the setQueries() method of my BFR clone. So, this meant that the feature collection returned in the StreamingRenderer had 24 items in it now. Good. However, still nothing is rendered and when you click on the layer it says "Layer not rendered" in the status bar. Another thing of concern is that on the console I see this: Current Renderers: CompositeRendererImpl RenderExecutorImpl:BasicWMSRenderer2-highway RenderExecutorImpl:BasicFeatureRenderer-nmcregion_polyI have 1 WMS layer and 2 WFS layers - one of which I want to render with my renderer. As you can see, my renderer doesn't appear in this list, but it is definitely instantiated and the render method is definitely called on it. Is there something that I am missing in terms of extensions or classes that I need to implement? My intention is to just implement a renderer, not the whole stack of DataSource/FeatureSource/etc. Thanks, Mark
|
begin:vcard fn:Mark Presling n:Presling;Mark email;internet:[EMAIL PROTECTED] tel;home:+6442322774 tel;cell:+6421549540 version:2.1 end:vcard
_______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
