Ticket #3119 (closed defect: fixed)
msComputeBounds produces incorrect results when first shape has zero lines
| Reported by: | mchapman87501 | Owned by: | sdlime |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.6.6 release |
| Component: | MapServer C Library | Version: | 5.4 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When rendering vector layers, msClipPolygonRect may yield shapes containing lines which have zero points. When a zero-point line occurs as the first line in a shape, msComputeBounds does not correctly compute the bounds of the shape.
This problem may manifest as a partially-filled map region when using e.g. the AGG/PNG driver.
I'll try to attach a test script which demonstrates the problem using shp2img, and also a patch for mapprimitive.c.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

