[GRASS-dev] opening any RS/GIS file in their original format directly in GRASS...

Hello list,

many first time users get a little bit “estranged” by the scientifically robust way of starting GRASS by setting up a DB/location/mapset.

While the “create location from georeferenced file” button in TCLTK gui (not yet in wxpython it seems) is an very nice step,
I would like your ideas about the feasibility of a CLI command similar to “grass63 rs_image.tif” or “grass63 shapfile.shp” possibly having a right-click option: “open with… => Grass63” like you can see in many OSes these days.

The idea would be to create a temporary location (if not already there and compatible) from this image/GIS_cover data, import it , load layer(s), and display it(them).

One more step could be creating a png out of it, with title, arrow, scale etc… as a thumbnail view of the dataset.
Don’t know, the extents and date/time (if any) could be added in a kind of default location holding footprints of already opened data with standard grass metadata (r.info) available on click over a given footprint… Of course with the thumbnail available somehow directly in the footprint as hyperlink, or as display option (visible/hidden), or just a hyperlink in the metadata, or if metadata can be reformatted (automatically) to html, then embed the thumbnail it…

Many people face a large amount of datasets these days, and knowing where/when/what is each is a challenge.

sorry, started as a simple idea, ended in a kind of cataloging project…

Have a nice day,
Yann

Hi,
Yann Chemin píše v Pá 14. 03. 2008 v 09:38 +0700:

Hello list,

many first time users get a little bit "estranged" by the
scientifically robust way of starting GRASS by setting up a
DB/location/mapset.

While the "create location from georeferenced file" button in TCLTK
gui (not yet in wxpython it seems) is an very nice step,
I would like your ideas about the feasibility of a CLI command similar
to "grass63 rs_image.tif" or "grass63 shapfile.shp" possibly having a
right-click option: "open with... => Grass63" like you can see in many
OSes these days.

The idea would be to create a temporary location (if not already there
and compatible) from this image/GIS_cover data, import it , load
layer(s), and display it(them).

Great idea! And, if the user would exit GRASS, dialog could appear, with
"Save current session [Yes/No]", which would create something like
"GRASS Project File (project_name.grs)", which could start GRASS by
double click (and point GRASS to the right location/mapset and start the
GUI etc.) In the same time, the new created mapset/location would be
moved from "/tmp" to some other chosen directory.

?

Jachym

One more step could be creating a png out of it, with title, arrow,
scale etc... as a thumbnail view of the dataset.
Don't know, the extents and date/time (if any) could be added in a
kind of default location holding footprints of already opened data
with standard grass metadata (r.info) available on click over a given
footprint... Of course with the thumbnail available somehow directly
in the footprint as hyperlink, or as display option (visible/hidden),
or just a hyperlink in the metadata, or if metadata can be reformatted
(automatically) to html, then embed the thumbnail it...

Many people face a large amount of datasets these days, and knowing
where/when/what is each is a challenge.

sorry, started as a simple idea, ended in a kind of cataloging
project...

Have a nice day,
Yann

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

--
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub

Hi,

2008/3/14, Yann Chemin <yann.chemin@gmail.com>:

While the "create location from georeferenced file" button in TCLTK gui (not
yet in wxpython it seems) is an very nice step,

this is implemented in wxPython GUI as part of the location wizard [1].

[snip]

Martin

[1] http://grass.gdf-hannover.de/wiki/WxPython-based_GUI_for_GRASS#Location_wizard

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *

Did not catch it there,
thanks for pointing it out Martin!

Yann

On 14/03/2008, Martin Landa <landa.martin@gmail.com> wrote:

Hi,

2008/3/14, Yann Chemin <yann.chemin@gmail.com>:

While the “create location from georeferenced file” button in TCLTK gui (not
yet in wxpython it seems) is an very nice step,

this is implemented in wxPython GUI as part of the location wizard [1].

[snip]

Martin

[1] http://grass.gdf-hannover.de/wiki/WxPython-based_GUI_for_GRASS#Location_wizard


Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *