Hi all,
I store in a MySQL table information about volcanoes.
Each volcano has a location (a point geometry) and for special an ash cloud ( a polygon geometry).
I have try to show the two representations but without succes…
With one web services using a SLD describing all geometric representations
and with two web services, one for points and one for polygons
I can only show point representation…
How can i display both representations??
Simon
Hi Simon,
Unfortunately it is not possible to render both of the geometries simultaneously (that I know of), you will have to use two separate layers for that.
To choose which geometry to render you can use the <Geometry> element inside of the symbolizer to choose which element to render.
Hope that helps.
-Justin
Simon Janssens wrote:
Hi all,
I store in a MySQL table information about volcanoes.
Each volcano has a location (a point geometry) and for special an ash cloud ( a polygon geometry).
I have try to show the two representations but without succes....
With one web services using a SLD describing all geometric representations
and with two web services, one for points and one for polygons
I can only show point representation.....
How can i display both representations??
Simon
------------------------------------------------------------------------
------------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
Justin Deoliveira ha scritto:
Hi Simon,
Unfortunately it is not possible to render both of the geometries simultaneously (that I know of), you will have to use two separate layers for that.
Ah hem, two symbolizers in the same rule, each pointing explicitly
at a different geometry should suffice (so, one layer).
Sorry for not answering later, I was fighting with the new UI.
To choose which geometry to render you can use the <Geometry> element inside of the symbolizer to choose which element to render.
Yep, indeed 
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Andrea Aime wrote:
Justin Deoliveira ha scritto:
Hi Simon,
Unfortunately it is not possible to render both of the geometries simultaneously (that I know of), you will have to use two separate layers for that.
Ah hem, two symbolizers in the same rule, each pointing explicitly
at a different geometry should suffice (so, one layer).
Sorry for not answering later, I was fighting with the new UI.
There you go, shows how much I know. Makes sense, apologies for misleading.
To choose which geometry to render you can use the <Geometry> element inside of the symbolizer to choose which element to render.
Yep, indeed 
Cheers
Andrea
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.