[GRASS-dev] Re: [GRASS-user] Compiling grass 6.2.1: i.class error

Glynn Clements glynn at gclements.plus.com
Fri Mar 16 09:15:59 EDT 2007


Hamish wrote:

> > OTOH, I'm not aware of anything in xganim which couldn't be done as
> > easily (and quickly) by a script which combines r.out.ppm, pnmcat, and
> > mplayer.
> 
> what about the tcl replacement for xganim you already hacked together?
>   http://article.gmane.org/gmane.comp.gis.grass.devel/9710

I don't know whether that meets the "quickly" criterion. In that
message, I wrote:

> It probably has a few bugs, but right now I'm interested in whether
> or not it's fast enough to be used. It's quite a lot slower than
> xganim.

I never did get any response.

Actually, a script using r.out.ppm, pnmcat and mplayer might add some
I/O overhead, but that's likely to be less significant, given that
xganim is limited to the amount of data which can be held in memory.

If a monolithic C application is required, you realistically need a UI
toolkit, and I'm not sure that any of the alternatives are a
significantly better choice than Motif (Athena also seems to be
treated as an "add-on" nowadays; you can't rely upon it being
installed along with the rest of X).

OTOH, GTK has the advantage of native Windows and MacOSX ports (I
don't know how stable the native MacOSX version is, but the Windows
version is perfectly usable).

> > I'm not sure what r.digit can do that GIMP + r.in.ppm can't.
> 
> seamless georeferencing?

I'm not sure that's an issue; presumably, you are going to be drawing
over an existing map, in which case you can use "r.region rast=..." to
align the new map with the original.

> not a PITA to use?

I can't see how anything could be more of a PITA than something built
using terminal I/O and libraster.

> Set cat + label for each new feature?

The category is just the colour number (obviously, you would use a
paletted image); you would have to set the labels separately, though.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list