Smathermather's Weblog

Remote Sensing, GIS, Ecology, and Oddball Techniques

Advanced Cartography in #GeoServer– #SLDs can make for very pretty maps

Posted by smathermather on May 10, 2012

I said it in the title, I’ll say it again, SLDs are not just for ugly maps.

I’ve heard from several professionals in this geospatial sector that CartoCSS is so cool– “look at the great cartography you can get out of it”. And, truth be told, creating a standard for cartography that aligns so well with existing web development standards is a brilliant way to get designers in on the map development process (as demonstrated aptly by e.g. Stamen), something sorely needed since Geography decided that cartographers weren’t needed anymore, some time in the late 90s/ early double aughts. That said, and at the risk of sounding parochial, beautiful maps can be produced using SLDs in GeoServer too. The below map is a snapshot from our GeoServer instance, and evolved from a set of cartographic conventions we’ve been developing in our shop, adapted in 4 hours by a darn smart part time employee (Tom Kraft) who had never built an SLD before.

Without further addo:

6 Responses to “Advanced Cartography in #GeoServer– #SLDs can make for very pretty maps”

  1. Nice example, thanks for sharing 🙂

  2. nextstopsun said

    SLDs are good for data-driven styling, raster colormaps, transformations but they’re such a bubble gum. Check out some nice maps (http://db.tt/2Yfr4qQU, http://db.tt/2Yfr4qQU, http://db.tt/2ZdupS7S) but I’ve spent ages for writing SLD. Carto CSS lacks such stuff yet, but it totally wins the drawing-order game. SLD ignores sorted row order in DB table (at least I haven’t found how to enable it), but it’s really a must when you sort by z_order. GeoServer CSS module isn’t of much help here, because it’s still an enormous SLD in the end. QGIS native SLD support will help a bit, haven’t tried it yet. So I’d like to vote for Carto CSS module for GeoServer and data-driven coolness in Carto. But thinking further this may be a matter of pairing java tools with c++ renderer – and that’s too hard:)

  3. Sam Pepple said

    What about both : The power and the usefulness of OGC standards coupled with the ease and efficacy of CSS. David Winslow has recently turned all of OpenGeo on to his great work. http://docs.geoserver.org/stable/en/user/community/css/index.html

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: