[GRASS-user] Vectorise a raster file

Jachym Cepicky jachym.cepicky at centrum.cz
Sat May 13 10:31:17 EDT 2006


Hi,

On Sat, May 13, 2006 at 03:18:59PM +0200, Yves Jacolin wrote:
> Hi,
> I created a raster with the visiblity function, and I wanted to vectorise it. 
> I used v.to.vect but the result it is not good because there are holes in 

did you mean 
    
    r.to.vect ?

    r.null map=los null=0
    r.mapcalc los="if(los)"
    r.to.vect in=los out=los feature=area
    v.out.ogr in=los dsn=los olayer=los type=area
    
     
> area that are fill by color (and have to be empty). I try to use mapcalc to 
> remove all bad area, i try to remove it by db.execute but, if I list value, I 
> have for all item value=1 but if I try to display the vector using this sql 
> statement : value=1, the vector is correctly displaying ! If I export it in 
> shp the vector is not correct !
> 
> To explain the problem, I try to calculate area where we can connect to a wifi 
> ADSL connection. using aerial datas and SRTM90 usign r.los function.
> If the elevation is upper than the aerial, signal is stoped ! So I have to get 
> holes in area (My location is somewhere in the French alpes).
> 
> If you have an idea ...
> 
> Y. 
>  
> Yves Jacolin
> -------------
> http://yjacolin.gloobe.org
> http://softlibre.gloobe.org
> 
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser

-- 
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------   
OFFICE:                                     
GDF-Hannover
Mengendamm 16d
30177 Hannover
Germany
e-mail: cepicky at gdf-hannover.de
URL:    http://gdf-hannover.de
Tel.:   +49 511-39088507
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20060513/b6c74758/attachment.bin


More information about the grass-user mailing list