On Mon, Jun 18, 2001 at 11:59:47AM +0700, Justin Hickey wrote:
Hi Eric
"Eric G. Miller" wrote:
> I'm not sure where to put it in the cvs hierarchy.
Since this appears to be a program that does not link to any GRASS
libraries, it would be a candidate for the src/libes/tools directory.
However, it appears Markus has made a tools directory off the root CVS
directory. Perhaps we should merge these two "tools" directories but I'm
not sure which location is better.
Paradoxically enough, it does work as a standard GRASS module w/
G_parser interface (need libgis to query for the "GISBASE" path). So,
it could result in listing the interface to itself, along with the
others...
However, if an xml file for each command was dumped to a directory a
priori, then I could work up a non-GRASS specific program to do various
things. Perhaps that would be more useful?
I just realized about an hour ago that G_usage_xml() (in
libes/gis/parser.c) and the corresponding DTD (in src/gui) don't have
any representation for the "key_desc" Option member, nor for the
"gisprompt" Option member. Both should probably exist. So, eventually
a client using this info could validate inputs like coordinate pairs
(key_desc = "x,y") and or prompt for certain mapset "files" (like
tcltkgrass and nviz do...). I suppose both could be added as
optional attributes to the parameter element. Like:
<parameter name="map" type="string" required="yes" multiple="no"
gisprompt="old,cell,raster">
or
<parameter name="coord" type="float" required="yes" multiple="yes"
keydesc="x,y">
Anyway...
--
Eric G. Miller <egm2@jps.net>
From neteler Mon Jun 18 09:13:26 2001
Return-Path: <neteler>
Received: by hgeo02.geog.uni-hannover.de (SMI-8.6/SMI-SVR4)
id JAA13856; Mon, 18 Jun 2001 09:13:26 +0100
Date: Mon, 18 Jun 2001 09:13:07 +0100
From: Markus Neteler <neteler@geog.uni-hannover.de>
To: grass5 <grass5@geog.uni-hannover.de>
Subject: Re: [GRASS5] Re: Complete module list for GRASS-5?
Message-ID: <20010618091306.D27496@hgeo02.geog.uni-hannover.de>
Mail-Followup-To: grass5 <grass5@geog.uni-hannover.de>
References: <20010615105435.B24595@hgeo02.geog.uni-hannover.de> <Pine.LNX.4.33.0106150700370.12334-100000@salmo.appl-ecosys.com> <15146.11824.415569.962864@cerise.nosuchdomain.co.uk> <20010617170115.A16211@calico.local> <3B2D8AC3.5A0F5526@hpcc.nectec.or.th>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <3B2D8AC3.5A0F5526@hpcc.nectec.or.th>; from jhickey@hpcc.nectec.or.th on Mon, Jun 18, 2001 at 11:59:47AM +0700
Sender: grass5-admin@geog.uni-hannover.de
Errors-To: grass5-admin@geog.uni-hannover.de
X-BeenThere: grass5@geog.uni-hannover.de
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:grass5-request@geog.uni-hannover.de?subject=help>
List-Post: <mailto:grass5@geog.uni-hannover.de>
List-Subscribe: <http://www.geog.uni-hannover.de/mailman/listinfo/grass5>,
<mailto:grass5-request@geog.uni-hannover.de?subject=subscribe>
List-Id: GRASS 5 Developers mailing list <grass5.geog.uni-hannover.de>
List-Unsubscribe: <http://www.geog.uni-hannover.de/mailman/listinfo/grass5>,
<mailto:grass5-request@geog.uni-hannover.de?subject=unsubscribe>
List-Archive: <http://www.geog.uni-hannover.de/pipermail/grass5/>
Status: O
Content-Length: 650
Lines: 22
Hi,
On Mon, Jun 18, 2001 at 11:59:47AM +0700, Justin Hickey wrote:
Hi Eric
"Eric G. Miller" wrote:
> I'm not sure where to put it in the cvs hierarchy.
Since this appears to be a program that does not link to any GRASS
libraries, it would be a candidate for the src/libes/tools directory.
However, it appears Markus has made a tools directory off the root CVS
directory. Perhaps we should merge these two "tools" directories but I'm
not sure which location is better.
perhaps we keep both?
src/libes/tools/ -> GRASS source code related tools
/tools -> CVS maintenance tools
Other suggestions are welcome,
Markus