[Geoserver-users] Re: [Geoserver-devel] multi-geometry and rendering

Richard,

The problem was with your .sld files.

They all have a line like this:

..
<FeatureTypeStyle>
<FeatureTypeName>feature</FeatureTypeName>
  <Rule>
..

The "<FeatureTypeName>" clause says that the rules should only be
applied to featuretypes that are named "feature". Your featuretype is
"serie_rouge" so the renderer didnt even try to draw anything.

To fix either:
1. remove the the "<FeatureTypeName>feature</FeatureTypeName>" line
2. or replace it with "<FeatureTypeName>serie_rouge</FeatureTypeName>"

dave
ps. I did make some other changes in the literender to be wiser about
rendering multi* objects - for multipoints.

----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/

At 06:44 PM 4/14/2005, dblasby@anonymised.com wrote:

Richard,

The problem was with your .sld files.

They all have a line like this:

..
<FeatureTypeStyle>
<FeatureTypeName>feature</FeatureTypeName>
  <Rule>
..

The "<FeatureTypeName>" clause says that the rules should only be
applied to featuretypes that are named "feature". Your featuretype is
"serie_rouge" so the renderer didnt even try to draw anything.

To fix either:
1. remove the the "<FeatureTypeName>feature</FeatureTypeName>" line
2. or replace it with "<FeatureTypeName>serie_rouge</FeatureTypeName>"

dave
ps. I did make some other changes in the literender to be wiser about
rendering multi* objects - for multipoints.

Note that 'feature' used to work, and 'Feature' still does. This is because all feature types decend from 'Feature'.

James