[Gvsig_english] gvSIG with R

G. Allegri giohappy at gmail.com
Thu Aug 2 10:39:27 CEST 2007


I forgot to say why I would try this way:

 - The spatial packages to manage spatial objects are very well done,
and have a long experience (sp, rgdal, etc...). I think it's a good
choice to make use of them....
 - They're callebla through R commands: it would be only necessary to
give to R scripting a "way" (thorugh shell?) to relate with gvSIG
environmente, as all the rest of the job has been already done.

Bye



2007/8/2, G. Allegri <giohappy at gmail.com>:
> Ok Cesar.
> I think the the very first trhing that I would try to do is to share
> the "environment" between gvSIG and R. Do you know spgrass6? The R
> module to load into the Grass environment variables (as projection,
> bounding box of the actual geometries), and the data...
> The environment settings are called through Grass shell commands
> launched by R scripting.
> Well, the data loading is a bit "rude": the vectors are exported
> through Grass shell commands called from R scripting, and then
> imported through the GDAL/OGR modules for R. The rasters are directly
> loaded by R, because Grass rasters are supported by GDAL.
> This is why, some days ago I asked about gvSIG command line functionalities...
>
> I think a first step could be done in this direction.
>
> I don't know how much difficult would it be creating a "shell window"
> loadable directly from gvSIG menu, so we would have an R scripting
> environment somehow integrated in the gvSIG GUI...
>
> What do you think about all of this?
>
> Giovanni
>
> 2007/8/2, Cesar Martinez Izquierdo <cesar.martinez at iver.es>:
> > G. Allegri escribió:
> > > Unfortunatly I'm not a so well experienced Java developer, but I will
> > > give a try :-)
> > > Maybe, a first step, would be interfacing gvSIG data structures with R ones.
> > > Could you suggest me some resources about gvSIG data management, or is
> > > the "javadoc" the unique documentation?
> > > Regards,
> > > Giovanni
> > >
> >
> > I'm afraid that Javadoc is the only "document" about gvSIG data
> > management for the moment. Maybe other developers in the list are able
> > to point to some other resource, or may describe you the main data
> > structures, but probably you need to explain which kind of R objects you
> > want to interface.
> >
> > Greetings,
> >
> > --
> > César Martínez Izquierdo
> > Equipo de desarrollo gvSIG
> > http://www.gvsig.gva.es
> >
> > IVER T.I.
> > C/ Salamanca 50
> > 46005 Valencia - Spain
> > http://www.iver.es
> > _______________________________________________
> > Gvsig_internacional mailing list
> > Gvsig_internacional at runas.cap.gva.es
> > http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
> >
>



More information about the Gvsig_internacional mailing list