[Cartoweb-users] Geostatistics with Postgres

Albert Casanovas casanovas at k2sistemas.com.br
Tue May 27 15:32:18 EDT 2008

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


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,

  ----- Original Message ----- 
  From: Oliver Christen 
  To: Albert Casanovas ; cartoweb-users at lists.maptools.org 
  Sent: Friday, May 23, 2008 5:45 AM
  Subject: Re: [Cartoweb-users] Geostatistics with Postgres


  im sorry but this is not implemented yet.

    ----- Original Message ----- 
    From: Albert Casanovas 
    To: cartoweb-users at lists.maptools.org 
    Sent: Tuesday, May 20, 2008 6:14 PM
    Subject: [Cartoweb-users] Geostatistics with Postgres


    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:


    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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080527/f313395f/attachment.html

More information about the Cartoweb-users mailing list