Hi all,
I've a grid of adjacent polygons which I want to be rendered by GeoServer. But it seems that the rendering process creates light borders between those polygons.
I just stumbled upon an example in the SLD Cookbook:
http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/polygons.html (Look for the "Simple polygon" paragraph)
This page even gives an explanation to these borders: "The light-colored borders around the polygons in the figure are artifacts of the renderer caused by the polygons being adjacent. There is no border in this style."
Is it possible to get rid of these borders?
Thanks in advance
Jens Weintraut
--
cismet GmbH
Jens Weintraut, B.Sc.
IT Park Saar - Gebäude D2
Altenkesseler Straße 17 - D2
66115 Saarbrücken
email: jens.weintraut@anonymised.com
phone/fax: 0700 cismet de (0700 247638 33)
web: http://www.cismet.de
On Fri, Oct 19, 2012 at 7:44 AM, Jens Weintraut <jens.weintraut@anonymised.com.5170…> wrote:
Hi all,
I’ve a grid of adjacent polygons which I want to be rendered by
GeoServer. But it seems that the rendering process creates light borders
between those polygons.
I just stumbled upon an example in the SLD Cookbook:
http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/polygons.html
(Look for the “Simple polygon” paragraph)
This page even gives an explanation to these borders: “The light-colored
borders around the polygons in the figure are artifacts of the renderer
caused by the polygons being adjacent. There is no border in this style.”
Is it possible to get rid of these borders?
Add a stroke in the sld with the same color as the polygon fill
Cheers
Andrea
–
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
Forgot to mention that: I already had this idea. But I use Interpolate to fill the polygon, so this won't work as I can't apply the interpolation to the stroke.
Regards
Jens
Am 19.10.2012 12:50, schrieb Andrea Aime:
On Fri, Oct 19, 2012 at 7:44 AM, Jens Weintraut
<jens.weintraut@anonymised.com <mailto:jens.weintraut@anonymised.com>> wrote:
Hi all,
I've a grid of adjacent polygons which I want to be rendered by
GeoServer. But it seems that the rendering process creates light borders
between those polygons.
I just stumbled upon an example in the SLD Cookbook:
http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/polygons.html
(Look for the "Simple polygon" paragraph)
This page even gives an explanation to these borders: "The light-colored
borders around the polygons in the figure are artifacts of the renderer
caused by the polygons being adjacent. There is no border in this
style."
Is it possible to get rid of these borders?
Add a stroke in the sld with the same color as the polygon fill
Cheers
Andrea
--
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
Okay. Forget my last mail. This really works 
<!-- snip
<CssParameter name="stroke">
<ogc:Function name="Interpolate">
--> snip
Thanks
Jens
Am 19.10.2012 12:50, schrieb Andrea Aime:
On Fri, Oct 19, 2012 at 7:44 AM, Jens Weintraut
<jens.weintraut@anonymised.com <mailto:jens.weintraut@anonymised.com>> wrote:
Hi all,
I've a grid of adjacent polygons which I want to be rendered by
GeoServer. But it seems that the rendering process creates light borders
between those polygons.
I just stumbled upon an example in the SLD Cookbook:
http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/polygons.html
(Look for the "Simple polygon" paragraph)
This page even gives an explanation to these borders: "The light-colored
borders around the polygons in the figure are artifacts of the renderer
caused by the polygons being adjacent. There is no border in this
style."
Is it possible to get rid of these borders?
Add a stroke in the sld with the same color as the polygon fill
Cheers
Andrea
--
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------