[GRASS-user] SOLVED Determining number of overlapping features per location after import of shape file

Markus Neteler neteler at osgeo.org
Tue Jun 24 08:21:07 EDT 2008


On Tue, Jun 24, 2008 at 12:28 PM, Rainer M Krug <r.m.krug at gmail.com> wrote:
> Hi
>
> I managed to solve it:

great!

>    v.in.ogr dsn=./shp/ layer=fireHistory output=fireHistory
>    v.category input=fireHistory output=tmpFire
>    v.db.addtable map=tmpFire table=tmpFire_2 layer=2 columns='num,int'
>    v.to.db map=tmpFire layer=2 qlayer=1 option=query col=num
> qcol='count(*)' type=centroid
>
> finally I can export it to a raster layer:
>     v.to.rast input=tmpFire layer=2 output=mf use=attr column=num --overwrite
>
> Could the code on the website
> http://grass.osgeo.org/screenshots/vector.php please be updated, as it
> is not working under grass 6.3 and less commands are necessary?

I have indicated the GRASS verison there.

> Is there a WIKI to which I could upload the code?

I have created a new FAQ:
http://grass.osgeo.org/wiki/Vector_Overlapping_Areas

List of FAQs:
http://grass.osgeo.org/wiki/Category:FAQ

Feel free to modify, rewrite, ... :)

Markus


More information about the grass-user mailing list