[GRASSLIST:5884] Re: creating a building

H Bowman hamish_nospam at yahoo.com
Thu Mar 27 01:43:05 EST 2003


> This is a strange thing, but I am needing to create a polygon to 
> represent a building as a layer. I am doing some modeling and want to 
> just have the building represented. How do I create the shape so that 
> is accurately represented. It could also be just a point. Is there a 
> way to generate sites from a file with x,y data ascii data? or to 
> generate a poloygon that way?

Try making a v.in.ascii or a r.in.poly file by hand. See the respective
man pages for instructions, they aren't that hard. For point data, use
s.in.ascii - you'll need to use it with x,y,somelabel though.

Chapter 12.2.2 of "Open Source GIS: A GRASS GIS Approach" by Neteler &
Mitasova 2002 describes how to draw 3D buildings in NVIZ. (the general
gist is to use r.mapcalc to add the height of the roof to the DEM)


Hamish





More information about the grass-user mailing list