Is possible to create a GeoServer layer style so that gridlines (black lines in the image) of the gridset would be visible? Update1: trying to achieve following view (red lines represent black gridlines in the first image) using only layer style options.
-
1Can you elaborate more what you want to do and what you tried?– artwork21Commented Dec 25, 2017 at 14:16
-
1Don't fill the polygons?– Ian TurtonCommented Dec 25, 2017 at 20:22
-
Do you have the data that needs to be styled as Gridlines? or do you want the SLD to add Gridlines automatically on top of your data?– Devdatta TengsheCommented Dec 26, 2017 at 5:25
-
SLD to add Gridlines on top of my data.– user435421Commented Dec 26, 2017 at 11:10
Add a comment
|
1 Answer
There is not style to generate on the fly a regular grid. What you can do is:
- Create a grid using whatever tool you want (last time I needed one I've used How to create a regular polygon grid in PostGIS?)
- Load it as a layer and style it as a simple line (only stroke, no fill)