[Chameleon-dev] [Bug 1440] New: Polygon ROI is not clipped properly when displayed in partial extent

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Sun Apr 23 12:35:21 EDT 2006


http://bugzilla.maptools.org/show_bug.cgi?id=1440

           Summary: Polygon ROI is not clipped properly when displayed in
                    partial extent
           Product: Chameleon
           Version: 2.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: mfyahya at gmail.com


If a polygon ROI is drawn and the user pans the map so that the ROI is partially
in extent, the ROI is not clipped correctly. This is noticeable as a change in
slope of the polygon edges that are not vertical or horizontal. 

This is caused by Geo2Pix function in ROIRenderer.php which simply sets a point
outside the extent to the maximum or minimum extent coordinate. I guess this
should be replaced by a function that finds a proper intersection between the
polygon ROI and the current map extent.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Chameleon-dev mailing list