Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Advanced Cartographic Map Rendering in GeoServer

2,122 views

Published on

Various software can style maps and generate a proper SLD document for OGC compliant WMS like GeoServer to use. However, in most occasions, the styling allowed by the graphical tools is pretty limited and not good enough to achieve good looking, readable and efficient cartographic output. For those that like to write their own styles CSS also represents a nice alternatives thanks to its compact-ness and expressiveness.
Several topics will be covered, providing examples in both SLD and CSS for each, including: mastering multi-scale styling, using GeoServer extensions to build common hatch patterns, line styling beyond the basics, such as cased lines, controlling symbols along a line and the way they repeat, leveraging TTF symbol fonts and SVGs to generate good looking point thematic maps, using the full power of GeoServer label lay-outing tools to build pleasant, informative maps on both point, polygon and line layers, including adding road plates around labels, leverage the labelling subsystem conflict resolution engine to avoid overlaps in stand alone point symbology, blending charts into a map, dynamically transform data during rendering to get more explicative maps without the need to pre-process a large amount of views. The presentation aims to provide the attendees with enough information to master SLD/CSS documents and most of GeoServer extensions to generate appealing, informative, readable maps that can be quickly rendered on screen.

Published in: Technology

Advanced Cartographic Map Rendering in GeoServer

  1. 1. Advanced cartographic map rendering in GeoServer Ing. Andrea Aime Ing. Simone Giannecchini GeoSolutions
  2. 2. GeoSolutions  Founded in Italy in late 2006  Expertise • Image Processing, GeoSpatial Data Fusion • Java, Java Enterprise, C++, Python • JPEG2000, JPIP, Advanced 2D visualization  Supporting/Developing FOSS4G projects  GeoServer, MapStore  GeoNetwork, GeoNode, Ckan  Clients  Public Agencies  Private Companies  http://www.geo-solutions.it FOSS4G-EU 2015, Como 14th-17th July 2015
  3. 3. Hatches, patterns, dynamic symbols FOSS4G-EU 2015, Como 14th-17th July 2015
  4. 4. Filling with patterns FOSS4G-EU 2015, Como 14th-17th July 2015
  5. 5. Hatches FOSS4G-EU 2015, Como 14th-17th July 2015
  6. 6. Hatches shape://vertiline shape://slash shape://plus shape://times shape://backslash shape://horline FOSS4G-EU 2015, Como 14th-17th July 2015
  7. 7. Using TTF fonts as marks FOSS4G-EU 2015, Como 14th-17th July 2015
  8. 8. Using TTF fonts as marks FOSS4G-EU 2015, Como 14th-17th July 2015
  9. 9. Dynamic arrow symbol FOSS4G-EU 2015, Como 14th-17th July 2015
  10. 10. Expressions in external graphic FOSS4G-EU 2015, Como 14th-17th July 2015
  11. 11. Expressions in external graphics FOSS4G-EU 2015, Como 14th-17th July 2015
  12. 12. Wind barbs FOSS4G-EU 2015, Como 14th-17th July 2015
  13. 13. Wind barbs + data FOSS4G-EU 2015, Como 14th-17th July 2015
  14. 14. Dashes FOSS4G-EU 2015, Como 14th-17th July 2015
  15. 15. Dashes FOSS4G-EU 2015, Como 14th-17th July 2015
  16. 16. Labeling FOSS4G-EU 2015, Como 14th-17th July 2015
  17. 17. Vendor options FOSS4G-EU 2015, Como 14th-17th July 2015
  18. 18. Point labels FOSS4G-EU 2015, Como 14th-17th July 2015
  19. 19. Line labels FOSS4G-EU 2015, Como 14th-17th July 2015
  20. 20. Polygon labels FOSS4G-EU 2015, Como 14th-17th July 2015
  21. 21. Label Obstacles FOSS4G-EU 2015, Como 14th-17th July 2015
  22. 22. Support for pre-laid-out labels FOSS4G-EU 2015, Como 14th-17th July 2015
  23. 23. Plates FOSS4G-EU 2015, Como 14th-17th July 2015
  24. 24. Raster styling FOSS4G-EU 2015, Como 14th-17th July 2015
  25. 25. Expressions in ColorMap  Standard ColorMapEntry accepts only static values  Not anymore (GS 2.8.0)  Useful with env function, picking values from the GetMap FOSS4G-EU 2015, Como 14th-17th July 2015 http://host:8080/geoserver/wms?REQUEST=GetMap&VERSION=1.0.0&... ...&ENV=low:10;medium:100;high:500
  26. 26. Native NODATA support  New in 2.8.0  Java Advanced Imaging does not have a concept of NODATA  Problem when doing interpolations  JAI-EXT  all operations we use rewrote to support NODATA and masks natively FOSS4G-EU 2015, Como 14th-17th July 2015
  27. 27. Hillshading incoming  The only part of SLD 1.0 we have never had support for  May be incoming in time for 2.8.0 in September FOSS4G-EU 2015, Como 14th-17th July 2015
  28. 28. Transformations FOSS4G-EU 2015, Como 14th-17th July 2015
  29. 29. Geometry transformations FOSS4G-EU 2015, Como 14th-17th July 2015
  30. 30. Geometry transformations FOSS4G-EU 2015, Como 14th-17th July 2015
  31. 31. Rendering transformations FOSS4G-EU 2015, Como 14th-17th July 2015
  32. 32. RT: value at single point FOSS4G-EU 2015, Como 14th-17th July 2015
  33. 33. RT: from raster to wind barbs FOSS4G-EU 2015, Como 14th-17th July 2015
  34. 34. Color blending and compositing FOSS4G-EU 2015, Como 14th-17th July 2015
  35. 35. Color blending and compositing FOSS4G-EU 2015, Como 14th-17th July 2015
  36. 36. Alpha compositing examples FOSS4G-EU 2015, Como 14th-17th July 2015
  37. 37. Color blending examples FOSS4G-EU 2015, Como 14th-17th July 2015
  38. 38. Compositing example FOSS4G-EU 2015, Como 14th-17th July 2015 destination-in
  39. 39. Compositing example FOSS4G-EU 2015, Como 14th-17th July 2015 multiply
  40. 40. Z-ordering FOSS4G-EU 2015, Como 14th-17th July 2015
  41. 41. What Z ordering today? FOSS4G-EU 2015, Como 14th-17th July 2015
  42. 42. Extensions in progress FOSS4G-EU 2015, Como 14th-17th July 2015 <VendorOption name=‘’order-by’’>level</VendorOption>
  43. 43. Cross layer z-ordering FOSS4G-EU 2015, Como 14th-17th July 2015 <VendorOption name=‘’order-group’’>linework</VendorOption>
  44. 44. That’s all folks! Questions? info@geo-solutions.it FOSS4G-EU 2015, Como 14th-17th July 2015

×