Google Earth is a toy that basically renders any symbol as a 32 pixel 
image and then resizes that as it pleases to make everything fit.

One way to achieve the effect you are after is to create a polygon for 
each of these points and send these polygons as KML to Google Earth. 
Those are not clickable, so if you want popups you'll also have to add a 
transparent PNG or something something similar as a point symbolizer.

-Arne

On 8/24/10 9:23 PM, Martin.L wrote:
> Hi @ all!
>
> I have a problem with my SLD and the GoogleEarth-Plugin in my application. I
> made a SLD with PointSymbolizers which have a dynamic size.
>
> <PointSymbolizer>
>       <Graphic>
>                <Mark>
>                         <WellKnownName>circle</WellKnownName>
>                       <Fill>
>                               <CssParameter 
> name="fill-opacity">1.0</CssParameter>
>                               <CssParameter name="fill">#FFFFD4</CssParameter>
>                       </Fill>
>                </Mark>
>                <Size><ogc:PropertyName>magnitude</ogc:PropertyName></Size>
>          </Graphic>
> </PointSymbolizer>
>
> The size is defined by the field "magnitude" coming from GeoServer (at the
> end from PostGIS). In my OpenLayers-application everything works fine. The
> points have a different size. However the GoogleEarth-plugin styles the
> points with the default point style of GoogleEarth and the color I defined
> for different rules. The problem is, that the size is the same for every
> point.
>
> Does anyone have a solution for this problem? I appreciate any help.
> Thanks in advance
> Martin


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to