Re: [JPP-Devel] mini DEVEL-Guide in Github Readme ?

2024-07-15 Thread Michaud Michael via Jump-pilot-devel


Hi Janos,>> but how can I transfer data from e.g. postgis ?Here is a small example (not tested) importing a query result as a layer :(you may have to initiate postgresql driver with 'Class.forName("org.postgresql.Driver");'try {  String url = "">  String user = ;  String pwd = ;  String query = ;  PostgisDSConnection connection = new PostgisDSConnection(DriverManager.getConnection(url, user, pwd));  FeatureInputStream fis = connection.execute(new AdhocQuery(query));  FeatureCollection dataset = new FeatureDataset(fis.getFeatureSchema());  while (fis.hasNext()) {    dataset.add(fis.next());  }  pluginContext.getLayerManager().addLayer(category, layerName, dataset);} catch(Exception ex) {  ex.printStackTrace();}I you want to link a postgis table to your project as a dynamic table, you can refer to the following class :AddDataStoreLayerWizard(There is also a different wizard for writable layer)Not sure what you want to do. If you just want to open OpenJUMP with a layer connected to a database,you can do it from the menu and save it in a project.Michaël

___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] OpenJUMP 2.3.0

2024-07-28 Thread Michaud Michael via Jump-pilot-devel


Congratulations Ede,and thank you for all the work to release 2.3.0 !Michaël

___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] PR #131

2024-09-02 Thread Michaud Michael via Jump-pilot-devel


Hi Ede,Do you want to review and merge the following PR ? : https://github.com/openjump-gis/openjump/pull/131If you lack time, I have no problem to merge it myself, just try to discipline myself by not committing directly to the main ;-)Michaël

___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] commons-imaging version issue

2024-09-29 Thread Michaud Michael via Jump-pilot-devel


Hi Peppe,There is a commons-imaging version issue in the last OpenJUMP version.On april this year, I upgraded commons imaging to alpha-4 to have bigtiff.In the current version, the class org/apache/commons/imaging/ImageReadException has been removed.I think we already solved this problem earlier but it came bac with the last change.Is your extension compatible with alpha-4, or should we revert to alpha-3 until you adapt the extension.Note that there is also a alpha-5 now.Best RegardsMichaël

___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] commons-imaging version issue

2024-10-01 Thread Michaud Michael via Jump-pilot-devel


Thank you Peppe, Ede,Working fine now,Michaëlenvoyé : 30 septembre 2024 à 09:28de : Giuseppe Aruta à : Michaud Michael , OpenJump develop and use objet : Re: [JPP-Devel] commons-imaging version issueHi Michael, EdeI made an upgrade of Raster Tools to Commons Imaging alpha 04. I did a pull requestPeppeIl giorno lun 30 set 2024 alle ore 08:02 Giuseppe Aruta <giuseppe.ar...@gmail.com> ha scritto:Thanks Michael, I thought I upgraded to that version. I will give it a look and change the versionIl dom 29 set 2024, 20:36 Michaud Michael via Jump-pilot-devel <jump-pilot-devel@lists.sourceforge.net> ha scritto:Hi Peppe,There is a commons-imaging version issue in the last OpenJUMP version.On april this year, I upgraded commons imaging to alpha-4 to have bigtiff.In the current version, the class org/apache/commons/imaging/ImageReadException has been removed.I think we already solved this problem earlier but it came bac with the last change.Is your extension compatible with alpha-4, or should we revert to alpha-3 until you adapt the extension.Note that there is also a alpha-5 now.Best RegardsMichaë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