<div dir="ltr"><div>Hi Martin,</div><div><br></div><div>Here is the output of <a href="http://v.info">v.info</a>. I need to use PostGIS connection because I have to expose the results via web-service. The fact is that I multiple raster file for which I have to perform some simple mapalgebra, and then querry the results from them and expose them trough web services. Any suggestion for this?</div><div><br></div><div> +----------------------------------------------------------------------------+</div><div> | Name:            areasuit                                                  |</div><div> | Mapset:          lorenzo                                                   |</div><div> | Location:        prova                                                     |</div><div> | Database:        /home/lorenzo/grassData                                   |</div><div> | Title:                                                                     |</div><div> | Map scale:       1:1                                                       |</div><div> | Name of creator: lorenzo                                                   |</div><div> | Organization:                                                              |</div><div> | Source date:     Fri Nov 20 17:15:02 2015                                  |</div><div> | Timestamp (first layer): none                                              |</div><div> |----------------------------------------------------------------------------|</div><div> | Map format:      PostGIS (PostgreSQL)                                      |</div><div> | DB table:        public.areasuit                                           |</div><div> | DB name:         gis_1                                                     |</div><div> | Geometry column: geom                                                      |</div><div> | Feature type:    polygon                                                   |</div><div> | Topology:        pseudo (simple features)                                  |</div><div> |----------------------------------------------------------------------------|</div><div> |   Type of map: vettoriale (level: 2)                                       |</div><div> |                                                                            |</div><div> |   Number of points:       0               Number of centroids:  4002       |</div><div> |   Number of lines:        0               Number of boundaries: 4022       |</div><div> |   Number of areas:        4022            Number of islands:    4022       |</div><div> |                                                                            |</div><div> |   Map is 3D:              No                                               |</div><div> |   Number of dblinks:      1                                                |</div><div> |                                                                            |</div><div> |   Projection: Latitudine-Longitudine                                       |</div><div> |                                                                            |</div><div> |               N:  45:04:24.507374N    S:  45:03:03.227962N                 |</div><div> |               E:   7:40:23.868382E    W:   7:38:42.814094E                 |</div><div> |                                                                            |</div><div> |   Digitization threshold: 0                                                |</div><div> |   Comment:                                                                 |</div><div> |                                                                            |</div><div> +----------------------------------------------------------------------------+</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-20 17:33 GMT+01:00 Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
2015-11-20 17:28 GMT+01:00 Lorenzo Bottaccioli <<a href="mailto:lorenzo.bottaccioli@gmail.com">lorenzo.bottaccioli@gmail.com</a>>:<br>
> I'have created the vector with r.to.vect, before I have liked<br>
> v.exeternel.out to the PostGIS DB. If I run v.what.rast there is no problem<br>
> but I believe that the results are different.<br>
<br>
</span>OK, now I understand, v.what.rast operates on points/centoids,<br>
v.rast.stats on areas. There is something wrong with areas. Generally<br>
speaking I cannot suggest to use PostGIS links in GRASS for production<br>
work. Use native format instead.<br>
<div class="HOEnZb"><div class="h5"><br>
Ma<br>
<br>
--<br>
Martin Landa<br>
<a href="http://geo.fsv.cvut.cz/gwiki/Landa" rel="noreferrer" target="_blank">http://geo.fsv.cvut.cz/gwiki/Landa</a><br>
<a href="http://gismentors.cz/mentors/landa" rel="noreferrer" target="_blank">http://gismentors.cz/mentors/landa</a><br>
</div></div></blockquote></div><br></div>