Giuseppe Aruta a écrit : > Of coarse I invite (if they want to partecipate to this discussion) > Michael Michaud and Larry Baker to say their opinion since they worked > a lot on Beanshell and Jython consolles
Hi Giuseppe, and thanks to your efforts to improve collaboration. Sharing beanshell scripts is about the same problem as sharing plugins. It is ok as far as the script rely on the common part of the API (ex. JTS for geometry processing) but will be broken if the script try to use a class or a method which is only available in one of the application. That said, scripting with beanshell may be a pleasant way to explore api and to see where the common part of the api stops and where the specific part starts. Michaël > > peppe > */Giuseppe Aruta <[EMAIL PROTECTED]>/* ha scritto: > > Hi. > > 1) Kosmo plugin model vs OpenJUMP > > We can also consider other two ways to share tools between > OpenJUMP and Kosmo. Please correct me if I am wrong as I am not a > developer > a) OpenJUMP introduced the Beanshell Consolle which, I think, it > is still under estimate between the users. Nevertheless it > probabily could be a good tool integrate in Kosmo, too. Then > OpenJUMPm and Kosmo can share some plugin as Beanshell script > b) Another interesting area could be the Jython (Python) consolle, > realized by Larry for SkyJUMP and JUMP. Probabily only Larry has > the basic knowlegment in Jython to develop tools (expecially CAD > like) in this language ( I am still in ol' basic dos :-)). But > even Python could be another area of common interest. > > The question is: does Kosmo can use beanshell script written for > OJ? How easy is to traslate in beanshell script OJ tools to use in > Kosmo. Of coarse the question could be posted even also on the > opposite direction (Kosmo vs. OpenJUMP) > > 2) Save as Project file > We probabily could not loose the idea to find an exchange project > format. Not only for Kosmo and OpenJUMP but this would be an > interest for all the Opensource comunity (thinking about only how > many Java GIS project could be involved: JGRASS, GvSIG, UDIG). > If Styled Layer descriptor works between Kosmo and UDig, > Opensource cimunity could think about a Styled Project Descriptor. > Not a common file project but a way to exchenge project sharing at > least the style, without loosing each own project specificity > (hyoerlink, 3D, etc). This is a much more a needle proposal than a > project > > 3) SLD > Antonio (and Saig Lista) wrote "..OJ SLD import plugin has a > problem when reading the color values..". We probabily ask Andreas > what he think about and check if there is a solution. > > > */SAIG - Listas <[EMAIL PROTECTED]>/* ha scritto: > > Hi to all. > > I'll shed a little bit light on the issues from a developer > point of > view (both proposals from Giuseppe and another one that Sunburned > Surveyor mentioned): > > 1) Kosmo plug-in model > > I'll start with a little bit of history to clarify some ideas: > > Kosmo started on August 2005. Our starting seed was the JUMP > 1.0 fork > implemented by the Agiles group (the two starting developers > of Kosmo > were part of the founders of this group). This fork > implemented an > on-demmand framework to the existing JUMP datasource > framework. Why > don't we use the 1.1.2 JUMP version that was already present > at that > date? When we implemented the on-demmand framework on the last > version, > the results that we obtained were worse that those obtained > with the 1.0 > fork. So we decided to start with it and added to this version > some of > the improvements that were made to JUMP from the 1.0 to the 1.1.2 > version. As we were advancing in the development of Kosmo, we > have added > some of the improvements made to JUMP and also to OpenJUMP. > > The plugin model that Kosmo uses is basically the same: we > have added > some methods to the interfaces and the abstract classes, but they > haven't been changed heavily. There is no plugín dependency > system > implemented. The extension model have been also improved, but > is almost > the same too. > > > 2) Save as - project file format > > I think that a common project file format won't be a good choice: > currently each application uses its own project saving > framework and > it'll be difficult for each one to change it to a common one. > I think > that a better choice would be to implement a import/export > OpenJUMP > project option in Kosmo and an import/export Kosmo project > option in > OpenJUMP. We share some common objects (Task, Category, Layer, > FeatureCollections, DataSourceQuery, JUMP Styles, ...) that > can be > recovered from the project XML file and loaded into each one. > > > 3) SLD Import/Export > > Kosmo only supports SLD export so far (the import plugin is > planned but > it's not implemented yet). As Giuseppe says, this format can > be used to > export/import the layer simbology between the two projects, as > SLD is a > standard and it's not binded to a determinate application. > Kosmo also > allows to save its own simbology format because we use some > improvements > that are not present in the SLD standard. But most of the Kosmo > simbology can be exported to a SLD file without problem. Each > application could accept the parts of the standard supported, > and the > rest of the file could be ignored. I think the SLD format it's > a good > choice. > > Regards, > > PD: We've tested the Kosmo SLD export against UDIG 1.1 rc14 > and all of > the tests have succeded. I've also test against the last OpenJump > nightly build with some sld files generated by Kosmo and the > OJ SLD > import plugin has a problem when reading the color values: it > seems to > read the color value string with a lot of spaces before and > after it, > and the Color.decode() function fails (this could be corrected by > calling to the method colorString.trim()). > > Giuseppe Aruta escribió: > > Hi Antonio, > > let me resume the two i(my) proposal that could be object of > this > > discussion:. Just in order that developers can have an idea > (from user > > point of view). > > > > 1) a "save as" to project file format shared by two > software. This > > format (Jump, Kosmo or other) would not be alterate by > saving option. > > eg. If I create a project in Kosmo with hyperlink or > advanced style, > > when I open this project in OJ (which hasn't hyperlink or > advanced > > style), modify something and save again to the project file, > this > > doesn't alterate Kosmo's functionalities (hyperlink etc.) > > > > 2) Possibility that Kosmo and OpenJUMP would save the layer > style to > > the same file type. Actually Kosmo saves to an its own style > files > > (SLS) format and to SLD for web proposal. OpenJUMP doesn't > have a save > > style file but newer Nightly build allows to export/import > to SLD. > > The proposal is omologate the two SLD projects to let talk > each other > > (I did a test and OJ doesn't import Kosmo SLD files) not > only for web > > but also to exchange basic layer styles parametres (Colours > of line, > > vertices and polygons, line width - possibily line type and > simple > > poligon fill) > > > > I invite the other OpenJUMP developers to say their idea about. > > > > Best regards > > Peppe > > > > > > > > */listas /* ha scritto: > > > > Hi Landon, Peppe and everybody. > > > > You are right Peppe, we were in East Holidays and I too > needed to > > talk > > with our main developer team people (really I am not a developer > > and I > > am not able to speak about code, so I need them) :-) . > > > > I hope this afternoon some information to continue speaking. > > > > Best regards > > Antonio > > > > Giuseppe Aruta escribió: > > > Hi London, > > > I think that the break of comunication in these days regarding > > > Kosmo-OpenJUMP common project was due to East holidays. > And also > > > because Antonio Muñoz probabily needs to talk with other > Saig team > > > before taking a decision. Let us wait a couple of days. > > > BTW Kosmo put on their web site some manuals about Kopsmo and > > how to > > > develop extensions (Kosmo_manual_desarrollador.pdf and > > > Kosmo_manual_extensiones.pdf). > > > > > > Peppe > > > > > > */Sunburned Surveyor /* ha scritto: > > > > > > Peppe, > > > > > > Can you get a hold of the Kosmo team and see if there is any > > interest > > > in working on a common project file format? > > > > > > The Sunburned Surveyor > > > > > > On Thu, Mar 20, 2008 at 1:37 AM, Andreas Schmitz wrote: > > > > Giuseppe Aruta wrote: > > > > > > > > Hi, > > > > > > > > > I saw on "List of changes" that Andreas is working a > > > > > lot on SLD import/export plugin (I image ter related > > > > > plugin (ImportSLDPlugIn.java and SLDImporter.java) are > > > > > for import/export SLD). > > > > > > > > yes, the SLD import/export is more or less finished. > > > Unfortunately, I'll be on > > > > vacation the next month, so I'll probably only get to it > after > > > that. What's > > > > missing is a dialog to offer the user which style he > wants to > > > import (in case of > > > > multiple ones and ones with filters) and some general > stability. > > > > > > > > If someone wants to try it out with Kosmo-generated SLD (of > > > course also with > > > > completely unrelated SLD) I'd like to hear about it. I'm > also > > > open for > > > > suggestions on how to handle more complicated situations. > > > > > > > > Best regards, Andreas > > > > -- > > > > l a t / l o n GmbH > > > > Aennchenstrasse 19 53177 Bonn, Germany > > > > phone ++49 +228 18496-11 fax ++49 +228 1849629 > > > > http://www.lat-lon.de http://www.deegree.org > > > > > > > > ------------------------------------------------------- > > > > On June 17 is deegree day - Am 17. Juni ist deegree day > > > > http://deegree.org/deegreeday > > > > > > > > -----BEGIN PGP SIGNATURE----- > > > > Version: GnuPG v1.4.6 (GNU/Linux) > > > > > > > > > iD4DBQFH4iJc737OVr+Ru7oRAnH6AJUdlDhcTqTXrHM7JxAeSHNrdpRxAKDXU1BJ > > > > WTP/3Ha2VfpBdvRk7WL5ng== > > > > =iFgP > > > > -----END PGP SIGNATURE----- > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by: Microsoft > > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > _______________________________________________ > > > > Jump-pilot-devel mailing list > > > > Jump-pilot-devel@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > _______________________________________________ > > > Jump-pilot-devel mailing list > > > Jump-pilot-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > Inviato da Yahoo! Mail > > > . > > > > > > Tanti modi per restare in contatto con chi vuoi. > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > > > > ------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > Jump-pilot-devel mailing list > > > Jump-pilot-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > Inviato da Yahoo! Mail > > . > > > > Tanti modi per restare in contatto con chi vuoi. > > > > ------------------------------------------------------------------------ > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > -- > > Sergio Baños Calvo > > Jefe de desarrollos > Sistemas Abiertos de Información Geográfica, S.L. (SAIG S.L.) > Tlfno. móvil: 685005960 > Tlfno. fijo: (+34) 954788876 > > E-mail: [EMAIL PROTECTED] > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > ------------------------------------------------------------------------ > Scopri il Blog di Yahoo! Mail > > <http://us.rd.yahoo.com/mail/it/taglines/yahoo/ymail/SIG=11djrg460/**http%3A%2F%2Fwww.ymailblogit.com%2Fblog%2F>: > trucchi, novità, consigli... e la tua > > opinione!------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > ------------------------------------------------------------------------ > Scopri il Blog di Yahoo! Mail > <http://us.rd.yahoo.com/mail/it/taglines/yahoo/ymail/SIG=11djrg460/**http%3A%2F%2Fwww.ymailblogit.com%2Fblog%2F>: > > trucchi, novità, consigli... e la tua opinione! > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >Check out the new SourceForge.net Marketplace. >It's the best place to buy or sell services for >just about anything Open Source. >http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > >------------------------------------------------------------------------ > >_______________________________________________ >Jump-pilot-devel mailing list >Jump-pilot-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel