Yes, you can include a <Geometry> tag in your symbolizers to specify which
geometry to use.  The content should be a PropertyName:

<sld:PointSymbolizer>
<sld:Geometry><ogc:PropertyName>the_point_property</ogc:PropertyName></sld:Geometry>
<!-- symbology details here -->
</sld:PointSymbolizer>

--
David Winslow
OpenGeo - http://opengeo.org/

On Mon, Apr 2, 2012 at 9:26 AM, Chris Haste <[email protected]> wrote:

> Hi All,
>
> Please forgive what is probably a very simple question from a newbie!
>
> To date I have only used Geoserver to render data from a DB where the
> visualisation purpose is either to display a point based geometry OR a
> polygon based one.
>
> I now have a table which contains both. I wish to render the point based
> info at certain scales and the polygon at other scales.
>
> Is this doable?
>
> Brgrds,
>
> Chris
> *** This communication has been sent from World Fuel Services
> Corporation or its subsidiaries or its affiliates for the intended
> recipient
> only and may contain proprietary, confidential or privileged information.
> If you are not the intended recipient, any review, disclosure, copying,
> use, or distribution of the information included in this communication
> and any attachments is strictly prohibited. If you have received this
> communication in error, please notify us immediately by replying to this
> communication and delete the communication, including any
> attachments, from your computer. Electronic communications sent to or
> from World Fuel Services Corporation or its subsidiaries or its affiliates
> may be monitored for quality assurance and compliance purposes.***
>
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to