From 57aa6dd05230876bf7c022d3554436e4d35de77f Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 28 Nov 2012 20:21:22 -0800 Subject: [PATCH] add serialization of line_symbolizer offset - closes #1562 --- src/save_map.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/save_map.cpp b/src/save_map.cpp index 5b330b5e7..95fbac3a3 100644 --- a/src/save_map.cpp +++ b/src/save_map.cpp @@ -98,6 +98,10 @@ public: { set_attr( sym_node, "rasterizer", sym.get_rasterizer() ); } + if ( sym.get_offset() != dfl.get_offset() || explicit_defaults_ ) + { + set_attr( sym_node, "offset", sym.get_offset() ); + } serialize_symbolizer_base(sym_node, sym); }