<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><span id="result_box" lang="en"><span class="hps">Brent</span> <span class="hps">sorry</span> <span class="hps">but your</span> <span class="hps">solution doesn't work</span><span>:<br><br> <service name="feature_report" display="false" keep-others="true"><br> <url>php/feature_report.php</url><br> <input type="hidden" name="layers" value="edificio_c2_espacios/C2-ALBERT_EINSTEIN"/><br> <input type="hidden" name="src"/><br> <input type="hidden" name="DXF_TEXT"/><br> </service><br><br></span></span><span id="result_box" lang="en"><span class="hps">Still</span> <span class="hps">Appears</span> <span class="hps">error:<br></span></span><br><span id="result_box" lang="en"><span class="hps"><span id="ecxresult_box" lang="en"><span title="Pero sigue apareciendo error: ">Warning: mapObj::setExtent(): [MapServer Error]:
setExtent(): Given map extent is invalid. Check that it is
in the form: minx, miny, maxx, maxy<br>
in C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on
line 100<br>
Fatal error: Uncaught exception 'MapScriptException' in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php:100<br>
Stack trace:<br>
#0
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php(100): <b>mapObj->setExtent(0,
0, 0, 0)</b><br>
#1 {main}<br>
thrown in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line
100<br>
<br></span></span></span></span><span id="result_box" lang="en"><span class="hps"><span id="ecxresult_box" lang="en"><span title="Pero sigue apareciendo error: "><span id="result_box" lang="en"><span class="hps">I'm</span> <span class="hps">a little lost</span><span>, what</span> <span class="hps">is</span> <span class="hps">happening?<br><br><br></span></span></span></span></span></span><div><hr id="stopSpelling">Date: Tue, 2 Jun 2015 07:35:29 -0600<br>From: bfraser@geoanalytic.com<br>To: nando_gcia@hotmail.com; geomoose-users@lists.osgeo.org<br>Subject: Re: [Geomoose-users] Feature Report error with Identify Tool<br><br>
The errors mean that the shape/feature is not found, so the extents
are not valid and the shape/feature has no values.<br>
<br>
Change your feature _report service in your mapbook.xml <small>to</small>:<br>
<br>
<tt> <service name="feature_report" display="false"
keep-others="true"></tt><tt><br>
</tt><tt> <url>php/feature_report.php</url></tt><tt><br>
</tt><tt> <input type="hidden" name="layers"
value="lmic/fsa"/></tt><tt><br>
</tt><tt> <input type="hidden" name="src"/></tt><tt><br>
</tt><tt> <input type="hidden" name="</tt><tt><span id="ecxresult_box" lang="en"><span style="" title="Increiblemente el primer error ha desaparecido con sólo poner en mayúsculas el campo dfx_text en el fichero identify.html: "><font style="font-size:16pt;" size="4"><b><small>DXF_TEXT</small></b></font></span></span>"/></tt><tt><br>
</tt><tt> </service></tt><br>
<br>
This will ensure the JavaScript that handles the service call will
send the DXF_TEXT value to the feature_report.php.<br>
<pre class="ecxmoz-signature">Best Regards,
Brent Fraser</pre>
<div class="ecxmoz-cite-prefix">On 6/2/2015 5:35 AM, Fernando wrote:<br>
</div>
<blockquote cite="mid:DUB120-W5033A9056576F68B8A3C7CF6B50@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr"><span id="ecxresult_box" lang="en"><span title="Gracias a todos por vuestras colaboraciones.">Thanks
all for your contributions. </span><span style="" title="Increiblemente el primer error ha desaparecido con sólo poner en mayúsculas el campo dfx_text en el fichero identify.html: ">Incredibly the first error has disappeared with only
capitalize the dfx_text field in identify.html file:<br>
<br>
<!-- MapServer Template --><br>
<tr bgcolor="#DEE5EB"><td
colspan="2"><b><u>ESPACIOS</u></b></tr><tr><br>
<td
align="right"><b>IDENTIFICADOR:</b></td><br>
<td>[dxf_text] <a
href="<a class="ecxmoz-txt-link-freetext" target="_blank">javascript:GeoMOOSE.startService('feature_report</a>', {'<font style="font-size:16pt;" size="4"><b>DXF_TEXT</b></font>'
: '[dxf_text]', 'src' :
'edificio_c2_espacios/C2-ALBERT_EINSTEIN'})">Report</a></td><br>
</tr><br>
<tr><br>
<td
align="right"><b>CONTENIDO:</b></td><br>
<td>[contenido]</td><br>
</tr><br>
<br>
</span></span><br>
<span id="ecxresult_box" lang="en"><span title="Pero sigue apareciendo error: ">But still appears error:<br>
<br>
Warning: mapObj::setExtent(): [MapServer Error]:
setExtent(): Given map extent is invalid. Check that it is
in the form: minx, miny, maxx, maxy<br>
in C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on
line 100<br>
Fatal error: Uncaught exception 'MapScriptException' in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php:100<br>
Stack trace:<br>
#0
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php(100): <b>mapObj->setExtent(0,
0, 0, 0)</b><br>
#1 {main}<br>
thrown in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line
100<br>
<br>
</span></span><span id="ecxresult_box" lang="en"><span title="La línea 100 del fichero dice: ">Line 100 of the file says:<br>
$mapObj->setExtent($shape->bounds->minx,$shape->bounds->miny,$shape->bounds->maxx,$shape->bounds->maxy);<br>
<br>
</span></span><span id="ecxresult_box" lang="en"><span title="pero si yo cambio dicha fila manualmente de manera fija al extend inicial: ">but if I change that row so manually for example set to
the initial extend:</span></span><br>
$mapObj->setExtent(358836,4186265,359163,4186624);<br>
<br>
<span id="ecxresult_box" lang="en"><span title="El error desaparece, y por fin se carga la ventana emergente con las 3 opciones: ">The error disappears, and finally load the popup with the
3 options:<br>
<br>
</span><span title="View in a new Window/Tab ">View in a new Window / Tab<br>
</span><span title="Download ">Download<br>
</span><span title="Close this Window ">Close this Window<br>
<br>
</span><span title="pero también aparecen los siguientes errores: ">but the more errors appear then:</span></span><br>
<br>
Warning: Invalid argument supplied for foreach() in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line 128<br>
Warning: Invalid argument supplied for foreach() in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line 128<br>
Warning: Invalid argument supplied for foreach() in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line 128<br>
Warning: Invalid argument supplied for foreach() in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line 128<br>
Warning: Invalid argument supplied for foreach() in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line 128<br>
Warning: Invalid argument supplied for foreach() in
C:\ms4w\apps\geomoose2\htdocs\php\feature_report.php on line 128<br>
<results><script>GeoMOOSE.download("print_14332443998300","pdf");</script><html></html></results><br>
<br>
<span id="ecxresult_box" lang="en"><span title="¿Porqué se produce el error en la línea 100 del fichero feature_report.php?">Why
the error occurs on line 100 of feature_report.php file?</span></span><br>
</div>
</blockquote>
<br></div> </div></body>
</html>