Re: [JPP-Devel] The new geometry is invalid. Cancelled.

2013-04-09 Thread Uwe Dalluege
Hi Martin, Michaël and Stefan, thank you very much for this detailed clarification! Is it in OJ possible to check first for valid geometries when Combine Selected Features or is this a great problem? If it is a great problem maybe it is better Combine Selected Features makes always a

[JPP-Devel] Select and delete raster image when opened by LoadRasterFile

2013-04-09 Thread Giuseppe Aruta
Hi all, if I load a raster using OpenFilePlugIn (or OpenWizard not AddRasterImageLayerWizard), than raster is opened as a vector file. The curious situation is that user can select raster on workbench (if edit option is enabled on context menu) and I can delete it. This behavior is not useful.

Re: [JPP-Devel] Enhancing DB Query Plugin with Spatialite functions.

2013-04-09 Thread Rahkonen Jukka
Larry Reeder wrote: On Mon, Apr 8, 2013 at 1:03 PM, edgar.sol...@web.de wrote: On 08.04.2013 20:48, Michaël Michaud wrote: Just wanted to share this thought, but I admit that Spatialite is a mature project which can add nice capabilities with a smaller effort. ok, as far as i

[JPP-Devel] Raster Color Editor

2013-04-09 Thread Giuseppe Aruta
Hi, as I can see on RasterColorEditor trnsparency fro nodata values is deactivated. If I use sextante to generate DTM, defaut generated nodata value is -9.0 which takes a dark black color on workbench, even when Raster Color Editor is activated (to generate a range color values). On my

Re: [JPP-Devel] Select and delete raster image when opened by LoadRasterFile

2013-04-09 Thread Rahkonen Jukka
Hi, The behaviour makes more sense if you consider that the image layer could be better called as Image catalog or Image index. The layer is not limited to contain only one image but you can add more images into the same layer with the Image Layer Manager tool. However, it does not really make

[JPP-Devel] Raster Profile tool

2013-04-09 Thread Giuseppe Aruta
Hi all, raster profile tool is a very nice and useful tool. Thanks Stefan! I wonder if it is possible, by the time that a profile is created, that the tool remains active. So user can make multiple profiles (as a sort of INFO raster tool) instead of activate the tool every times on menu regards

[JPP-Devel] Raster Color Editor 2

2013-04-09 Thread Giuseppe Aruta
Hi all, how Raster Color Editor defines how many intervals of color to apply to DTM? Is it set to a defined number? If it is a fix interval number, Is it possible to make user aware of this (example, instead to show Raimbow, it would be better Raimbow (12 intervals)? regards peppe

[JPP-Devel] coordinate list NaN

2013-04-09 Thread Uwe Dalluege
Hi, I think, the coordinate list shows wrong coordinates: 1. Draw a geometry. 2. Select with Feature Info Tool the geometry. 3. Switch to HTML View The WKT and GML coordinates are all right (two coordinates), but CL shows three coordinates with z-coordinate as NaN. I think this is a little

Re: [JPP-Devel] Enhancing DB Query Plugin with Spatialite functions.

2013-04-09 Thread edgar . soldin
On 09.04.2013 05:32, Larry Reeder wrote: On Mon, Apr 8, 2013 at 1:03 PM, edgar.sol...@web.de mailto:edgar.sol...@web.de wrote: On 08.04.2013 20:48, Michaël Michaud wrote: Just wanted to share this thought, but I admit that Spatialite is a mature project which can add

Re: [JPP-Devel] Enhancing DB Query Plugin with Spatialite functions.

2013-04-09 Thread Rahkonen Jukka
edgar soldin wrote: On 09.04.2013 05:32, Larry Reeder wrote: One clarification: my plugin doesn't directly load native libraries. It uses the sqlite JDBC libraries, which handle the loading spatialite and other sqllite extensions. what about the mysql, oracle, postgis

Re: [JPP-Devel] Enhancing DB Query Plugin with Spatialite functions.

2013-04-09 Thread edgar . soldin
On 09.04.2013 15:33, Rahkonen Jukka wrote: Finally, the main purpose of the DBQuery plugin is to provide a bridge between OJ and spatial databases that it might not support (if any now), as well as provide a way to submit ad-hoc queries that don't have or need backing tables to return

Re: [JPP-Devel] Enhancing DB Query Plugin with Spatialite functions.

2013-04-09 Thread Rahkonen Jukka
edgar soldin wrote: On 09.04.2013 15:33, Rahkonen Jukka wrote: Finally, the main purpose of the DBQuery plugin is to provide a bridge between OJ and spatial databases that it might not support (if any now), as well as provide a way to submit ad-hoc queries that don't have or need

Re: [JPP-Devel] Raster Color Editor 2

2013-04-09 Thread Stefan Steiniger
Hi Peppe, sorry for this blurry answer: But as far as I remember it uses a finite number of classes. At least I remember hacking in RGB values. Then the colouring is applied using equal-range classification (Each color-class has the same number of value). But it shoulnd't be too difficult to

Re: [JPP-Devel] Raster Profile tool

2013-04-09 Thread Stefan Steiniger
Well, I am sure it is possible, but involves much more work. The profile tool, just extracts the line and then I give the line and the raster to Sextantes profile function and it returns the values. Your variant, like a Pixel-Inspector, involves many more GUI stuff actions. Hence, needs more

Re: [JPP-Devel] Select and delete raster image when opened by LoadRasterFile

2013-04-09 Thread Stefan Steiniger
sounds like a good FeatureRequest :) but it should be selectable...? Am 09.04.13 03:31, schrieb Giuseppe Aruta: Hi all, if I load a raster using OpenFilePlugIn (or OpenWizard not AddRasterImageLayerWizard), than raster is opened as a vector file. The curious situation is that user can select

Re: [JPP-Devel] Select and delete raster image when opened by LoadRasterFile

2013-04-09 Thread edgar . soldin
no it is not.. see Jukka's answer to it ;) .. ede On 09.04.2013 17:11, Stefan Steiniger wrote: sounds like a good FeatureRequest :) but it should be selectable...? Am 09.04.13 03:31, schrieb Giuseppe Aruta: Hi all, if I load a raster using OpenFilePlugIn (or OpenWizard not

Re: [JPP-Devel] Enhancing DB Query Plugin with Spatialite functions.

2013-04-09 Thread edgar . soldin
On 09.04.2013 16:01, Rahkonen Jukka wrote: edgar soldin wrote: On 09.04.2013 15:33, Rahkonen Jukka wrote: Finally, the main purpose of the DBQuery plugin is to provide a bridge between OJ and spatial databases that it might not support (if any now), as well as provide a way to submit ad-hoc

[JPP-Devel] [ jump-pilot-Bugs-3610388 ] NPE when undoing Add New Category

2013-04-09 Thread SourceForge . net
Bugs item #3610388, was opened at 2013-04-09 08:35 Message generated for change (Tracker Item Submitted) made by lreeder You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=679906aid=3610388group_id=118054 Please note that this message will contain a full copy of the

Re: [JPP-Devel] Raster Color Editor 2

2013-04-09 Thread Giuseppe Aruta
Hi Stefan, thanks for the answer. As I tested Raster Color Editor automatically recognizes the range of values and excludes on color theming nodata one. NODATA values always set to black color. I tested also to exclude some values (for instance if I have a range between 504 and 863 , I set a

Re: [JPP-Devel] Raster Profile tool

2013-04-09 Thread Giuseppe Aruta
Hi Stefan, you are right: converting to vector is an option. In my (few) test this procedure requires some time (sometimes a lot of time) which is not convenient for a simple pixel-inspector (you are right. This is my idea). regards and thanks Peppe PS AFAIR there was a sort of pixel inspector

[JPP-Devel] [ jump-pilot-Bugs-3610388 ] NPE when undoing Add New Category

2013-04-09 Thread SourceForge . net
Bugs item #3610388, was opened at 2013-04-09 08:35 Message generated for change (Comment added) made by edso You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=679906aid=3610388group_id=118054 Please note that this message will contain a full copy of the comment

[JPP-Devel] [ jump-pilot-Bugs-3610401 ] Detachable AttributeTable throws Exception

2013-04-09 Thread SourceForge . net
Bugs item #3610401, was opened at 2013-04-09 11:23 Message generated for change (Tracker Item Submitted) made by michaudm You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=679906aid=3610401group_id=118054 Please note that this message will contain a full copy of the

Re: [JPP-Devel] The new geometry is invalid. Cancelled.

2013-04-09 Thread Michaël Michaud
Hi, Is it in OJ possible to check first for valid geometries when Combine Selected Features or is this a great problem? If it is a great problem maybe it is better Combine Selected Features makes always a geometrycollection? There are several points : 1 - in the step by step process you

Re: [JPP-Devel] Enhancing DB Query Plugin with Spatialite functions.

2013-04-09 Thread Michaël Michaud
Hi, On 09.04.2013 16:01, Rahkonen Jukka wrote: edgar soldin wrote: On 09.04.2013 15:33, Rahkonen Jukka wrote: Finally, the main purpose of the DBQuery plugin is to provide a bridge between OJ and spatial databases that it might not support (if any now), as well as provide a way to submit

[JPP-Devel] [ jump-pilot-Bugs-3610405 ] Combine should always produce valid geometries

2013-04-09 Thread SourceForge . net
Bugs item #3610405, was opened at 2013-04-09 12:03 Message generated for change (Tracker Item Submitted) made by michaudm You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=679906aid=3610405group_id=118054 Please note that this message will contain a full copy of the

[JPP-Devel] [ jump-pilot-Bugs-3610405 ] Combine should always produce valid geometries

2013-04-09 Thread SourceForge . net
Bugs item #3610405, was opened at 2013-04-09 12:03 Message generated for change (Comment added) made by jratike80 You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=679906aid=3610405group_id=118054 Please note that this message will contain a full copy of the comment

Re: [JPP-Devel] The new geometry is invalid. Cancelled.

2013-04-09 Thread Stefan Steiniger
2 - I agree that in this case, building a valid GeometryCollection is better than building an invalid Multipolygon, even if GeometryCollection are much less useful (many operations accepting MultiPolygon will fail on GeometryCollection). If if no one has any objection, I propose to do the

Re: [JPP-Devel] The new geometry is invalid. Cancelled.

2013-04-09 Thread Larry Becker
Hi Michaël, Echoing what I think you are proposing: 1) when Combine Selected Features is invoked, a basic topology validity check is done on the result. 2) Any errors should be reported in the status bar or the Output Window. 3) If an invalid geometry results from building a MultiPolygon, a

[JPP-Devel] [ jump-pilot-Bugs-3610401 ] Detachable AttributeTable throws Exception

2013-04-09 Thread SourceForge . net
Bugs item #3610401, was opened at 2013-04-09 11:23 Message generated for change (Comment added) made by edso You can respond by visiting: https://sourceforge.net/tracker/?func=detailatid=679906aid=3610401group_id=118054 Please note that this message will contain a full copy of the comment

Re: [JPP-Devel] [ jump-pilot-Bugs-3610401 ] Detachable AttributeTable throws Exception

2013-04-09 Thread Michaël Michaud
Thanks for the fix for #3610401 , Seems you forgot to commit something in your last change, java.lang.IncompatibleClassChangeError: Expecting non-static method com.vividsol utions.jump.workbench.ui.plugin.ViewAttributesPlugIn.getIcon()Ljavax/swing/Image Icon; at

Re: [JPP-Devel] Spatialite multigeometry trouble and JTS v. 1.13

2013-04-09 Thread Larry Reeder
Thanks for the sample DB, Jukka. I will try to take a look this weekend. -lreeder On Mon, Apr 8, 2013 at 2:01 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fiwrote: Hi, While testing the new 0.8.1 version of DB Query Plugin I noticed that I could not read any multigeometries nor geometry

Re: [JPP-Devel] [ jump-pilot-Bugs-3610401 ] Detachable AttributeTable throws Exception

2013-04-09 Thread Michaël Michaud
Hi, Sorry for the noise, the problem has gone after a fresh build. Michaël Thanks for the fix for #3610401 , Seems you forgot to commit something in your last change, java.lang.IncompatibleClassChangeError: Expecting non-static method com.vividsol