[GRASSLIST:3303] Re: How to create dig_att files?

Eric G. Miller egm2 at jps.net
Wed Mar 6 20:21:09 EST 2002


On Thu, Mar 07, 2002 at 11:32:51AM +1100, Gordon Keith wrote:
> I've got some areas defined in a MapInfo table that I want to use for 
> getting statistics out a grass raster. 
> 
> I've got the MapInfo .mif files, v.in.mif doesn't work so I've copied 
> and edited the files to the format the v.in.ascii will accept.
> 
> The regions import OK, (they plot fine using d.vect), v.support 
> option=edit lets me define categories; but v.support option=build 
> creates an empty dig_att file.
> 
> v.to.rast creates an empty raster.
> 
> I assume from the documentation that the problem is that the dif_att 
> file is empty. The documentation for v.support indicates it should 
> populate the file but it doesn't.
> 
> Where do I go from here? Do I manually create the dig_att file, if so 
> is the format documented anywhere?

There's a utility called v.alabel that will create the dig_att file.
It's recently been updated in CVS to also create a dig_cats file.
I think the version that's out there should work for you, you just
won't get a label with the category numbers.

-- 
Eric G. Miller <egm2 at jps.net>



More information about the grass-user mailing list