<!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">
Hi Albert,<br>
<br>
So far, the whichShapes() method belongs to the LayerObj
(<a class="moz-txt-link-freetext" href="http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class/classes/layerobj">http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class/classes/layerobj</a>).<br>
<br>
Regards,<br>
Damien<br>
<br>
<br>
Albert Casanovas wrote:
<blockquote cite="mid:006201c8c030$60003a50$1d04000a@k2sistemas.com.br"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.6000.16608" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Thanks Oliver,</font></div>
<div> </div>
<div><font face="Arial" size="2">I am working in the adaptation of
the geostat plugin to get the information from through SQL queries.
According to what I have analyzed, the modifications needed to be done
are:</font></div>
<div> </div>
<div><font face="Arial" size="2">- Configuration file geostat.ini
with the information of the database for the connection.</font></div>
<div> </div>
<div><font face="Arial" size="2">- Parsing of the geostat.ini file in
the method getConfLayers() of the server/ServerGeostat.php file</font></div>
<div> </div>
<div><font face="Arial" size="2">- Distribution for the requested
layer and attribute in the method getDistribFromSpatialData($layer,
$attrib) of the server/ServerGeostat.php file</font></div>
<div> </div>
<div><font face="Arial" size="2">At the moment I am in this third
step and I would like to ask about the whichShapes method in this line</font></div>
<div> </div>
<div><font face="Arial" size="2">$msLayer->whichShapes($rect);</font></div>
<div> </div>
<div><font face="Arial" size="2">I cannot find where is this is any
method implemented in any library of the mapObject.</font></div>
<div> </div>
<div> </div>
<div><font face="Arial" size="2">Do you have any suggestion about
doing this implementation?</font></div>
<div> </div>
<div><font face="Arial" size="2">Best Regards,</font></div>
<div><font face="Arial" size="2">Albert</font></div>
<div> </div>
<blockquote dir="ltr"
style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
<div
style="background: rgb(228, 228, 228) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>From:</b>
<a moz-do-not-send="true" title="oliver.christen@camptocamp.com"
href="mailto:oliver.christen@camptocamp.com">Oliver Christen</a> </div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
<a moz-do-not-send="true" title="casanovas@k2sistemas.com.br"
href="mailto:casanovas@k2sistemas.com.br">Albert Casanovas</a> ; <a
moz-do-not-send="true" title="cartoweb-users@lists.maptools.org"
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</a>
</div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Friday, May 23, 2008 5:45 AM</div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
Re: [Cartoweb-users] Geostatistics with Postgres</div>
<div><br>
</div>
<div>
<div><font size="2">Hi</font></div>
<div> </div>
<div><font size="2">im sorry but this is not implemented yet.</font></div>
<div> </div>
<div><font size="2">regards</font></div>
<div><font size="2">Oliver</font></div>
</div>
<blockquote
style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">-----
Original Message ----- </div>
<div
style="background: rgb(228, 228, 228) none repeat scroll 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>From:</b>
<a moz-do-not-send="true" title="casanovas@k2sistemas.com.br"
href="mailto:casanovas@k2sistemas.com.br">Albert Casanovas</a> </div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b>
<a moz-do-not-send="true"
title="cartoweb-users@lists.maptools.org"
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</a>
</div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b>
Tuesday, May 20, 2008 6:14 PM</div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b>
[Cartoweb-users] Geostatistics with Postgres</div>
<div><br>
</div>
<div><font face="Arial" size="2">Hi,</font></div>
<div> </div>
<div><font face="Arial" size="2">I would to know if there is
posible to get the values from a database instead a .dbf file in the
demoGeostat demo like is doing in the example:</font></div>
<div> </div>
<div><font face="Arial" size="2"><span class="a"><font
color="#008000"><a moz-do-not-send="true"
href="http://www.cartoweb.org/demos/demoGeostat.php">www.cartoweb.org/demos/<b>demoGeostat</b>.php</a></font></span></font></div>
<div> </div>
<div><font face="Arial" size="2">Which modifications should I do
to the pluguin in order to allow it to take the values from a database?</font></div>
<div><font face="Arial" size="2">Can I have the map in a
shapefile and its information in the database?</font></div>
<div> </div>
<div> </div>
<div><font face="Arial" size="2">Thanks a lot,</font></div>
<div><font face="Arial" size="2">Albert Casanovas</font> </div>
<p> </p>
<hr> _______________________________________________<br>
Cartoweb-users mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/cartoweb-users">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br>
</blockquote>
</blockquote>
<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>