tschaub at opengeo.org
Wed Mar 11 15:57:44 EDT 2009
Per-Olof Norén wrote:
> Pavel Simon skrev:
>> Hi everyone,
>> I plan to work on a project about adding cartodiagrams to OpenLayers.
>> So I want to ask, if someone in your group works on a similar project?
>> If the answer is yes, could you write me about it?
> If you are using geoserver as backend, then maybe this nice tutorial
> might be of interest:
> I've tried using using google chart API to add pie charts to a dataset
> of swedish election results from 2006. The charts is placed on each
> election district's polygon centroid.
> I uploaded an example image here:
Another example using the Google Chart API:
If your symbols are generated on the server, there's no real work to do
in OpenLayers (assuming values based on feature attributes are all that
are needed). If you don't have an image (or chart or cartodiagram or
whatever) url in your feature attributes, you can generate a url for a
symbolizer's externalGraphic property with a style's context property.
See http://openlayers.org/dev/examples/styles-context.html for an example.
> OpenLayers is then used as a client against geoserver WMS.
> Dev mailing list
> Dev at openlayers.org
OpenGeo - http://opengeo.org
Expert service straight from the developers.
More information about the Dev