Re: [JPP-Devel] Plug-in showing change over time
Hi Stefan, The JUMP rendering architecture was never designed for something like animation. The only way I have found to make it work is to turn off the RenderManager and do the rendering yourself. You should be able to find some hints on how to do that in LayerPrinter2, if I remember correctly. Perhaps AbstractZoom too. I could also make some changes to RenderManager to support notification that rendering is complete as I did in SkyJUMP, but it doesn't completely make the problem go away. regards, Larry On Thu, Jul 8, 2010 at 9:16 PM, Stefan Steiniger wrote: > Hei all - esp. Larry who has some experience on rendering > > Just by chance I am in need for a plugin that shows changes over time - > i.e. a movie, too. So I sat down for 2 hours today for a very basic plugin. > > I realized the movie by creating a new temporary layer and then execute > a loop that adds and removes features to and from the layer one by one > (after sorting them). Ok so far, and well, its also not smooth looking. > However, the problem is that it seems to me like a couple of > features/sequences are not drawn. > > Basically I would need to wait until all features in the layer are drawn > and would then continue with the loop (to remove the previous and add a > new feature). So - is there any way to know when the rendering is done? > (I use a ThreadedBasePlugin - as this even shows in the monitor the step > nummer). > I also tried to create a Dummy LayerManager and create a new DummyLayer > from the featureCollection and to render this one inbetween to have an > idea when the rendering is done (a bit like for LayerPrinter2) - but it > seems not to work either. > > Another option I tried is using Thread.sleep(100) - i.e. to wait for > some time - but the the animation seems to be not fluent enough (= just > takes too long). > > I also do not understand what happens if I use Thread.sleep() or > RenderManager.wait() - i.e. if I just stop all processes instead of my > hope that the rendering would be continued and finished > > I think - we may had this discussion a couple of years ago.. but has > anyone any pointers/ideas? > > cheers > stefan > > > Sunburned Surveyor schrieb: > > Elton, > > > > I don't think there are. > > > > The Sunburned Surveyor > > > > On Tue, Jun 29, 2010 at 6:59 PM, Elton Chan > wrote: > >> Hi there, > >> > >> Are there any plug-in or snippets avaliable to show change of attribute > over time or time-series of a feature for OpenJump? > >> > >> Thanks, > >> Elton > >> > >> > >> > >> > >> > -- > >> This SF.net email is sponsored by Sprint > >> What will you do first with EVO, the first 4G phone? > >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > >> ___ > >> 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 Sprint > > What will you do first with EVO, the first 4G phone? > > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > ___ > > 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 Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > ___ > 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 Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Plug-in showing change over time
Hei all - esp. Larry who has some experience on rendering Just by chance I am in need for a plugin that shows changes over time - i.e. a movie, too. So I sat down for 2 hours today for a very basic plugin. I realized the movie by creating a new temporary layer and then execute a loop that adds and removes features to and from the layer one by one (after sorting them). Ok so far, and well, its also not smooth looking. However, the problem is that it seems to me like a couple of features/sequences are not drawn. Basically I would need to wait until all features in the layer are drawn and would then continue with the loop (to remove the previous and add a new feature). So - is there any way to know when the rendering is done? (I use a ThreadedBasePlugin - as this even shows in the monitor the step nummer). I also tried to create a Dummy LayerManager and create a new DummyLayer from the featureCollection and to render this one inbetween to have an idea when the rendering is done (a bit like for LayerPrinter2) - but it seems not to work either. Another option I tried is using Thread.sleep(100) - i.e. to wait for some time - but the the animation seems to be not fluent enough (= just takes too long). I also do not understand what happens if I use Thread.sleep() or RenderManager.wait() - i.e. if I just stop all processes instead of my hope that the rendering would be continued and finished I think - we may had this discussion a couple of years ago.. but has anyone any pointers/ideas? cheers stefan Sunburned Surveyor schrieb: > Elton, > > I don't think there are. > > The Sunburned Surveyor > > On Tue, Jun 29, 2010 at 6:59 PM, Elton Chan wrote: >> Hi there, >> >> Are there any plug-in or snippets avaliable to show change of attribute over >> time or time-series of a feature for OpenJump? >> >> Thanks, >> Elton >> >> >> >> >> -- >> This SF.net email is sponsored by Sprint >> What will you do first with EVO, the first 4G phone? >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >> ___ >> 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 Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > ___ > 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 Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Sponsors
That depends on what you mean by sponsor. We don't have anyone funding development, if that is what you mean. Stefan administers the project, and Larry is probably our best programmer. We are basically a loose-knit group of volunteers. The Sunburned Surveyor On Thu, Jul 8, 2010 at 12:55 PM, Hernan Arellano wrote: > Hi All > > Anybody know who are the sponsors of OpenJump, Organizations of JPP? > > > Thanks > Hernan > > -- > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > ___ > 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 Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] interacting with another application
Hi, you can download my plugin from here: http://www.jammerhund.de/downloads/CommunicationPlugin.zip or the JAR: http://www.jammerhund.de/downloads/CommunicationPlugIn.jar This is the complete NetBeans project folder. It's not realy ready for publishing, because I've some things to do(licence texte, docu , refactoring...) The userdocu in the doc/ folder or http://www.jammerhund.de/downloads/commplugin.pdf is only in german, because at the moment it's only in germany relevant. Regards Matthias > Hi, > I'm interested, too. > My first approach was like the attached class. > Nils > > > Sunburned Surveyor schrieb: >> Matthias, >> >> Can you share your code with us? >> >> I'd be interested in seeing how the communication process you >> described was coded. >> >> The Sunburned Surveyor >> >> On Wed, Jul 7, 2010 at 5:11 AM, Matthias Scholz wrote: >> >>> Hi Nils! >>> Hi Matthias, I opened another topic for the discussion inside the topic "Select shape by attribute" because things are mixing a bit, I think. I want to create an interface between OJ and an external application, too. I will have to use a xml-file for communication (because the other application provides this functionality allready for interacting with other apps than OJ). Did you write a listener-Thread or something for getting the focus if requests from the external application arrive per file? >>> At the moment the plugin have a "listener thread", wich looks every >>> 2000ms (configurable) for a new file. If you can mail me a XML testfile >>> and a description, then I will see if it is possible to integrate your >>> XML file format. >>> That was my plan, but I am not yet get around to test that and I'm not quite sure about the performance... >>> In our environment (german government) is that no performance problem >>> with a file for interacting with OJ, because the users works mostly >>> with max. 100 objects to show in OJ. With a grater amount it shold no >>> problem too. >>> >>> Matthias >>> Regards, Nils -- Dipl.-Biol. Nils Kuhn Email: nils.k...@bws-gmbh.de Fon: +49 (0)40 - 23 16 65-26 Fax: +49 (0)40 - 23 16 65-01 BWS GmbH Gotenstraße 14 D-20097 Hamburg Sitz der Gesellschaft: Hamburg Amtsgericht Hamburg: HRB 87830 Geschäftsführer: Dipl.-Geol. Robert Dési Dipl.-Geogr. Hydr. Lutz Krob * HINWEIS: Diese E-Mail und beigefügte Dateien dienen nur der Vorabstimmung und stellen keine rechtswirksame Willenserklärungen oder Beratungsleistungen dar. Es können keine Haftungsansprüche gegenüber der BWS GmbH geltend gemacht werden. Alle rechtswirksamen Äußerungen (Verträge, Stellungnahmen, Berechnungen, Vermerke etc.) erhalten Sie von uns in schriftlicher Form und gegebenenfalls auf separatem Datenträger. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte den Absender und vernichten Sie diese E-Mail. Unerlaubtes Kopieren und Weiterleiten dieser E-Mail sind nicht gestattet. * -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ 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 Sprint >>> What will you do first with EVO, the first 4G phone? >>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >>> ___ >>> 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 Sprint >> What will you do first with EVO, the first 4G phone? >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >> ___ >> Jump-pilot-devel mailing list >> Jump-pilot-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jump
[JPP-Devel] Sponsors
Hi All Anybody know who are the sponsors of OpenJump, Organizations of JPP? Thanks Hernan _ -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Feature collections modified by default
Hi Andreas, > I've noticed that (for quite some time now) newly loaded feature > collections/layers are now considered modified by default. I've been > using that check in the WFS plugin to enable the update button only if > the layer is actually modified. I've added a workaround to set the layer > unmodified immediately after loading. > Sorry for the inconvenience > I've also found the place where layers are set to modified after loading > (in the Layer class, with a comment from Michaël, that's why I'm > addressing you directly ;-)). I'm not entirely sure why it is done like > this. Was your intention to have a 'do you really want to close OJ' > message when closing? If so, I'd like to propose to have a check when > closing, and show a different message if no layers have been modified, > asking just that, and only show the modified warning if something has > actually been modified. I find it confusing for the users to have a > warning like this, when he did actually not modify anything... > You probably are right, as it may be important to make the difference between a newly created layer and a modified layer. I'll try to make my problem clearer as I'm not sure to get the solution yet. Some layers are issued from a persistent datasource, and others have been created by the application (ex. a buffer layer). How to inform the user who closes the application that some newly created layers are unsaved to disk (some of my co-workers complained they lost their work without any warning) Maybe I missed something simple with the Layer.getDataSourceQuery method. I'll try to explore this method (probably after my vacations). Feel free to get back to the previous state of Layer class if needed. I'm quite confident another way can be found to solve my problem regards, Michaël > What do you think? > > Best regards, Andreas > > > > -- > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > > ___ > 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 Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Feature collections modified by default
Andreas, Your comments make sense to me, but lets wait a couple more days for Michael to comment before we commit a patch. Thanks, The Sunburned Surveyor On Thu, Jul 8, 2010 at 3:57 AM, Giuseppe Aruta wrote: > Hi Andreas > >> > I'd like to propose to >> have a check when >> > closing, and show a different message if no layers >> have been modified, >> > asking just that, and only show the modified warning >> if something has >> > actually been modified. > >> I've already changed this experimentally (locally), and if >> everyone >> agrees, I'd like to commit it when it's done. > > > for my poiny of view yours is an useful modification. I vote to commit it > > Peppe > > > > > > > -- > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > ___ > 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 Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Open JUMP
Andreas, I'm glad to hear you are using OpenJUMP. I don't think we have a plug-in for hyperlinking just yet, but it woudln't be too hard to set one up. Do you know any Java programming? What type of files or documents do you want to hyperlink to? I copied the OpenJUMP developer mailing list on this e-mail so our other more experienced (and qualified) OpenJUMP programmers can respond. The Sunburned Surveyor 2010/7/8 aravanis andreas : > Hello Mr Landon Blake, > > My name is Andreas Aravanis and I am a student from Greece, at the Rural and > Surveying Engineers of NTUA. > I am doing my thesis statement and the second part is an application in Open > JUMP GIS. > I would like to ask you if Open JUMP supports Hot Links (That are used on > ArcInfo) or if there is a plugin that can help me! > > Yours Sincerely, > > Andreas Aravanis > > > Hotmail: Ισχυρό, δωρεάν email με ασφάλεια από τη Microsoft. Αποκτήστε το > τώρα. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Feature collections modified by default
Hi Andreas > > I'd like to propose to > have a check when > > closing, and show a different message if no layers > have been modified, > > asking just that, and only show the modified warning > if something has > > actually been modified. > I've already changed this experimentally (locally), and if > everyone > agrees, I'd like to commit it when it's done. for my poiny of view yours is an useful modification. I vote to commit it Peppe -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Feature collections modified by default
Andreas Schmitz wrote: Hi, > I've noticed that (for quite some time now) newly loaded feature > collections/layers are now considered modified by default. I've been > using that check in the WFS plugin to enable the update button only if > the layer is actually modified. I've added a workaround to set the layer > unmodified immediately after loading. > > I've also found the place where layers are set to modified after loading > (in the Layer class, with a comment from Michaël, that's why I'm > addressing you directly ;-)). I'm not entirely sure why it is done like > this. Was your intention to have a 'do you really want to close OJ' > message when closing? If so, I'd like to propose to have a check when > closing, and show a different message if no layers have been modified, > asking just that, and only show the modified warning if something has > actually been modified. I find it confusing for the users to have a > warning like this, when he did actually not modify anything... > > What do you think? I've already changed this experimentally (locally), and if everyone agrees, I'd like to commit it when it's done. BTW: how was the i18n policy, add an english line to all languages I don't know, or just add it to jump.properties and jump_en.properties? Best regards, Andreas -- l a t / l o n GmbH Aennchenstrasse 19 53177 Bonn, Germany phone ++49 +228 18496-0 fax ++49 +228 1849629 http://www.lat-lon.dehttp://www.deegree.org Follow deegree on Twitter: http://twitter.com/deegree_org signature.asc Description: Digital signature -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Feature collections modified by default
Hi all, Michaël, I've noticed that (for quite some time now) newly loaded feature collections/layers are now considered modified by default. I've been using that check in the WFS plugin to enable the update button only if the layer is actually modified. I've added a workaround to set the layer unmodified immediately after loading. I've also found the place where layers are set to modified after loading (in the Layer class, with a comment from Michaël, that's why I'm addressing you directly ;-)). I'm not entirely sure why it is done like this. Was your intention to have a 'do you really want to close OJ' message when closing? If so, I'd like to propose to have a check when closing, and show a different message if no layers have been modified, asking just that, and only show the modified warning if something has actually been modified. I find it confusing for the users to have a warning like this, when he did actually not modify anything... What do you think? Best regards, Andreas -- l a t / l o n GmbH Aennchenstrasse 19 53177 Bonn, Germany phone ++49 +228 18496-0 fax ++49 +228 1849629 http://www.lat-lon.dehttp://www.deegree.org Follow deegree on Twitter: http://twitter.com/deegree_org signature.asc Description: Digital signature -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel