Opened 13 years ago

Closed 12 years ago

#3592 closed defect (duplicate)

Polygon hatch mismatch at tiles borders

Reported by: larissa Owned by: sdlime
Priority: normal Milestone: FUTURE
Component: MapServer C Library Version: 5.4
Severity: normal Keywords: tile, hatch, pattern
Cc:

Description

MapServer 5.4.2

The hatches of hatch filled polygons are not matching at tile borders.

Example: hatch_mismatch.jpg

It looks that the problem was already known, , it's already mentioned in MapServer RFC Documentation

http://mapserver.org/development/rfc/ms-rfc-45.html:

---

Polygon fill symbols

Give hatches and vector fills a stable geographical coordinate origin (0,0) to better support tiling and continuous rendering of neighboring polygons

---

Mapfile:

  LAYER
    …
    CONNECTIONTYPE POSTGIS
    NAME " eau_vie_poire"
    STATUS OFF
    TEMPLATE "ttt"
    TYPE POLYGON
    CLASS
      NAME "Eau-de-vie de poire du Valais (AOC)"
      EXPRESSION ([eig_code] = 2)
      STYLE
        ANGLE 360
        COLOR 0 0 255
        OUTLINECOLOR 0 0 255
        SIZE 10
        SYMBOL "downwarddiagonalfill"
        WIDTH 1
      END
    END
  END


Symbol file:

SYMBOL   
  NAME "downwarddiagonalfill"
  TYPE vector
  TRANSPARENT 0
  POINTS
    0 3
    3 0
  END   
END

Attachments (1)

hatch_mismatch.jpg (10.9 KB ) - added by larissa 13 years ago.
tiles hatch mismatch in polygons

Download all attachments as: .zip

Change History (2)

by larissa, 13 years ago

Attachment: hatch_mismatch.jpg added

tiles hatch mismatch in polygons

comment:1 by tbonfort, 12 years ago

Resolution: duplicate
Status: newclosed

fixed for 6.2 (see #3847)

Note: See TracTickets for help on using tickets.