From 691e5d2bf4d39f04c9f4f18c405380280a1246a1 Mon Sep 17 00:00:00 2001 From: mapz-sdu Date: Mon, 11 Feb 2019 16:18:25 +0100 Subject: [PATCH] Fix line-pattern --- builder/mapnik/serialize.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/mapnik/serialize.go b/builder/mapnik/serialize.go index 75e8f5e..30ff722 100644 --- a/builder/mapnik/serialize.go +++ b/builder/mapnik/serialize.go @@ -286,7 +286,7 @@ func (m *Map) newRule(r mss.Rule) *Rule { } result.Filter = fmtFilters(r.Filters) - prefixes := mss.SortedPrefixes(r.Properties, []string{"line-", "polygon-", "polygon-pattern-", "text-", "shield-", "marker-", "point-", "building-", "raster-"}) + prefixes := mss.SortedPrefixes(r.Properties, []string{"line-", "line-pattern-", "polygon-", "polygon-pattern-", "text-", "shield-", "marker-", "point-", "building-", "raster-"}) for _, p := range prefixes { r.Properties.SetDefaultInstance(p.Instance)