Hi Jeff,

everything you are requesting was developed by me and is available in
OpenLayers trunk (SLD, rule-based styles). Only we had no resources
yet to update Mapbuilder and its sld handling to use the new
OpenLayers code.

The other option Matt pointed you to (using the MergeModels tool) does
not result in multiple http requests, but you have to split your
original model into several models, using xsl transformations.
Personally, I would prefer to use sld with rule filters.

It would probably be 10 hours of work to update Mapbuilder to use the
current OpenLayers version (Mapbuilder now uses OpenLayers 2.5) with
SLD and rule-based styling. Except from incorporating the new sld
code, the whole coordinate transformation subsystem would have to be
adapted because this is now also included in OpenLayers and will break
current Mapbuilder code.

Unfortunately, I have no urgent need to do those changes, and there is
no funding to get this done either. If you (or someone else at your
company) are willing to get your/their hands dirty, I'll be glad to
mentor that work and give support wherever I can. If you don't, but
can provide funding, I can do the work for you. You can also have a
look at the "Commercial Support" page linked from
http://communitymapbuilder.org, if you want to contact other companies
to have more than one offer.

Regards,
Andreas.

On Jan 29, 2008 8:23 PM, Wood, Jeff <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi Andreas,
>
> I hope this email finds you doing well.  Matt Diez suggested I email you and
> see if you had any ideas that might help us with something we are working
> on.  If you have the time, we would appreciate your input.
>
> Short version:
> Is it possible to communicate multiple point styles to an OL vector layer we
> are using with Mapbuilder?
>
> Longer version:
> We are working on a situation where we render multiple points in a single
> vector layer on our map.  Currently we have them in a Mapbuilder
> FeatureCollection and use the GmlRendererOL with an sld.  We have been asked
> to style some of those points in this FeatureCollection differently than
> other points.  I added a filter to the sld and I did not see any effects
> from that change.  I then looked in the Mapbuilder code and see that
> Mapbuilder GmlRendererOL gets two PointSymbolizer nodes, default and
> selected, from the sld file.  It builds a style object from that and passes
> it to OL.  It does not look at any filter node I may add.
>
> Another possibility Matt and I discussed would be to break each group of
> points that we want to display differently into a separate
> FeatureCollection, each with its own sld.  And then use MergeModels to
> display them in a layer.  I think this idea has several problems of its own,
> including multiple httpRequests and increased work and logic.
>
> Any ideas you have would be appreciated!
>
> Thank you,
> Jeff Wood

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel

Reply via email to