<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
Thanks for finding out these issues.<br>
<br>
I just fixed the choroplethDataFromCurrentBoundingBox = true issue in
CVS. If you're using it, you can either update your CW3 or remove line
271 in
ClientGeostat.php<br>
<br>
The following patch fixes the "blank shapes" issue. It will be
committed by the end of the day.<br>
<br>
Regards,<br>
Damien<br>
<br>
<br>
<tt>### Eclipse Workspace Patch 1.0<br>
#P cartoweb3_HEAD<br>
Index: plugins/geostat/client/ClientGeostat.php<br>
===================================================================<br>
RCS file:
/var/lib/cvs/projects/cw3/cartoweb3/plugins/geostat/client/ClientGeostat.php,v<br>
retrieving revision 1.12<br>
diff -u -r1.12 ClientGeostat.php<br>
--- plugins/geostat/client/ClientGeostat.php 31 Jul 2008 09:12:28
-0000 1.12<br>
+++ plugins/geostat/client/ClientGeostat.php 31 Jul 2008 09:29:58
-0000<br>
@@ -110,11 +110,13 @@<br>
*/<br>
public function createSession(MapInfo $mapInfo,<br>
InitialMapState $initialMapState) {<br>
+<br>
$this->geostatClientState = new GeostatClientState();<br>
$this->geostatClientState->choroplethParams = <br>
new GeostatChoropleth();<br>
<br>
- $this->geostatClientState->choroplethParams->bbox =
new Bbox();<br>
+ $this->geostatClientState->choroplethParams->bbox = <br>
+ $initialMapState->location->bbox;<br>
<br>
$this->geostatClientState->choroplethParams->classificationMethod
=<br>
$this->getConfig()->choroplethClassifMethodDefault;<br>
</tt><br>
<br>
<br>
<br>
Albert Casanovas wrote:
<blockquote cite="mid:001a01c8f289$d805cfc0$2704000a@k2sistemas.com.br"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.6000.16674" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Hi,</font></div>
<div> </div>
<div><font face="Arial" size="2">In the demoGeostat.php, seems to
lack some parts of the image without painting when doing a Full Extent,
we have tested it on the one in the web site (<a moz-do-not-send="true"
href="http://www.cartoweb.org/demos/demoGeostat.php">http://www.cartoweb.org/demos/demoGeostat.php</a>)
and the problem is the same, you have to follow the following sequence:</font></div>
<div> </div>
<div><font face="Arial" size="2">1. Do a close zoom and from there
apply a Choropleth.</font></div>
<div><font face="Arial" size="2">2. Do zoom out or Full extent and
some of the regions will appear white.</font></div>
<div> </div>
<div><font face="Arial" size="2">We checked the parameter <i><font
face="Courier" size="2">choroplethDataFromCurrentBoundingBox </font></i>which
is set to false, so apparently is correct. </font></div>
<div><font face="Arial" size="2">Another problem was when we change
this parameter to true, produces an error:</font></div>
<div> </div>
<div>1<br>
<strong>Fatal error</strong>: Uncaught exception
'CartocommonException' with message 'Error [2, Cannot modify header
information - headers already sent by (output started at
C:\ms4w\apps\cartoweb3\projects\agroGeo\plugins\geostat\client\ClientGeostat.php:295),
C:\ms4w\apps\cartoweb3\client\FormRenderer.php, 460] Backtrace: file:
UNKNOWN - UNKNOWN call: Common::cartowebErrorHandler(2, "Cannot modify
header information - headers already sent by (outp...",
"C:\ms4w\apps\cartoweb3\client\FormRenderer.php", 460, Array(1)) file:
460 - C:\ms4w\apps\cartoweb3\client\FormRenderer.php call:
header("HTTP/1.1 500 Internal Server Error") file: 1267 -
C:\ms4w\apps\cartoweb3\client\Cartoclient.php call:
FormRenderer->showFailure(Object(CartocommonException)) file: 33 -
C:\ms4w\apps\cartoweb3\htdocs\client.php call: Cartoclient->main()
file: 3 - C:\ms4w\apps\cartoweb3\htdocs\agroGeo.php call:
require_once("C:\ms4w\apps\cartoweb3\htdocs\client.php") ' in
C:\ms4w\apps\cartoweb3\common\Common.php:301 Stack trace: #0 [internal
function]: Common::cartow in <strong>C:\ms4w\apps\cartoweb3\common\Common.php</strong>
on line <strong>301</strong></div>
<div><strong></strong> </div>
<div><strong></strong> </div>
<div><strong>Regards,</strong></div>
<div><strong>Albert</strong></div>
<div><strong></strong> </div>
<div> </div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Cartoweb-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/cartoweb-users">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<style>
<!--
.signature {
font-family:verdana,helvetica,sans-serif;
font-size:0.8em;
line-height: 1.25em;
color: #9999BB;
width: 27em;
}
.signature div {
padding: 0.22em;
margin-bottom: 0.5em;
margin-top: 0.5em;
border-bottom: 1px dotted lightgray;
background-color: #FCFCFF;
}
.signature .attention {
background-color: #FFFAFA;
color: #FFBBBB;
font-size: 0.8em;
font-weight: bold;
}
.header {
}
-->
</style>
<div class="signature">
<div> <span style="font-weight: bold;">Camptocamp SA</span><br>
Damien Corpataux<br>
PSE A<br>
CH-1015 Lausanne<br>
</div>
<div> +41 21 619 10 22 <span class="header">(Direct)</span><br>
+41 21 619 10 10 <span class="header">(Centrale)</span><br>
+41 21 619 10 00 <span class="header">(Fax)</span><br>
</div>
<div style="color: rgb(102, 204, 102);"> <span
style="position: relative; top: -3px; font-family: Webdings; font-size: 24pt;">P</span>
<span style="">Please consider the environment <br>
Do you really need to print this email?</span>
</div>
</div>
</div>
</body>
</html>