[Gvsig_english] Eclipse RCP with gvSIG

Neumann, Tobias tobias.neumann at berner-mattner.com
Mon Apr 11 07:40:51 CEST 2011


Dear Jordi,

yes you are right. I´m using the 1.10-sources for my work. 1.1 is just shorter :-) 
The implementation of gvSIG 3D in Eclipse means that I have to get the components work running in RCP views. I don´t want to port it. At this moment I think I need the whole gvSIG framework for this task, but I am still learning the product :-)

With best regards
Tobias



-----Ursprüngliche Nachricht-----
Von: gvsig_internacional-bounces at listserv.gva.es im Auftrag von Jordi Torres
Gesendet: Fr 08.04.2011 16:07
An: Users and Developers mailing list
Betreff: Re: [Gvsig_english] Eclipse RCP with gvSIG
 
Hi Tobias,

The 3D extension does not work with 1.1 sources, you must develop against
1.10 sources if you want to get it work.  So.. you say that your task is to
implement the gvSIG 3D extension in Eclipse RCP, do you mean to implement or
to port gvSIG 3D? Do you need the whole gvSIG or only the 3D visualization
framework?

Let us know your advances if you are allowed, it is a very interesting
development for us!

Cheers.


2011/4/8 Neumann, Tobias <tobias.neumann at berner-mattner.com>

> Dear César,
>
> right now I am working with the 1.1 sources. Of course, if the 2.0 code is
> easier to handle, I will switch to it, later. At this moment my task is to
> implement the gvSIG 3D-Extension in Eclipse RCP for evaluation purposes. We
> are looking for an open 3D-Viewer which can be used in our project. We are
> working with global 3D information and some special data formats. I am sorry
> that I am not allowed to give you more information about the background.
>
> With best regards
> Tobias
>
> ________________________________
>
> From: gvsig_internacional-bounces at listserv.gva.es on behalf of Cèsar
> Ordiñana
> Sent: Fri 08.04.2011 13:31
> To: gvsig_internacional at listserv.gva.es
> Subject: Re: [Gvsig_english] Eclipse RCP with gvSIG
>
>
> Hi Tobias,
>
> First of all I advice you to decide which version of gvSIG to use. There
> are some important changes between the 1.x and 2.x branches, mainly at the
> data access level and other base libraries.
>
> The 1.x branch is the stable branch now, with the 1.11 version almost
> ready. I think this is the most interesting one if you were going to add
> some functionality and distribute it in addition to the one provided with
> the gvSIG application.
>
> The 2.x branch is now performing an initial stabilization process to
> prepare the final 2.0 version. Not all plugins available in 1.x are going to
> be available initially when it is ready, but most of them will. IMHO, this
> the more interesting one if you can wait a bit, won't need the funcionality
> of those plugins, or if you are going to work at the libraries level, as it
> seems is your case.
>
> Why? Because it is easier to use those libraries, some of them have a more
> delimited API, and more important, there is or will be more developer's
> documentation about them:
>
> http://www.gvsig.org/web/projects/gvsig-desktop/docs/devel
>
> Part of it is already available in English, hope that will grow over time.
>
> Just for curiosity, could you tell us a bit about what are you going to
> develop with gvSIG? If you are allowed to do it, of course.
>
> Regards,
>
> --
> Cèsar Ordiñana Navarro
> gvSIG software architect
> DiSiD Technologies (http://www.disid.com <http://www.disid.com/> )
>
>
> El 08/04/11 11:53, Neumann, Tobias escribió:
>
>        Dear José,
>
>        thank you for this information. I have signed these three groups to
> pursue and understand the developments of gvSIG. It would be preferable if
> the spanish speaking developers would take more interest on the
> international developer mailing list. I have learned spanish three years at
> school, but I have to take a look on my schoolbooks again before I can
> enrich this community :-)
>
>        Do you have any information about some sample code for using the
> features of gvSIG like adding data to layers and so on? I am feeling a
> little bit left alone at this part...
>
>
>        Buen fin de semana :-)
>        Tobias
>
>
>
> ________________________________
>
>        From: gvsig_internacional-bounces at listserv.gva.es on behalf of José
> Antonio Canalejo Alonso
>        Sent: Thu 07.04.2011 21:47
>        To: Users and Developers mailing list
>        Subject: Re: [Gvsig_english] Eclipse RCP with gvSIG
>
>
>        Hello Tobias,
>        I would like to say you where you can find more information to
> develop gvsig yourself:
>        - English spoken developers mailing list (
> https://lists.forge.osor.eu/listinfo/gvsig-desktop-devel): it has low
> traffic because there are not many gvSIG English spoken developers but you
> should also read and write in this list. Developers for other projects work
> together there.
>        - Spanish spoken developers mailing list (
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_desarrolladores): it
> has high traffic because there are many and highly qualified developers. If
> you can read/write spanish you will have very good information to develop
> gvsig.
>        - Public mailing list of the gvSIG Technical Steering Committee -TSC
> (https://lists.forge.osor.eu/listinfo/gvsig-desktop-tsc-pub): This list is
> probably the most important one for people who need to know how gvsig is
> being developed.
>        The allowed languages for the TSC list are Spanish and English. Most
> of the discussion is done in Spanish but don't hesitate to ask in English if
> you have cuestions.  People there are open and they make a good
> documentation of their meetings that you can read if you can speak spanish.
>        Nice to see you in the gvsig lists!
>        Schönes Wochenende!
>        José
>
>        --
>        José Antonio Canalejo Alonso
>        CSGIS
>        Email:jose.canalejo at csgis.de
>         Web: http://www.csgis.de <http://www.csgis.de/>
>
>
>
> ________________________________
>
>        De: "Neumann, Tobias" <tobias.neumann at berner-mattner.com> <mailto:
> tobias.neumann at berner-mattner.com>
>        Para: Users and Developers mailing list <
> gvsig_internacional at listserv.gva.es> <mailto:
> gvsig_internacional at listserv.gva.es>
>         Enviado: jue,7 abril, 2011 13:35
>        Asunto: Re: [Gvsig_english] Eclipse RCP with gvSIG
>
>        Dear Jordi,
>
>        thank you for your suggestion. My job is just to build a working
> prototype in Eclipse RCP. Other people will rack their brains for license
> issues :-) I will tell them regarding these obscurities.
>
>        With best regards
>        Tobias
>
>
>        -----Ursprüngliche Nachricht-----
>        Von: gvsig_internacional-bounces at listserv.gva.es im Auftrag von
> Jordi Torres
>        Gesendet: Do 07.04.2011 13:22
>        An: Users and Developers mailing list
>        Betreff: Re: [Gvsig_english] Eclipse RCP with gvSIG
>
>        Hi Juan Lucas,
>
>        I believe you are rigth, Tobias is able to distribute a plugin, that
> way he
>        is not mixing GPL code with EPL code, is the final user who do that.
>        My intention was only to advice Tobias to be careful with license
>        incompatibilities.
>
>        Cheers.
>
>
>        2011/4/7 Juan Lucas Domínguez Rubio <juan_lucas_dr at yahoo.com>
>
>        > Hello,
>        > If I understood it well, it's not legally possible to distribute a
> "tuned"
>        > version of Eclipse where you have added GNU/GPL code, but it is
> possible to
>        > distribute an Eclipse plugin under the GNU/GPL licence.
>        >
>        > So Tobias could create and distrubute a "gvSIG mapping plugin" for
> Eclipse.
>        >
>        > Is this correct?
>        >
>        >
>        > Regards,
>        >
>        > Juan Lucas Domínguez Rubio
>         > http://gvsigmobileonopenmoko.wordpress.com <
> http://gvsigmobileonopenmoko.wordpress.com/>
>        > http://tellusproject.blogspot.com <
> http://tellusproject.blogspot.com/>
>         >
>        > --- On *Thu, 4/7/11, Jordi Torres <jtorresfabra at gmail.com>*
> wrote:
>        >
>        >
>        > From: Jordi Torres <jtorresfabra at gmail.com>
>        > Subject: Re: [Gvsig_english] Eclipse RCP with gvSIG
>        > To: "Users and Developers mailing list" <
>        > gvsig_internacional at listserv.gva.es>
>        > Date: Thursday, April 7, 2011, 12:08 PM
>        >
>        >
>        > Hi Tobias,
>        >
>        > Maybe off-topic, but you may have license conflicts between EPL
> and
>        > GNU/GPL.
>        >
>        > Cheers.
>        >
>        > 2011/4/7 Juan Lucas Domínguez Rubio <juan_lucas_dr at yahoo.com<
> http://mc/compose?to=juan_lucas_dr@yahoo.com>
>        > >
>        >
>        > Hello, Tobias:
>        >
>        > I don't have much experience in 'improper' integration between
> gvSIG and
>        > Eclipse SWT (I mean, things like embedding AWT controls in a SWT
> context or
>        > using some kind of library wrapping), but I have done some tests
> regarding
>        > gvSIG libraries in a SWT context.
>        >
>        > As you perhaps know, the application gvSIG Mobile is using a
> simplified
>        > version of gvSIG 1.X mapping libraries.
>        >
>        > I wrote a little 'unofficial' version of gvSIG Mobile for Linux
> devices
>        > (such as the Openmoko phone or the Nokia N810 tablet) with less
>        > functionalities than the 'official' gvSIG Mobile but including
> some other
>        > new features.
>        >
>        > At that time, I found no JVM for those devices that could use the
> AWT
>        > classes (used by gvSIG and gvSIG Mobile). Instead, the Eclipse SWT
> library
>        > was working fine on them, so I changed the gvSIG mapping libraries
> to make
>        > them graphic context independent, and then reimplemented the
> needed classes
>        > to use Eclipse SWT classes. Essentially, I did this:
>        >
>        > - Take the mapping library of gvSIG 1.X (libFMap) and replace all
> the
>        > occurrences of the classes Graphics2D and Image (this includes all
> the
>        > BufferedImage), with some Java interfaces created by you. So, for
> ecample in
>        > the FLyrVect class, instead of:
>        >
>        > public void draw(Graphics g, ViewPort vp) throws
> FMapDriverException { ...
>        > }
>        >
>        > you will have:
>        >
>        > public void draw(IGraphics g, ViewPort vp) throws
> FMapDriverException { ...
>        > }
>        > (IGraphics is a new Java interface)
>        >
>        > Before doing this, I removed a lot of drivers from libFMap which
> were not
>        > interesting. I also applied this transformation to the WMS driver
> and added
>        > it to my workspace.
>        >
>        > - create a new Java project with those Java interfaces (the new
> libFMap
>        > will depend on this project)
>        >
>        > - create another Java project containing an implementation of
> those Java
>        > interfaces. Here is where you would use the SWT library to
> implement all the
>        > needed methods (such as drawing a line, creating an image, pasting
> an image
>        > on a graphic context, etc.)
>        >
>        > - then, at the beginning of the application, you create a
> SWT-based factory
>        > that is able to instantiate all those SWT-based graphic resources
> and
>        > methods, and use it across the application.
>        >
>        > There are a lot of other important things I had to do from
> scratch, for
>        > example the table of contents (TOC) and of course all the GUI
> (dialogs). I
>        > also split the libFMap project in different parts (libGeom,
> libRender, etc).
>        > This was the resulting workspace:
>        >
>        >
> https://svn.prodevelop.es/public/labs/gvsigmobileonopenmoko/trunk/
>        >
>        > and these are a couple screenshots of the aplication:
>        >
>        >
> http://gvsigmobileonopenmoko.files.wordpress.com/2009/04/carta_2007.jpg
>        > (WMS layer + 2 little shapefiles)
>        >
>        >
> http://gvsigmobileonopenmoko.files.wordpress.com/2009/07/nokia_31468.jpg
>        > (ArcIMS layer)
>        >
>        > I have never done it myself, but I presume in the Eclipse
> RCP-based
>        > applications you eventually will have to use the SWT graphic
> classes I used,
>        > especially:
>        >
>        > org.eclipse.swt.graphics.GC
>        > org.eclipse.swt.graphics.Image
>        >
>        > So that would be one way to properly integrate gvSIG in the
> Eclipse RCP
>        > platform.
>        >
>        > After my little experience, I think that the Eclipse SWT graphic
> context is
>        > less powerful and slower than the AWT Graphics2D class. I did not
>        > investigate it deeply but I think AWT has better access to the
> device's
>        > graphic hardware capabilities and therefore drawing is faster and
> more
>        > flexible.
>        >
>        >
>        > Regards,
>        >
>        > Juan Lucas Domínguez Rubio
>         > http://gvsigmobileonopenmoko.wordpress.com <
> http://gvsigmobileonopenmoko.wordpress.com/>
>        > http:// <http:///>  <http://gvsigmobileonopenmoko.wordpress.com/>
> foss4gis.blogspot.com<http://tellusproject.blogspot.com <
> http://tellusproject.blogspot.com/> >
>         >
>        > --- On *Wed, 4/6/11, Neumann, Tobias <
> tobias.neumann at berner-mattner.com<
> http://mc/compose?to=tobias.neumann@berner-mattner.com>
>        > >* wrote:
>        >
>        >
>        > From: Neumann, Tobias <tobias.neumann at berner-mattner.com<
> http://mc/compose?to=tobias.neumann@berner-mattner.com>
>        > >
>        > Subject: [Gvsig_english] Eclipse RCP with gvSIG
>        > To: gvsig_internacional at listserv.gva.es<
> http://mc/compose?to=gvsig_internacional@listserv.gva.es>
>        > Date: Wednesday, April 6, 2011, 7:35 AM
>        >
>        >
>        > Hello,
>        >
>        > I am interested in your experiences with the gvSIG software
> embedded in
>        > Eclipse RCP. I want to start up a project using these
> technologies. Anyone
>        > did this before? Are there some points I have to focus on?
>        >
>        > Thank you very much!
>        >
>        > Best regards,
>        > Tobias
>        >
>        >
>        >
>        > Tobias Neumann, M.Sc. in Geogr.
>        > Softwareingenieur
>        >
>        > Tel: +49 89 608090-276
>        > Fax: +49 89 6098182
>        > E-Mail: Tobias.Neumann at berner-mattner.com<
> http://mc/compose?to=Tobias.Neumann@berner-mattner.com>
>         > Web: www.berner-mattner.com <http://www.berner-mattner.com/>
>         >
>        > Berner & Mattner Systemtechnik GmbH
>        > Erwin-von-Kreibig-Str. 3
>        > D-80807 München
>        >
>        > Geschäftsführer: Hans Berner, Dr. Klaus Eder, Dr. Jan-Oliver
> Wenzel
>        > Registernummer: HR B 83252 beim Amtsgericht München
>        > Sitz der Gesellschaft: München
>        >
>        >
>        >
>        >
>        > -----Inline Attachment Follows-----
>        >
>        > _______________________________________________
>        > Gvsig_internacional mailing list
>        > Gvsig_internacional at listserv.gva.es<
> http://mc/compose?to=Gvsig_internacional@listserv.gva.es>
>        >
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>        >
>        >
>        > _______________________________________________
>        > Gvsig_internacional mailing list
>        > Gvsig_internacional at listserv.gva.es<
> http://mc/compose?to=Gvsig_internacional@listserv.gva.es>
>        >
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>        >
>        >
>        >
>        >
>        > --
>        > Jordi Torres Fabra
>        >
>        > gvSIG 3D blog
>         > http://gvsig3d.blogspot.com <http://gvsig3d.blogspot.com/>
>         > Instituto de Automática e Informática Industrial
>         > http://www.ai2.upv.es <http://www.ai2.upv.es/>
>         >
>        > -----Inline Attachment Follows-----
>        >
>        > _______________________________________________
>        > Gvsig_internacional mailing list
>        > Gvsig_internacional at listserv.gva.es<
> http://mc/compose?to=Gvsig_internacional@listserv.gva.es>
>        >
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>        >
>        >
>        > _______________________________________________
>        > Gvsig_internacional mailing list
>        > Gvsig_internacional at listserv.gva.es
>        >
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>        >
>        >
>
>
>        --
>        Jordi Torres Fabra
>
>        gvSIG 3D blog
>         http://gvsig3d.blogspot.com <http://gvsig3d.blogspot.com/>
>         Instituto de Automática e Informática Industrial
>         http://www.ai2.upv.es <http://www.ai2.upv.es/>
>
>
>
>
>
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at listserv.gva.es
> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>
>


-- 
Jordi Torres Fabra

gvSIG 3D blog
http://gvsig3d.blogspot.com
Instituto de Automática e Informática Industrial
http://www.ai2.upv.es

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 10179 bytes
Desc: not available
Url : http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20110411/ce79f2d0/attachment.bin 


More information about the Gvsig_internacional mailing list