[GRASS-dev] Need to update g.setproj

Michael Barton michael.barton at asu.edu
Thu Sep 28 00:49:11 EDT 2006


G.setproj is a critical GRASS module because it is the primary way to create
new locations that GRASS must have to run.

However, because it requires an interactive x-terminal, g.setproj will not
work with the native winGRASS. It will not work with a non-x11 aqua Mac
GRASS. Nor will it work with the wxPython interface under development.

This was brought home in a recent GRASS workshop for graduate students here
when no one using Windows could create a new location in the normal way.
Using EPSG codes also currently bombs under winGRASS, presumably because
somewhere it needs an xterm.

So we REALLY need a non-interactive version of g.setproj. You should be able
to put in the same parameters that you do in the interactive version: datum,
datum transform option (if any), extents, and resolution. This should be
pretty easy to do (I say as a someone who doesn¹t know C). Because the datum
and datum transform come from text files in $GISBASE/etc, it should be
pretty easy to make a GUI scrollable list from these files. The extents and
resolution are typed in by the user.

Is there anyone who can make g.setproj accessible as a command-line module
without needing an interactive xterm? I can make up a quick TclTk GUI to go
with it.

Thanks
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20060927/9f8225db/attachment.html


More information about the grass-dev mailing list