Re: [JPP-Devel] release status
Ready for 1.9 Il 31/Dic/2015 16:55, "Michaël Michaud"ha scritto: > Hi ede, > > I have nothing to add before 1.9 release. Just want to use it a bit in > my working environment next week. > If you wait one week from now on, as proposed, I think it is OK. > > Michaël > > Le 31/12/2015 16:58, edgar.sol...@web.de a écrit : > > hey All, > > > > after including Alberto's FeatureInfoTool WMS addition, are there any > other open cunstruction sites? let's say i will wait a week from now on and > release 1.9.0 . if still something is amiss i can simply come up with a > 1.9.1 quickly. > > > > Stefan: what was that about translation agn? can you fit in some hours? > you might download the latest file and post the update version here for me > to commit. > > > > if there is nodding all around i can release earlier of course. > > > > ..ede > > > > > -- > > ___ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > -- > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Check if a Geometry collection (or a Feature Schema) is made by a single geometry type
Thanks for the answers. I want to develop a way to check if a selected vector layer has different geometries or if it is if one geometry type. I checked on OJ code but I didn' t find what I needed. I will study an alternative way. Best regards Peppe On Dec 29, 2015 6:46 PM, <edgar.sol...@web.de> wrote: > On 29.12.2015 22:04, Giuseppe Aruta wrote: > > Hi, > > just a question: > > does OJ has a mathod to check if a Geometry Collection of items is made > by > > a single geometry type (points, linestrings, etc) or not? > > best regards and happy new year > > afaik when OJ loads data and is aware that there is only one geom type in > a collection it creates the Multi* variant. > > apart from that you must probably loop over all contained geoms and detect > yourself. a prexisting code would probably do nothing else. > > ..ede > > > -- > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] ViewManager plugin
Thanks Michael Il 27/Dic/2015 17:11, "Michaël Michaud" <m.michael.mich...@orange.fr> ha scritto: > Peppe, Jukka, > > Your translation files have been committed and the new version of the > extension with your translations added to > > https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/ViewManager%20PlugIn/ > as version 0.3.1 > > Michaël > > > Le 22/12/2015 17:20, Rahkonen Jukka (MML) a écrit : > > Here comes the Finnish translation. > > > > -Jukka- > > > > *Lähettäjä:* Giuseppe Aruta [mailto:giuseppe.ar...@gmail.com > <giuseppe.ar...@gmail.com>] > *Lähetetty:* 22. joulukuuta 2015 18:05 > *Vastaanottaja:* OpenJump develop and use > *Aihe:* Re: [JPP-Devel] ViewManager plugin > > > > Hi Michael, > > here are the Spanish and Italian files > > thanks > > Peppe > > > > Il 20/Dic/2015 17:40, "Michaël Michaud" <m.michael.mich...@orange.fr> ha > scritto: > > Hi Peppe, > > I just uplaoded a small documentation here : > > https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/ViewManager%20PlugIn/ > > It just works for basic vector styles, vertex style (basic shapes only, no > bitmap), scale range, color theming and label. > No support for advanced vertex style or decoration for now. > > Michaël > > Le 19/12/2015 23:19, Giuseppe Aruta a écrit : > > I was testing SLD for OpenJUMP in order to save layer symbols together > with a shapefile (to find a way to share legends/symbols with other GIS). > Your project seems to me quite interesting. I am waiting for documentation > before to transalte it in Italian/Spanish. > > Thanks > > Peppe > > > > > > 2015-12-19 12:47 GMT+01:00 Michaël Michaud <m.michael.mich...@orange.fr>: > > Hi, > > Just added ViewManager plugin in > > https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/ViewManager%20PlugIn/ > > I'll work on a small documentation soon. > The plugin is an extension I was missing but it is partially redundant > with oj capability to save layer symbolization > in a project or in sld files. Main purpose is to be able to switch > easily from one pre-defined symbolization to another > in a single project. > > If other users find it useful, we'll envisage its inclusion in PLUS > version. > You'll find language file for translation in the src package if you're > interested to have it in your language. > > Michaël > > > -- > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > -- > > > > ___ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > -- > > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > -- > > > > ___ > Jump-pilot-devel mailing > listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > -- > > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Check if a Geometry collection (or a Feature Schema) is made by a single geometry type
Hi, just a question: does OJ has a mathod to check if a Geometry Collection of items is made by a single geometry type (points, linestrings, etc) or not? best regards and happy new year Peppe -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] happy holidays to the OpenJUMPers
Hey Stefan! Happy Holydays and Merry Christmass to you and to all OJ members. I am at the Southern Emisphere "tambien" and met Stefan a week ago (It was nice to see again after 2 years! - like Second International OpenJUPers Meeting in South America). We are doing a great job and think we still have many "trump cards" to play on next weeks. Thanks to everyone, thanks to Ede for his work on SVN and the patience to solve my mistakes!! Best regards from 38° Celsius pre-Xmass Peppe 2015-12-24 18:18 GMT+01:00 Stefan Steiniger: > Hey guys, > > just want to send you my happy holiday wishes and congratulate to the > tremendous work that you guys have been doing, in particular the last > month! :). > > I just looked at the stats and am impressed: OpenJUMP 1.8 has been > downloaded around 28.000 times (!!) since its release. > Its kind of weird, if you meet GIS folks then they are "Ohhh OpenJUMP, > is it still around?". But if I look at the download stats now, it has > never been better/healthier (in terms of number of downloads). :) > And, perhaps for a real surveying CAD or an all-extension-loaded-ArcGIS, > OpenJUMP is still the best tool for creation, editing and cleaning of > features and layers, I think. > > Top five download countries are the US:6000 (well, huge population), > Germany: 3700, France: 1650 (both always strong), Brazil: 1500 > (surprise!) and Italy: 1400 (Peppe + Alberto). If I actually sum up the > Spanish speaking countries then this group comes into third place > (2500), before France. > Anyway, I think this shows that each ones effort into translation can be > seen by its home country :) ... well perhaps we need some "Pro" for > Portuguese? > > so, keep up the good work! > > And Ede: let me know when we are like 5 days away from a release; to > dedicate some hours with translations. > > cheers and best holiday wishes from the southern hemisphere where I am > getting toasted at 30°, phewww... not my thing at Xmas. > > cheers, > stefan > > PS: I am still following the emails on this list, if I can. > > > -- > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] ViewManager plugin
Hi Michael, here are the Spanish and Italian files thanks Peppe Il 20/Dic/2015 17:40, "Michaël Michaud" <m.michael.mich...@orange.fr> ha scritto: > Hi Peppe, > > I just uplaoded a small documentation here : > > https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/ViewManager%20PlugIn/ > > It just works for basic vector styles, vertex style (basic shapes only, no > bitmap), scale range, color theming and label. > No support for advanced vertex style or decoration for now. > > Michaël > > Le 19/12/2015 23:19, Giuseppe Aruta a écrit : > > I was testing SLD for OpenJUMP in order to save layer symbols together > with a shapefile (to find a way to share legends/symbols with other GIS). > Your project seems to me quite interesting. I am waiting for documentation > before to transalte it in Italian/Spanish. > Thanks > Peppe > > > > 2015-12-19 12:47 GMT+01:00 Michaël Michaud <m.michael.mich...@orange.fr>: > >> Hi, >> >> Just added ViewManager plugin in >> >> https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/ViewManager%20PlugIn/ >> >> I'll work on a small documentation soon. >> The plugin is an extension I was missing but it is partially redundant >> with oj capability to save layer symbolization >> in a project or in sld files. Main purpose is to be able to switch >> easily from one pre-defined symbolization to another >> in a single project. >> >> If other users find it useful, we'll envisage its inclusion in PLUS >> version. >> You'll find language file for translation in the src package if you're >> interested to have it in your language. >> >> Michaël >> >> >> -- >> ___ >> Jump-pilot-devel mailing list >> Jump-pilot-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> > > > > -- > > > > ___ > Jump-pilot-devel mailing > listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > -- > > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > jump_es.properties Description: Binary data jump_it.properties Description: Binary data -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] New improvement on Raster Style by Alberto
Hi Jukka, I did sone tests and it seems that stored raster styles are not applied and just skipped, when I open a new generation JML with older OJ versions. @Alberto I worked on Italian translation for Raster Styler (Bundle_it.properties). I ask you if you can check and eventually correct mistakes. I also need somebody who upgrade Bundle_it.properties and Bundle_es.properties files on SVN. I am traveling in Chile in this moment and have no access to OJ SVN. I attached thos two files to this mail Best regards Peppe 2015-12-18 18:04 GMT+01:00 Rahkonen Jukka (MML) < jukka.rahko...@maanmittauslaitos.fi>: > Hi, > > > > I haven’t been testing anything but I wonder if it would be good to add a > version number to the OpenJUMP project file XML. Then it could be possible > to implement something > > > > - Open new generation JML with older OJ versions –> stored > raster styles are not applied but hopefully they are just skipped > > - Show a warning: Project file was saved as JMP version {0} but > this OJ supports only {1}. Some project features may be lost on opening. > > - Perhaps warn also before overwriting existing JMP file with > older JML version. > > > > -Jukka Rahkonen- > > > > Alberto De Luca wrote: > > > > Thank you Peppe, > > > > changes are now committed! > > > > Alberto > > > > On 17 December 2015 at 20:52, Giuseppe Aruta <giuseppe.ar...@gmail.com> > wrote: > > Hi Alberto, > > I did a couple of tests, following this schema > a) I opened a jump project > > b) loaded one or two raster and applied different color simbologies > > c) saved and closed the project > > d) loaded the project again > > It seems that everything works fine. > > Very nice work > > Best regards (from Chile) > > Peppe > > > > 2015-12-16 11:04 GMT+01:00 <edgar.sol...@web.de>: > > On 15.12.2015 18:54, Alberto De Luca wrote: > > Hi there. > > > > I've added today the capability to save the raster symbology in the > OpenJUMP project file. I'd like to ask you a couple of things though: > > - is it too late to add it now? I'm not sure, but I might have read in > some posts that the features are frozen by now; > > i called it a soft freeze;).. so nothing made out of stone. generally, as > the next release is around the corner, we should clean up, translate and do > not start big reworks. > > adding features (alas not perfect) or fixing bugs is totally fine. we can > easily release a maintenance version when users stumble over show stoppers. > > i plan to release during the holidays, but hey, if it gets january because > we fixed/added some more that's fine for everybody i guess. > > so, no problemo.. ede > > > - if the answer is no, would someone be so kind (Peppe!!!) to test the > feature a bit before I commit the changes? I had to modify a few classes, > I'd like to be sure I haven't broken anything... If so, you can find the > compiled openjump jar here: > > > > > > https://www.dropbox.com/s/zf1eshbiuucohck/OpenJUMP-0.0.0-rnull.jar?dl=0 > > > > > > Cheers > > Alberto > > > > On 19 November 2015 at 21:56, Alberto De Luca <berta...@gmail.com > <mailto:berta...@gmail.com>> wrote: > > > > Hey Peppe, > > > > thank you. I know having the raster symbologies saved with the > project would be nice. I haven't had the chance to work on it yet and > honestly I've no idea about how much effort it'd required... I'll have a > look at it. > > > > Alberto > > > > > > On Thu, 19 Nov 2015 19:12 Giuseppe Aruta <giuseppe.ar...@gmail.com > <mailto:giuseppe.ar...@gmail.com>> wrote: > > > > Nice addiction to Raster Style, Alberto! > > There are new color palettes and the possibility to save raster > styles as SLD files (I saw the code. I think I will add this option also > to Export file to raster plugins). > > I was studying your code using RasterColorEditorPanel as a test. > I think we can deactivate this class on next OJ realize as this last is a > duplicate but yours is better working. > > We also should start to translate before the new OJ realize > > Just a question: do you think it is possible for you to add the > capability to save raster styles also to OpenJUMP file project? > > Best regards and thanks > > Peppe > > > > -- > >
Re: [JPP-Devel] New improvement on Raster Style by Alberto
Hi Alberto, I did a couple of tests, following this schema a) I opened a jump project b) loaded one or two raster and applied different color simbologies c) saved and closed the project d) loaded the project again It seems that everything works fine. Very nice work Best regards (from Chile) Peppe 2015-12-16 11:04 GMT+01:00 <edgar.sol...@web.de>: > On 15.12.2015 18:54, Alberto De Luca wrote: > > Hi there. > > > > I've added today the capability to save the raster symbology in the > OpenJUMP project file. I'd like to ask you a couple of things though: > > - is it too late to add it now? I'm not sure, but I might have read in > some posts that the features are frozen by now; > > i called it a soft freeze;).. so nothing made out of stone. generally, as > the next release is around the corner, we should clean up, translate and do > not start big reworks. > > adding features (alas not perfect) or fixing bugs is totally fine. we can > easily release a maintenance version when users stumble over show stoppers. > > i plan to release during the holidays, but hey, if it gets january because > we fixed/added some more that's fine for everybody i guess. > > so, no problemo.. ede > > > - if the answer is no, would someone be so kind (Peppe!!!) to test the > feature a bit before I commit the changes? I had to modify a few classes, > I'd like to be sure I haven't broken anything... If so, you can find the > compiled openjump jar here: > > > > > > https://www.dropbox.com/s/zf1eshbiuucohck/OpenJUMP-0.0.0-rnull.jar?dl=0 > > > > > > Cheers > > Alberto > > > > On 19 November 2015 at 21:56, Alberto De Luca <berta...@gmail.com > <mailto:berta...@gmail.com>> wrote: > > > > Hey Peppe, > > > > thank you. I know having the raster symbologies saved with the > project would be nice. I haven't had the chance to work on it yet and > honestly I've no idea about how much effort it'd required... I'll have a > look at it. > > > > Alberto > > > > > > On Thu, 19 Nov 2015 19:12 Giuseppe Aruta <giuseppe.ar...@gmail.com > <mailto:giuseppe.ar...@gmail.com>> wrote: > > > > Nice addiction to Raster Style, Alberto! > > There are new color palettes and the possibility to save raster > styles as SLD files (I saw the code. I think I will add this option also > to Export file to raster plugins). > > I was studying your code using RasterColorEditorPanel as a test. > I think we can deactivate this class on next OJ realize as this last is a > duplicate but yours is better working. > > We also should start to translate before the new OJ realize > > Just a question: do you think it is possible for you to add the > capability to save raster styles also to OpenJUMP file project? > > Best regards and thanks > > Peppe > > > > -- > > ___ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net Jump-pilot-devel@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > > > > > > -- > > > > > > > > ___ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > -- > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] SVN: [4595] plug-ins/ViewManagerPlugin/trunk
Hola Stefan, enviame tu numero telefonico, privatamente, que te llamo cuando llego en los proximos dias para un cafecito y otros Muchos Carinos Peppe 2015-12-11 12:55 GMT+01:00 Stefan Steiniger <sst...@geo.uzh.ch>: > oh good! I am very inactive these days on OpenJUMP matters, but then we > can meet for a coffee and practice spanish and english and ... :) > > from santiago > stefan > > Am 11.12.15 um 05:23 schrieb Giuseppe Aruta: > > Just let me know if you need to translate it for next real. Today I will > > fly to Chile and it won't be easy for me to access to SVN. > > In any case I can download language files and send them back by mail. > > Peppe > > > > 2015-12-10 23:52 GMT+01:00 Michaël Michaud <m.michael.mich...@orange.fr > > <mailto:m.michael.mich...@orange.fr>>: > > > > Hi Peppe, > > > > I'd like it to be ready for next release. > > Including it in the PLUS version or not is another question. > > It is a bit redundant with other tools like SLD, but if some oj-list > > followers > > find it useful, It should e possible to add it. > > > > Michaël > > > > > > Le 10/12/2015 11:46, Giuseppe Aruta a écrit : > >> Hi Michael, > >> do you plan to put this plugin for the next OJ real.? > >> Peppe > >> > >> 2015-12-09 23:59 GMT+01:00 <jump-pilot-...@lists.sourceforge.net > >> <mailto:jump-pilot-...@lists.sourceforge.net>>: > >> > >> Revision: 4595 > >> http://sourceforge.net/p/jump-pilot/code/4595 > >> Author: michaudm > >> Date: 2015-12-09 22:59:28 + (Wed, 09 Dec 2015) > >> Log Message: > >> --- > >> New capability to replace a view of the viewset by the current > >> view. > >> > >> Modified Paths: > >> -- > >> > > plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump.properties > >> > > plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump_fr.properties > >> > > plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewSet.java > >> > > plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewSetPanel.java > >> > >> Modified: > >> > > plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump.properties > >> > === > >> --- > >> > > plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump.properties > >> 2015-12-09 13:40:35 UTC (rev 4594) > >> +++ > >> > > plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump.properties > >> 2015-12-09 22:59:28 UTC (rev 4595) > >> @@ -22,3 +22,5 @@ > >> ViewSetPanel.move-up = Move up > >> ViewSetPanel.move-down = Move down > >> ViewSetPanel.move-to-bottom = Move to bottom > >> +ViewSetPanel.replace-by-current-view = Replace by current view > >> +ViewSetPanel.replace-by-selected-layers = Replace by selected > >> layers > >> > >> Modified: > >> > > plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump_fr.properties > >> > === > >> --- > >> > > plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump_fr.properties > >> 2015-12-09 13:40:35 UTC (rev 4594) > >> +++ > >> > > plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump_fr.properties > >> 2015-12-09 22:59:28 UTC (rev 4595) > >> @@ -21,4 +21,6 @@ > >> ViewSetPanel.move-to-top = D\xE9placer tout en haut > >> ViewSetPanel.move-up = D\xE9placer vers le haut > >> ViewSetPanel.move-down = D\xE9pacer vers le bas > >> -ViewSetPanel.move-to-bottom = D\xE9placer tout en bas > >> \ No newline at end of file > >> +ViewSetPanel.move-to-bottom = D\xE9placer tout en bas > >> +ViewSetPanel.replace-by-current-view = Remplacer par la vue > >> courante > >> +ViewSetPanel.replace-by-selected-layers = Remplacer par les > >> couches s\xE9lectionn\xE9es > >> \ No newline at end of file &
Re: [JPP-Devel] SVN: [4595] plug-ins/ViewManagerPlugin/trunk
Just let me know if you need to translate it for next real. Today I will fly to Chile and it won't be easy for me to access to SVN. In any case I can download language files and send them back by mail. Peppe 2015-12-10 23:52 GMT+01:00 Michaël Michaud <m.michael.mich...@orange.fr>: > Hi Peppe, > > I'd like it to be ready for next release. > Including it in the PLUS version or not is another question. > It is a bit redundant with other tools like SLD, but if some oj-list > followers > find it useful, It should e possible to add it. > > Michaël > > > Le 10/12/2015 11:46, Giuseppe Aruta a écrit : > > Hi Michael, > do you plan to put this plugin for the next OJ real.? > Peppe > > 2015-12-09 23:59 GMT+01:00 <jump-pilot-...@lists.sourceforge.net>: > >> Revision: 4595 >> http://sourceforge.net/p/jump-pilot/code/4595 >> Author: michaudm >> Date: 2015-12-09 22:59:28 + (Wed, 09 Dec 2015) >> Log Message: >> --- >> New capability to replace a view of the viewset by the current view. >> >> Modified Paths: >> -- >> >> plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump.properties >> >> plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump_fr.properties >> >> plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewSet.java >> >> plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewSetPanel.java >> >> Modified: >> plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump.properties >> === >> --- >> plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump.properties >> 2015-12-09 13:40:35 UTC (rev 4594) >> +++ >> plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump.properties >> 2015-12-09 22:59:28 UTC (rev 4595) >> @@ -22,3 +22,5 @@ >> ViewSetPanel.move-up = Move up >> ViewSetPanel.move-down = Move down >> ViewSetPanel.move-to-bottom = Move to bottom >> +ViewSetPanel.replace-by-current-view = Replace by current view >> +ViewSetPanel.replace-by-selected-layers = Replace by selected layers >> >> Modified: >> plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump_fr.properties >> === >> --- >> plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump_fr.properties >> 2015-12-09 13:40:35 UTC (rev 4594) >> +++ >> plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump_fr.properties >> 2015-12-09 22:59:28 UTC (rev 4595) >> @@ -21,4 +21,6 @@ >> ViewSetPanel.move-to-top = D\xE9placer tout en haut >> ViewSetPanel.move-up = D\xE9placer vers le haut >> ViewSetPanel.move-down = D\xE9pacer vers le bas >> -ViewSetPanel.move-to-bottom = D\xE9placer tout en bas >> \ No newline at end of file >> +ViewSetPanel.move-to-bottom = D\xE9placer tout en bas >> +ViewSetPanel.replace-by-current-view = Remplacer par la vue courante >> +ViewSetPanel.replace-by-selected-layers = Remplacer par les couches >> s\xE9lectionn\xE9es >> \ No newline at end of file >> >> Modified: >> plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewSet.java >> === >> --- >> plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewSet.java >> 2015-12-09 13:40:35 UTC (rev 4594) >> +++ >> plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewSet.java >> 2015-12-09 22:59:28 UTC (rev 4595) >> @@ -14,9 +14,10 @@ >> @XmlRootElement >> public class ViewSet { >> >> -public static int REMOVE = -1; >> -public static int MOVMOD = 0; >> -public static int ADD= 1; >> +public static int REMOVE = -1; >> +public static int MOVMOD = 0; >> +public static int ADD = 1; >> +public static int REPLACE = 2; >> >> List listeners = new ArrayList(); >> >> @@ -78,6 +79,14 @@ >> } >> } >> >> +public void replaceView(View oldView, View newView) { >> +int pos = views.indexOf(oldView); >> +if (pos>0) { >> +views.set(pos, newView); >> +fireReplaceView(oldView); >> +} >> +} >> + >> public void fireAddView(View view) { >> for (Listener listener : listeners) { >> listener.actionPerformed(th
Re: [JPP-Devel] Language files
Hi Michael, I saw the duplicate but I didn't check if they are connected to other functions. We should ask to Alberto Peppe 2015-12-09 23:40 GMT+01:00 Michaël Michaud <m.michael.mich...@orange.fr>: > I will translate bundle.properties to french. > > Do you know why there are duplicate lines (at least duplicate keys) in > Bundle.properties ? > (I already found some in jump.properties a few days ago). > > Michaël > > Le 09/12/2015 11:24, Giuseppe Aruta a écrit : > > Hi all, > I saw that Jukka and Michael upgraded Finnic and French jump.properties > file. I already did for Italian and Spanish ones.We still miss the final > upgrade for German language file (as I can see there are more that 250 not > translated codes on the file). Can Ede or Stefan work around? > > There is still RasterStylePlugIn, added by Alberto, that needs to be > partially translated.Originally the language files were not integrated into > jump.properies file but they resides on the folder > org.openjump.rasterimage.styler.resources (see file Bundle.properties). I > already translated Italian and Spanish. I ask you to give a look and a > little time to translate them (73 entries). > > Which is the candidate number for next OJ real.? I suggest for 1.9 as > there are some new important features (apart from many intersting new > plugins), like new framework for on Sextante raster. And Style/zoom to > maximun extend plugins now recognize also other layerables (WMS/Sextante > Raster Images), without loosing compatibility. > > I invite you to give a look at the roadmap page and add your comments. > http://ojwiki.soldin.de/index.php?title=OpenJUMP_Roadmap > > Best regards > > Peppe > > > -- > > > > ___ > Jump-pilot-devel mailing > listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > -- > > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Adding other spatial databases support in OJ core
Hi Nicholas, I agree for your proposal to add MariaDB/MySQL and Spatialite codes Peppe 2015-12-10 8:52 GMT+01:00 Rahkonen Jukka (MML) < jukka.rahko...@maanmittauslaitos.fi>: > Hi, > > > > This version makes connection with out Oracle rather fast and reading data > is successful. > > > > I have one suggestion: If adding a new layer fails because of some > ORA-error it would be better not to add the layer into the OpenJUMP > project. Test case: Add a layer with invalid WHERE. It seems to be that if > user does not delete those non-operating layers then OpenJUMP is sending a > new SQL request every time the map is panned or zoomed and depending on > where the error happens the query may run quite a long time. > > > > -Jukka Rahkonen- > > > > Nicolas Ribot wrote: > > > > Hi, > > > > Oracle Spatial support has been added to OJ core (read-only). > > It works the same way as Postgis support: define a DB connection to Oracle > and choose spatial layers from the list of found layers to display them in > OJ > > > > Oracle 9i -> 12c supported (though only tested recently with Oracle 11i > and 12c). > > > > The SpatialDatabases plugin also contains code to support MariaDB/MySQL > and Spatialite. (SQL Server in the pipe...) > > > > I was thinking about adding this code to the core, too. > > What do you think ? > > > > Nicolas > > > > > > > -- > > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] SVN: [4595] plug-ins/ViewManagerPlugin/trunk
Hi Michael, do you plan to put this plugin for the next OJ real.? Peppe 2015-12-09 23:59 GMT+01:00: > Revision: 4595 > http://sourceforge.net/p/jump-pilot/code/4595 > Author: michaudm > Date: 2015-12-09 22:59:28 + (Wed, 09 Dec 2015) > Log Message: > --- > New capability to replace a view of the viewset by the current view. > > Modified Paths: > -- > > plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump.properties > > plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump_fr.properties > > plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewSet.java > > plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewSetPanel.java > > Modified: > plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump.properties > === > --- > plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump.properties > 2015-12-09 13:40:35 UTC (rev 4594) > +++ > plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump.properties > 2015-12-09 22:59:28 UTC (rev 4595) > @@ -22,3 +22,5 @@ > ViewSetPanel.move-up = Move up > ViewSetPanel.move-down = Move down > ViewSetPanel.move-to-bottom = Move to bottom > +ViewSetPanel.replace-by-current-view = Replace by current view > +ViewSetPanel.replace-by-selected-layers = Replace by selected layers > > Modified: > plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump_fr.properties > === > --- > plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump_fr.properties > 2015-12-09 13:40:35 UTC (rev 4594) > +++ > plug-ins/ViewManagerPlugin/trunk/resources/view_manager/language/jump_fr.properties > 2015-12-09 22:59:28 UTC (rev 4595) > @@ -21,4 +21,6 @@ > ViewSetPanel.move-to-top = D\xE9placer tout en haut > ViewSetPanel.move-up = D\xE9placer vers le haut > ViewSetPanel.move-down = D\xE9pacer vers le bas > -ViewSetPanel.move-to-bottom = D\xE9placer tout en bas > \ No newline at end of file > +ViewSetPanel.move-to-bottom = D\xE9placer tout en bas > +ViewSetPanel.replace-by-current-view = Remplacer par la vue courante > +ViewSetPanel.replace-by-selected-layers = Remplacer par les couches > s\xE9lectionn\xE9es > \ No newline at end of file > > Modified: > plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewSet.java > === > --- > plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewSet.java > 2015-12-09 13:40:35 UTC (rev 4594) > +++ > plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewSet.java > 2015-12-09 22:59:28 UTC (rev 4595) > @@ -14,9 +14,10 @@ > @XmlRootElement > public class ViewSet { > > -public static int REMOVE = -1; > -public static int MOVMOD = 0; > -public static int ADD= 1; > +public static int REMOVE = -1; > +public static int MOVMOD = 0; > +public static int ADD = 1; > +public static int REPLACE = 2; > > List listeners = new ArrayList(); > > @@ -78,6 +79,14 @@ > } > } > > +public void replaceView(View oldView, View newView) { > +int pos = views.indexOf(oldView); > +if (pos>0) { > +views.set(pos, newView); > +fireReplaceView(oldView); > +} > +} > + > public void fireAddView(View view) { > for (Listener listener : listeners) { > listener.actionPerformed(this, ADD, view); > @@ -96,6 +105,12 @@ > } > } > > +public void fireReplaceView(View oldView) { > +for (Listener listener : listeners) { > +listener.actionPerformed(this, REPLACE, oldView); > +} > +} > + > public String getName() { > return name; > } > > Modified: > plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewSetPanel.java > === > --- > plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewSetPanel.java > 2015-12-09 13:40:35 UTC (rev 4594) > +++ > plug-ins/ViewManagerPlugin/trunk/src/org/openjump/ext/viewmanager/ViewSetPanel.java > 2015-12-09 22:59:28 UTC (rev 4595) > @@ -19,9 +19,11 @@ > I18N I18N_ = I18N.getInstance("view_manager"); > > ViewSet viewSet; > +PlugInContext context; > > public ViewSetPanel(final PlugInContext context, final ViewSet > viewSet) { > super(new GridBagLayout()); > +this.context = context; > setBorder(BorderFactory.createLineBorder(Color.black)); > initToolBar(); > if (viewSet != null) { > @@ -79,6 +81,8 @@ > private JMenuItem upMenuItem = new > JMenuItem(I18N_.getText("view_manager","ViewSetPanel.move-up")); > private JMenuItem downMenuItem = new >
Re: [JPP-Devel] Language files
No Jukka, they do basically the same and thanks to Alberto they share the same libraries/methods. There is a chronological order: a) the raster color editor on menu context is the first and it was added by Stefan some years ago b) I modified this version on the one available on Layer context – Change styles in order to have more features c) Alberto added the last new plugin wich is more featured and well done. I personally work with raster and prefer to use Alberto's version. I suggested some month ago on the list to "obliterate" a) and b) in order to support only the most featured one. And the answer was to wait Users' opinion (which never come). Now it is the time to take a final decision. Peppe 2015-12-09 13:39 GMT+01:00 Rahkonen Jukka (MML) < jukka.rahko...@maanmittauslaitos.fi>: > Thanks Peppe, I found it now. > > > > For Sextante image layers there are now these tools: > > - Raster – Raster color editor (very basic) > > - Layer context – Change styles – Raster color editor tab (more > features) > > - Layer context – Raster styles (even more features) > > > > Are they so different that we need all those in the future? > > > > -Jukka Rahkonen- > > > > Giuseppe Aruta wrote: > > > > @Jukka, > > This plugin is related to monoband sextante raster image layers (tif, flt > or asc). > > The plugin is visible on layer context menu (it is the last one) > > Peppe > > > > 2015-12-09 11:54 GMT+01:00 <edgar.sol...@web.de>: > > On 09.12.2015 11:24, Giuseppe Aruta wrote: > > Hi all, > > I saw that Jukka and Michael upgraded Finnic and French jump.properties > file. I already did for Italian and Spanish ones.We still miss the final > upgrade for German language file (as I can see there are more that 250 not > translated codes on the file). Can Ede or Stefan work around? > > i often struggle to grasp the meaning or what exactly a plugin is doing > GIS-wise in english already, so Stefan - would you? > > > There is still RasterStylePlugIn, added by Alberto, that needs to be > partially translated.Originally the language files were not integrated into > jump.properies file but they resides on the folder > org.openjump.rasterimage.styler.resources (see file Bundle.properties). I > already translated Italian and Spanish. I ask you to give a look and a > little time to translate them (73 entries). > > we should integrate them into our language files or at least move them to > a subfolder of src/language/ > > > Which is the candidate number for next OJ real.? I suggest for 1.9 as > there are some new important features (apart from many intersting new > plugins), like new framework for on Sextante raster. And Style/zoom to > maximun extend plugins now recognize also other layerables (WMS/Sextante > Raster Images), without loosing compatibility. > > we currently sport the version scheme major.minor.maintenance > > as far as i am concerned we raise the minor number until we hit a major > backward incompatibility or add something really impressive. like the > plugin manager or online updates or such. > > > ..ede > > > -- > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > -- > > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Menu organization
Fine for me too Peppe 2015-12-07 11:28 GMT+01:00 Nicolas Ribot: > Hi Michaël, > Fine with me. > > Nicolas > > On 7 December 2015 at 00:08, Michaël Michaud > wrote: > >> Hi users, >> >> I just moved new EraseLayer and MakeValid plugins from Tools>Analysis to >> Tools>Edit Geometry >> Let me know what you think about it. >> >> Michaël >> >> >> -- >> Go from Idea to Many App Stores Faster with Intel(R) XDK >> Give your users amazing mobile app experiences with Intel(R) XDK. >> Use one codebase in this all-in-one HTML5 development environment. >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple >> OSs. >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140 >> ___ >> Jump-pilot-devel mailing list >> Jump-pilot-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >> > > > > -- > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140 > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] CutFeatureTool
Hi Jukka, see OJ 4578. I added a small code to prevent deleting points/multipoints Peppe 2015-12-06 23:25 GMT+01:00 Michaël Michaud: > Hi, > > Thanks for the tests Jukka. > Exploding selected multi-geometries even if they are not split seems > reasonnable. > Problem with points / multi-points should be resolved (they should be > unmodified) > I found another problem : the tool processed only selected features of > the first selected layer in the layerNamePanel. > It now processes all selected features, but the undo tool undo features > from one layer at a time. > > Michaël > > Le 06/12/2015 22:38, Rahkonen Jukka (MML) a écrit : > > Hi, > > > > Some comments: > > > > - Works well with polygon containing holes > > - Works with multipolygons and multilinestrings > > - Seems to explode multigeometries which may be a surprise for the user. > On the other hand it would be very hard to define what else to do it > multigeometries have many parts and linestring splits only some of them so > I think that "explode and split" is OK. > > - Tool should check that no point/multipoint geometries are selected. > Now I get "Layer must be editable" error with such misuse and the selected > points are deleted. Undo fortunately works. > > > > -Jukka Rahkonen- > > > > Michaël Michaud wrote: > > > > Hi Peppe, Jukka, > > > > I just improved CutFeatureTool recently added by Peppe, > > > > - simplified split routines > > - can now split a feature in more than two parts > > - more robust (should remove artefacts noticed by Jukka : can you > confirm ?) > > - more transactional : undo will now un-split all features splitted > durnig an operation > > > > There is still a side effect which is difficult to avoid : > > - if a linestring contains a desired self-intersection (non > simple-linestring), splitting the linestring will node the > self-intersection (splitting uses union op which is noding all input > features). > > > > Michaël > > > > Le 04/12/2015 10:21, Rahkonen Jukka (MML) a écrit : > >> Hi, > >> > >> The tool has good features: > >> - can split many polygons at the same time > >> - splits also linestrings > >> > >> Something to study: > >> - Splitting a polygon with hole through the hole creates odd > geometries. The existing Split polygon with linestring toold does good job > with those. > >> - Splitting multipolygons can create odd geometries. > >> > >> -Jukka Rahkonen- > >> > >> > >> -- > >> Go from Idea to Many App Stores Faster with Intel(R) XDK Give > >> your users amazing mobile app experiences with Intel(R) XDK. > >> Use one codebase in this all-in-one HTML5 development environment. > >> Design, debug & build mobile apps & 2D/3D high-impact games for > multiple OSs. > >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140 > >> ___ > >> Jump-pilot-devel mailing list > >> Jump-pilot-devel@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > >> > > > > > -- > > Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users > amazing mobile app experiences with Intel(R) XDK. > > Use one codebase in this all-in-one HTML5 development environment. > > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > > http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140 > > ___ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > -- > > Go from Idea to Many App Stores Faster with Intel(R) XDK > > Give your users amazing mobile app experiences with Intel(R) XDK. > > Use one codebase in this all-in-one HTML5 development environment. > > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > > http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140 > > ___ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > -- > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140 > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >
Re: [JPP-Devel] New MakeValid plugin
Thanks Michaël for your efforts! I think we should wait a couple of months extra before new OJ stable real. - before we test those new improvements Peppe 2015-12-06 0:14 GMT+01:00 Michaël Michaud: > Hi jumpers, > > Just added a new Plugin called MakeValid in Tools > Analysis > It repairs invalid geometries. > > Michaël > > > -- > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140 > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Error on applying styles
It works! Thanks Michaël! 2015-12-05 14:34 GMT+01:00 Michaël Michaud <m.michael.mich...@orange.fr>: > Hi Peppe, > > Should be fixed in r4568, thanks for your help > > Michaël > > > Le 05/12/2015 13:19, Giuseppe Aruta a écrit : > > Hi Michaël, > The problem seems to be solved with SLD plugins but the error comes again > with Combine Selected Layers plugin > (org.openjump.core.ui.plugin.layer.CombineSelectedLayersPlugIn) > I did a simple test: > a) I created/loaded two or three different vector files/layers > b) combined them > c) tried to open Change Style plugin. > I attached the error message below. > BTW: Should I open an error ticket? > Best regards > Peppe > > java.lang.ClassCastException: > com.vividsolutions.jump.workbench.ui.renderer.style.BasicStyle cannot be > cast to com.vividsolutions.jump.workbench.ui.renderer.style.XBasicStyle > at > com.vividsolutions.jump.workbench.ui.renderer.style.ColorThemingStylePanel$19.stateChanged(ColorThemingStylePanel.java:901) > at javax.swing.JSlider.fireStateChanged(Unknown Source) > at javax.swing.JSlider$ModelListener.stateChanged(Unknown Source) > at javax.swing.DefaultBoundedRangeModel.fireStateChanged(Unknown > Source) > at javax.swing.DefaultBoundedRangeModel.setRangeProperties(Unknown > Source) > at javax.swing.DefaultBoundedRangeModel.setValue(Unknown Source) > at javax.swing.JSlider.setValue(Unknown Source) > at com.vividsolutions.jump.workbench.ui.GUIUtil.sync(GUIUtil.java:1221) > at > de.latlon.deejump.plugin.style.DeeChangeStylesPlugIn.execute(DeeChangeStylesPlugIn.java:134) > at > com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:342) > at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) > at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) > at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) > at javax.swing.DefaultButtonModel.setPressed(Unknown Source) > at javax.swing.AbstractButton.doClick(Unknown Source) > at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) > at > javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) > at java.awt.Component.processMouseEvent(Unknown Source) > at javax.swing.JComponent.processMouseEvent(Unknown Source) > at java.awt.Component.processEvent(Unknown Source) > at java.awt.Container.processEvent(Unknown Source) > at java.awt.Component.dispatchEventImpl(Unknown Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) > at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) > at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) > at java.awt.Container.dispatchEventImpl(Unknown Source) > at java.awt.Window.dispatchEventImpl(Unknown Source) > at java.awt.Component.dispatchEvent(Unknown Source) > at java.awt.EventQueue.dispatchEventImpl(Unknown Source) > at java.awt.EventQueue.access$500(Unknown Source) > at java.awt.EventQueue$3.run(Unknown Source) > at java.awt.EventQueue$3.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown > Source) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown > Source) > at java.awt.EventQueue$4.run(Unknown Source) > at java.awt.EventQueue$4.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at > java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown > Source) > at java.awt.EventQueue.dispatchEvent(Unknown Source) > at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.pumpEvents(Unknown Source) > at java.awt.EventDispatchThread.run(Unknown Source) > > > > 2015-12-03 13:36 GMT+01:00 Michaël Michaud <m.michael.mich...@orange.fr>: > >> Hi Peppe, >> >> I introduced XBasicStyle when I added the capability to display vertices >> in ColorThemingStyle. >> As ColorThemingStyle is mapping key values or ranges to BasicStyle, I >> wrapped vertex style in >> BasicStyle and called it XBasicStyle as for eXtended BasicStyle. >> Sor
Re: [JPP-Devel] Error on applying styles
Hi Michaël, The problem seems to be solved with SLD plugins but the error comes again with Combine Selected Layers plugin (org.openjump.core.ui.plugin.layer.CombineSelectedLayersPlugIn) I did a simple test: a) I created/loaded two or three different vector files/layers b) combined them c) tried to open Change Style plugin. I attached the error message below. BTW: Should I open an error ticket? Best regards Peppe java.lang.ClassCastException: com.vividsolutions.jump.workbench.ui.renderer.style.BasicStyle cannot be cast to com.vividsolutions.jump.workbench.ui.renderer.style.XBasicStyle at com.vividsolutions.jump.workbench.ui.renderer.style.ColorThemingStylePanel$19.stateChanged(ColorThemingStylePanel.java:901) at javax.swing.JSlider.fireStateChanged(Unknown Source) at javax.swing.JSlider$ModelListener.stateChanged(Unknown Source) at javax.swing.DefaultBoundedRangeModel.fireStateChanged(Unknown Source) at javax.swing.DefaultBoundedRangeModel.setRangeProperties(Unknown Source) at javax.swing.DefaultBoundedRangeModel.setValue(Unknown Source) at javax.swing.JSlider.setValue(Unknown Source) at com.vividsolutions.jump.workbench.ui.GUIUtil.sync(GUIUtil.java:1221) at de.latlon.deejump.plugin.style.DeeChangeStylesPlugIn.execute(DeeChangeStylesPlugIn.java:134) at com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:342) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) 2015-12-03 13:36 GMT+01:00 Michaël Michaud <m.michael.mich...@orange.fr>: > Hi Peppe, > > I introduced XBasicStyle when I added the capability to display vertices > in ColorThemingStyle. > As ColorThemingStyle is mapping key values or ranges to BasicStyle, I > wrapped vertex style in > BasicStyle and called it XBasicStyle as for eXtended BasicStyle. > Sorry it it has broken SLD compatibility. I'll try to figure out what is > broken. If you have a dataset > and a sld to reproduce the problem, it may help, > > Michaël > > > Le 03/12/2015 11:53, Giuseppe Aruta a écrit : > > I had this error on Change Style plugin on a layer, on which I load a SLD > style (previuosly saved using OpenJUMP SLD exporter). > What does it mean? What is this XBaseStyle class? And how can I pass it > by? > regards > Peppe > > java.lang.ClassCastException: > com.vividsolutions.jump.workbench.ui.renderer.style.BasicStyle cannot be > cast to com.vividsolutions.jump.workbench.ui.renderer.style.XBasicStyle >
Re: [JPP-Devel] Added cut features tool to Editing toolbox
Thanks Michaël, it should be fixed on OJ 4563 Peppe 2015-12-04 8:47 GMT+01:00 Michaël Michaud <m.michael.mich...@orange.fr>: > Hi Peppe, > > Seems like you forgot to commit the icon, > > Michaël > > > Le 04/12/2015 08:29, Giuseppe Aruta a écrit : > > Hi all, > I added a new cutting tool to editing toolbox, "Cut polygons and > linestrings" > It partially derives from "SplitPolygonToo.class" from Kosmo SAIG and it > has been modified to be used for both polygons (multipolygons) and > linestrings (multilinestrins). Any modification is undoable. > See OpenJUMP Development Snapshots revision 4562 > Best regards > Giuseppe Aruta > > > -- > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs.http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140 > > > > ___ > Jump-pilot-devel mailing > listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > -- > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140 > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] SVN: [4563] core/trunk/src/com/vividsolutions/jump/workbench/ui/images
Hi Jukka, thanks for the feedback. Peppe 2015-12-04 10:21 GMT+01:00 Rahkonen Jukka (MML) < jukka.rahko...@maanmittauslaitos.fi>: > Hi, > > The tool has good features: > - can split many polygons at the same time > - splits also linestrings > > Something to study: > - Splitting a polygon with hole through the hole creates odd geometries. > The existing Split polygon with linestring toold does good job with those. > - Splitting multipolygons can create odd geometries. > > -Jukka Rahkonen- > > > > -- > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140 > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Added cut features tool to Editing toolbox
Hi all, I added a new cutting tool to editing toolbox, "Cut polygons and linestrings" It partially derives from "SplitPolygonToo.class" from Kosmo SAIG and it has been modified to be used for both polygons (multipolygons) and linestrings (multilinestrins). Any modification is undoable. See OpenJUMP Development Snapshots revision 4562 Best regards Giuseppe Aruta -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Error on applying styles
I had this error on Change Style plugin on a layer, on which I load a SLD style (previuosly saved using OpenJUMP SLD exporter). What does it mean? What is this XBaseStyle class? And how can I pass it by? regards Peppe java.lang.ClassCastException: com.vividsolutions.jump.workbench.ui.renderer.style.BasicStyle cannot be cast to com.vividsolutions.jump.workbench.ui.renderer.style.XBasicStyle at com.vividsolutions.jump.workbench.ui.renderer.style.ColorThemingStylePanel$19.stateChanged(ColorThemingStylePanel.java:901) at javax.swing.JSlider.fireStateChanged(Unknown Source) at javax.swing.JSlider$ModelListener.stateChanged(Unknown Source) at javax.swing.DefaultBoundedRangeModel.fireStateChanged(Unknown Source) at javax.swing.DefaultBoundedRangeModel.setRangeProperties(Unknown Source) at javax.swing.DefaultBoundedRangeModel.setValue(Unknown Source) at javax.swing.JSlider.setValue(Unknown Source) at com.vividsolutions.jump.workbench.ui.GUIUtil.sync(GUIUtil.java:1221) at de.latlon.deejump.plugin.style.DeeChangeStylesPlugIn.execute(DeeChangeStylesPlugIn.java:134) at org.openjump.core.ui.plugin.layer.LayerableStylePlugIn.execute(LayerableStylePlugIn.java:38) at com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:342) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] New improvement on Raster Style by Alberto
Nice addiction to Raster Style, Alberto! There are new color palettes and the possibility to save raster styles as SLD files (I saw the code. I think I will add this option also to Export file to raster plugins). I was studying your code using RasterColorEditorPanel as a test. I think we can deactivate this class on next OJ realize as this last is a duplicate but yours is better working. We also should start to translate before the new OJ realize Just a question: do you think it is possible for you to add the capability to save raster styles also to OpenJUMP file project? Best regards and thanks Peppe -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Proposal to add MeasureToolbox plugin to OpenJUMP PLUS
Hi Michaël, Stefan and Ede thanks for your answer. I will copy MeasureToolbox into OJ Plus. I didin't had time to work around the geodetic transformation, Michael but It is on my priority list. Ede, I add the source code here: http://sourceforge.net/projects/opensit/files/Openjump/PlugIn/MeasureExtension/ Best regards Peppe 2015-11-13 10:44 GMT+01:00: > On 13.11.2015 01:00, Stefan Steiniger wrote: > > (*) I can move the source code to OJ SVN if required > > where is it currently? ..ede > > > -- > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Proposal to add MeasureToolbox plugin to OpenJUMP PLUS
Hi, I would like to add MeasureToolbox plugin ( https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/MeasureExtension/) to OpenJUMP PLUS. The tools available on this toolbox should solve at least two important issues for OJ: measure in Geographic coordinates (EPSG4326) and convert between different SI and non SI units(*) I would like to have the opinion of the list Best regards Peppe (*) I can move the source code to OJ SVN if required -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Problem with SVN
Hi Ede, thank you for the help. It was easy and just like you wrote: absence of that svn+ssh string. Peppe 2015-11-01 15:15 GMT+01:00 <edgar.sol...@web.de>: > On 01.11.2015 11:12, Giuseppe Aruta wrote: > > Hi all, > > I need a help. Whenever I try to save a modification on OJ_SVN, I have > this error: > > Some of selected resources were not committed. > > Authentication error. > > svn: E170001: Commit failed (details follow): > > > > svn: E170001: Commit failed (details follow): > > svn: E170001: MKACTIVITY of > '/p/jump-pilot/code/!svn/act/f1f866c2-5001-0010-b45b-f7eea4b81236': 403 > Forbidden (http://svn.code.sf.net) > > > > How can I solve it? Thanks in advance > > Peppe > > > > make sure you access svn authenticated with svn+ssh:// . the above error > states "(http://svn.code.sf.net)" > > if this is the case you might have to wait it out. "403 Forbidden" > sometimes happens when sf.net svn has an outage. > > ..ede > > > -- > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Problem with SVN
Hi all, I need a help. Whenever I try to save a modification on OJ_SVN, I have this error: Some of selected resources were not committed. Authentication error. svn: E170001: Commit failed (details follow): svn: E170001: Commit failed (details follow): svn: E170001: MKACTIVITY of '/p/jump-pilot/code/!svn/act/f1f866c2-5001-0010-b45b-f7eea4b81236': 403 Forbidden (http://svn.code.sf.net) How can I solve it? Thanks in advance Peppe -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Question about Michaël's Coordinate Transformation Plugin
Hi Michaël, thanks for the answer. I recently had a conversation with an Italian OpenJUMP user about your plugin and the possibility to use grids in OpenJUMP. This let me check around a solution. I found some .gsb files available( for transformations in Italy) under Creative Commons copyright. I will try to use your information to make them available fro your plugin. Best regards Peppe 2015-10-25 22:25 GMT+01:00 Michaël Michaud <m.michael.mich...@orange.fr>: > Hi Peppe, > > It "should" be possible. At least if you have a NTv2 grid to define your > transformation. > > You should try to define your transformation with a +nadgrids=grid_name.gsb > parameter > as in the IGNF registry and to add your transformation in the epsg file. > > Not sure it will be so easy, but have a try and let me know how it goes. > > Michaël > > > > Le 25/10/2015 09:47, Giuseppe Aruta a écrit : > > Hi Michaël, > I can see that your plugin can also make transformations using an internal > IGNF registry .gsb grid file. > Do you think it is possible to adopt also other grids for other areas/crs? > thanks for the answer > Peppe > > > -- > > > > ___ > Jump-pilot-devel mailing > listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > -- > > ___ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Question about Michaël's Coordinate Transformation Plugin
Hi Michaël, I can see that your plugin can also make transformations using an internal IGNF registry .gsb grid file. Do you think it is possible to adopt also other grids for other areas/crs? thanks for the answer Peppe -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] New Measure Toolbox for OpenJUMP available
Hi OpenJumpers, a new version of my Measure Extension for OpenJUMP is available at GeoArbores SorceForge site: http://sourceforge.net/projects/opensit/files/Openjump/PlugIn/MeasureExtension/ This new version is more advanced than previous ones and is re-arranged as a toolbox, available on PlugIn menu With this new version you can: a) draw to get coordinates, length, angles, azimuth, perimeter or area. An option allows to save progressive measurements. Any measurements can be done also in geographic coordinates(*) (currently only EPSG4326). c) get measurement information from selected features. This option allows to get: length from linestring, area and perimeter from polygon and multipolygon, coordinates from points features d) automatically convert, during the measurements, between SI units (meter and kilometer) and non SI units (International foot, US survey foot, yard, mile, nautical mile) e) display a scale on the workbench also geographic coordinates f) zoom to scale also in geographic coordinates Download MeasureToolbox_11.jar file directly here: http://sourceforge.net/projects/opensit/files/Openjump/PlugIn/MeasureExtension/MeasureToolbox_11.jar/download A small help documentation is available, in English, as PDF file: http://sourceforge.net/projects/opensit/files/Openjump/PlugIn/MeasureExtension/Measure%20toolbox_11.pdf/download Any comment is welcome at OpenJUMP users and developers list Giuseppe Aruta (*)Length is calculated using Thaddeus Vicenty's inverse formula (T. Vincenty , 1975, Direct and Inverse solutions of geodesics of the ellipsoid with application of nasted equations, Survey Review, XXII, 176, May 1975). Area and angles are calculated following Robert. G. Chamberlain and William H. Duquette, "Some Algorithms for Polygons on a Sphere" , NASA JPL Publication 07-03, June 2007 and using Earth mean axis = 6371008.7714. -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Renzi: Added Style plugin to WMS layers
Hi Andrei, Thanks. That plugging should be upgraded. I am moving some capabilities to OJ: the Tools-Warp-Affine transformation ( with warping vectors) should work also for Sextante Raster layers. It is probably not the definitive solution as OJ Raster capability should be rearranged all together. Anyhow I will update the Raster plugin in a couple of weeks. Best regards Peppe Il giorno 07/lug/2015 19:36, Andrei Nacu andreina...@yahoo.com ha scritto: Hi Andrei, thanks for the test. The bug should be corrected on OJ version 4326 Peppe Hi Peppe, It works fine now. Thanks for the plug in! You might also want to know that the georeferencing toolbox from your Raster tools plug ins is not working for the latest releases of OJ. When you click Apply Affine transformation, after placing the warping vectors, you get a NoSuchMethod error: java.lang.NoSuchMethodError: org.openjump.core.rasterimage.RasterImageLayer.getEnvelopeAsGeometry()Lcom/vividsolutions/jts/geom/Polygon; at it.geoarbores.openjump.rastertools.plugin.georeference.toolbar.RasterAffineTransformPlugIn.execute(RasterAffineTransformPlugIn.java:122) at com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:342) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Cheers, Andrei -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Renzi: Added Style plugin to WMS layers
Hi Andrei, Thanks. That plugging should be upgraded. I am moving some capabilities to OJ: the Tools-Warp-Affine transformation ( with warping vectors) should work also for Sextante Raster layers. It is probably not the definitive solution as OJ Raster capability should be rearranged all together. Anyhow I will update the Raster plugin in a couple of weeks. Best regards Peppe Il giorno 07/lug/2015 19:36, Andrei Nacu andreina...@yahoo.com ha scritto: -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Different line width for Colour Theming categories not working
Hi Michaël - remove the capability to change the width globally does it means that OJ cannot set StyleRenderingLine width anymore? In this case I think it is not the way to solve as we will lose a capability of OJ. - use a checkbox or a special value for width (ex. -1) which means that global width must be ignored and unique widths must be honoured I prefer a checkbox. It is more easy to recognize to an user. If we use a special value than we have to describe on a wiki/documentation - we are still far away to complete ii :( Peppe 2015-07-08 23:16 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr: Hi, You're right, I can see two ways to fix this problem : - remove the capability to change the width globally - use a checkbox or a special value for width (ex. -1) which means that global width must be ignored and unique widths must be honoured Michaël Le 08/07/2015 16:22, Rahkonen Jukka (MML) a écrit : Hi, I agree that this is quite a degeneration. -Jukka Rahkonen- Stefan Steiniger wrote: uhm, that would be pretty bad for making maps :( stefan On 07-07-2015 14:06, Andrei Nacu wrote: Hi, I just noticed that you cannot set different line widths for Colour Theming categories anymore. OJ version 1.7.0 allowed different line widths for each class. This changed when the line width option (alongside transparency and display vertices) was added to the menu. Now it universally sets a single line width for all classes. Andrei -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Map Generalization toolbox
Hi, I just noticed that you cannot set different line widths for Colour Theming categories anymore. OJ version 1.7.0 allowed different line widths for each class. This changed when the line width option (alongside transparency and display vertices) was added to the menu. Now it universally sets a single line width for all classes. Andrei Hi Andrei, you should add a bug tag here http://sourceforge.net/p/jump-pilot/bugs/?source=navbar Peppe -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Added Style plugin to WMS layers
Hi Andei, thanks for the test. The bug should be corrected on OJ version 4326 Peppe 2015-07-03 20:22 GMT+02:00 Andrei Nacu andreina...@yahoo.com: Dear Jumpers, I added a basic WMS style plugin to WMS layer context menu: it currently allows user to define wms transparency and visibility according to scale I also uniformed theplugin icon (palette.gif) and name (Change Style) to Vector/Raster/WMS style plugins (DeeChangesStylePlugIn, ChangeRasterImagePropertiesPlugIn and WMSStylePlugIn) Best regard Peppe Hi Peppe, This is a great plug in. Transparency for WMS layers is really useful. I sometimes struggled to distinguish digitized vector layers from a WMS topographic map with strong colors. And with the scale option we can zoom in/out through several WMS layers, each WMS layer/map with its own level of detail. I found a small bug. If someone would swap scales by mistake (like in the attached screen capture), OJ will throw an Assertion Failed exception and will stop working: com.vividsolutions.jts.util.AssertionFailedException at com.vividsolutions.jts.util.Assert.isTrue(Assert.java:68) at com.vividsolutions.jts.util.Assert.isTrue(Assert.java:54) at com.vividsolutions.jump.workbench.ui.renderer.LayerRenderer.withinVisibleScaleRange(LayerRenderer.java:112) at com.vividsolutions.jump.workbench.ui.renderer.LayerRenderer.render(LayerRenderer.java:105) at com.vividsolutions.jump.workbench.ui.renderer.WMSLayerRenderer.createRunnable(WMSLayerRenderer.java:57) at com.vividsolutions.jump.workbench.ui.renderer.RenderingManager.render(RenderingManager.java:250) at com.vividsolutions.jump.workbench.ui.renderer.RenderingManager.render(RenderingManager.java:229) at com.vividsolutions.jump.workbench.ui.LayerViewPanel.layerChanged(LayerViewPanel.java:494) at com.vividsolutions.jump.workbench.model.LayerManager$3.run(LayerManager.java:483) at com.vividsolutions.jump.workbench.ui.GUIUtil.invokeOnEventThread(GUIUtil.java:672) at com.vividsolutions.jump.workbench.model.LayerManager.fireLayerEvent(LayerManager.java:447) at com.vividsolutions.jump.workbench.model.LayerManager.fireLayerChanged(LayerManager.java:481) at com.vividsolutions.jump.workbench.model.LayerManager.fireLayerChanged(LayerManager.java:505) at com.vividsolutions.jump.workbench.model.AbstractLayerable.fireLayerChanged(AbstractLayerable.java:95) at com.vividsolutions.jump.workbench.model.AbstractLayerable.fireAppearanceChanged(AbstractLayerable.java:107) at org.openjump.core.ui.plugin.wms.panels.WMSTransparencyPanel.updateStyles(WMSTransparencyPanel.java:132) at org.openjump.core.ui.plugin.wms.WMSStylePlugIn$1.actionPerformed(WMSStylePlugIn.java:97) at com.vividsolutions.jump.workbench.ui.ButtonPanel.fireActionPerformed(ButtonPanel.java:109) at com.vividsolutions.jump.workbench.ui.ButtonPanel.access$000(ButtonPanel.java:48) at com.vividsolutions.jump.workbench.ui.ButtonPanel$1.actionPerformed(ButtonPanel.java:91) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at
Re: [JPP-Devel] Raster capabilities
why not making it accessible from the Styling icon of the main ToolBar ? And why not making it accessible to WMS layers, too. It was a good idea, Michael. I added to OJ a WMS change style plugin (accessible via WMS layer context menu - only transparency and scale for now, I was already testing the code) and I rearranged the tyle access on the main toolbar. Now, depending to selected layer (Layer, WMSLayer, RasterImageLayer), the plugin opens the conresponding style dialog. Meanwhile I uniformed plugins icons and names. I hope that everything works - see final project on OJ 4525 Peppe 2015-06-29 21:25 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr: Hi all, Thanks Peppe for the clarification, and also Alberto for the work. I really needed this upgrade in my knowledge of all the work done in the raster area. I have now a better understanding. I agree that the different plugins dealing with raster styling should finally be gathered in one place, preceded by the styling icon. And as we are there, why not making it accessible from the Styling icon of the main ToolBar ? Michaël Le 29/06/2015 18:40, Stefan Steiniger a écrit : Thanks for the clardification Peppe. As this is a development version there is not so much of an issue to have 3 different options for testing. I guess the decision on what to leave in and works best can be defererd until the next official version release (with 2-3 devs testing and selecting their favourite?). cheers, stefan PS: one english hint: I took advanced = I took advantage ;) Am 29.06.15 um 05:48 schrieb Giuseppe Aruta: Hi Michael, you are right. The test is ambiguous. It refers to *Raster Layer right click menuChange Raster Layer propertiesRaster color editor panel *(2), as I described here(*), and not to *Menu RasterRaster color plugin* (1). I added the (2) some months ago when I rearranged Change Raster Layer properties adding adding tansparency options as panels. I thought is was a good position for this type of raster styling options.t: I left (1) thinking about users who were still using this plugin. During the last months, I upgraded the panel (2) with new features (invert schemas, colorize by intervals, etc). Making this panel more flexible and featured than the original (1). I took advanced of the new raster framework added by Arlberto. Note that (2) is deactivated if selected Raster is not a single bande raster A couple of weeks Alberto added an enhanced plugin to colorize single band rasters. It is located under *Raster Layer right click menuRaster styles* (3). (3) is even far better than (2) as it allows to choose between ramp/user-defined intervals and single raster values, users can define a color for no-data values, there is a legend displayed on the layer tree associated to the layer. The code has more potentialities for a future export color schemas and, eventually, legends.* * In synthesis, there are actually three plugins - (1), (2) and (3) - that do the same thing: colorize a single band raster. Among them (3) is the most advanced (and recent) one.* * My idea was to deactivate both (1) and (2) and to promote (3), both for user and for future development. I have to modify also the wiki page about raster style (*) (1), (2) and (3) shares the same libraries (thanks to recent Raster enhancements by Alberto)*. * Sorry for the confusion, there is a progressive temporal modification and enhancement of the plugins during the last months* * Best regards Peppe* * * * * http://ojwiki.soldin.de/index.php?title=Single_band_raster_layer_symbology_%28Sextante%29 2015-06-28 16:34 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr mailto:m.michael.mich...@orange.fr: Hi Peppe, I'm reading the ChangeLog to discover new features I may have missed, Did you commit the following feature ? I can't see it in the Raster Color Editor (or maybe I don't look at the right place) 2015-04-12 Giuseppe Arutagiuseppe_ar...@yahoo.it mailto: giuseppe_ar...@yahoo.it * Raster Color Editor Panel. Added an option to invert color range and an option to set values outside choosen range to transparent. Optimized color ramp. Added more color ramps Thanks, Michaël -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net
[JPP-Devel] Added Style plugin to WMS layers
Dear Jumpers, I added a basic WMS style plugin to WMS layer context menu: it currently allows user to define wms transparency and visibility according to scale I also uniformed theplugin icon (palette.gif) and name (Change Style) to Vector/Raster/WMS style plugins (DeeChangesStylePlugIn, ChangeRasterImagePropertiesPlugIn and WMSStylePlugIn) Best regard Peppe -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] OJ behaviour when it is closed without saving project file
Hi all, I gave a look at class WorkBenchFrame. I made two small changes a) on closing OpenJUMP, a warning message asks user if he wants to save the selected project. b) when a user try to close a project, a simple warning message ask if user really want to close it. I checked the other code and try to avoid to bypass the other warnings (=if new layers have been generated, if layers have been modified, if minor taskframes are opened). I am sure that this is not the finals solution and there are still things to solve: 1) OpenJUMP allows to open different projects at the same time. The warning message a) works only on a single selected project. I still didn't find a simple solution if 2 or more projects are opened and, maybe, modified. 2) I am sure that warning b) should allows user to save a project but I cannot let it work. Please check on OpenJUMP version 4522 Peppe 2015-06-24 22:19 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr: Hi Peppe, All your propositions makes sense to me, Michaël Le 24/06/2015 10:58, Giuseppe Aruta a écrit : Hi all, I already post this mail to [JUMP] lis SVN. I put here also for user who are not involved on developing just to explore other opinion. The test I did is on OpenJUMP 4508. This is a OJ behavior when it is closed before saving the project file, *in italics my comments*: a) Open OJ and *load a vector* layer. Than close OJ. OJ shuts down with no warning to save the project. * This is a bit ambiguous as an user wants maybe only to loads vectors and save the project with no need do perform analysis .* I*n my opinion OJ should anyhow warns users if save the project* b) Open OJ and *create a vector* file, Than close OJ. There are two types of warning according to what happens: - if the new layer is only created OJ warns that an automatically generated layer is not saved - (automatically generated warning) - if the new file is created and modified (ex. adding a feature), OJ warns that one (or more) datasets has been modified. - (modified warning) *This is OK. We probably can extend both warning dialog adding a list of the name of unsaved/modified layers* c) Open OJ and l*oad a Sextante Raster* Layer. Than close OJ See OJ behaviour and comments at point a) d) Open OJ, load a Sextante Raster Layer, than *create a new Sextante Raster* layer using Sextante Toolbox or other OJ tools. Than Close OJ (no vectors loaded/created). OJ shuts down with no no warning to save the project. *This is fatal for users who are not aware about it, as they can loose all their work. We should add a warning message, like in point b) warning users that 1d) new raster layers have been created, 2d) these layers are temporary layers (they are saved into OS temp folder, users can lost them if they shut down the computer)* e) Open OJ and *load a WMS* Layer. Than close OJ See OJ behaviour and comments at point a) My conclusion: 1) I think we need anyhow a warning message that ask user to save the project (see point a, c and e) 2) extend the automatically generated warning to the presence of temporary raster layer and to save them (see point d) 3) possibly add to the warning messages a list of a) modified vector layers, b) new vector layers, c) temporary raster layers (see point b and d) Peppe -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download nowhttp://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jump-pilot-devel mailing listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ Jump-pilot-devel mailing list Jump-pilot-devel
Re: [JPP-Devel] Trouble running Openjump on Windows 7
Hi Mat, I confirm what Jukka wrote about: OpenJUMP 1.8 works under Windows 7 with Oracle Java jre 1.7 in my laptop. Did you try the portable version of OpenJUMP? It is the file OpenJUMP-Portable-1.8.0-r4164-CORE.zip or OpenJUMP-Portable-1.8.0-r4164-PLUS.zip located at the download page ( http://sourceforge.net/projects/jump-pilot/files/OpenJUMP/1.8.0/). The portable version usually work with no problems. Extract the zip file into a folder. Navigate to OpenJUMP/Bin folder. Use either OpenJUMP.exe or OpenJUMP.bat to launch the application. Peppe 2015-06-30 13:05 GMT+02:00 Mail Delivery Subsystem mailer-dae...@googlemail.com: Delivery to the following recipient failed permanently: openjump-us...@googlegroups.com Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the relay smtp.mail.yahoo.it by smtp.mail.yahoo.it. [98.139.211.125]. The error that the other server returned was: 535 5.7.0 (#MBR1212) Incorrect username or password. (SMTP AUTH failed with the remote server) - Original message - MIME-Version: 1.0 X-Received: by 10.170.200.4 with SMTP id r4mr1322869yke.105.1435662331152; Tue, 30 Jun 2015 04:05:31 -0700 (PDT) Received: by 10.129.103.2 with HTTP; Tue, 30 Jun 2015 04:05:31 -0700 (PDT) In-Reply-To: b0e397bd-64de-4fae-83b1-4e5f1f604...@googlegroups.com References: 090f9749-3d44-4cb3-9545-5054ac31c...@googlegroups.com 4cc8525c-2a32-4486-b9f1-73f9700ee...@googlegroups.com e1z9asn-0005xv...@smtp.suomicom.fi b0e397bd-64de-4fae-83b1-4e5f1f604...@googlegroups.com Date: Tue, 30 Jun 2015 13:05:31 +0200 Message-ID: ca+alwnxwcc0tfue1jr2oz667rbkfsqhatcazwhki9vdeodx...@mail.gmail.com Subject: Re: [openjump-users] Re: Trouble running Openjump on Windows 7 From: Giuseppe Aruta giuseppe_ar...@yahoo.it To: openjump-us...@googlegroups.com openjump-us...@googlegroups.com Content-Type: multipart/alternative; boundary=001a113a52d44412e40519ba2fe9 Hi Mat, I confirm what Jukka wrote about: OpenJUMP 1.8 works under Windows 7 with Oracle Java jre 1.7 in my laptop. Did you try the portable version of OpenJUMP? It is the file OpenJUMP-Portable-1.8.0-r4164-CORE.zip or OpenJUMP-Portable-1.8.0-r4164-PLUS.zip located at the download page ( http://sourceforge.net/projects/jump-pilot/files/OpenJUMP/1.8.0/). The portable version usually work with no problems. Extract the zip file into a folder. Navigate to OpenJUMP/Bin folder. Use either OpenJUMP.exe or OpenJUMP.bat to launch the application. Peppe 2015-06-30 12:07 GMT+02:00 Mat matr...@gmail.com: Ok thanks, well I don't need it with 64 bit Java at the moment at least, though its interesting to know that it's possible. On Monday, 29 June 2015 15:54:55 UTC+1, Jukka Rahkonen wrote: Hi, I was about to suggest that the trouble is in the java path. But OpenJUMP does work also with 64 bit java. I run it all the time with both Oracle and OpenJDK 64 bit versions. Jukka Rahkonen -- Lähettäjä: Mat Lähetetty: 29.6.2015 17:32 Vastaanottaja: openjum...@googlegroups.com Aihe: [openjump-users] Re: Trouble running Openjump on Windows 7 In case its of use to others, the problem was the Java path, Openjump needs the 32 bit version of java whilst my path led to the 64 bit version On Friday, 26 June 2015 17:46:30 UTC+1, Mat wrote: Greetings, I am trying to install openjump (OpenJUMP 1.8.0 rev.4164 PLUS) on a windows 7 (64 bit) machine. The installation completes, but clicking on the icon to start Openjump does nothing (a command line box appears for a second and that's it) I have updated my JAVA runtime environment (8 and 7). I can't seem to find any posts where anyone else has had this problem, I have tried an older version (OpenJUMP 1.7.1 rev.4004 PLUS), and the portable version, these don't work either. - Message truncated - -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Raster capabilities
Hi Michael, you are right. The test is ambiguous. It refers to *Raster Layer right click menuChange Raster Layer propertiesRaster color editor panel *(2), as I described here(*), and not to *Menu RasterRaster color plugin* (1). I added the (2) some months ago when I rearranged Change Raster Layer properties adding adding tansparency options as panels. I thought is was a good position for this type of raster styling options.t: I left (1) thinking about users who were still using this plugin. During the last months, I upgraded the panel (2) with new features (invert schemas, colorize by intervals, etc). Making this panel more flexible and featured than the original (1). I took advanced of the new raster framework added by Arlberto. Note that (2) is deactivated if selected Raster is not a single bande raster A couple of weeks Alberto added an enhanced plugin to colorize single band rasters. It is located under *Raster Layer right click menuRaster styles* (3). (3) is even far better than (2) as it allows to choose between ramp/user-defined intervals and single raster values, users can define a color for no-data values, there is a legend displayed on the layer tree associated to the layer. The code has more potentialities for a future export color schemas and, eventually, legends. In synthesis, there are actually three plugins - (1), (2) and (3) - that do the same thing: colorize a single band raster. Among them (3) is the most advanced (and recent) one. My idea was to deactivate both (1) and (2) and to promote (3), both for user and for future development. I have to modify also the wiki page about raster style (*) (1), (2) and (3) shares the same libraries (thanks to recent Raster enhancements by Alberto) *. * Sorry for the confusion, there is a progressive temporal modification and enhancement of the plugins during the last months Best regards Peppe * http://ojwiki.soldin.de/index.php?title=Single_band_raster_layer_symbology_%28Sextante%29 2015-06-28 16:34 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr: Hi Peppe, I'm reading the ChangeLog to discover new features I may have missed, Did you commit the following feature ? I can't see it in the Raster Color Editor (or maybe I don't look at the right place) 2015-04-12 Giuseppe Aruta giuseppe_ar...@yahoo.it giuseppe_ar...@yahoo.it * Raster Color Editor Panel. Added an option to invert color range and an option to set values outside choosen range to transparent. Optimized color ramp. Added more color ramps Thanks, Michaël -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Raster capabilities
Thanks Stefan, also for the English hint ;-) Espero que un dia non encontremos... again Peppe 2015-06-29 18:40 GMT+02:00 Stefan Steiniger sst...@geo.uzh.ch: Thanks for the clardification Peppe. As this is a development version there is not so much of an issue to have 3 different options for testing. I guess the decision on what to leave in and works best can be defererd until the next official version release (with 2-3 devs testing and selecting their favourite?). cheers, stefan PS: one english hint: I took advanced = I took advantage ;) Am 29.06.15 um 05:48 schrieb Giuseppe Aruta: Hi Michael, you are right. The test is ambiguous. It refers to *Raster Layer right click menuChange Raster Layer propertiesRaster color editor panel *(2), as I described here(*), and not to *Menu RasterRaster color plugin* (1). I added the (2) some months ago when I rearranged Change Raster Layer properties adding adding tansparency options as panels. I thought is was a good position for this type of raster styling options.t: I left (1) thinking about users who were still using this plugin. During the last months, I upgraded the panel (2) with new features (invert schemas, colorize by intervals, etc). Making this panel more flexible and featured than the original (1). I took advanced of the new raster framework added by Arlberto. Note that (2) is deactivated if selected Raster is not a single bande raster A couple of weeks Alberto added an enhanced plugin to colorize single band rasters. It is located under *Raster Layer right click menuRaster styles* (3). (3) is even far better than (2) as it allows to choose between ramp/user-defined intervals and single raster values, users can define a color for no-data values, there is a legend displayed on the layer tree associated to the layer. The code has more potentialities for a future export color schemas and, eventually, legends.* * In synthesis, there are actually three plugins - (1), (2) and (3) - that do the same thing: colorize a single band raster. Among them (3) is the most advanced (and recent) one.* * My idea was to deactivate both (1) and (2) and to promote (3), both for user and for future development. I have to modify also the wiki page about raster style (*) (1), (2) and (3) shares the same libraries (thanks to recent Raster enhancements by Alberto)*. * Sorry for the confusion, there is a progressive temporal modification and enhancement of the plugins during the last months* * Best regards Peppe* * * * * http://ojwiki.soldin.de/index.php?title=Single_band_raster_layer_symbology_%28Sextante%29 2015-06-28 16:34 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr mailto:m.michael.mich...@orange.fr: Hi Peppe, I'm reading the ChangeLog to discover new features I may have missed, Did you commit the following feature ? I can't see it in the Raster Color Editor (or maybe I don't look at the right place) 2015-04-12 Giuseppe Arutagiuseppe_ar...@yahoo.it mailto: giuseppe_ar...@yahoo.it * Raster Color Editor Panel. Added an option to invert color range and an option to set values outside choosen range to transparent. Optimized color ramp. Added more color ramps Thanks, Michaël -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net mailto:Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault
Re: [JPP-Devel] Raster capabilities
non=nos 2015-06-29 18:00 GMT+02:00 Giuseppe Aruta giuseppe.ar...@gmail.com: Thanks Stefan, also for the English hint ;-) Espero que un dia non encontremos... again Peppe 2015-06-29 18:40 GMT+02:00 Stefan Steiniger sst...@geo.uzh.ch: Thanks for the clardification Peppe. As this is a development version there is not so much of an issue to have 3 different options for testing. I guess the decision on what to leave in and works best can be defererd until the next official version release (with 2-3 devs testing and selecting their favourite?). cheers, stefan PS: one english hint: I took advanced = I took advantage ;) Am 29.06.15 um 05:48 schrieb Giuseppe Aruta: Hi Michael, you are right. The test is ambiguous. It refers to *Raster Layer right click menuChange Raster Layer propertiesRaster color editor panel *(2), as I described here(*), and not to *Menu RasterRaster color plugin* (1). I added the (2) some months ago when I rearranged Change Raster Layer properties adding adding tansparency options as panels. I thought is was a good position for this type of raster styling options.t: I left (1) thinking about users who were still using this plugin. During the last months, I upgraded the panel (2) with new features (invert schemas, colorize by intervals, etc). Making this panel more flexible and featured than the original (1). I took advanced of the new raster framework added by Arlberto. Note that (2) is deactivated if selected Raster is not a single bande raster A couple of weeks Alberto added an enhanced plugin to colorize single band rasters. It is located under *Raster Layer right click menuRaster styles* (3). (3) is even far better than (2) as it allows to choose between ramp/user-defined intervals and single raster values, users can define a color for no-data values, there is a legend displayed on the layer tree associated to the layer. The code has more potentialities for a future export color schemas and, eventually, legends.* * In synthesis, there are actually three plugins - (1), (2) and (3) - that do the same thing: colorize a single band raster. Among them (3) is the most advanced (and recent) one.* * My idea was to deactivate both (1) and (2) and to promote (3), both for user and for future development. I have to modify also the wiki page about raster style (*) (1), (2) and (3) shares the same libraries (thanks to recent Raster enhancements by Alberto)*. * Sorry for the confusion, there is a progressive temporal modification and enhancement of the plugins during the last months* * Best regards Peppe* * * * * http://ojwiki.soldin.de/index.php?title=Single_band_raster_layer_symbology_%28Sextante%29 2015-06-28 16:34 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr mailto:m.michael.mich...@orange.fr: Hi Peppe, I'm reading the ChangeLog to discover new features I may have missed, Did you commit the following feature ? I can't see it in the Raster Color Editor (or maybe I don't look at the right place) 2015-04-12 Giuseppe Arutagiuseppe_ar...@yahoo.it mailto: giuseppe_ar...@yahoo.it * Raster Color Editor Panel. Added an option to invert color range and an option to set values outside choosen range to transparent. Optimized color ramp. Added more color ramps Thanks, Michaël -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net mailto:Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software
Re: [JPP-Devel] Proposal for Layer View contex menu
I committed the changes, see version 4511. Tools are now located on submenu Other tools, as suggested by Michaël. I also add to this submenu another plugin: *Measure Selected feature*: this plugin uses the Advance Measure framwork to give back Area/Perimeter/Length of a selected feature. Currently this plugin works only per single selected elements - no multiple selection (the code is simple and could work also for more than one selected element). Single selection allows to avoid measurements of multygeometries (multilinestring, multipolygon or geometry collection - maybe inside a multiple selection) which can give back weird datas. So, actually if an user want to measure a multipolygon, she/he has to a) explode the geometry into polygons, b) measure each of them. I hope one day to add an automatic way on the code to perform it, Best regards Peppe 2015-06-24 22:39 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr: Hi Peppe, I don't use the context menu too much, but you're right , it is a bit long. On the other hand, creating a Tools submenu will hide candidate plugins a bit more. I have no strong opinion, maybe two advices : - name the submenu Other tools or Miscellaneous tools as the content of will be quite disparate - keep Inverse plugin in the main menu. I think this is a basic geometry tool which is much more easy to use from the context menu than from main menu. My 2 cents, Michaël Le 24/06/2015 12:16, Giuseppe Aruta a écrit : Hi all, I would like to modify the Layer View context menu introducing a submenu called Tools where I want to move some of the plugins. The idea is to make the core menu shorter and flexible by introducing submenus for tools which are not used so frequently The candidate plugins to move are within this list: -Vertices in fence -Replicate selected features -Copy this coordinates -Move along angle -Rotate -Edit selected side -Reverse orientation Before committing any changes I would like to have the opinion of the list Best regards Peppe -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download nowhttp://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jump-pilot-devel mailing listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Proposal for Layer View contex menu
see 4513. I forgot to add language codes to MenuNames.class on previous versions 2015-06-25 11:12 GMT+02:00 Giuseppe Aruta giuseppe.ar...@gmail.com: I committed the changes, see version 4511. Tools are now located on submenu Other tools, as suggested by Michaël. I also add to this submenu another plugin: *Measure Selected feature*: this plugin uses the Advance Measure framwork to give back Area/Perimeter/Length of a selected feature. Currently this plugin works only per single selected elements - no multiple selection (the code is simple and could work also for more than one selected element). Single selection allows to avoid measurements of multygeometries (multilinestring, multipolygon or geometry collection - maybe inside a multiple selection) which can give back weird datas. So, actually if an user want to measure a multipolygon, she/he has to a) explode the geometry into polygons, b) measure each of them. I hope one day to add an automatic way on the code to perform it, Best regards Peppe 2015-06-24 22:39 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr: Hi Peppe, I don't use the context menu too much, but you're right , it is a bit long. On the other hand, creating a Tools submenu will hide candidate plugins a bit more. I have no strong opinion, maybe two advices : - name the submenu Other tools or Miscellaneous tools as the content of will be quite disparate - keep Inverse plugin in the main menu. I think this is a basic geometry tool which is much more easy to use from the context menu than from main menu. My 2 cents, Michaël Le 24/06/2015 12:16, Giuseppe Aruta a écrit : Hi all, I would like to modify the Layer View context menu introducing a submenu called Tools where I want to move some of the plugins. The idea is to make the core menu shorter and flexible by introducing submenus for tools which are not used so frequently The candidate plugins to move are within this list: -Vertices in fence -Replicate selected features -Copy this coordinates -Move along angle -Rotate -Edit selected side -Reverse orientation Before committing any changes I would like to have the opinion of the list Best regards Peppe -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download nowhttp://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jump-pilot-devel mailing listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] OJ behaviour when it is closed without saving project file
Hi all, I already post this mail to [JUMP] lis SVN. I put here also for user who are not involved on developing just to explore other opinion. The test I did is on OpenJUMP 4508. This is a OJ behavior when it is closed before saving the project file, *in italics my comments*: a) Open OJ and *load a vector* layer. Than close OJ. OJ shuts down with no warning to save the project. *This is a bit ambiguous as an user wants maybe only to loads vectors and save the project with no need do perform analysis .* I*n my opinion OJ should anyhow warns users if save the project* b) Open OJ and *create a vector* file, Than close OJ. There are two types of warning according to what happens: - if the new layer is only created OJ warns that an automatically generated layer is not saved - (automatically generated warning) - if the new file is created and modified (ex. adding a feature), OJ warns that one (or more) datasets has been modified. - (modified warning) *This is OK. We probably can extend both warning dialog adding a list of the name of unsaved/modified layers* c) Open OJ and l*oad a Sextante Raster* Layer. Than close OJ See OJ behaviour and comments at point a) d) Open OJ, load a Sextante Raster Layer, than *create a new Sextante Raster* layer using Sextante Toolbox or other OJ tools. Than Close OJ (no vectors loaded/created). OJ shuts down with no no warning to save the project. *This is fatal for users who are not aware about it, as they can loose all their work. We should add a warning message, like in point b) warning users that 1d) new raster layers have been created, 2d) these layers are temporary layers (they are saved into OS temp folder, users can lost them if they shut down the computer)* e) Open OJ and *load a WMS* Layer. Than close OJ See OJ behaviour and comments at point a) My conclusion: 1) I think we need anyhow a warning message that ask user to save the project (see point a, c and e) 2) extend the automatically generated warning to the presence of temporary raster layer and to save them (see point d) 3) possibly add to the warning messages a list of a) modified vector layers, b) new vector layers, c) temporary raster layers (see point b and d) Peppe -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] SVN: [4505] core/trunk
This is an upgrade of OJ behaviour when it is closed before saving the project file, *in italics my comments*: a) Open OJ and *load a vector* layer. Than close OJ. OJ shuts down with no warning to save the project. *This is a bit ambiguous as an user wants maybe only to loads vectors with no need do perform analysis. But only to have a project already set*. I*n my opinion OJ should anyhow warns users if save the project* b) Open OJ and *create a vector* file, Than close OJ. There are two types of warning according to what happens: - if the new layer is only created OJ warns that an automatically generated layer is not saved - if the new file is created and modified (ex. adding a feature), OJ warns that one (or more) datasets has been modified. *This is OK. We probably can extend both warning dialog adding a list of the name of unsaved/modified layers* c) Open OJ and l*oad a Sextante Raster* Layer. Than close OJ See OJ behaviour and comments at point a) d) Open OJ, load a Sextante Raster Layer, than *create a new Sextante Raster* layer using Sextante Toolbox or other OJ tools. Than Close OJ. OJ shuts down with no no warning to save the project. *This is fatal for users who are not aware about it, as they can loose all their work. We should add a warning message, like in point b) to add users that 1d) new raster layers have been created, 2d) these layers are temporary layers (they are saved into OS temp folder, users can lost them if they shut down the computer)* e) Open OJ and *load a WMS* Layer. Than close OJ See OJ behaviour and comments at point a) My conclusion: 1) I think we need anyhow a warning message that ask user to save the project (see point a, c and e) 2) extend the warning message for the presence of temporary raster layer and to save them (point d) 3) possibly add to this warning message a list of a) modified vector layers, b) new vector layers, c) temporary raster layers (point b and d) Peppe 2015-06-23 15:17 GMT+02:00 Giuseppe Aruta giuseppe.ar...@gmail.com: Hi Michael, I saw you solved this behavior on WorkbenchFrame class. There 2 problems with Sextante Raster layers, I will try to describe. Some Sextante Raster plugins save a result file into OSTEMP folder (The plugins: extract selected part of image, warp image to fence, Affine transformation (from warping vectors) if the selected layer is a Sextante Raster). 1) OJ doesn't warn that those new raster layers are not saved into the project. If a user closes the project without saving it at this stage, these layers are lost (*) 2) Those new files are saved into TEMP folder. So, even if a user reminds to save the project (but leaves the files into TEMP folder) the files are deleted, at least for Linux and, I think, for MacOSX, when he shuts down the PC. The old warning message was probably not correct but it was helping to remind user the presence of temporary raster layers. We need an extra warning message, when OJ is closing down, to warn a user a) that there are some temporary raster files and to save them to a save folder b) to save anyhow the project if he/she wants to save these files as project layers. Best regards Peppe (*) note that this happens also for raster files produced using any raster tool from Sextante toolbox. 2015-06-23 13:42 GMT+02:00 jump-pilot-...@lists.sourceforge.net: Revision: 4505 http://sourceforge.net/p/jump-pilot/code/4505 Author: michaudm Date: 2015-06-23 11:42:46 + (Tue, 23 Jun 2015) Log Message: --- Fix bug #406 wrong message layers not saved Modified Paths: -- core/trunk/ChangeLog core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java Modified: core/trunk/ChangeLog === --- core/trunk/ChangeLog2015-06-18 15:50:25 UTC (rev 4504) +++ core/trunk/ChangeLog2015-06-23 11:42:46 UTC (rev 4505) @@ -1,5 +1,8 @@ # for display continuity sake please use 2 spaces instead of tabs +2015-06-23 mmichaud m.michael.mich...@orange.fr + * fix bug #406 wrong message layers not saved + 2015-06-17 bertazza * added Raster Styler to manage symbologies for 1-banded raster * (available from raster layer contextual menu) Modified: core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java === --- core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java 2015-06-18 15:50:25 UTC (rev 4504) +++ core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java 2015-06-23 11:42:46 UTC (rev 4505) @@ -1321,7 +1321,7 @@ ArrayList list = new ArrayList(); for (Iterator i = getLayerManagers().iterator(); i.hasNext();) { LayerManager layerManager = (LayerManager) i.next(); -list.add(layerManager.getLayersWithNullDataSource()); +list.addAll
[JPP-Devel] Proposal for Layer View contex menu
Hi all, I would like to modify the Layer View context menu introducing a submenu called Tools where I want to move some of the plugins. The idea is to make the core menu shorter and flexible by introducing submenus for tools which are not used so frequently The candidate plugins to move are within this list: -Vertices in fence -Replicate selected features -Copy this coordinates -Move along angle -Rotate -Edit selected side -Reverse orientation Before committing any changes I would like to have the opinion of the list Best regards Peppe -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Proposal for Layer View contex menu
Yes Stefan, those are all tools available when clicking on a feature to edit it. Regarding MacOSX, I can see (https://en.wikipedia.org/wiki/Context_menu) that is is a bit different comparing to Win or Linux. How difficult can be for a MacOSX user to have submenus on the selected feature context menu? I am not a MacOSX user so my question is to investigate pro/cons regading submenus Peppe 2015-06-24 16:27 GMT+02:00 Stefan Steiniger sst...@geo.uzh.ch: sounds reasonable. These are tools available when clicking on a feature to edit it - right? Although navigating into submenus is sometimes tricky with a mouse. stefan Am 24.06.15 um 06:16 schrieb Giuseppe Aruta: Hi all, I would like to modify the Layer View context menu introducing a submenu called Tools where I want to move some of the plugins. The idea is to make the core menu shorter and flexible by introducing submenus for tools which are not used so frequently The candidate plugins to move are within this list: -Vertices in fence -Replicate selected features -Copy this coordinates -Move along angle -Rotate -Edit selected side -Reverse orientation Before committing any changes I would like to have the opinion of the list Best regards Peppe -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] SVN: [4505] core/trunk
Hi Michael, I saw you solved this behavior on WorkbenchFrame class. There 2 problems with Sextante Raster layers, I will try to describe. Some Sextante Raster plugins save a result file into OSTEMP folder (The plugins: extract selected part of image, warp image to fence, Affine transformation (from warping vectors) if the selected layer is a Sextante Raster). 1) OJ doesn't warn that those new raster layers are not saved into the project. If a user closes the project without saving it at this stage, these layers are lost (*) 2) Those new files are saved into TEMP folder. So, even if a user reminds to save the project (but leaves the files into TEMP folder) the files are deleted, at least for Linux and, I think, for MacOSX, when he shuts down the PC. The old warning message was probably not correct but it was helping to remind user the presence of temporary raster layers. We need an extra warning message, when OJ is closing down, to warn a user a) that there are some temporary raster files and to save them to a save folder b) to save anyhow the project if he/she wants to save these files as project layers. Best regards Peppe (*) note that this happens also for raster files produced using any raster tool from Sextante toolbox. 2015-06-23 13:42 GMT+02:00 jump-pilot-...@lists.sourceforge.net: Revision: 4505 http://sourceforge.net/p/jump-pilot/code/4505 Author: michaudm Date: 2015-06-23 11:42:46 + (Tue, 23 Jun 2015) Log Message: --- Fix bug #406 wrong message layers not saved Modified Paths: -- core/trunk/ChangeLog core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java Modified: core/trunk/ChangeLog === --- core/trunk/ChangeLog2015-06-18 15:50:25 UTC (rev 4504) +++ core/trunk/ChangeLog2015-06-23 11:42:46 UTC (rev 4505) @@ -1,5 +1,8 @@ # for display continuity sake please use 2 spaces instead of tabs +2015-06-23 mmichaud m.michael.mich...@orange.fr + * fix bug #406 wrong message layers not saved + 2015-06-17 bertazza * added Raster Styler to manage symbologies for 1-banded raster * (available from raster layer contextual menu) Modified: core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java === --- core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java 2015-06-18 15:50:25 UTC (rev 4504) +++ core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java 2015-06-23 11:42:46 UTC (rev 4505) @@ -1321,7 +1321,7 @@ ArrayList list = new ArrayList(); for (Iterator i = getLayerManagers().iterator(); i.hasNext();) { LayerManager layerManager = (LayerManager) i.next(); -list.add(layerManager.getLayersWithNullDataSource()); +list.addAll(layerManager.getLayersWithNullDataSource()); // list.add(layerManager.getRasterLayersWithNullDataSource()); } return list; -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical virtual servers, alerts via email sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Experimental Raster affine transformation on OpenJUMP
Hi all, I added to PlugIn *Tools-Warp-Affine Transform (from warping vectors)* an experimental capability to do an affine transformation on raster images (only loaded via Sextante Raster framework, not single band raster). This capability uses JAI WarpPerspective.class to perform a buffered Image transformation (see the code inside the class public static void affineTransformRaster ). How to use: a) Draw maximum 3 warping vectors b) Select a Sextante raster, c) apply the plugin The plugin is very experimental: it works fine with 1 or 2 vectors (move, rotate, scale operations), it becomes imprecise if a 3 vector introduces a high shear operation Best regards Peppe -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Raster Styler added to OJ core
Hi Alberto, nice work! I think that OpenJUMP really needs to expand its raster capabilities. Best regards Peppe 2015-06-18 18:03 GMT+02:00 Alberto De Luca - GeA alberto.del...@geomaticaeambiente.com: Hi everyone. I added the Raster Styler tool (that creates symbologies for 1-banded rasters) to the OJ core (thanks also to Peppe for his help). The tool is made of several classes, you can see them in this package (and subpackages): org.openjump.core.rasterimage.styler The tool is handled as an Extension, so I added it to default-plugins.xml: extension org.openjump.core.rasterimage.styler.RasterStylesExtension /extension To use it, load a sextante raster, and click the Raster Styles... on the layer contextual menu. The tool also gives the option of showing the raster legend by clicking, in the contextual menu, the Legend item. Some TODOs: - improve the legend: now it's a horrible floating dialog, I'll try to turn it into a tree-like legend like the one used by vector layers; - translate the strings and include them in the main OJ language files. Now they're located in a separate file in the org.openjump.core.rasterimage.styler.resources package, and are English only; - add the option to save custom styles. Alberto -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Experimental Raster affine transformation on OpenJUMP
Hi Stefan 1 vector: only translation 2 vectors: translation, scale and rotation 3 vectors: translation, scale, rotation and shear I will add a page on the wiki about the usage (and the limits). Regarding including adjustment calculations, it requires probably more space and panels than the small Afine Transformation plugin. It is in my list to have a dedicate raster plugin with more options (dx and dy calculation and a perspective transformation of the image) Peppe 2015-06-18 18:30 GMT+02:00 sstein sst...@geo.uzh.ch: Hi Peepe, sounds like a nice feature! 1 vector means translation only, or? With three i guess you need to inlude adjustment calculations as eg QGis does in the georeferencing tool. How about making a little blog post? cheers, stefan -- Originalnachricht -- *Von: *Giuseppe Aruta *Datum: *18.06.2015 11:23 *An: *OpenJump develop and use; *Betreff:*[JPP-Devel] Experimental Raster affine transformation on OpenJUMP Hi all, I added to PlugIn *Tools-Warp-Affine Transform (from warping vectors)* an experimental capability to do an affine transformation on raster images (only loaded via Sextante Raster framework, not single band raster). This capability uses JAI WarpPerspective.class to perform a buffered Image transformation (see the code inside the class public static void affineTransformRaster ). How to use: a) Draw maximum 3 warping vectors b) Select a Sextante raster, c) apply the plugin The plugin is very experimental: it works fine with 1 or 2 vectors (move, rotate, scale operations), it becomes imprecise if a 3 vector introduces a high shear operation Best regards Peppe -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Bug on saving layer to SHP
Hi, this is the message I had when I tired to save a vector layer to Shapefile: java.lang.StringIndexOutOfBoundsException: String index out of range: 8 at java.lang.String.substring(String.java:1907) at com.vividsolutions.jump.io.ShapefileWriter.writeDbf(ShapefileWriter.java:435) at com.vividsolutions.jump.io.ShapefileWriter.write(ShapefileWriter.java:295) at com.vividsolutions.jump.io.datasource.ReaderWriterFileDataSource$1.executeUpdate(ReaderWriterFileDataSource.java:73) at com.vividsolutions.jump.workbench.datasource.AbstractSaveDatasetAsPlugIn.run(AbstractSaveDatasetAsPlugIn.java:28) at com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152) at java.lang.Thread.run(Thread.java:744) Saving to JML works fine Peppe -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Bug on saving layer to SHP
This is the file saved as JML that cannot be saved to SHP. I belive is something in the file, not in OJ 2015-06-16 9:59 GMT+02:00 Giuseppe Aruta giuseppe.ar...@gmail.com: The version I tested is OpenJUMP-20150613-r4493-PLUS 2015-06-16 9:58 GMT+02:00 Giuseppe Aruta giuseppe.ar...@gmail.com: Hi, this is the message I had when I tired to save a vector layer to Shapefile: java.lang.StringIndexOutOfBoundsException: String index out of range: 8 at java.lang.String.substring(String.java:1907) at com.vividsolutions.jump.io.ShapefileWriter.writeDbf(ShapefileWriter.java:435) at com.vividsolutions.jump.io.ShapefileWriter.write(ShapefileWriter.java:295) at com.vividsolutions.jump.io.datasource.ReaderWriterFileDataSource$1.executeUpdate(ReaderWriterFileDataSource.java:73) at com.vividsolutions.jump.workbench.datasource.AbstractSaveDatasetAsPlugIn.run(AbstractSaveDatasetAsPlugIn.java:28) at com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152) at java.lang.Thread.run(Thread.java:744) Saving to JML works fine Peppe Misure.jml Description: Binary data -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Bug on saving layer to SHP
Thanks Johannes and Jukka, that was the two attribute named LENGTH that created the problem. It was an old file created with an experimental measure plugin (made a long ago) that I wanted to resume and to try to use a part of the code. Cancelling on the code the one of LENGTH attribute let it work. Bug solved Thank again Peppe 2015-06-16 12:08 GMT+02:00 Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi: Hi, There is two times an attribute named LENGTH in the schema of Misure. Attribute names in shapefile can only be 10 chararters long and OJ tries to take care that if a longer attribute must be truncated it will still get an unique name. So, cut attribute name to 8 characters, check if there are duplicates, add a numeric ending to the body for making them unique. What is exceptional is that Peppe has created a file that has duplicated and less than 10 characters long attribute names natively. OpenJUMP does not take this situation into account. But I wonder how this layer is created? It is not possible to create duplicate attribute names from the GUI. -Jukka Rahkonen- Johannes Kröger wrote: Hey Giuseppe, yay, little morning programming practise for me. :) If I read it correctly it fails with any column name shorter than 8 characters, weird how this was never catched before (or I am just on the wrong path). My line numbers are slightly off but I assume the following block is where it errors for you: if (count10) columnName = columnName.substring(0,8) + _ + count; else columnName = columnName.substring(0,8) + count; The hardcoded 8 is a problem here. A few lines above columnName is defined as: columnName = columnName.substring(0,Math.min(columnName.length(), 10)); Names will be truncated to a maximum of 10 characters here or stay as they are if they were = 10 already. Basically what seems to happen here is this: // A String with less than 8 characters String test = 1234567; // Truncate to the shorter of its length or 10, here 7 so no truncation test = test.substring(0,Math.min(test.length(), 10)); // Extract the substring up to index 8 (including) test = test.substring(0,8); // test's highest index is 7, so it's OOB The substring operations within the if/else need to take care of strings shorter than 8 characters and truncate accordingly. Cheers, Hannes PS: SHP begone! PPS: It will also fail rather badly if there are more than 99 identically truncated names ;) PPPS: Wouldn't it result in ambiguity if the truncation from 10 to 8 characters leads to the same string of previously different names? abcdefghij and abcdefghik would both result in abcdefgh as truncated + count column name. On Tue, 16 Jun 2015 07:58:53 + jump-pilot-devel-requ...@lists.sourceforge.net wrote: Date: Tue, 16 Jun 2015 09:58:47 +0200 From: Giuseppe Aruta giuseppe.ar...@gmail.com Subject: [JPP-Devel] Bug on saving layer to SHP To: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net Message-ID: ca+alwnxx+4cujfs75p0sdfsvhlrdq+ddjjk90ht8y-ixu5r...@mail.gmail.com Content-Type: text/plain; charset=utf-8 Hi, this is the message I had when I tired to save a vector layer to Shapefile: java.lang.StringIndexOutOfBoundsException: String index out of range: 8 at java.lang.String.substring(String.java:1907) at com.vividsolutions.jump.io.ShapefileWriter.writeDbf(ShapefileWriter.java:435) at com.vividsolutions.jump.io.ShapefileWriter.write(ShapefileWriter.java:295) at com.vividsolutions.jump.io.datasource.ReaderWriterFileDataSource$1.executeUpdate(ReaderWriterFileDataSource.java:73) at com.vividsolutions.jump.workbench.datasource.AbstractSaveDatasetAsPlugIn.run(AbstractSaveDatasetAsPlugIn.java:28) at com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152) at java.lang.Thread.run(Thread.java:744) Saving to JML works fine Peppe -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] LayerView/AttributeTable selection synchronization
this action [CTRL+select the (already selected) geometry ] on AttributeTable deselect the geometry Peppe 2015-06-13 16:08 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr: Hi Jumpers, In r4489, I have tried to synchronize LayerViewPanel and AttributeTablePanel/InfoModel selection It was not an easy task to get it right, and as these components are every where in the code, I would not be surprised to discover some side-effects here and there in the near feature. Please try and report any problem. With this new feature, I think the select tool in AttributeTable is no more necessary. If there is no objection, I will replace it by an unselect tool. Michaël -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Fwd: Fwd: NullPointerException Change Raster Image Properties
Hi Alberto, sorry for the late answer. Thanks for fixing that bug. I also see that your plugin has a restore original colours option that works fine. Peppe 2015-06-08 12:04 GMT+02:00 Alberto De Luca - GeA alberto.del...@geomaticaeambiente.com: Peppe, just a quick note: point d) was actually due to a bug in the RasterImageLayer class. It should be fixed now. Alberto On 08/06/2015 8:22 AM, Giuseppe Aruta wrote: Hi Alberto, I gave a look on this weekend to your plugin. Personally I support your idea to integrate your plugin into OpenJUMP. These are my impressions and some brief considerations: a) Your raster styler (RS) has more advanced options than actual Raster color editor (RCE) integrated into OpenJUMP. Those avanced options can be summarized into 2 points: - RS has *ramp*, *user-defined intervals* and *single* values options while RCE supports basically only ramp. I started to integrate a possibility to have intervals on RCE but, looking at your code and plugin, I realized that you already made it (I was discovering the wheel again ) - RS provides a raster legend (what OJ currently need, in my opinion) while RCE doesn't. b) I gave a look on your RS source code and I realize that many RS classes are already integrated into OpenJUMP c) OpenJUMP RCE has some options that actually are missing on your RS (possibility to define an user range of values, invert color LUT), but those options are quite limited comparing to the advances of yur plugin (user-defined intervals and Legend, for instance) d) In your RS there is an option to manage nodata value which seems not to working As I wroye before, I vote to integrate your plugin into OpenJUMP, possibily as panel of Sextante Raster layer treeChange Raster Raster Image properties, as you suggested some months ago, substituting RCE. In the future we can work to move the extra options in RCE (see point c) to your plugin and deactivate one. RCE will survive anyhow under Raster menu Regarding point d), currently OpenJUMP handles nodata cells as transparent: no way to colourize them. This seems an advance for users: transparent-no data limit the area of analysis. On the other hand the possibility to colourized no-data cells with and out-of-order colour helps during some raster processes (for instance no data cells come out quickly if users apply Black/White colour schema and Red for no data). I would suggest to deactivate the nodata panel on your plugin until we find a solution. Best Regards Peppe -- ___ Jump-pilot-devel mailing listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] New WMS Layer legend plugin on OpenJUMP
Hi Michael, this is a good page where to take some WMS urls wiith legends: http://nsidc.org/data/atlas/ogc_services.html *WMS:* - Northern Hemisphere: http://nsidc.org/cgi-bin/atlas_north?service=WMSrequest=GetCapabilitiesversion=1.1.1 - Southern Hemisphere: http://nsidc.org/cgi-bin/atlas_south?service=WMSrequest=GetCapabilitiesversion=1.1.1 Some of the Urls embedded into OJ have legends: http://ows.terrestris.de/osm/service? for instance Peppe 2015-06-08 22:16 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr: Thanks all, Do you know any public url with GetLegendGraphics capability so that I can easily test it ? Michaël Le 08/06/2015 19:09, Rahkonen Jukka (MML) a écrit : Hi, GetLegendGraphics works now fine with our servers through https and basic authentication. Thanks -Jukka Rahkonen- Giuseppe Aruta wrote: Hi Ede, thanks for your help. Let us wait Jukka opinion/test to check the new reuse of WMSRequest with protected WMS servers. I implemented the dialog as a detachable internal frame, as you suggested. It looks also more elegant. I preferred the option to have it always on the top of the main view as I think that a legend should be always visible, it can be minimized by users anyhow. Regarding that dialogs accumulate and you suggestion to update/reuse existing legends per layer, I still didn't find a solution and I ask you a little help. best regards Peppe 2015-06-05 12:49 GMT+02:00 edgar.sol...@web.de: hey Peppe, while playing around with the plugin i stumbled over two issues 1. the plugin was enabled even if multiple wms layers were selected. this is fixed now in trunk. 2. the dialogs accumulate. every time a new one gets created. you should update/reuse existing legends per layer. additionally i suggest you implement the dialogs as detachable internal frames. this way they will be listed in the 'Windows' main menu and the user can decide where to place them. nice addition ..ede On 04.06.2015 15:24, Giuseppe Aruta wrote: Dear Jumpers, I added on OpenJUMP a new plugin that displays WMS layer(s) legend (if available) on a Dialog. This plugin is located on WMS Layer tree context menu, as Show WMS Layer Legend. The code originally came from Kosmo SAIG and it was completely rewritten in order to adapt WMS GetLegendGraphic and GetStyle operators without modifing OJ WMS classes. Best Regards Peppe -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] New WMS Layer legend plugin on OpenJUMP
Hi Michael, sorry but I can't reproduce it. This is the screenshot with layer:cities and Layer:Greenland surface elevayion loaded Can you send me more details? Thanks Peppe 2015-06-09 13:32 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr: Hi Peppe, Fine, thanks. Works fine. On some layers of the first url you sent (Northern Hemisphere : layer=cities), the WMSLegend plugin throws a NPE java.lang.NullPointerException at javax.swing.ImageIcon.init(ImageIcon.java:240) at org.openjump.core.ui.plugin.wms.WMSLegendPlugIn.getLegendPanel(WMSLegendPlugIn.java:157) at org.openjump.core.ui.plugin.wms.WMSLegendPlugIn.execute(WMSLegendPlugIn.java:63) Michaël Le 09/06/2015 10:05, Giuseppe Aruta a écrit : Hi Michael, this is a good page where to take some WMS urls wiith legends: http://nsidc.org/data/atlas/ogc_services.html *WMS:* - Northern Hemisphere: http://nsidc.org/cgi-bin/atlas_north?service=WMSrequest=GetCapabilitiesversion=1.1.1 - Southern Hemisphere: http://nsidc.org/cgi-bin/atlas_south?service=WMSrequest=GetCapabilitiesversion=1.1.1 Some of the Urls embedded into OJ have legends: http://ows.terrestris.de/osm/service? for instance Peppe 2015-06-08 22:16 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr: Thanks all, Do you know any public url with GetLegendGraphics capability so that I can easily test it ? Michaël Le 08/06/2015 19:09, Rahkonen Jukka (MML) a écrit : Hi, GetLegendGraphics works now fine with our servers through https and basic authentication. Thanks -Jukka Rahkonen- Giuseppe Aruta wrote: Hi Ede, thanks for your help. Let us wait Jukka opinion/test to check the new reuse of WMSRequest with protected WMS servers. I implemented the dialog as a detachable internal frame, as you suggested. It looks also more elegant. I preferred the option to have it always on the top of the main view as I think that a legend should be always visible, it can be minimized by users anyhow. Regarding that dialogs accumulate and you suggestion to update/reuse existing legends per layer, I still didn't find a solution and I ask you a little help. best regards Peppe 2015-06-05 12:49 GMT+02:00 edgar.sol...@web.de: hey Peppe, while playing around with the plugin i stumbled over two issues 1. the plugin was enabled even if multiple wms layers were selected. this is fixed now in trunk. 2. the dialogs accumulate. every time a new one gets created. you should update/reuse existing legends per layer. additionally i suggest you implement the dialogs as detachable internal frames. this way they will be listed in the 'Windows' main menu and the user can decide where to place them. nice addition ..ede On 04.06.2015 15:24, Giuseppe Aruta wrote: Dear Jumpers, I added on OpenJUMP a new plugin that displays WMS layer(s) legend (if available) on a Dialog. This plugin is located on WMS Layer tree context menu, as Show WMS Layer Legend. The code originally came from Kosmo SAIG and it was completely rewritten in order to adapt WMS GetLegendGraphic and GetStyle operators without modifing OJ WMS classes. Best Regards Peppe -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list
Re: [JPP-Devel] Fwd: Fwd: NullPointerException Change Raster Image Properties
Hi Alberto, I gave a look on this weekend to your plugin. Personally I support your idea to integrate your plugin into OpenJUMP. These are my impressions and some brief considerations: a) Your raster styler (RS) has more advanced options than actual Raster color editor (RCE) integrated into OpenJUMP. Those avanced options can be summarized into 2 points: - RS has *ramp*, *user-defined intervals* and *single* values options while RCE supports basically only ramp. I started to integrate a possibility to have intervals on RCE but, looking at your code and plugin, I realized that you already made it (I was discovering the wheel again ) - RS provides a raster legend (what OJ currently need, in my opinion) while RCE doesn't. b) I gave a look on your RS source code and I realize that many RS classes are already integrated into OpenJUMP c) OpenJUMP RCE has some options that actually are missing on your RS (possibility to define an user range of values, invert color LUT), but those options are quite limited comparing to the advances of yur plugin (user-defined intervals and Legend, for instance) d) In your RS there is an option to manage nodata value which seems not to working As I wroye before, I vote to integrate your plugin into OpenJUMP, possibily as panel of Sextante Raster layer treeChange Raster Raster Image properties, as you suggested some months ago, substituting RCE. In the future we can work to move the extra options in RCE (see point c) to your plugin and deactivate one. RCE will survive anyhow under Raster menu Regarding point d), currently OpenJUMP handles nodata cells as transparent: no way to colourize them. This seems an advance for users: transparent-no data limit the area of analysis. On the other hand the possibility to colourized no-data cells with and out-of-order colour helps during some raster processes (for instance no data cells come out quickly if users apply Black/White colour schema and Red for no data). I would suggest to deactivate the nodata panel on your plugin until we find a solution. Best Regards Peppe -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] New WMS Layer legend plugin on OpenJUMP
Hi Ede, thanks for your help. Let us wait Jukka opinion/test to check the new reuse of WMSRequest with protected WMS servers. I implemented the dialog as a detachable internal frame, as you suggested. It looks also more elegant. I preferred the option to have it always on the top of the main view as I think that a legend should be always visible, it can be minimized by users anyhow. Regarding that dialogs accumulate and you suggestion to update/reuse existing legends per layer, I still didn't find a solution and I ask you a little help. best regards Peppe 2015-06-05 12:49 GMT+02:00 edgar.sol...@web.de: hey Peppe, while playing around with the plugin i stumbled over two issues 1. the plugin was enabled even if multiple wms layers were selected. this is fixed now in trunk. 2. the dialogs accumulate. every time a new one gets created. you should update/reuse existing legends per layer. additionally i suggest you implement the dialogs as detachable internal frames. this way they will be listed in the 'Windows' main menu and the user can decide where to place them. nice addition ..ede On 04.06.2015 15:24, Giuseppe Aruta wrote: Dear Jumpers, I added on OpenJUMP a new plugin that displays WMS layer(s) legend (if available) on a Dialog. This plugin is located on WMS Layer tree context menu, as Show WMS Layer Legend. The code originally came from Kosmo SAIG and it was completely rewritten in order to adapt WMS GetLegendGraphic and GetStyle operators without modifing OJ WMS classes. Best Regards Peppe -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] SVN: [4484] core/trunk/src/org/openjump/core/rasterimage/RasterImageIOUtils .java
Sorry Ede, my Ubuntu had a strange copypaste behaviour 2015-06-08 16:11 GMT+02:00 edgar.sol...@web.de: On 08.06.2015 16:08, jump-pilot-...@lists.sourceforge.net wrote: @@ -424,7 +425,7 @@ OutputStream out = null; try { OpenJUMPSextanteRasterLayer rstLayer = new OpenJUMPSextanteRasterLayer(); -rstLayer.create(rLayer); +rstLayer.create(rLayer);-9.0D out = new FileOutputStream(outfile); cellFormat = NumberFormat.getNumberInstance(); Peppe, are you sure you want '-9.0D' there? does that even compile? ..ede -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] New WMS Layer legend plugin on OpenJUMP
I think also that Kosmo request to WMS Styles and Legends starts probably together with a WMS layer request. Since I didn't want to modify any original WMS OJ classes, OJ WMS legend plugin calls after a WMS is loaded. Infact there is a small delay on OJ whenever a user ask for a legend, comparing to the same process on Kosmo 2015-06-05 9:54 GMT+02:00 Giuseppe Aruta giuseppe.ar...@gmail.com: Hi Jukka, thanks for the quick answer. Regarding user/password of WMS, I can see that the code comes from SelectUrlWithAuthPanel.class but I don't see where these datas are stored on WMS classes ( or maybe not, they are only asked at the beginning of the WMS request process). This plugin is relatively simple. If you have time you can see the code on class org.openjump.core.ui.plugin.wms.WMSLegendPlugIn. The core of legend request is Line 71, the String getLegendUrl(PlugInContext context, String names). The String is divided into 3 parts: a) PlugInContext refers to WMS layer where to extract the URL calling layer.getService().getServerUrl(). b) while String names is the name of the WMS layer. c) the rest of the code calls GetLegendGraphic, Version, etc, including some graphical components for the legend. I don't have experience with WMS. I understood from your code ( https://username:pas...@site.fi/cgi-bin/service1?) that that user/password should before the the server URL string (part a of String getLegendUrl) . If so, and if OJ memorize somewhere those datas, it should be easy to modify this String to get Legends from WMS withcredentials. Otherwhise I should build ad hoc another panel where users have to enter those info again. Regarding ChangeWMSStyleDialogPlugIn, I gave a look to it thinking to port to OpenJUMP. While GetLegend is relatively easy as it is shown a new image on a separate panel, for the Style it should redraw the workbench. Which I still don't know how to do. I really appreciate any comment or help on the code from you. Best Regards Peppe 2015-06-04 17:56 GMT+02:00 Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi: Hi Peppe, Seems to work with Geoserver and it generates also a correct URL for Mapserver so it should work. However, there is some little issue with sites using basic authentication. I think that the plugin is sending the request without credentials or something like that. Note that the error log shows URL as URL: https://username:pas...@site.fi/cgi-bin/service1? and if I copy the whole URL into browser I get the legend graphics. However, OpenJUMP gets an http 401 “not authorized” response. javax.imageio.IIOException: Can't get input stream from URL! at javax.imageio.ImageIO.read(Unknown Source) at org.openjump.core.ui.plugin.wms.WMSLegendPlugIn.getLegendPanel(WMSLegendPlugIn.java:150) at org.openjump.core.ui.plugin.wms.WMSLegendPlugIn.execute(WMSLegendPlugIn.java:48) at com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:342) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source
Re: [JPP-Devel] New WMS Layer legend plugin on OpenJUMP
Hi Jukka, can you send me a WMS url with relative User/Password? I want to check a possibility to set them on asking GetLegendGraphic URL Peppe 2015-06-05 9:59 GMT+02:00 Giuseppe Aruta giuseppe.ar...@gmail.com: I think also that Kosmo request to WMS Styles and Legends starts probably together with a WMS layer request. Since I didn't want to modify any original WMS OJ classes, OJ WMS legend plugin calls after a WMS is loaded. Infact there is a small delay on OJ whenever a user ask for a legend, comparing to the same process on Kosmo 2015-06-05 9:54 GMT+02:00 Giuseppe Aruta giuseppe.ar...@gmail.com: Hi Jukka, thanks for the quick answer. Regarding user/password of WMS, I can see that the code comes from SelectUrlWithAuthPanel.class but I don't see where these datas are stored on WMS classes ( or maybe not, they are only asked at the beginning of the WMS request process). This plugin is relatively simple. If you have time you can see the code on class org.openjump.core.ui.plugin.wms.WMSLegendPlugIn. The core of legend request is Line 71, the String getLegendUrl(PlugInContext context, String names). The String is divided into 3 parts: a) PlugInContext refers to WMS layer where to extract the URL calling layer.getService().getServerUrl(). b) while String names is the name of the WMS layer. c) the rest of the code calls GetLegendGraphic, Version, etc, including some graphical components for the legend. I don't have experience with WMS. I understood from your code ( https://username:pas...@site.fi/cgi-bin/service1?) that that user/password should before the the server URL string (part a of String getLegendUrl) . If so, and if OJ memorize somewhere those datas, it should be easy to modify this String to get Legends from WMS withcredentials. Otherwhise I should build ad hoc another panel where users have to enter those info again. Regarding ChangeWMSStyleDialogPlugIn, I gave a look to it thinking to port to OpenJUMP. While GetLegend is relatively easy as it is shown a new image on a separate panel, for the Style it should redraw the workbench. Which I still don't know how to do. I really appreciate any comment or help on the code from you. Best Regards Peppe 2015-06-04 17:56 GMT+02:00 Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi: Hi Peppe, Seems to work with Geoserver and it generates also a correct URL for Mapserver so it should work. However, there is some little issue with sites using basic authentication. I think that the plugin is sending the request without credentials or something like that. Note that the error log shows URL as URL: https://username:pas...@site.fi/cgi-bin/service1? and if I copy the whole URL into browser I get the legend graphics. However, OpenJUMP gets an http 401 “not authorized” response. javax.imageio.IIOException: Can't get input stream from URL! at javax.imageio.ImageIO.read(Unknown Source) at org.openjump.core.ui.plugin.wms.WMSLegendPlugIn.getLegendPanel(WMSLegendPlugIn.java:150) at org.openjump.core.ui.plugin.wms.WMSLegendPlugIn.execute(WMSLegendPlugIn.java:48) at com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:342) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source
Re: [JPP-Devel] New WMS Layer legend plugin on OpenJUMP
) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: https://username:pas...@site.fi/cgi-bin/service1?SERVICE=WMSREQUEST=GetLegendGraphicVERSION=1.1.1FORMAT=image/pngWIDTH=16HEIGHT=16legend_options=bgColor:0xEE;dpi:100;fontAntiAliasing:true;forceLabels:onLAYER=tukialueet at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source) at java.net.URL.openStream(Unknown Source) ... 42 more -Jukka Rahkonen- Giuseppe Aruta wrote: The plugin will be available on OJ 4474 Night Snapshot 2015-06-04 15:24 GMT+02:00 Giuseppe Aruta giuseppe.ar...@gmail.com: Dear Jumpers, I added on OpenJUMP a new plugin that displays WMS layer(s) legend (if available) on a Dialog. This plugin is located on WMS Layer tree context menu, as Show WMS Layer Legend. The code originally came from Kosmo SAIG and it was completely rewritten in order to adapt WMS GetLegendGraphic and GetStyle operators without modifing OJ WMS classes. Best Regards Peppe -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Fwd: Fwd: NullPointerException Change Raster Image Properties
Hi everybody, this is a dialog between Uwe about the possibility to deactivate a plugin (RasterColor Editor) as it was substituded by the new Raster Image tree menuRaster Layer PropertiesRaster Color Editor Panel *.* My mistake that this dialog remained between Uwe and I *.* I would like the opinion of the other developers thanks Peppe -- Forwarded message -- From: Giuseppe Aruta giuseppe.ar...@gmail.com Date: 2015-06-04 17:53 GMT+02:00 Subject: Re: [JPP-Devel] Fwd: NullPointerException Change Raster Image Properties To: uwe.dallu...@hcu-hamburg.de Hi Uwe, I checked the code of RasterRaster Color Editor* *(original plugin)*. *It seems that the new raster improvements broke its capability to restore original color scheme. And I don't want to make any change as those improvements have been applied to other classes/plugins, which have no described bugs. There are some solutions, I will describe them after a brief description of how and when to apply those plugins (sorry for the boringness and redundancy) *Actual situation:* *Single Band Raster*. to apply color schemas on these files, an user should use Raster Image tree menuRaster Layer PropertiesRaster Color Editor Panel* *(derived plugin)). It is possible to restore the Default Colors of a DEM (since these files have no default color schema, OJ adopted a standard B/Grays/W ramp). This derived plugin has also more options and color schemas that the original one. *Raster with multiple bands*. the original plugin affects (and affected) only the Band num. 0, which is usually the red channel on image files. The other channels (blue and green) are hidden. This behaviour has a few application, I feel, on raster analysis. On the other hand the option to restore default color doesn't work, because of the raster framework improvements. Alberto, if he reads these notes, can probably explain better than I do. The derived plugin is not activated if a multi-band raster is selected. *Possible solutions*: If you need to use the original plugin. Or you need to use false color schemas on multi-band rasters, there are a couple of option that we can discuss about: a) I can add modify the code in order that, when user choose Default color, the raster layer is reloaded with its original color schemas (RGB). In this case the original plugin is saved. b) I can add a plugin that divide RGB channels of an Image into separate single band rasters, than user can apply color schemas using the derived plugin. In this case I would deactivate the original plugin. I am waiting for your opinion about. Your experience with the students is important. In my opinion I would deactivate the original plugin in order not to confuse users. Best regards Peppe 2015-06-01 14:24 GMT+02:00 Uwe Dalluege uwe.dallu...@hcu-hamburg.de: ... I hope you will have nice free days! uwe Am 01.06.2015 um 13:51 schrieb Giuseppe Aruta: Hi Uwe, Thanks for hte test.I was aware of that bug. It was corrected on Raster Layer PropertiesRaster Color Editor layer menu but not on the RasterRaster Color Editor one. I am out for a couples of days. I will give a look when I will be back home Best regards Peppe 2015-06-01 11:16 GMT+02:00 Uwe Dalluege uwe.dallu...@hcu-hamburg.de mailto:uwe.dallu...@hcu-hamburg.de: Hi Peppe, sorry for answering so late but I was on holiday :-) I have some problems with RasterRaster Color Editor... in OJ r.4471. 1. Open with Sextante Raster Image my orthoGC.tif 2. Select the RasterLayer and then RasterRaster Color Editor... 3. The Raster Color Editor Panel appears. 4. Click to the Ok button and the image disappears! 5. Zooming in or out and the image appears. 6. Now choosing another color combination, maybe Black-White. 7. The Black-White image appears immediately. 8. Choosing Default colors the image disappears! 9. Zooming in or out and the image appears with Black-White but not with the Default colors. Kind regards Uwe Am 23.05.2015 um 21:41 schrieb Giuseppe Aruta: Hi Uwe, I just gave a look on the code again to correct an annoying bug on Raster Color Editor: the elements of this panel were randomly appearing on Raster transparency panel when a Single band raster was selected. Now the Dialog (only for Single band raster) is smaller as there is no need of the Select Color transparency for those files (it was not working anyhow). Nothing is changed if an image is selected. I also added a new option on Raster Color Editor panel to switch between ramp and interval color model, something embryonic, thanks to the new raster framework/classes that Alberto (one member of this list) added to OpenJUMP. I hope one day he can give a look and make something more professional than my work
[JPP-Devel] New WMS Layer legend plugin on OpenJUMP
Dear Jumpers, I added on OpenJUMP a new plugin that displays WMS layer(s) legend (if available) on a Dialog. This plugin is located on WMS Layer tree context menu, as Show WMS Layer Legend. The code originally came from Kosmo SAIG and it was completely rewritten in order to adapt WMS GetLegendGraphic and GetStyle operators without modifing OJ WMS classes. Best Regards Peppe -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] New WMS Layer legend plugin on OpenJUMP
The plugin will be available on OJ 4474 Night Snapshot 2015-06-04 15:24 GMT+02:00 Giuseppe Aruta giuseppe.ar...@gmail.com: Dear Jumpers, I added on OpenJUMP a new plugin that displays WMS layer(s) legend (if available) on a Dialog. This plugin is located on WMS Layer tree context menu, as Show WMS Layer Legend. The code originally came from Kosmo SAIG and it was completely rewritten in order to adapt WMS GetLegendGraphic and GetStyle operators without modifing OJ WMS classes. Best Regards Peppe -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] new SelectMultiItemsTool
Hi Michael, it looks an useful tool. I juste tested a little bit and it works fine. I only had a problem when I deactivated All and then selected only one feature: I was especting a popup which didn't come - which was probably right: when only one feature is selected there is no need to check the layer. I probably found a possible bug: SelectMultiItem lets drag on an area, like Select Tool. But it doesn't happen anything: the red rectangle remains on the workbench and nothing is selected. I like the new organization of the menu. Peppe 2015-06-01 13:22 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr: Hi Ede, When you click on superimposed features OneSelect select first feature, then another click select next feature... until the last one On the other hand, SelectMultiItems open a Popup with checkboxes and - let you see the layername (and fid) of the feature - let you select all, one or several of the underlying features Anyway, easy to test from last snapshot ;-) Michaël Le 01/06/2015 09:42, edgar.sol...@web.de a écrit : On 01.06.2015 07:49, Michaël Michaud wrote: Hi Jumpers I just commited a new SelectMultiItemsTool (r4471). I put it in the upper-right angle of the toolbox It could be a replacement for OneSelect tool (useful when several features overlap and the user want to choose only one of them). how does it differ from the original one? why is it called SelectMulti if it is for selecting one out of many? happy monday ..ede PS: http://dilbert.com/strip/2015-06-01 -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Fwd: NullPointerException Change Raster Image Properties
Hi Uwe, I just gave a look on the code again to correct an annoying bug on Raster Color Editor: the elements of this panel were randomly appearing on Raster transparency panel when a Single band raster was selected. Now the Dialog (only for Single band raster) is smaller as there is no need of the Select Color transparency for those files (it was not working anyhow). Nothing is changed if an image is selected. I also added a new option on Raster Color Editor panel to switch between ramp and interval color model, something embryonic, thanks to the new raster framework/classes that Alberto (one member of this list) added to OpenJUMP. I hope one day he can give a look and make something more professional than my work. Best regards Peppe 2015-05-21 10:19 GMT+02:00 Uwe Dalluege uwe.dallu...@hcu-hamburg.de: Hi Peppe, your solution in OJ 4456 works fine! Thank you for your quick help. Regards Uwe Am 20.05.2015 um 20:35 schrieb Giuseppe Aruta: -- Forwarded message -- From: *Giuseppe Aruta* giuseppe.ar...@gmail.com mailto:giuseppe.ar...@gmail.com Date: 2015-05-20 20:33 GMT+02:00 Subject: Re: [JPP-Devel] NullPointerException Change Raster Image Properties To: Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi mailto:jukka.rahko...@maanmittauslaitos.fi Applied the modifications, see OpenJUMP version 4456. Peppe 2015-05-20 19:12 GMT+02:00 Giuseppe Aruta giuseppe.ar...@gmail.com mailto:giuseppe.ar...@gmail.com: I found the problem. Actually Change Raster Style Plugin activates in the same time 3 different actions: transparency, scale visibility and Raster Color Editor (color schema for single band raster, deriving from RasterRaster color editor plugin). The Raster Color Editor panel has a /Default Colors/ option on the list (as default) which probably was used to restore original color schema of the raster. Actually it returns an empty array of colors and the image (single or multiple bands raster) disappears. The workaround that I can do is the following: 1) If a *multiple bands raster* is selected, only two panels will be visible: Transparency and Scale visibility, If user want to apply a false color schema to a multiple band, there is still the old RasterRaster color editor plugin. 2) If a *single band raster* is selected, the 3 panels will be visible: Transparency, Scale visibility and LUT. The previous /Default Colors option/ on Raster Color Editor panel will point to a Black-White color schema, as default in OpenJUMP I prefer to avoid to use Raster Color Editor option for multiple raster layers, in this moment, as this option is still embrionic in OJ and there is still a lot of job to do (colors per classes, for instance). I would like to have your opinion Peppe 2015-05-20 18:07 GMT+02:00 Giuseppe Aruta giuseppe.ar...@gmail.com mailto:giuseppe.ar...@gmail.com: Hi Uwe, Jukka, Jukka is right. Zooming in/out to let the image appear again. But also clicking the colour transparent check-box. I will do some test on next days and try to solve it: the actual behaviour is not so practical. Peppe 2015-05-20 9:04 GMT+02:00 Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi mailto:jukka.rahko...@maanmittauslaitos.fi: Hi, The image disappears also for me with r4455 initially but if I just zoom in one time it comes back and stays visible after that. -Jukka Rahkonen- Uwe Dalluege wrote: Hi Peppe, thank you for your quick answer. Unfortunately the rasterimage disappears after pressing the Apply button. First for a few seconds but pressing the Apply or Ok button again the image disappears for ever :-( Please see the attachment. Regards Uwe Am 19.05.2015 um 20:42 schrieb Giuseppe Aruta: Hi Uwe, I gave a look, it should be fixed on next OJ NB thanks for the test Peppe 2015-05-19 9:18 GMT+02:00 Uwe Dalluege uwe.dallu...@hcu-hamburg.de mailto:uwe.dallu...@hcu-hamburg.de mailto:uwe.dallu...@hcu-hamburg.de mailto:uwe.dallu...@hcu-hamburg.de: Hi, 1. Open a Sextante Raster Image. 2. Change Raster Image Properties. 3. Enable the checkBox Do you want a color to be transparent. 4. Move the slider set overall transparency 5. Press Apply-Button and the raster image changed without an error. 6. Press
Re: [JPP-Devel] How to change the default line width?
AFAIR The Kosmo SLD code is full of depencies to geotools libs (but also its Advanced style framework). Anyhow It would be nice to port tit to OpenJUMP as it appeared (on a test made a long ago) a better compatibly with OGC standards ( http://lists.osgeo.org/pipermail/java-collab/2008-May/01.html) Peppe 2015-05-22 11:46 GMT+02:00 Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi: Hi, I came to wish for easy styling when I was preparing a workshop about spatial SQL which I will base on the Spatialite plugin. This way I think that the workshop attendees can concentrate into the real thing instead of spending time for writing awkward SQL - All spatialite functions are available from a menu https://www.gaia-gis.it/gaia-sins/spatialite-sql-latest.html - All functions have a tooltip help for syntax and double click copies the command into SQL query - I have enhanced the menu by creating a set of lessons. All SQL for the lessons comes by double clicking the menu items of that lesson. It is much faster than make people to write SQL by hand and with far less typing errors. The syntax is tested to work and the menu remains as a reference for future needs. Almost everything would also work with PostGIS without any modifications because the functions are the same. The JEdit syntax and menu system should only be ported to some of the PostGIS dialogs that we have. Now what makes we want quick styling is that the default styles are not the best for this use: - Line width of 1 is always s too narrow for the demo layers which are created by SQL queries - Some demo layers need visible vertices - Effect of some functions need arrowhead decoration for making the effect visible In my everyday work I make lots of ad hoc SQL queries and it would be nice to be able to attach quickly some good style to several layers which comes from the same sources, like parcels queried by different parcel IDs. For printing it is rather important to use same styles for parcels every time. However, while I have been writing this message I have just discovered a workaround that I have not yet tested: Prepare an OpenJUMP project with empty template layers. I can start the work by opening the project and then I have my own style presets stored into these template layers and I can attach them to new layers through Layer – Style- “Copy Style” and “Paste Style”. Wondering that if we can copy and paste OpenJUMP styles then probably we could also store them into files and read back afterwards. For Michaël’s needs there should be additional elements for setting also the layer status: visible/selectable/editable. -Jukka- Michaël Michaud wrote: Hi, What you describe looks like predefined styles (on the right of BasicStyle panel). Maybe a partial solution could be to have a set of predefined styles able to add last applied style to the list. My idea about saving styles is quite different though. What I miss is a way to associate one button to a set of styles (+ visibility + editability + selectability) related to a set of layers (eventually related to the schema with labels and color theming). I would liketo be able to switch from one view (set of styles) to another, depending on the working phase I'm doing (I may need layer A to be editable or not, I may need the orthophotography to be visible or not, I may need to display/hide names, or to hide every layer but one...) Such a tool could be flexible enough to make it possible to apply a pre-defined Style to any layer with a system of wildcard/regex. Michaël Le 21/05/2015 17:24, Rahkonen Jukka (MML) a écrit : Hi, I imagine that we could have a clone of the SetAttributes plugin “SetStyles plugin” which would have a similar palette of buttons with a XML configuration file. The configuration file would take attributes which can be set to any layer. Therefore no labels nor theme colouring. Fill color (RGB or Next) Fill pattern ID Line color (RGB of Next) Line pattern ID Line width Transparency Vertex size Vertex symbol name Decorations (list) Styles would be set to all selected layers. With colour “Next” I mean the current default behavior that gives distinct colours for the new layers. I think that they come from some hardcoded list or formula. -Jukka Rahkonen- *Lähettäjä:* Rahkonen Jukka (MML) *Lähetetty:* 21. toukokuuta 2015 15:05 *Vastaanottaja:* jump-pilot-devel@lists.sourceforge.net *Aihe:* Re: [JPP-Devel] How to change the default line width? Hi, Thanks, I was getting closer by looking at the BeanShell examples from our wiki. I will add this one there, too. I think we should encourage people to write more scripts and perhaps to develop some nice UI for executing scripts/macros in some easy way. BeanShell editor may feel unfriendly for end users. When it comes to
Re: [JPP-Devel] How to keep the project window responsible while plugin is open?
Multi input dialog class Il giorno 21/mag/2015 20:26, Giuseppe Aruta giuseppe.ar...@gmail.com ha scritto: I wonder if Multi input class can be set to modal, too Il giorno 21/mag/2015 08:51, Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi ha scritto: Hi Michaël and Ede, I can only say that all that you said was super true. Editing line 79 into super(...,false) did the trick. For this plugin it is absolutely better this way. I will start a new v. 1.5 development with this change. -Jukka- Michaël Michaud wrote: Hi Jukka, Line 79, the SpatialiteDialog uses the super keyword to inititialize the dialog with its parent constructor JDialog(Frame frame,String title,boolean modal) You can see that it is initialized with modal = true. Try to change it to false here, Hope that helps Michaël Le 20/05/2015 17:24, Rahkonen Jukka (MML) a écrit : Hi, Am I right that the spatialite dialog is set to modal somewhere in this code https://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/SpatialitePlugin/trunk/src/org/jam/openjump/spatialiteplugin/SpatialiteDialog.java ? -Jukka- edgar.soldin wrote: On 18.05.2015 13:53, Rahkonen Jukka (MML) wrote: Hi developers, What is that system called which allows to keep the plugin open and to jump between the plugin window and the map view without closing the plugin in between? The DB Query Plugin allows that but the SpatiaLite plugin must be closed before doing anything on the map. And when the plugin is closed the database connection must be made again. I wonder if it would be hard to make also the SpatiaLite plugin to run in an own thread or process of whatever it is called. the concept is called modal dialog http://en.wikipedia.org/wiki/Modal_window and it is merely a setting. the whole swing gui is rendered within on thread irrespective how many windows it created. usually it is used when the input is needed to continue or changes in the underlying windows would conflict with whatever the foreground window is supposed to do. ..ede -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel
Re: [JPP-Devel] How to keep the project window responsible while plugin is open?
I wonder if Multi input class can be set to modal, too Il giorno 21/mag/2015 08:51, Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi ha scritto: Hi Michaël and Ede, I can only say that all that you said was super true. Editing line 79 into super(...,false) did the trick. For this plugin it is absolutely better this way. I will start a new v. 1.5 development with this change. -Jukka- Michaël Michaud wrote: Hi Jukka, Line 79, the SpatialiteDialog uses the super keyword to inititialize the dialog with its parent constructor JDialog(Frame frame,String title,boolean modal) You can see that it is initialized with modal = true. Try to change it to false here, Hope that helps Michaël Le 20/05/2015 17:24, Rahkonen Jukka (MML) a écrit : Hi, Am I right that the spatialite dialog is set to modal somewhere in this code https://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/SpatialitePlugin/trunk/src/org/jam/openjump/spatialiteplugin/SpatialiteDialog.java ? -Jukka- edgar.soldin wrote: On 18.05.2015 13:53, Rahkonen Jukka (MML) wrote: Hi developers, What is that system called which allows to keep the plugin open and to jump between the plugin window and the map view without closing the plugin in between? The DB Query Plugin allows that but the SpatiaLite plugin must be closed before doing anything on the map. And when the plugin is closed the database connection must be made again. I wonder if it would be hard to make also the SpatiaLite plugin to run in an own thread or process of whatever it is called. the concept is called modal dialog http://en.wikipedia.org/wiki/Modal_window and it is merely a setting. the whole swing gui is rendered within on thread irrespective how many windows it created. usually it is used when the input is needed to continue or changes in the underlying windows would conflict with whatever the foreground window is supposed to do. ..ede -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Fwd: NullPointerException Change Raster Image Properties
-- Forwarded message -- From: Giuseppe Aruta giuseppe.ar...@gmail.com Date: 2015-05-20 20:33 GMT+02:00 Subject: Re: [JPP-Devel] NullPointerException Change Raster Image Properties To: Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi Applied the modifications, see OpenJUMP version 4456. Peppe 2015-05-20 19:12 GMT+02:00 Giuseppe Aruta giuseppe.ar...@gmail.com: I found the problem. Actually Change Raster Style Plugin activates in the same time 3 different actions: transparency, scale visibility and Raster Color Editor (color schema for single band raster, deriving from RasterRaster color editor plugin). The Raster Color Editor panel has a *Default Colors* option on the list (as default) which probably was used to restore original color schema of the raster. Actually it returns an empty array of colors and the image (single or multiple bands raster) disappears. The workaround that I can do is the following: 1) If a *multiple bands raster* is selected, only two panels will be visible: Transparency and Scale visibility, If user want to apply a false color schema to a multiple band, there is still the old RasterRaster color editor plugin. 2) If a *single band raster* is selected, the 3 panels will be visible: Transparency, Scale visibility and LUT. The previous *Default Colors option* on Raster Color Editor panel will point to a Black-White color schema, as default in OpenJUMP I prefer to avoid to use Raster Color Editor option for multiple raster layers, in this moment, as this option is still embrionic in OJ and there is still a lot of job to do (colors per classes, for instance). I would like to have your opinion Peppe 2015-05-20 18:07 GMT+02:00 Giuseppe Aruta giuseppe.ar...@gmail.com: Hi Uwe, Jukka, Jukka is right. Zooming in/out to let the image appear again. But also clicking the colour transparent check-box. I will do some test on next days and try to solve it: the actual behaviour is not so practical. Peppe 2015-05-20 9:04 GMT+02:00 Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi: Hi, The image disappears also for me with r4455 initially but if I just zoom in one time it comes back and stays visible after that. -Jukka Rahkonen- Uwe Dalluege wrote: Hi Peppe, thank you for your quick answer. Unfortunately the rasterimage disappears after pressing the Apply button. First for a few seconds but pressing the Apply or Ok button again the image disappears for ever :-( Please see the attachment. Regards Uwe Am 19.05.2015 um 20:42 schrieb Giuseppe Aruta: Hi Uwe, I gave a look, it should be fixed on next OJ NB thanks for the test Peppe 2015-05-19 9:18 GMT+02:00 Uwe Dalluege uwe.dallu...@hcu-hamburg.de mailto:uwe.dallu...@hcu-hamburg.de: Hi, 1. Open a Sextante Raster Image. 2. Change Raster Image Properties. 3. Enable the checkBox Do you want a color to be transparent. 4. Move the slider set overall transparency 5. Press Apply-Button and the raster image changed without an error. 6. Press OK Button and the error message appears... I tested it with OJ Version 20150507 snapshot rev.4426 java.lang.NullPointerException at org.openjump.core.ui.plugin.layer.pirolraster.panel.RasterColorEditorPanel.updateStyles(RasterColorEditorPanel.java:289) at org.openjump.core.ui.plugin.layer.pirolraster.ChangeRasterImagePropertiesPlugIn.execute(ChangeRasterImagePropertiesPlugIn.java:128) at com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:342) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source
Re: [JPP-Devel] NullPointerException Change Raster Image Properties
Hi Uwe, I gave a look, it should be fixed on next OJ NB thanks for the test Peppe 2015-05-19 9:18 GMT+02:00 Uwe Dalluege uwe.dallu...@hcu-hamburg.de: Hi, 1. Open a Sextante Raster Image. 2. Change Raster Image Properties. 3. Enable the checkBox Do you want a color to be transparent. 4. Move the slider set overall transparency 5. Press Apply-Button and the raster image changed without an error. 6. Press OK Button and the error message appears... I tested it with OJ Version 20150507 snapshot rev.4426 java.lang.NullPointerException at org.openjump.core.ui.plugin.layer.pirolraster.panel.RasterColorEditorPanel.updateStyles(RasterColorEditorPanel.java:289) at org.openjump.core.ui.plugin.layer.pirolraster.ChangeRasterImagePropertiesPlugIn.execute(ChangeRasterImagePropertiesPlugIn.java:128) at com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:342) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Regards Uwe -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] SetAttributes extension
Hi Michael, I tested your plugin. - I create a new layer and called *Test_Layer* - Add an attribute to the layer, called *Test_attribute* - Open XML file. On lines *button icon= text=... atomic=true layer=...*, I modified *layer=**Test_Layer* - On the lines *attribute name=... value=.../*. I modified* attribute=**Test_attribute*. For each lines I modified* value=**value1*,* value=**value2*, etc. Where *value1, value2*, etc are the values I want to use It works. Option* tooltip=* can to be set to recognize the values and attributes, for instance tooltip=*Test_attribute - value4* I agree with Jukka, we need a manual or a documented example. Wiki wil be a good idea. Best regards Peppe 2015-05-11 8:52 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr: Hi Jukka, Thanks for the tests. Here is a version 0.4 with better messages (and resources for translation). https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/SetAttributes%20PlugIn/ Note that the xml attribute atomic in button element makes the plugin more or less permissive regarding the schema : - atomic=false (or no atomic attribute) : missing attributes are simply ignored - atomic=true : fails with a message if an attribute is missing I'll try to write a wiki page to explain how to write a configuration file Michaël Le 10/05/2015 19:25, Rahkonen Jukka (MML) a écrit : Hi, I got it, this tool edits only layer named as layerName. I think that this tool will need a manual with good examples and also some improvements to the error messages but it will become a good tool and nice addition into OJ Plus. -Jukka Rahkonen- Rahkonen Jukka (MML) wrote: Hi, Feature feels useful and simple to use and configure. My first experiences: - I could not make the buttons which should update attribute Nom0 to work. I have that attribute in the table as String but the result is always No selected feature found in a matching editable layers - Error message should handle the case when layer does not have a correct attribute. Something like No selected feature with attribute {0} found If I have an attribute window open when using the toolbox the values are updated in the window which is great. Generally I am not sure it that happens with all editing tools. Would it be good to have a Reshesh button in the attribute window? -Jukka Rahkonen- Michaël Michaud wrote: Hi Jumpers, I just committed code of a new extension which makes it possible to create toolboxes from xml to set one or many attribute(s) values of a selection of features in one click. The toolbox is composed of as many buttons as needed, each button set attributes of one or several attributes with specified values. It is defined in a xml file located in lib/ext/set_attributes (two examples including explanation attached) https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/SetAttributes%20PlugIn/ ? How to : --- - copy the jar file in lib/ext - copy the set_attributes directory in lib/ext Study how to write a xml for your use case from the xml attached in this mail Start OpenJUMP, click on menu Extension SetAttributes... then check the name of your xml and click OK You can have several toolboxes for different purposes and you can adjust the definition of your buttons without re-starting OpenJUMP (just re-activate the plugin from the menu) I propose to include this lightweight extension in PLUS version if feedback if good enough. Michaël -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Sextante Raster Image; Raster Layer Info; Coordinate out of bounds!
It sounds to me a good idea, Alberto Peppe 2015-05-11 12:05 GMT+02:00 Alberto De Luca - GeA alberto.del...@geomaticaeambiente.com: Hi everyone! It appears to me that the issue is due to the fact that OpenJUMPSextanteRasterLayer and GridExtent assume X and Y cell sizes to be equal. This is a problem when, like with this very TIFF, the two sizes differ, and the method GridExten#recalculateNXAndNY() calculates a wrong row count (because it uses the x cell size, the only one it knows, instead of the y cell size). In practice, it calculates 778 rows instead of 777. Using the right y cell size would lead to a correct result. I could try to amend the OpenJUMPSextanteRasterLayer (up to ISextanteLayer) and make them capable of handling two different cell sizes for x, and y (to be honest I don't know how many other classes will be involved...). What do you reckon? Alberto -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Proposal to change raster menu
I recently added on OpenJUMP Night Snapshot some new plugins for Sextante raster. Some of them are specifically used for analysis on Single banded raster (I added also an enable check option to deactivate those plugins if a multiple banded raster is selected) Other plugins work for all type of raster. The new enhancement made some duplications on raster organization: This is my proposal a) Plugins for Single banded raster. I want to group those tools (and the other that will come) to a specific submenu: * RasterAnalysis on Single banded raster* or a more generic *RasterAnalysis on Raster grids. *The second name is more convenient by the time that those plugins will become from single banded to multiple banded The plugins I want to move are: *RasterStatisticsCompare selected grid raster layers* to *Raster**Analysis on Raster grids* *Compare statistics of selected layers* and *RasterManage NoData values[plugins]* *to* *Raster**Analysis on Raster gridsManage NoData values[plugins]* b) Duplicate functions. Remove *RasterStatisticsStatistics *plugin. This plugin is now added as a pane into Sextante Raster Layer *context menuRaster Layer Info plugin*. I think that this organization will make the raster plugins organization more comprehensible and easy to find I add this post on both Users and Developers lists. Peppe -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Sextante Raster Image; Raster Layer Info; Coordinate out of bounds!
Hi Uwe and Jukka, I reproduced the same error message. I checked the Raster Info class and tried to find a solution with no success. I will see on next days. As far as I remember I had the same problem with raster images saved by openjump (like save view as image). I will write a note about Jukka'ss test on our wiki on-line manual. -- I tested that reducing the decimals to 2: 0.83 0.0 0.0 -0.83 63900.0 51800.0 the Layer info works. The difference in Easting/Northing (at that position) between the original worldfile and the new one is only of few millimtres. See the following screenshot. Peppe 2015-05-08 13:59 GMT+02:00 Uwe Dalluege uwe.dallu...@hcu-hamburg.de: Hi Jukka, if you use the .tfw world-file calculated by OpenJUMP with minx = 63900 maxx = 64600 miny = 51150 maxy = 51800 the Raster Layer Info also does not work :-( By the way: The JTextFields of the worldfile dialog first are too short. After I extend the dialog-window in y the JTextFields grow bigger. I use the metal-look-and-feel for OJ. Have a nice weekend! Uwe Am 08.05.2015 um 10:49 schrieb Rahkonen Jukka (MML): Hi Uwe, With the .tfw file I can reproduce. Unfortunately I do not know how to fix it. Issue has something to do with the accuracy of the pixel size. Original .tfw is 0.8353221957040573 0.0 0.0 -0.8365508365508365 63900.0 51800.0 You can test by editing it into: 0.8 0.0 0.0 -0.8 63900.0 51800.0 Now image info works and you can even add some more decimals and it still works. -Jukka- -Alkuperäinen viesti- Lähettäjä: Uwe Dalluege [mailto:uwe.dallu...@hcu-hamburg.de] Lähetetty: 8. toukokuuta 2015 11:20 Vastaanottaja: Rahkonen Jukka (MML); OpenJump develop and use Aihe: Re: [JPP-Devel] Sextante Raster Image; Raster Layer Info; Coordinate out of bounds! Hi Jukka, sorry, I forgot to send the .tfw file. This is an air photo of my GeoCity examples for my tutorial (please see the .jml files, they must match for the picture). Greetings from Hamburg Uwe Am 08.05.2015 um 10:01 schrieb Rahkonen Jukka (MML): Hi Uwe, I can't reproduce with a vanilla r.4426 on Windows, jre 1.8.0_40 32-bit when I open the image into an empty project window. The bounding box dialogue appears, if I accept the defaults the image opens and raster info tool works. The envelope is: Env[0.0 : 838.0, 89.0 : 866.0] Could you send the also the .tfw and .tif.aux.xml files which appear into the image directory so I can have a try with your values? -Jukka Rahkonen- Uwe Dalluege wrote: Hi, after loading a .tif file (OrthoFotoGC.tif) with OpenSextante Raster Image and try Raster Layer Info I receive the message: Coordinate out of bounds! java.lang.ArrayIndexOutOfBoundsException: Coordinate out of bounds! at java.awt.image.ComponentSampleModel.getSampleDouble(Unknown Source) at java.awt.image.Raster.getSampleDouble(Unknown Source) at org.openjump.core.rasterimage.sextante.OpenJUMPSextanteRasterLayer.getCellValueInLayerCoords(OpenJUMPSextanteRasterLayer.java:178) at org.openjump.core.rasterimage.sextante.rasterWrappers.GridWrapper.getCellValueInLayerCoords(GridWrapper.java:86) at org.openjump.core.rasterimage.sextante.rasterWrappers.GridWrapperNotInterpolated.getCellValueAsDouble(GridWrapperNotInterpolated.java:132) at org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.getCellValueAsDouble(AbstractSextanteRasterLayer.java:112) at org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.calculateStatistics(AbstractSextanteRasterLayer.java:362) at org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.getMinValue(AbstractSextanteRasterLayer.java:469) at org.openjump.core.rasterimage.sextante.AbstractSextanteRasterLayer.getMinValue(AbstractSextanteRasterLayer.java:515) at org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.InfoText(RasterImageLayerPropertiesPlugIn.java:432) at org.openjump.core.ui.plugin.raster.RasterImageLayerPropertiesPlugIn.execute(RasterImageLayerPropertiesPlugIn.java:638) at com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:342) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source)
Re: [JPP-Devel] SetAttributes extension
Hi Michaël, it sounds interesting. Thank you. I will test and give a feedback. Peppe 2015-05-08 21:06 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr: Hi Jumpers, I just committed code of a new extension which makes it possible to create toolboxes from xml to set one or many attribute(s) values of a selection of features in one click. The toolbox is composed of as many buttons as needed, each button set attributes of one or several attributes with specified values. It is defined in a xml file located in lib/ext/set_attributes (two examples including explanation attached) https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/More%20Plugins/SetAttributes%20PlugIn/ ? How to : --- - copy the jar file in lib/ext - copy the set_attributes directory in lib/ext Study how to write a xml for your use case from the xml attached in this mail Start OpenJUMP, click on menu Extension SetAttributes... then check the name of your xml and click OK You can have several toolboxes for different purposes and you can adjust the definition of your buttons without re-starting OpenJUMP (just re-activate the plugin from the menu) I propose to include this lightweight extension in PLUS version if feedback if good enough. Michaël -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Sextante modeler does work
Thanks Jukka, that is exactly the same I experienced with Linux (I think you use Windows). So we can exclude a OS problem. Today I reactivated both Modeler and History and hope to have a feedback from users. Peppe 2015-05-07 9:43 GMT+02:00 Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi: Hi, For me the History can only show the history but nor execute any of the old commands. The result is always the same “inline evaluation error…Command not found: runalg…”. I tested that by buffering a layer through the toolbox and trying to repeat the successful procedure from the History. I believe that sextante commads are not initialized correctly. The same message comes when I open the Sextante Command line window (BeanShell) and copy the command from the history into it. I do not know how sextante should be loaded. Obviously the meaning is that it is found and loaded automatically. I tried to do it manually from the BeanShell as: import sextante; This does not give an error but does not make the commands to work either which makes me believe that paths are not correct and sextante is not imported. References: http://www.eweb.unex.es/eweb/sextantegis/IntroductionToSEXTANTE.pdf http://docs.qgis.org/1.8/en/docs/user_manual/sextante/console.html -Jukka- Giuseppe Aruta wrote: Hei Jukka, can you also test the 'run' in the SextanteHistory plugin? I still have an error message. Looks like it cannot read the model. Thanks 2015-05-06 19:18 GMT+02:00 Giuseppe Aruta giuseppe_ar...@yahoo.it: Thanks Jukka, I was worried that Medeler was not working anymore. I did a couple of tests (create Aspect and Sample point layer), following your procedure with the same OJ version, and everything works fine. I am going to reactivate modeler on next NB and write down your notes on Sextante On-line page (http://ojwiki.soldin.de/index.php?title=Sextante). Thanks again Peppe PS: The test I did few days ago, Modeler was not able neither to save nor to open a model. Today I discover that in my computer Modeler checks new models into GvSIG prefigured folders (gvSIG-desktop/gvSIG-desktop-2.1.0/gvSIG/extensiones/org.gvsig.geoprocess.app.mainplugin/modeler in my case). I wonder (and I will check) if this would have been the reason of the first failure (I reinstalled GvSIG in those days to do a comparison). So even models configured with GvSIG are read, This can be a good news for people who use both software. 2015-05-06 15:21 GMT+02:00 Stefan Steiniger sst...@geo.uzh.ch: nice! thanks for trying (hard) and reporting! Am 06.05.15 um 06:15 schrieb Rahkonen Jukka (MML): Hi, I made some testing and managed to create a new process with the Sextante graphical modeler and run it with success. Necessary steps for me were: 1)Check and change it you want the folder where models are saved through Sextante settings –Models – Models folder. 2)Build the model and save it. 3)Close the modeler 4)Sextante Toolbox shows the new model in the tree under Models – Models 5)Double click the model – Run Modeler is not very user friendly because you can’t run the model from the graphical view and the model must be valid before you can run the saved model, but I could make a simple buffer process and run it so fundamentally it works. Tested with OJ Plus snapshot r.4401 (1015-04-18) with a point layer. If I had any raster layers in the project (opened as Sextante raster) the toolbox throws an error about missing jts/geom/Envelope method. -Jukka Rahkonen- -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud
Re: [JPP-Devel] Sextante tools and model builder..
Hi Teva, see the last two lines of this page: http://ojwiki.soldin.de/index.php?title=Sextante few notes: a) OJ Binding is only a bridge beween Sextante and OpenJUMP. In OJ SVN you can view it and download, also via Eclipse, I image. b) To get Sextante code you should go to GvSIG CE SVN I reactivated Modeler and Historyin Sextante, after some tests that gave a better results. Modeler seems to work. You can try next OJ NB build. I will be glad if you can send to the list your impressions. Best regards Peppe 2015-05-06 18:46 GMT+02:00 Teva veluppillai tveluppil...@aquaveo.com: Thanks for the information. Would you please tell me the code respositoy where I could find the SEXTANTE and OJ binding source code are located. Teva On Tue, May 5, 2015 at 10:16 AM, Giuseppe Aruta giuseppe_ar...@yahoo.it wrote: One day we should save our copy of Sextante, as source code. I think that OJ and GvSIG CE versions have been diverged a bit, at least on Gass and other software recognition. I made a new page on our on-line manual to describe all the information available about Sextante, the available documentation in English, OpenJUMP and Sextante integration, a comparision between some most used Raster analysis functionalities between ArcGIS Spatial Analyst and Sextante and eventually some technical notes. The page is available here : http://ojwiki.soldin.de/index.php?title=Sextante Peppe 2015-05-04 2:22 GMT+02:00 Sstein sst...@geo.uzh.ch: Hi, Yes - Peppe is right: we don't have the sextante sources. Only the sources for the bindings. The sources are indeed on gvsig ce repository and before that were elsewhere. I think we would need to check what is the last sextante version nr we have. The 3 libs mentioned by Peppe are the base, but then, other libs are needed too by sextante, such as jfreechart and common, as i wrote in the lib info for the OJ horae plugin. I should have a checked out copy from gvSIG, probably now 2+ years old, if that is of any help... Phewww, so long time ago... Cheers, Stefan El 03-05-2015, a las 10:38, Giuseppe Aruta giuseppe_ar...@yahoo.it escribió: Mmh., I think that core Sextante jars are sextante.jar, sextante_gui.jar and sextante_algorithms.jar. We should investigate on the first two ones to understand Modeler bugs. The source codes of these jars are stored by GvSIG ce ( http://gvsigce.sourceforge.net/sextante_web/source.html). Anyhow their version is an upgrade or OpenJUMP one (more GRASS and SAGA links). I think we don't have a copy of the source code (of these three files) on our SVN repository Probably Stefan knows better the story. Peppe 2015-05-03 10:19 GMT+02:00 edgar.sol...@web.de: close, but missed ;) sextante extension's sources can be found in a plugins repo subfolder https://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/SextantePlugIn/ the 'lib/plus' path below merely contains compiled extensions and their dependencies for packaging PLUS w/o fetching these from all over the internet. ..ede On 03.05.2015 09:05, Rahkonen Jukka (MML) wrote: Hi, See the sextante and sextante-help directories in https://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/lib/plus/ -Jukka Rahkonen- -- **Teva veluppillai wrote: Giuseppe Aruta, I found Sextante in the following version: Version 1.8.0 release rev.4164 01. December 2014. I installed it on Windows 7 OS. Running status of SEXTATNE: I was not able to run model builder however, I am able to run a few tools. Would you please tell me where could I get its source code? Thanks! Teva On Thu, Apr 30, 2015 at 12:38 AM, Giuseppe Aruta giuseppe_ar...@yahoo.it mailto:giuseppe_ar...@yahoo.it wrote: Hi Teva, I deactivated Sextante model builder on OJ Night snapshot as it is not working in OpenJUMP. This is a bug connected to original Sextante framework, since probably Sextante version 0.6 - the first embedded into OpenJUMP
Re: [JPP-Devel] Sextante modeler does work
Thanks Jukka, I was worried that Medeler was not working anymore. I did a couple of tests (create Aspect and Sample point layer), following your procedure with the same OJ version, and everything works fine. I am going to reactivate modeler on next NB and write down your notes on Sextante On-line page (http://ojwiki.soldin.de/index.php?title=Sextante). Thanks again Peppe PS: The test I did few days ago, Modeler was not able neither to save nor to open a model. Today I discover that in my computer Modeler checks new models into GvSIG prefigured folders (gvSIG-desktop/gvSIG-desktop-2.1.0/gvSIG/extensiones/org.gvsig.geoprocess.app.mainplugin/modeler in my case). I wonder (and I will check) if this would have been the reason of the first failure (I reinstalled GvSIG in those days to do a comparison). So even models configured with GvSIG are read, This can be a good news for people who use both software. 2015-05-06 15:21 GMT+02:00 Stefan Steiniger sst...@geo.uzh.ch: nice! thanks for trying (hard) and reporting! Am 06.05.15 um 06:15 schrieb Rahkonen Jukka (MML): Hi, I made some testing and managed to create a new process with the Sextante graphical modeler and run it with success. Necessary steps for me were: 1)Check and change it you want the folder where models are saved through Sextante settings –Models – Models folder. 2)Build the model and save it. 3)Close the modeler 4)Sextante Toolbox shows the new model in the tree under Models – Models 5)Double click the model – Run Modeler is not very user friendly because you can’t run the model from the graphical view and the model must be valid before you can run the saved model, but I could make a simple buffer process and run it so fundamentally it works. Tested with OJ Plus snapshot r.4401 (1015-04-18) with a point layer. If I had any raster layers in the project (opened as Sextante raster) the toolbox throws an error about missing jts/geom/Envelope method. -Jukka Rahkonen- -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Question about Saving .classpath .settings files/folder on SVN
Thanks Stefan, I only found this option under WindowsPropertiesTeamCVSIgnore resources. I wonder if I have to activate here. Peppe 2015-05-05 16:21 GMT+02:00 sstein sst...@geo.uzh.ch: Hi Peppe, for a plugin dev project, it may actually be good to have these files. However, for a project there are also svn-ignore setting... its somewhere in the projects/team? context menu (if you select the file), if i remeber correctly. stefan -- Originalnachricht -- *Von: *Giuseppe Aruta *Datum: *05.05.2015 5:05 *An: *OpenJump develop and use; *Betreff:*[JPP-Devel] Question about Saving .classpath .settings files/folder on SVN Hi Ede, Today I create a new folder on http://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/docs/ to put all Sextante documents (in English - in order to use on On-Line manual) And I had again files .classpath, .project and folder .settings saved on SVN repository. How can avoid it again? Is there a setting on Eclipse that I can configure? How can I delete them from SVN? I saw that you corrected few days ago a similar problem (probably my mistake) I thank you in advance Giuseppe -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Question about Saving .classpath .settings files/folder on SVN
Hi Ede, Today I create a new folder on http://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/docs/ to put all Sextante documents (in English - in order to use on On-Line manual) And I had again files .classpath, .project and folder .settings saved on SVN repository. How can avoid it again? Is there a setting on Eclipse that I can configure? How can I delete them from SVN? I saw that you corrected few days ago a similar problem (probably my mistake) I thank you in advance Giuseppe -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Sextante tools and model builder..
Mmh., I think that core Sextante jars are sextante.jar, sextante_gui.jar and sextante_algorithms.jar. We should investigate on the first two ones to understand Modeler bugs. The source codes of these jars are stored by GvSIG ce ( http://gvsigce.sourceforge.net/sextante_web/source.html). Anyhow their version is an upgrade or OpenJUMP one (more GRASS and SAGA links). I think we don't have a copy of the source code (of these three files) on our SVN repository Probably Stefan knows better the story. Peppe 2015-05-03 10:19 GMT+02:00 edgar.sol...@web.de: close, but missed ;) sextante extension's sources can be found in a plugins repo subfolder https://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/SextantePlugIn/ the 'lib/plus' path below merely contains compiled extensions and their dependencies for packaging PLUS w/o fetching these from all over the internet. ..ede On 03.05.2015 09:05, Rahkonen Jukka (MML) wrote: Hi, See the sextante and sextante-help directories in https://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/lib/plus/ -Jukka Rahkonen- -- **Teva veluppillai wrote: Giuseppe Aruta, I found Sextante in the following version: Version 1.8.0 release rev.4164 01. December 2014. I installed it on Windows 7 OS. Running status of SEXTATNE: I was not able to run model builder however, I am able to run a few tools. Would you please tell me where could I get its source code? Thanks! Teva On Thu, Apr 30, 2015 at 12:38 AM, Giuseppe Aruta giuseppe_ar...@yahoo.it mailto:giuseppe_ar...@yahoo.it wrote: Hi Teva, I deactivated Sextante model builder on OJ Night snapshot as it is not working in OpenJUMP. This is a bug connected to original Sextante framework, since probably Sextante version 0.6 - the first embedded into OpenJUMP. A post was sent to this (developer) and User lists a week ago, asking users to give a feedback about this plugin ( https://groups.google.com/forum/#!topic/openjump-users/8InQ_08QMb4 https://groups.google.com/forum/#%21topic/openjump-users/8InQ_08QMb4) Could you just explain your experience with OpenJUMP and Sextante Modeler, if you had before? Was it working? Which version of OpenJUMP were you using? Which Operative System? Your answers to these questions would be of great usage. If you feel that OJ is working for you, I can reactivate on next realize. Sextante is an independent component belonging to a different project not actually maintained by OpenJUMP development: if there are components not working it should be better to deactivated and concentrate all the efforts on working ones. Best regards Giuseppe Aruta 2015-04-30 1:30 GMT+02:00 Teva veluppillai tveluppil...@aquaveo.com mailto:tveluppil...@aquaveo.com: Hello All: I just downloaded the latest version of OPENJUMP and unfortunately I don't see the model builder feature. Is there any versions that I can download the OPENJUMP with SEXTATNE Model builder? Thanks. Teva -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net mailto: Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical
Re: [JPP-Devel] Sextante tools and model builder..
Hi Teva, I deactivated Sextante model builder on OJ Night snapshot as it is not working in OpenJUMP. This is a bug connected to original Sextante framework, since probably Sextante version 0.6 - the first embedded into OpenJUMP. A post was sent to this (developer) and User lists a week ago, asking users to give a feedback about this plugin ( https://groups.google.com/forum/#!topic/openjump-users/8InQ_08QMb4) Could you just explain your experience with OpenJUMP and Sextante Modeler, if you had before? Was it working? Which version of OpenJUMP were you using? Which Operative System? Your answers to these questions would be of great usage. If you feel that OJ is working for you, I can reactivate on next realize. Sextante is an independent component belonging to a different project not actually maintained by OpenJUMP development: if there are components not working it should be better to deactivated and concentrate all the efforts on working ones. Best regards Giuseppe Aruta 2015-04-30 1:30 GMT+02:00 Teva veluppillai tveluppil...@aquaveo.com: Hello All: I just downloaded the latest version of OPENJUMP and unfortunately I don't see the model builder feature. Is there any versions that I can download the OPENJUMP with SEXTATNE Model builder? Thanks. Teva -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] About deactivating Sextante Modeler and History
Hi, Today I tried to use Modeler and History plugins of Sextante - after a long time. Those tools were deactivated on OJ 1.6 as they were not working. I activated them few years (2013) ago in order to have more user-comments and time to solve the problems. This is a short comment about the bugs I tested today a) Modeler: it doesn't record new models. Which are not shown into the Sextante Toolbar. Apart from them, sometimes the open models function doesn't work. b) History: whenever I tried to run an algorithm recorded into the history list I have a warnig message. This is a screanshot: We changed the RasterImage framework but not the SextanteRasterImage one. So I suspect that those bugs are just the same as some years ago and no one of our users tested or used them (included me). I am considering to deactivate (again) these 2 plugin again. I don't have the technical preparation/time to solve those bugs. And Sextante and GUI source code are not provided by our site. Deactivating them makes thing easier, I feel, for developers and possible future users (We are a small community. And I feel that there are even lesser OpenJUMP-Sextante users) I will be glad to have the opinion of the list. Best regards Peppe -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] About deactivating Sextante Modeler and History
Thanks Stefan, we are so few Jumpers. I will wait also the opinion of the other members. Peppe 2015-04-27 15:35 GMT+02:00 sstein sst...@geo.uzh.ch: Hi Peppe, to me it seems also best to deactivate it. Otherwise people may judge OJ reliabilty in general based on these two bugs - which we definitively don't want ;) Thanks for brining this up. cheers, stefan -- Originalnachricht -- *Von: *Giuseppe Aruta *Datum: *27.04.2015 5:44 *An: *OpenJump develop and use; *Betreff:*[JPP-Devel] About deactivating Sextante Modeler and History Hi, Today I tried to use Modeler and History plugins of Sextante - after a long time. Those tools were deactivated on OJ 1.6 as they were not working. I activated them few years (2013) ago in order to have more user-comments and time to solve the problems. This is a short comment about the bugs I tested today a) Modeler: it doesn't record new models. Which are not shown into the Sextante Toolbar. Apart from them, sometimes the open models function doesn't work. b) History: whenever I tried to run an algorithm recorded into the history list I have a warnig message. This is a screanshot: We changed the RasterImage framework but not the SextanteRasterImage one. So I suspect that those bugs are just the same as some years ago and no one of our users tested or used them (included me). I am considering to deactivate (again) these 2 plugin again. I don't have the technical preparation/time to solve those bugs. And Sextante and GUI source code are not provided by our site. Deactivating them makes thing easier, I feel, for developers and possible future users (We are a small community. And I feel that there are even lesser OpenJUMP-Sextante users) I will be glad to have the opinion of the list. Best regards Peppe -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Enhanced RasterColorEditor
Hi all, I made some small enhancements to RasterColorEditor panel (accessible through *Sextante Raster layer popup menuChange Raster Layer propertiesRaster Color Editor tab*) to manage Color models for single banded images. These are the enhancements: - the color editor is activated only for single banded images. - added some other color ramps. - optimized color ramps display - added option to invert the applied color model - added option to set cell values outside a chosen ramp (minvaluesmax) to transparent The original plugin (RasterColorEditorPlugin.class) is still available through *RasterRaster Color Editor* menu. It will be deactivated before next official OJ real., if everybody agree. I added also a couple of language codes. I wrote a minimal help page here: http://ojwiki.soldin.de/index.php?title=Single_band_raster_layer_symbology_%28Sextante%29 Any comment is welcome. @Alberto. I revert a bug that inadvertently was introduced with your previous modifications: color range was strictly set to raster cell min/max values even if user could modified min/max values in the fields. I came across your Raster Style plugin, which is for shore better than the one embedded into OJ. I wonder if you still have the idea to embed it into OJ. In this case I can give you an help. Please, consider also the last 2 options I added to this plugin (invert color and transparency) best regards Giuseppe Aruta -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Commit access to SVN
I will be glad to have you on board, Jukka, as developer. Peppe 2015-04-22 16:08 GMT+02:00 Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi: Hi developers, I would like to ask if you could trust me enough for granting me a commit access to OpenJUMP SVN. For me it would be OK to generate patches and let others to merge them but Ede said that at least he rather wouldn’t do that. I have managed to build a modified Spatialite plugin with ant and a whole OpenJUMP snapshot version with maven so I think I know now how to test my changes locally before committing. I do not have plans to touch the core Java code but there is something in the Spatialite plugin that I know I can improve. -Jukka Rahkonen- -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Draw a closed LineString
Hi Michaël, I tested it. It works fine: simple and useful. And the name is self explaining. thanks Peppe 2015-04-18 9:50 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr: Hi all, I just added a new Snapping policy Snap on LineString being edited. I had to make some choices : - I added it as a separate option - the option is active for vertex snapping only (it can be added for line snapping too, but IMHO, it is not very useful) - the option is active for linestring edition only (I found that activating such a feature for polygon is dangerous as it tends to create polygons with self-intersection) Please try (r4401+) and report, Michaël Le 09/04/2015 13:47, Uwe Dalluege a écrit : Hi, sorry, I think Jukka is right! It works with three points. I made a wrong test! Sorry again! Uwe Am 09.04.2015 um 13:28 schrieb Uwe Dalluege: Hi Jukka, I think this does not work. When you draw a triangle with LineString you will get an quadrangle when you close the linesegment. It is not so easy for me to teach new users why OJ can not catch the first point. But you posted some solutions I can teach. Thank you again. Regards Uwe Am 09.04.2015 um 13:16 schrieb Rahkonen Jukka (MML): Hi, Found one more option: To draw a linestring, select it and use Right click menu Convert selected geometries – Close open line segments. Attach tool to EZ Buttons and usage will be rather simple. Selecting the line is an extra step, though. -Jukka Rahkonen- Giuseppe Aruta wrote: Hi Jukka, right. A couple of years ago I had to work on CAD datas using a GIS, that's why I developed those CAD Extensions. For a regular GIS user maybe Ede's implementation to convert geometries is enough. On the other hand I feel we should consider to rewrite the editing toolboox, to make it more simple and flexible. For instance grouping drawing and constrained drawing tools into a single one. And maybe adding new functionalities, like closing linestring . Peppe 2015-04-09 9:23 GMT+02:00 Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi mailto:jukka.rahko...@maanmittauslaitos.fi: Hi Uwe, I would guess that such use case was not on the list of features when the original JUMP was developed or since that. However, I can see that you are not the first one with that wish and Peppe has made such a tool to his CAD extension. The name of the tool in Draw closed linestring. Download the extension from https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/CADExtension/ and drop it into lib\ext. New tools are added into the standard edit tool box. -Jukka- Uwe Dalluege wrote: Hi, thank you for the tips. Is there a reason why OJ can not catch the first point directly? Regards Uwe Am 09.04.2015 tel:09.04.2015 um 06:46 schrieb Rahkonen Jukka (MML): Hi, The trick is that when you are drawing a new feature the new vertices do not snap to the newly added vertices of that non-finalized geometry. There are workarounds: - digitize first a point and snap the start and end points of the line into it - digitize a polygon and convert it into linestring or linearring later. If you really need a geometry that is LINEARRING in WKT (not just LINESTRING with the same start and end point) you must either draw a polygon and use geometry converter, or draw a line and convert it by editing the WKT from LINESTRING ( 666 435, 714 307, 590 344, 666 435 ) into LINEARRING ( 666 435, 714 307, 590 344, 666 435 ) -Jukka Rahkonen- Uwe Dalluege wrote: Hi, how can I draw a closed LineString (LinearRing)? When I try to catch the first point of the LineString with the last point of the same LineString OpenJUMP does not catch the first point. Is there a trick? Regards Uwe -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net mailto:Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- BPM Camp
Re: [JPP-Devel] Fwd: Regarding OPEN JUMP run-time error..
Some image-io libraries should be added to compile OJ, even if OJ core can work without them Peppe 2015-04-14 15:28 GMT+02:00 Sstein sst...@geo.uzh.ch: Now with image... Seems like the user needs to add a library? Inicio del mensaje reenviado: *De:* Teva veluppillai tveluppil...@aquaveo.com *Fecha:* 13 de abril de 2015, 18:52:53 GMT-3 *Para:* sst...@geo.uzh.ch *Asunto:* *Regarding OPEN JUMP run-time error..* Dear Stefan, I am trying to run OpenJUMP from its source code and I got the source code and when I was building it, build was successful but I am not able to run it. I got the following error. Would you please help me solve this error? [image: Inline image 1] Thanks! Regards, Teva -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] 2 bugs on Sextante Raster Image layer
Ciao Alberto, now everything works fine, thanks! Testing different versions of OJ, I found that now loading raster by new RasterImageLayer/RasterIMageIO classes has become a little slower that old one, especially with JPGs. That might be different reasons (type of raster-TIF, PNG vs PG, etc-, JRE, etc), I will do other tests and give a better feedback. thanks again Giuseppe 2015-04-07 10:33 GMT+02:00 Alberto De Luca - GeA alberto.del...@geomaticaeambiente.com: Hey Giuseppe, sorry I didn't take care of them earlier... They should be fixed now, I committed the changes on SF. Let me know Alberto On 07/04/2015 9:22 AM, Giuseppe Aruta wrote: Hi Alberto, a month ago I opened 2 bug tickets about Sextante RasterImageLayer. a)https://sourceforge.net/p/jump-pilot/bugs/391/ The alpha transparency doesn't work anymore b) https://sourceforge.net/p/jump-pilot/bugs/392/ and also the single color transparency is off I checked that these bugs were introduced after OpenJUMP-20150110-r4259, by the time you upgraded the new raster framework. You should give a look. Peppe -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exerciseshttp://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ Jump-pilot-devel mailing listJump-pilot-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Draw a closed LineString
Hi Jukka, right. A couple of years ago I had to work on CAD datas using a GIS, that's why I developed those CAD Extensions. For a regular GIS user maybe Ede's implementation to convert geometries is enough. On the other hand I feel we should consider to rewrite the editing toolboox, to make it more simple and flexible. For instance grouping drawing and constrained drawing tools into a single one. And maybe adding new functionalities, like closing linestring . Peppe 2015-04-09 9:23 GMT+02:00 Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi: Hi Uwe, I would guess that such use case was not on the list of features when the original JUMP was developed or since that. However, I can see that you are not the first one with that wish and Peppe has made such a tool to his CAD extension. The name of the tool in Draw closed linestring. Download the extension from https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/CADExtension/ and drop it into lib\ext. New tools are added into the standard edit tool box. -Jukka- Uwe Dalluege wrote: Hi, thank you for the tips. Is there a reason why OJ can not catch the first point directly? Regards Uwe Am 09.04.2015 um 06:46 schrieb Rahkonen Jukka (MML): Hi, The trick is that when you are drawing a new feature the new vertices do not snap to the newly added vertices of that non-finalized geometry. There are workarounds: - digitize first a point and snap the start and end points of the line into it - digitize a polygon and convert it into linestring or linearring later. If you really need a geometry that is LINEARRING in WKT (not just LINESTRING with the same start and end point) you must either draw a polygon and use geometry converter, or draw a line and convert it by editing the WKT from LINESTRING ( 666 435, 714 307, 590 344, 666 435 ) into LINEARRING ( 666 435, 714 307, 590 344, 666 435 ) -Jukka Rahkonen- Uwe Dalluege wrote: Hi, how can I draw a closed LineString (LinearRing)? When I try to catch the first point of the LineString with the last point of the same LineString OpenJUMP does not catch the first point. Is there a trick? Regards Uwe -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Draw a closed LineString
Hi Uwe, 1) draw a polygon 2) select the item 3) right click -Convert select geometies/layers to-LinearRing (or Linestring) Peppe 2015-04-08 15:21 GMT+02:00 Uwe Dalluege uwe.dallu...@hcu-hamburg.de: Hi, how can I draw a closed LineString (LinearRing)? When I try to catch the first point of the LineString with the last point of the same LineString OpenJUMP does not catch the first point. Is there a trick? Regards Uwe -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] 2 bugs on Sextante Raster Image layer
Hi Alberto, a month ago I opened 2 bug tickets about Sextante RasterImageLayer. a)https://sourceforge.net/p/jump-pilot/bugs/391/ The alpha transparency doesn't work anymore b) https://sourceforge.net/p/jump-pilot/bugs/392/ and also the single color transparency is off I checked that these bugs were introduced after OpenJUMP-20150110-r4259, by the time you upgraded the new raster framework. You should give a look. Peppe -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] (no subject)
Ok, thanks 2015-04-05 19:32 GMT+02:00 edgar.sol...@web.de: On 05.04.2015 18:57, Giuseppe Aruta wrote: Hi Ede, I have problem on OJ build from SVN source: I cannot load shapefiles. The error message is: java.lang.Error: Unresolved compilation problem: The method close(Closeable) in the type FileUtil is not applicable for the arguments (SevenZFile) I checked on the source and the problem seems to start from OJ version 4371, from a modification you ded on 3/4/2015 on com.vividsolutions.jump.io.CompressedFile class ( The method close(Closeable) in the type FileUtil is not applicable for the arguments (SevenZFile)). please update your dependencies.. there are new jars in /lib for commons-compress xz ..ede -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Tooltip again
Hi Jukka, I am going to check in the afternoon Peppe 2015-03-31 8:46 GMT+02:00 Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi: Hi, Snapshots do not build, see http://sourceforge.net/projects/jump-pilot/files/OpenJUMP_snapshots/OpenJUMP-20150331-r4362.log/download -Jukka Rahkonen- Giuseppe Aruta wrote: Hi all, I made an upgrade to OpenJUMP NB, about tooltips - now tooltips are configurable via Configure tooltips option on Configure panels - there are two options: a) original JUMP/OpenJUMP minimal tooltip, which displayes only number of feature This option is set by default when launching OJ for the 1st time b) advanced info tooltip The size is limited to 400px width and long file paths are broken in several lines. IN this option I saved different colors (red and blue) to display layer with no datasource and modified layer with datasource in the tooltips The option choosen by user is saved into workbench-state.xml file, so it will be recognized by OJ when it is launched the second time Please check next OJ build Giuseppe Aruta 2015-03-30 14:38 GMT+02:00 Giuseppe Aruta giuseppe_ar...@yahoo.it: Some datasource-less layers can be in the middle of an analysis, and not having any value/interest to save into the project. For instance:Layer A (datasource layer) generates Layer B( datasource-less layer), which generates Layer C ( datasource-less layer), which generates End Layer D( datasource-less layer). Where probably only Layer A and D are of any interest in the project.t I feel we should give the user to understand which *layer* has a datasource or not. But also which *file *should be committed or not as its layer has been changed. Peppe 2015-03-30 11:07 GMT+02:00 edgar.sol...@web.de: actually just one * should suffice for any modified (since creation or last saved) layer. or is there any advantage for users to identify datasource-less layers? ..ede On 30.03.2015 09:48, Giuseppe Aruta wrote: - layers without datasource ** (are probably created during runtime, so there is a probability that the user wants to save those) - layers with datasource and unsaved change * - layers with datasource and no unsaved change (nothing, cause all is well wrt. to these) Going back to this proposal, It looks good for me. Peppe 2015-03-27 8:21 GMT+01:00 Giuseppe Aruta giuseppe_ar...@yahoo.it: @ Ede, I also considered to break the lines: I dropped this ways as the problem of tooltip areal dimension was not solved: long path will create huge tooltips. Which is probably what confuses an user, especially people who have the attitude to save lots of files in lots of folder/subfolders/(su-sub-folders). I should consider more variabilities: length of tooltip, font dimentions, etc: I will adopt Michael's idea (simple is better) and use a tooltip as simple as possible, but showing the most useful information (layer, unsaved, modified, num of items). Anyhow I will save the old code (in LayerNameRenderer.class) and will work around in the future. @Andrei the tooltip stays. I will study a way to make it enable/disable I am waiting Jukka and Michael's (possibly others') suggestions before applying any modification Peppe 2015-03-26 23:49 GMT+01:00 sstein sst...@geo.uzh.ch: looks good to me too :) -- Originalnachricht -- *Von: *Andrei Nacu *Datum: *26.03.2015 13:14 *An: *OpenJump develop and use; *Betreff:*Re: [JPP-Devel] Tooltip again I like the proposed tooltips. They look better and less intrusive now. Will the new tooltip stay as it is now, or will it become optional? Andrei On Thursday, March 26, 2015 6:35 PM, Giuseppe Aruta giuseppe_ar...@yahoo.it wrote: Hi all, I attached some screenshots of a new proposal for tooltips. Before applying changes OJ NB I would like your opinion about. The tooltips are reduced to 3 lines, except WFS (see later) *a) layers with datasource and no unsaved change* *b) layers with datasource but with unsaved change * *c) Layer with no datasource* *d) Rendered Image Layer * *e) WMS layer* *f) Sextante Raster Image Layer* Some notes: Vector layers: Blu color will show if a layer (with datasource) has been modified. Red color will advise that the layer has no datasource WMS: The 3 lines shows Layer name, URL and CRS WFS: (not shown) the lines will be 4: layer name, URL, CRS and Number of features Multiple rendered Image loaded via Image Layer manager: actually the second line will show only a Multiple source text. In the future I would like to add the list of the loaded files. Number of items shows the number of files Sextante Layer: it is basically the same as Rendered Image (3 lines, layer, file, number of items. I would like to change