[Cartoweb-users] Geostatistics with Postgres

Damien Corpataux damien.corpataux at camptocamp.com
Wed May 28 04:44:38 EDT 2008


Hi Albert,

So far, the whichShapes() method belongs to the LayerObj
(http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class/classes/layerobj).

Regards,
Damien


Albert Casanovas wrote:
> Thanks Oliver,
>  
> 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:
>  
> - Configuration file geostat.ini with the information of the database
> for the connection.
>  
> - Parsing of the geostat.ini file in the method getConfLayers() of the
> server/ServerGeostat.php file
>  
> - Distribution for the requested layer and attribute in the method
> getDistribFromSpatialData($layer, $attrib) of the
> server/ServerGeostat.php file
>  
> At the moment I am in this third step and I would like to ask about
> the whichShapes method in this line
>  
> $msLayer->whichShapes($rect);
>  
> I cannot find where is this is any method implemented in any library
> of the mapObject.
>  
>  
> Do you have any suggestion about doing this implementation?
>  
> Best Regards,
> Albert
>  
>
>     ----- Original Message -----
>     *From:* Oliver Christen <mailto:oliver.christen at camptocamp.com>
>     *To:* Albert Casanovas <mailto:casanovas at k2sistemas.com.br> ;
>     cartoweb-users at lists.maptools.org
>     <mailto:cartoweb-users at lists.maptools.org>
>     *Sent:* Friday, May 23, 2008 5:45 AM
>     *Subject:* Re: [Cartoweb-users] Geostatistics with Postgres
>
>     Hi
>      
>     im sorry but this is not implemented yet.
>      
>     regards
>     Oliver
>
>         ----- Original Message -----
>         *From:* Albert Casanovas <mailto:casanovas at k2sistemas.com.br>
>         *To:* cartoweb-users at lists.maptools.org
>         <mailto:cartoweb-users at lists.maptools.org>
>         *Sent:* Tuesday, May 20, 2008 6:14 PM
>         *Subject:* [Cartoweb-users] Geostatistics with Postgres
>
>         Hi,
>          
>         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:
>          
>         www.cartoweb.org/demos/*demoGeostat*.php
>         <http://www.cartoweb.org/demos/demoGeostat.php>
>          
>         Which modifications should I do to the pluguin in order to
>         allow it to take the values from a database?
>         Can I have the map in a shapefile and its information in
>         the database?
>          
>          
>         Thanks a lot,
>         Albert Casanovas 
>
>         ------------------------------------------------------------------------
>         _______________________________________________
>         Cartoweb-users mailing list
>         Cartoweb-users at lists.maptools.org
>         http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>   


-- 
Camptocamp SA
Damien Corpataux
PSE A
CH-1015 Lausanne
+41 21 619 10 22 (Direct)
+41 21 619 10 10 (Centrale)
+41 21 619 10 00 (Fax)
P Please consider the environment
Do you really need to print this email?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080528/155ea79f/attachment-0001.html


More information about the Cartoweb-users mailing list