Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have published a point layer in Geoserver, which is the data from a GPS Survey. In addition to the geometry, my layer, also contains an Attribute for Accuracy, which indicates the Accuracy in meters of the reading.

I have been trying to style the layer, such that a point is show as a point surrounded by a circle whose radius is equivalent to the Accuracy in map units. (Similar to how most mobile apps show the GPS points)

All of the Attribute based symbolization that I have seen is Rule based (i.e. Classification).

How do you Symbolize a point, such that its radius is equal to its accuracy?

share|improve this question
up vote 5 down vote accepted

Try an SLD like this, using ogc:PropertyName to include the accuracy value:

<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0" 
    xsi:schemaLocation=" StyledLayerDescriptor.xsd" 
    <Name>Attribute-based point</Name>
          <PointSymbolizer uom="">
                  <CssParameter name="fill">#0033CC</CssParameter>
                  <CssParameter name="fill-opacity">0.1</CssParameter>
                  <CssParameter name="fill">#f00000</CssParameter>
                  <CssParameter name="fill-opacity">1.0</CssParameter>
share|improve this answer
After using uom=""; for using Ground units, you sld work perfectly. – Devdatta Tengshe Feb 5 '13 at 3:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.