[JPP-Devel] [jump-pilot:bugs] #510 Create Polygon From a Raster bug
Hi Michael, Jukka I tested the plugin and everything seems to work file. I suggest to close the ticket and I will postpone after OJ new real. Jukka's suggestion to make the plugin able to use histograms to define ranges of values. I will add some notes on the wiki Peppe --- ** [bugs:#510] Create Polygon From a Raster bug** **Status:** open **Milestone:** OJ_1.16 **Created:** Tue Nov 10, 2020 12:59 PM UTC by michael michaud **Last Updated:** Wed Nov 11, 2020 11:13 AM UTC **Owner:** nobody The plugin has two modes : AdbToolbox and Sextante. With tiff images of type float like DTM084 from Roberto Rossi, I can vectorize with Sextante, but Adb throws en exception : java.lang.ArrayIndexOutOfBoundsException: Index - out of bounds for length 1925123 at org.openjump.core.rasterimage.algorithms.VectorizeAlgorithm.toPolygonsAdbToolBox(VectorizeAlgorithm.java:113) at org.openjump.core.ui.plugin.raster.VectorizeToPolygonsPlugIn.run(VectorizeToPolygonsPlugIn.java:170) at com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:151) --- Sent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/jump-pilot/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jump-pilot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] [jump-pilot:bugs] #511 CropWarp raster plugin can't overload existing file
The bug seems to happen only if user tries to overwrite the input file. One possible (hard) solution seems to make RasterImageLayer framework able to store modified datas into memory and give up to output file option into the dialog(s). This seems to hard to work around that generates other problems to solve (warning to user to save layer when a project is closed, etc). Another fast solution is am considering to extend EnableCheck of save-file action: actually it checks only if the field to put output file is empty (if so, the process is stopped with a warning). The extension will also check if output file is the same as input file. I don't see other solutions in this moment I am for the fast solution as it makes impossible to cancel/modify original data --- ** [bugs:#511] CropWarp raster plugin can't overload existing file** **Status:** open **Milestone:** undecided **Created:** Tue Nov 10, 2020 10:01 PM UTC by michael michaud **Last Updated:** Wed Nov 18, 2020 12:24 PM UTC **Owner:** nobody If one process an image with CropWarpPlugin and try to save the result with the name of an existing image (want to replace the former image), there is no warning as in other plugins, and it produces a weird image (looks like a mixt between the old and the new image). --- Sent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/jump-pilot/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jump-pilot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] [jump-pilot:bugs] #511 CropWarp raster plugin can't overload existing file
I was able to reproduce the bug. The warning message comes out but the output image either is not saved or it has a wierd look. I will give a look at the code on this weekend --- ** [bugs:#511] CropWarp raster plugin can't overload existing file** **Status:** open **Milestone:** undecided **Created:** Tue Nov 10, 2020 10:01 PM UTC by michael michaud **Last Updated:** Wed Nov 11, 2020 11:20 AM UTC **Owner:** nobody If one process an image with CropWarpPlugin and try to save the result with the name of an existing image (want to replace the former image), there is no warning as in other plugins, and it produces a weird image (looks like a mixt between the old and the new image). --- Sent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/jump-pilot/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jump-pilot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel