Hi Tyler,
This is perplexing. I have another layer, produced in essentially the
same way with a similar SLD
(http://www.who.int/tools/geoserver/styles/mm_bridges_style.sld )
which refers to the layer
http://www.who.int/tools/geoserver/wms/kml_reflect?layers=WHO:mm_bridges.
I created the icon in Inkscape, and the exported png
(http://www.who.int/tools/geoserver/www/icons/intact_bridge.png) There
should be two completely white features RGB(255,255,255) a green
background RGB(0,150,0) and a black circle around the edges. The other
icons for this layer are described in the SLD.
I have uploaded a screen shot from Google Earth (4.3.7204.0836 beta)
to http://www.who.int/tools/geoserver/www/icons/screenshot.png. I
added a white polygon similar to your screen shot for reference and
colored it white.
According to my copy of GIMP, this screenshot shows that the colors of
the icons are no longer the same. The pixels that should be white are
not RGB (170,170,170) and the green is now RGB(0,100,0).
??
Is this something specific to my system then perhaps?
Thanks and best regards,
Jason
On 5/25/08, Tyler Erickson <tyler.erickson@anonymised.com> wrote:
Jason,
I opened your hospital.png file in GIMP, and it looks fine to me (i.e. it
has a transparent background).
I also manually created a few GE placemarks that refer to the
http://www.who.int/tools/geoserver/www/icons/hospitals.png image. These
seem to display correctly in GoogleEarth (see attached image), without any
grey background.
http://www.nabble.com/file/p17453382/hospital_placemark.jpg
- Tyler
jpickeri wrote:
>
> Hi Tyler. Yes, you are correct. The link is incorrect. My mistake.
> Here is the full SLD.
>
> http://www.who.int/tools/geoserver/styles/GISGLOBAL.OMS.V_UNIT_H_style.sld
>
> I just checked again, and it seems like the icon itself is not
> correct. Perhaps this is not a problem with Geoserver after all, but
> with my graphics software that I have used to export the PNG?
>
> Thanks and best regards
> Jason
>
>
--
View this message in context: http://www.nabble.com/Icons-in-KML-appear-to-be-overlayed-with-a-grey-mask-tp17450657p17453382.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
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/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users