[GRASS-user] Re: How to best access hundreds of orthophotos --
mapserver as WMS server?
Glynn Clements
glynn at gclements.plus.com
Mon Dec 17 12:09:44 EST 2007
Ivan Shmakov wrote:
> > Also the "for MAP in ``" method would need to be changed if there are
> > thousands of maps?
>
> I don't think so. Since the `for' command is internal to the
> Shell, there's no command line to be passed to any other
> process, and so there're no command line length limits in force.
>
> Still, using COMMAND | while read VARN ; do ...; done looks more
> clean to me.
The while/read approach saves keeping the list of maps in memory. Once
upon a time, that might have mattered; with modern systems, you would
need millions of maps before it became an issue.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list