[Chameleon-dev] [Bug 803] New: [Chameleon-Widget]Use of RoiFeatureTool widget is not working as expected

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Fri Oct 29 15:58:35 EDT 2004


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

           Summary: [Chameleon-Widget]Use of RoiFeatureTool widget is not
                    working as expected
           Product: Chameleon
           Version: 1.99
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: nsavard at dmsolutions.ca


Use of this widget generates PHP errors and broken image.

Steps to reproduce:

1.  Load " sample_roi.phtml" application
2.  Click on "Define an ROI by selecting an existing feature"
3.  Select a polygon on the "WorldGen_Outline" layer.
4.  PHP errors appear and a broken image in the map preview.

p.s.:  I changed the layer name from "land_fn" to "WorldGen_Outline" in
"tools_roi.html"


Fedora Core 2
Mozilla 1.6
Chameleon 20041022


------------
Broken image location:

http://127.0.0.1/nsavard/chameleon_beta//widgets/ROIManager/ROIRenderer.php?
sid=41829f059407d&blah=0.8508692793317439&width=500&height=250&type=feature&
mode=1&coords=-5.759999999999991,35.28&edgecolor=0000FF&
edgewidth=2&fillcolor=0000FF&fillopacity=25&selectedLayer=l0:WorldGen

--------------
Text appearing in the page pointed out by the broken image:

Notice: Use of undefined constant MS_PIXEL - assumed 'MS_PIXEL' in
/home/nsavard/proj/chameleon_beta/htdocs/widgets/ROIManager/ROIRenderer.php on
line 269

Notice: Undefined variable: bPoly in
/home/nsavard/proj/chameleon_beta/htdocs/widgets/ROIManager/ROIRenderer.php on
line 311

Warning: Cannot modify header information - headers already sent by (output
started at
/home/nsavard/proj/chameleon_beta/htdocs/widgets/ROIManager/ROIRenderer.php:269)
in /home/nsavard/proj/chameleon_beta/htdocs/widgets/ROIManager/ROIRenderer.php
on line 141
�PNG  IHDR�
----------------
PHP warnings:

[29-Oct-2004 15:44:52] PHP Notice:  Use of undefined constant MS_PIXEL - assumed
'MS_PIXEL' in
/home/nsavard/proj/chameleon_beta/htdocs/widgets/ROIManager/ROIRenderer.php on
line 269
[29-Oct-2004 15:44:52] PHP Notice:  Undefined variable:  bPoly in
/home/nsavard/proj/chameleon_beta/htdocs/widgets/ROIManager/ROIRenderer.php on
line 311
[29-Oct-2004 15:44:52] PHP Warning:  Cannot modify header information - headers
already sent by (output started at
/home/nsavard/proj/chameleon_beta/htdocs/widgets/ROIManager/ROIRenderer.php:269)
in /home/nsavard/proj/chameleon_beta/htdocs/widgets/ROIManager/ROIRenderer.php
on line 141
[29-Oct-2004 15:44:52] PHP Notice:  Use of undefined constant MS_PIXEL - assumed
'MS_PIXEL' in
/home/nsavard/proj/chameleon_beta/htdocs/widgets/ROIManager/ROIRenderer.php on
line 269
[29-Oct-2004 15:44:52] PHP Notice:  Undefined variable:  bPoly in
/home/nsavard/proj/chameleon_beta/htdocs/widgets/ROIManager/ROIRenderer.php on
line 311



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


More information about the Chameleon-dev mailing list