I am using GeoServer 2.3.0 connected to a PostGRESQL 9.2.3-1 database with
PostGIS 2.0.3 for spatial indexing.
I have a single table with a 2D WKT MULTIPOINT field in the pgDB that is
served up as a KML vector layer by GeoServer into Google Earth.
In that table, there is an additional column, named "size," that contains a
(NOT NULL) floating point value for each row. Optimally, when GeoServer
serves up this layer as KML data to Google Earth, I would like the value of
this attribute to be used for the icon size visualized on Google Earth.
Barring that, I would like to be able to create rules for ranges of values
for this attribute to have varying icon sizes visualized on Google Earth.
I have attempted to follow the instructions in the SLD Cookbook, as well as
the KML Styling documentation.
http://docs.geoserver.org/latest/en/user/styling/sld-cookbook/points.html
http://docs.geoserver.org/latest/en/user/googleearth/kmlstyling.html#google-earth-kml-styling
http://docs.geoserver.org/stable/en/user/styling/sld-extensions/substitution.html
While searching the forums here for answers, someone else posted a link
(possibly deprecated) to a "Database-Driven Styling" guide, but the link
does not fully direct to such a guide.
http://docs.geoserver.org/stable/en/user/#SLDSnippets-DatabasedrivenStyling
I have been unsuccessful finding a method to modify the size of vector point
icons for Google Earth. There is some validation of that statement provided
by Marc Graham for ITC on page 24, table 4-2, that "Point Size" does not
function for vector rendering of KML data by Google Earth as served up by
GeoServer. However, that document is from 2008, and may no longer be
accurate.
http://geoserver.itc.nl/natatlas/ge/marc%20geoffrey%20graham.pdf
I have not had success yet trying to size vector point icons from GeoServer
for Google Earth. Is this capability supported?
Assistance is definitely appreciated! Thank you!
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/KML-Size-Attribute-Modification-for-Vector-Points-on-Google-Earth-tp5078942.html
Sent from the GeoServer - User mailing list archive at Nabble.com.