[OpenLayers-Users] GML and SLD

Jacolin Yves yjacolin at free.fr
Mon Sep 17 05:19:10 EDT 2007


Le Friday 14 September 2007 19:11:42 Christopher Schmidt, vous avez écrit :
> On Fri, Sep 14, 2007 at 05:06:16PM +0200, Jacolin Yves wrote:
> > Sorry, My explanation is not clear. I get an url from a webservice which
> > supply a gml. I succeed to display this layer in OL. I would like to
> > change the style for each feature using a sld file.
> >
> > In order to test OL (and myself), I tried to override the
> > perFeatureInsert as you explained me (see above). I succeed to change the
> > style for all feature.
> >
> > Now, I would like to use the SLD file to change the style for each
> > feature.
>
> Okay. You'll need to write an SLD parser, and a function that takes an
> OpenLayers.Feature.Vector and returns a style object for it. That code
> doesn't exist yet. I believe there was some work being done by Andreas
> on it, but as far as code that is in the trunk of OpenLayers or
> 'supported', you're on your own. I'm sorry if this wasn't clear before.
>
> Regards,

Hi Christopher,

Thanks for your answer. I find the Andreas sandBox and read the code.

Is someone have more information on it? When does Andreas comit his work on 
trunk for exemple? ;) (even if I know that the right answer is "when it will 
be ready").

Thanks for your great work :)

Y.
-- 
Yves Jacolin
---
http://softlibre.gloobe.org



More information about the Users mailing list