r.li

Introduction

r.li is a more flexible and faster replacement of the old r.le. It is currently under development: the main structure (client-server, multiprocess) is ready, and several modules are now working. Help would be appreciated in testing and developing new modules. Please find more details in the README and description.html files, now in GRASS source code.

A little tutorial for creating makefiles for your index

Assume that the name of new index is myIndex

  • create a folder called r.li.myIndex in your r.li source folder
  • insert the name of myIndex folder on Makefile in r.li folder, es:
 ##########FILE MAKE in r.li ####################
 MODULE_TOPDIR =../..
 PGM = r.li
 include $(MODULE_TOPDIR)/include/Make/Dir.make
 include $(MODULE_TOPDIR)/include/Make/Html.make
 #insert all subdirs AFTER r.li.daemon
 SUBDIRS = \
     r.li.daemon\
     r.li.patchdensity\
     r.li.setup \
     r.li.myIndex  <--------------- insert here
 default: subdirs htmldir
 clean: cleansubdirs
 ###########################################################
  • copy on myIndex folder the Makefile of r.li.patchdensity and modify it in this way

##############Make di r.li.[indice]######################

 MODULE_TOPDIR = ../../..
 PGM = r.li.myIndex <------ put here your index name
 LIBES = $(GISLIB) -L../r.li.daemon -lr_li
 DEPENDENCIES = $(GISDEP) ../r.li.daemon/libr_li.a
 include $(MODULE_TOPDIR)/include/Make/Module.make
 default: cmd
 ##########################################################

If you have other libraries put it on “LIBES= …” line, in the usual gcc way. NOTE: You have to use GRASS>=6.1, because our software can be insert only in this version.

Have fun! Davide

public/r_li.txt · Ultima modifica: 11.06.2009 08:09. da paolo
 
Ad eccezione da dove è diversamente indicato, il contenuto di questo wiki è soggetto alla seguente licenza: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki