Activity for michael michaud

  • michael michaud michael michaud posted a comment on discussion Problems with PlugIns

    Hi Sivio, I'm not familiar with this extension, but I tried to reproduce the problem and noticed that the plugin checks input data is valid but omit to display a clear message if it is not. Before I could see the "parameter" tab, I get errors first because both raser input were the same, then because they have not the same resolution... There is no message displayed on screen but one can grab it in the log file. Could you check your log file or send it to me so I can see if we can find some explanations...

  • michael michaud michael michaud posted a comment on discussion OpenJUMP Functions Problems

    Hi hydroy, Can you give us more details (OpenJUMP version, data type loaded in your project) ? Until now I could not reproduce the error. I tried with version 1.16 (last 1.x) and 2.2.0 (recommended), I loaded two tif images with the Image Raster (Sextante) loader, made one visible and the second one invisible and could save the project. The only thing I noticed is that the visibilty is lost after re-opening the project. Michaël

  • michael michaud michael michaud posted a comment on ticket #417

    Jukka, you are the expert about spatialite. I made a quick test but a confirmation from you would be welcome. I think OpenJUMP is not ready to manage the full set of geometries with Z, M and ZM, but it should read geometries with Z without losing Z and read geometries with ZM at least as geometries with Z.

  • michael michaud michael michaud posted a comment on ticket #482

    Peppe, this plugin is still present in OpenJUMP 2.0. Can you tell us where we are about this ticket ?

  • michael michaud michael michaud modified ticket #486

    OpenJUMP fails to read 4D geom from postgis

  • michael michaud michael michaud posted a comment on ticket #486

    4D geometries are still not fully read, but they are now correctly interpreted as 3D geometries Example : LINESTRINGZM(1 2 3 4, 5 6 7 8, 9 10 11 12) is read as LINESTRING Z ( 1 2 3, 5 6 7, 9 10 11 ) I close the ticket

  • michael michaud michael michaud modified ticket #519

    Replace geometric algo by JTS

  • michael michaud michael michaud posted a comment on ticket #516

    Will ask for a double check on OpenJUMP 2.0 before closing the ticket

  • michael michaud michael michaud posted a comment on ticket #519

    JTS Densifier will take care of Z in the next version. Note here as a reminder. Let's say target version for this change is 2.1.x (adoption of next JTS version)

  • michael michaud michael michaud posted a comment on ticket #521

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> Hi Ede,Are you sure you tested the extension from the plugins menu and using the drag mode as stated by Peppe and not the measure tool of the toolbar which works fine for me also ?Michaëlenvoyé : 22 novembre 2021 à 14:06de : ede via Jump-pilot-devel <jump-pilot-devel@lists.sourceforge.net>à : jump-pilot-devel@lists.sourceforge.netcc : ede <edso@users.sourceforge.net>objet : [JPP-Devel] [jump-pilot:bugs] #521 Error on Measure Toolbox...

  • michael michaud michael michaud posted a comment on ticket #521

    Sorry, https://ojrepo.soldin.de "2.0-SNAPSHOT" is referencing jts1.18.1 but "2.0-main-SNAPSHOT" is referencing jts 1.18.2 and measure-toolbox is pointing to the second. So I have no idea about what happens. By the way, is there a reason to keep 2 snapshots in the repo ? Michaël

  • michael michaud michael michaud posted a comment on ticket #521

    Hi, My fault, checksum was ok, but I did a mistake in the file name. I could compile and package locally now, but it still throws an exception. The only thing I can think about is that measure-toolbox still compile against https://ojrepo.soldin.de/ which reference 1.18.1 Michaël

  • michael michaud michael michaud posted a comment on ticket #521

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> Hi Ede,I tried to follow your procedure, but I can't build OpenJUMP against the new measure-toolbox-extension-2.1.1-alpha release because of the sha1 checksum.I updated OpenJUMP pom with the checksum taken from measure-toolbox-extension-2.1.1-alpha.zip.sha1 computed at the same time as the .zip itselfHere after the message I get while building the project with mavenAny idea ?Michaël [INFO] Downloading: https://github.com/openjump-gis/measure-toolbox-extension/releases/download/2.1.1-alpha/measure-toolbox-extension-2.1.0-alpha.zip[INFO]...

  • michael michaud michael michaud posted a comment on ticket #521

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> Hi,Quite strange error. I think fix would be easy by using an alternative method like CoordinateList.add(Coordinate,boolean), but I would rather understand what happens.In the past few years, CoordinateList.add(Coordinate) has been added to CoordinateList class with a signature incompatible with the signature of its parent class ArrayList (void add(Coordinate) instead of boolean add(Coordinate)), then the return type has been fixed...

  • michael michaud michael michaud posted a comment on discussion OpenJUMP Functions Problems

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> Hi Johns,Maybe you'll find what you need in the VertexSymbol plugin.With this extension, you can - create your camera position as points in your map with an attribute for camera orientation in degrees- add a custom symbol (ex. camera outline + angle of view) by adding its wkt geometry description in %openjump%/lib/ext/VertexImages- select your symbol with the plugin > Styles > Symbols tab- link the orientation attribute to the symbol...

  • michael michaud michael michaud posted a comment on ticket #312

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> Hi Ede,Nice idea. Seems to me that the only check call involved is in EnableCheckMenuItemShownListener.Don't you thing it maybe an overkilled solution. It means that opening a new menu will create as many threads as visible menuitems. I don't want to slow down every enablecheck just to solve a rare case that we can may be identify and solve independantly.Anyway, your solution maybe also be a temporary step to identify where the slowdown...

  • michael michaud michael michaud posted a comment on ticket #312

    Some menus may be slow down by enableCheck associated to them. Most enable checks just check general properties of the layer, but some may implement specific checks on feature geometries. In case of heavy geometries, such check may slowdown the UI responsiveness.

  • michael michaud michael michaud modified ticket #499

    SelectFilesOptionPanel and extensions

  • michael michaud michael michaud posted a comment on ticket #499

    Fixed by Ede's refactoring of I18N class in OpenJUMP 2 and by an upgrade of all extensions hosted on github.

  • michael michaud michael michaud modified ticket #518

    Java2xml framework : no default default value

  • michael michaud michael michaud posted a comment on ticket #518

    Added on 2021-09-07. See BasicStyle.java2xml for an example.

  • michael michaud michael michaud posted a comment on ticket #417

    Hey, I made a quick test with OpenJUMP 2.0 (snapshot) and it seems to read geometry 3d correctly (thanks to JTS 1.18 upgrade). Note that I could read it with a spatialite db created from postgis, but I could not read any geometry from my first try with a database opened in spatialite_gui where I imported shapefiles. Any spatialite user to confirm this ticket can be closed ?

  • michael michaud michael michaud modified ticket #517

    Raster styling bug

  • michael michaud michael michaud committed [r6674]

    fix regression introduced in r6621 & r6662 in raster Vectorizer

  • michael michaud michael michaud committed [r6673]

    Fix GradientCanvas (synchronize with github repo)

  • michael michaud michael michaud committed [r6672]

    try catch getImageInfo for the case it can't be parsed by commons imaging

  • michael michaud michael michaud committed [r6671]

    Set bpp to 16b for flt, asc and txt

  • michael michaud michael michaud created ticket #519

    Replace geometric algo by JTS

  • michael michaud michael michaud committed [r6667]

    Add TODO to old classes which can be replaced by JTS classes

  • michael michaud michael michaud committed [r6666]

    Fix javadoc

  • michael michaud michael michaud committed [r6665]

    Fix I18N for fr

  • michael michaud michael michaud committed [r6664]

    Fix javadoc and improve pre-java5 code

  • michael michaud michael michaud committed [r6663]

    Set java source version to 8 to avoid some errors when generating javadoc from java 11

  • michael michaud michael michaud created ticket #518

    Java2xml framework : no default default value

  • michael michaud michael michaud committed [r6662]

    Add nodata value in the index to avoid a NPE

  • michael michaud michael michaud committed [r6661]

    Use english locale to format numbers

  • michael michaud michael michaud modified ticket #517

    Raster styling bug

  • michael michaud michael michaud posted a comment on ticket #517

    should be fixed in r6656

  • michael michaud michael michaud committed [r6656]

    fix #517 : raster styling of float32 image

  • michael michaud michael michaud created ticket #517

    Raster styling bug

  • michael michaud michael michaud committed [r6651]

    update readme, exclude hamcrest and rhino:js from the distribution

  • michael michaud michael michaud committed [r6650]

    replace MergeSelectedPolygonsWithNeighbourPlugIn by MergePolygonsWithNeighbourPlugIn :faster, transactional, more options

  • michael michaud michael michaud committed [r6649]

    replace MergeSelectedPolygonsWithNeighbourPlugIn by MergePolygonsWithNeighbourPlugIn :faster, transactional, more options

  • michael michaud michael michaud modified ticket #516

    RemodelerTool not correct

  • michael michaud michael michaud posted a comment on ticket #516

    Should be fixed. Waiting for feedback from a known user.

  • michael michaud michael michaud modified ticket #382

    Delete Incremental Warping Vector tool does not work

  • michael michaud michael michaud modified ticket #511

    CropWarp raster plugin can't overload existing file

  • michael michaud michael michaud posted a comment on ticket #511

    Thank Peppe, I let it opened as it may probably be fixed in a better way, but it can be postponed to version 2. Currently, a first dialog ask the user if he wants to overwrite the existing file. If yes, the user is informed it is not possible.

  • michael michaud michael michaud modified ticket #512

    Georeferenced RasterImage : useless dialog to create a worlfile

  • michael michaud michael michaud posted a comment on ticket #515

    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> Hi Ede,Thank you for the overview of the main raster classes.I don't know if your proposition of saving the displayed image to disk would improve performance/memory usage. It would need tests. Anyway, let's postpone this to v2. From my point of view, making raster code more robust and simpler is more important, but making it faster or less greedy in memory would also be nice.Michaël envoyé : 26 novembre 2020 à 14:43de : ede <edso@users.sourceforge.net>à...

  • michael michaud michael michaud committed [r6646]

    ChangeLog

  • michael michaud michael michaud committed [r6645]

    Fix modeler : now, operations resulting in invalid geometries should be rolled back

  • michael michaud michael michaud posted a comment on ticket #515

    Even after several bug fixes, I still not have a good understanding of the image framework. To be able to imagine improvements, I would need a more precise idea about when the image is read from disk and when/where/what is cached. It would deserve a page on the wiki if it does not exists so that we know precisely what we are taking about. Not sure I understand your proposition. Can you explain what would be the benefit of reading a lossless compressed tiff image from a temp folder compared to reading...

  • michael michaud michael michaud committed [r6644]

    Remodeler : fixes on z interpolation

  • michael michaud michael michaud created ticket #516

    RemodelerTool not correct

  • michael michaud michael michaud committed [r6643]

    Fix related to #515 + remove duplicate code which could cause OOME

  • michael michaud michael michaud created ticket #515

    Raster display in low memory situation

  • michael michaud michael michaud committed [r6634]

    Update changes file

  • michael michaud michael michaud committed [r6633]

    Find a way to free TiffUtilsV2 cache when necessary (and to avoid useless fiel lock).

  • michael michaud michael michaud committed [r6632]

    Some cleaning in CropWarpPlugIn : move class variable to local variable when possible

  • michael michaud michael michaud committed [r6631]

    Clean System.out

  • michael michaud michael michaud committed [r6630]

    forgot cz...

  • michael michaud michael michaud committed [r6629]

    Log case where GeoKeyDirectoryTag has the wrong type (e.g. string instead of short)

  • michael michaud michael michaud committed [r6628]

    I18N for no-georeference found

  • michael michaud michael michaud committed [r6627]

    Make it possible to read images with wrongly typed geotags like ones exported by Gimp

  • michael michaud michael michaud committed [r6626]

    Free/close resources to avoid memory leaks and/or filelocks

  • michael michaud michael michaud posted a comment on ticket #511

    I did further tests and observed something strange which may be related (or not) to this bug. I crop an image and save the result in a new file, it creates a new RasterImageLayer. I remove this new RasterImageLayer from the LayerNamePanel : the underlying file stay locked Now I remove also the original RasterImageLayer : now the file containing the cropped image is unlocked ! I tried to close a few streams and RenderedOp in TiffUtils2, but nothing fixed the problem. I also think that the big cache...

  • michael michaud michael michaud created ticket #514

    Images with positive y-scale

  • michael michaud michael michaud posted a comment on ticket #505

    Did you have a try, Ede ? Can we close ?

  • michael michaud michael michaud modified ticket #510

    Create Polygon From a Raster bug

  • michael michaud michael michaud posted a comment on ticket #510

    I close the ticket and let Peppe open a new ticket or report Jukka's suggestion to use statistics in the wiki.

  • michael michaud michael michaud posted a comment on ticket #513

    All this ticket is about situations where memory consumption is high compared to max available memory. Original behaviour : symbolizing process was cut off and image was displayed with a wrong appearance First fix : when available memory is too low, additional images are no more displayed Now : when available memory is too low, additional images are not displayed and a yellow warning is emitted Note : at the time where new images are loaded in OpenJUMP, memory maybe sufficient (for example if other...

  • michael michaud michael michaud posted a comment on ticket #512

    Peppe, Seems that your noWF.tif contains invalid geotags. ExifTools shows the following warning "Non-standard format (string) for IFD0 0x87af GeoTiffDirectory" which explains why OpenJUMP throws an exception when it tries to read tag 34735 (waiting for unisgned short array, find a string) Can you explain how you made this file. If image is produced by a well-known gis tool, I'll try to throw a better mesage or to read the tag anyway.

  • michael michaud michael michaud committed [r6625]

    Fix more deeply and document the half pixel shift problem

  • michael michaud michael michaud committed [r6624]

    Fix more deeply and document the half pixel shift problem

  • michael michaud michael michaud posted a comment on ticket #512

    Thanks for the reminder Peppe. It was useful. Initial statement should be fixed in r6623. I did not understand your last statement. Can you tell if it is solved by r6623, and if not, elaborate.

  • michael michaud michael michaud committed [r6623]

    fix #512 about georeferencing (introduced by r6523)

  • michael michaud michael michaud committed [r6622]

    Warning message if memory is too low to display images

  • michael michaud michael michaud posted a comment on ticket #513

    Peppe, a) I cannot reproduce the problem. Can you test again with 6620+. In 6619, I let a println which could eventually throw a NPE. Also in 6619, line 432 is an empty line (?) b) We probably must handle memory limitations in a more elegant way, but it is not easy because the current code may let you load more image than what can be rendered. Rendering uses more or less memory depending on wether raster is visible and on the zoom level. I'll try to get a yellow warning when the image cache is emptied...

  • michael michaud michael michaud posted a comment on ticket #511

    Maybe. I think at least NPE was a bug left in a recent commit I did. For other remarks, I really must repeat the process step by step.

  • michael michaud michael michaud posted a comment on ticket #510

    I just made a fix as if it was a bug : floating values was not recognized because of a conversion to int which , I think, was not necessary. I also changed a piece of code to make it faster. Peppe, the change is quite small. Please, have a look and check if I have respected the original intention. I don't mind warning the user that there are too many different values in the image if it is the case, but it's a bit more work and somewhat subjective.

  • michael michaud michael michaud committed [r6621]

    Fix #510 + acceleration

  • michael michaud michael michaud committed [r6620]

    Remove a System.out.println which could cause NPE

  • michael michaud michael michaud posted a comment on ticket #511

    I try to reproduce the problem this morning, but after I get a NPE in roughly similar conditions, I now try to describe the problem precisely, step by step... and the problem vanished. I'm quite sure there are some conditions producing weird results or NPE, but it may not be normal conditions. Sorry for the noise, it will need more tests before I can describe the problem in a useful way.

  • michael michaud michael michaud created ticket #512

    Georeferenced RasterImage : useless dialog to create a worlfile

  • michael michaud michael michaud created ticket #511

    CropWarp raster plugin can't overload existing file

  • michael michaud michael michaud posted a comment on ticket #510

    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> Hi Peppe,Thank you for the detailed answer.Indeed, I was not trying to do something useful, just checking if I did not introduce a new bug in RasterImageLayer.I perfectly understand that applying this tool to a raster containing floating point values is not the normal use case. With such images, it would probably need an additional parameter to define intervals and include all pixels belonging to a same interval in the same polygon.I...

  • michael michaud michael michaud created ticket #510

    Create Polygon From a Raster bug

  • michael michaud michael michaud committed [r6619]

    Continue simplification of RasterImageLayer and fix problem with RasterSymbology

  • michael michaud michael michaud created ticket #509

    GeoImage and RasterImageLayer : why JAI

  • michael michaud michael michaud committed [r6618]

    Cleanup of RasterImageLayer and some related classes

  • michael michaud michael michaud posted a comment on ticket #508

    Thanks Peppe, Please, check it is solved in 6602

  • michael michaud michael michaud committed [r6602]

    fix #508 : java2XML with setInteriorBorder/hasInteriorBorder property

  • michael michaud michael michaud posted a comment on ticket #245

    Nice addition. I still let the FR open as I still miss a dedicated editor with a better interface (1 line / attribute) and able to edit any selected feature, not only those just created.

  • michael michaud michael michaud posted a comment on ticket #382

    Jukka, Should be fixed in r6601, please, have a test.

  • michael michaud michael michaud committed [r6601]

    fix #382 : deleting warping vectors was not possible with incremental mode

  • michael michaud michael michaud posted a comment on ticket #385

    Peppe, it appears that in commit 6437, you reverted the fix I did in commit 6399 to fix this bug. Do you remember why you reverted the change I did in clone() method. Thanks

  • michael michaud michael michaud posted a comment on ticket #507

    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> envoyé : 13 octobre 2020 à 12:22de : ede <edso@users.sourceforge.net>à : "[jump-pilot:bugs] " <507@bugs.jump-pilot.p.re.sourceforge.net>objet : [jump-pilot:bugs] Re: #507 GeoImage and high zoom levelOn 10/12/2020 19:27, michael michaud wrote:There are two problems in GeoImage.paint when using very high level of zoom : - the image to display is computed with jai transformations like scaling, subsampling or cropping which use float...

  • michael michaud michael michaud committed [r6596]

    Keep double parameters as long as possible (does not solve the pb described in #507)

  • michael michaud michael michaud modified ticket #363

    Dataset charset not visible

1 >