diff --git a/src/grid/process_line_pattern_symbolizer.cpp b/src/grid/process_line_pattern_symbolizer.cpp index 91b1f2a6b..347606475 100644 --- a/src/grid/process_line_pattern_symbolizer.cpp +++ b/src/grid/process_line_pattern_symbolizer.cpp @@ -85,7 +85,9 @@ void grid_renderer::process(line_pattern_symbolizer const& sym, ras_ptr->reset(); - std::size_t stroke_width = mark->width(); + line_pattern_enum pattern = get(sym, feature, common_.vars_); + std::size_t stroke_width = (pattern == LINE_PATTERN_WARP) ? mark->width() : + get(sym, feature, common_.vars_); agg::trans_affine tr; auto transform = get_optional(sym, keys::geometry_transform);