[Geoserver-users] geoserver polygon handler error

Hi,

Can anyone clarify this error I am getting from geoserver?

org.geotools.data.shapefile.shp.PolygonHandler - polygon found with a hole thats not inside a shell

My sld file colors polygons based on the value of a property in the shapefile. Here is a sample rule:

TOWN ACUSHNET #03E0EE 0.5 #000000 2

Theo


All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.

It sounds like you have invalid geometry. Have you made sure all of the geometry is okay, and that there are no holes that are falling partway or all the way outside the outer boundary of the polygon?

Brent Owens
(The Open Planning Project)

theo burry wrote:

Hi,

Can anyone clarify this error I am getting from geoserver?

org.geotools.data.shapefile.shp.PolygonHandler - polygon found with a hole thats not inside a shell

My sld file colors polygons based on the value of a property in the shapefile. Here is a sample rule:

      <Rule>
        <ogc:Filter xmlns:gml="http://www.opengis.net/gml&quot;&gt;
          <ogc:PropertyIsEqualTo>
           <ogc:PropertyName>TOWN</ogc:PropertyName>
           <ogc:Literal>ACUSHNET</ogc:Literal>
          </ogc:PropertyIsEqualTo>
        </ogc:Filter>
        <PolygonSymbolizer>
            <Fill>
                <CssParameter name="fill">#03E0EE</CssParameter>
                <CssParameter name="fill-opacity">0.5</CssParameter>
            </Fill>
            <Stroke>
                <CssParameter name="stroke">#000000</CssParameter>
                <CssParameter name="stroke-width">2</CssParameter>
            </Stroke>
        </PolygonSymbolizer>
      </Rule>

Theo

------------------------------------------------------------------------
All-new Yahoo! Mail <http://us.rd.yahoo.com/evt=43256/*http://advision.webevents.yahoo.com/mailbeta&gt;\- Fire up a more powerful email and get things done faster.
------------------------------------------------------------------------

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users