[GRASS-dev] [GRASS GIS] #2024: r.li.setup generates incomplete r.li conf file

GRASS GIS trac at osgeo.org
Fri Feb 7 00:03:02 PST 2014


#2024: r.li.setup generates incomplete r.li conf file
------------------------+---------------------------------------------------
 Reporter:  matmar      |       Owner:  rashadkm           
     Type:  defect      |      Status:  assigned           
 Priority:  normal      |   Milestone:  6.4.4              
Component:  Raster      |     Version:  svn-releasebranch64
 Keywords:  r.li.setup  |    Platform:  Linux              
      Cpu:  x86-64      |  
------------------------+---------------------------------------------------

Comment(by hamish):

 I continued with (many) fixes for r.li.setup today in devbr6, it should
 work a lot better now. There are many options and I didn't test them all,
 but hopefully the basics are working now.

 I notice that sometimes duplicate entries end up in the config file, not
 sure why.

 With the North Carolina dataset I've been testing with landuse96_28m,
 zipcodes_wake, and firestations as the map inputs.

 I didn't try any processing, only r.li.setup.

 I added automatic prefixes to the mask map names in a number of places to
 make it easy to use g.mremove to cleanup, etc.

 For the "overlay vector" I added some text on the display to show you how
 many area categories there are and how many you've done, and a button to
 stop the yes/no dialog when you are done (in case you selected a vector
 with hundreds of areas). The raster mask name is now preseeded as
 "InputMapname_CatNumber".

 I'm not sure about the free()s, need to test with a single worker and with
 many to make sure there are no double-frees.


 give it a try :)

 regards,
 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2024#comment:25>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list