[Geoserver-devel] SLD cook book

I am writing new documentation for using SLD in GeoServer, and I'm looking to create an SLD "cook book" where various styles will be placed for easy reference. I am looking for suggestions of the types of styles that would be good to have in this list. I was thinking of dividing the list into "simple", "intermediate", and "advanced", although I recognize that that's a bit arbitrary, and perhaps might be better if I used other delimiters such as "point", "line", "polygon", "raster". Anyway, if you have any suggestions, either on specific styles to highlight (you don't need to post SLD code here if you don't want, just ideas) or in the structure of this cook book, please let me know. (Think: What would _you_ have liked to have seen when you were learning about SLD?)

Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org

There was a good discussion on the osgeo list about setting up a wiki with SLD examples.

Personally I would love to see a quick catalog with the following items:

  • visual (ie show what the result looks like)
  • snippet (highlight the xml fragment that makes the example special)
  • link (to the complete sld file)

It would be important to have the table of contents contain a thumbnail of each style.

I think I would find it easier to break up the subject by domain (ie what you are trying to renderer) rather than by simple/intermeditate/advanced). If you like you can organize each section along the lines of complexity; but the top level breakdown should be by domain.

You will often find that SLD examples are cumulative; the advanced examples are actually a small refinement of a previous simple example - as such you may find the subject matter naturally is organized into a progression from simple to advanced material.

Finally it would be very nice to have a final chapter covering extensions to SLD:

  • GeoServer has some very handy extensions that would be nice to document (label handling and dynamic symbols for example)
  • Symbology Encoding 1.1 is out and contains some additional concepts such as the use of ground units when supplying a buffer

It would also be handy in the catalog approach to document which applications the example works with (or which rendering engines if you are short on space).

Jody

On Sat, Mar 7, 2009 at 6:40 AM, Mike Pumphrey <mike@anonymised.com> wrote:

I am writing new documentation for using SLD in GeoServer, and I’m
looking to create an SLD “cook book” where various styles will be placed
for easy reference. I am looking for suggestions of the types of styles
that would be good to have in this list. I was thinking of dividing the
list into “simple”, “intermediate”, and “advanced”, although I recognize
that that’s a bit arbitrary, and perhaps might be better if I used other
delimiters such as “point”, “line”, “polygon”, “raster”. Anyway, if you
have any suggestions, either on specific styles to highlight (you don’t
need to post SLD code here if you don’t want, just ideas) or in the
structure of this cook book, please let me know. (Think: What would
you have liked to have seen when you were learning about SLD?)

Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org


Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Jody Garnett ha scritto:
...

Finally it would be very nice to have a final chapter covering extensions to SLD:
- GeoServer has some very handy extensions that would be nice to document (label handling and dynamic symbols for example)
- Symbology Encoding 1.1 is out and contains some additional concepts such as the use of ground units when supplying a buffer

I guess all of the core developers know about SE 1.1.
And it would be nice to implement it. But guess what, it's not small
task, so it requires someone that can spend one month on it.

As an aside, outside the OGC circles the most requested styling
feature is to actually get away from SLD and implement some support
for CSS map styling, similar to cascadenik:
http://mike.teczno.com/notes/cascadenik.html
The reasoning is simple and straightforward: to make a beautiful
map you need a designer, not a software developer eating xml
day-in day-out, and guess what, designed are used to css as their
mean of expression.

I guess this would make for a nice summer of code topic.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

If GeoServer is taking part in SoC this year it would be a good topic to list.

Jody

In case anyone is curious how this is coming along, please check out:

Mainly just the "points" section have been done. External artifacts (shapefiles/SLD files are not uploaded yet, but that'll be coming soon).

http://gridlock.openplans.org/geoserver/1.7.x/doc/user/styling/sld-cookbook/points.html

Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org

Mike Pumphrey wrote:

I am writing new documentation for using SLD in GeoServer, and I'm looking to create an SLD "cook book" where various styles will be placed for easy reference. I am looking for suggestions of the types of styles that would be good to have in this list. I was thinking of dividing the list into "simple", "intermediate", and "advanced", although I recognize that that's a bit arbitrary, and perhaps might be better if I used other delimiters such as "point", "line", "polygon", "raster". Anyway, if you have any suggestions, either on specific styles to highlight (you don't need to post SLD code here if you don't want, just ideas) or in the structure of this cook book, please let me know. (Think: What would _you_ have liked to have seen when you were learning about SLD?)

Thanks,
Mike Pumphrey
OpenGeo - http://opengeo.org

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel