[JPP-Devel] Time to say goodbye
Hi, now it is time to say goodbye because I will retire. Thank you for all your help and support! It was a nice time with you and OpenJUMP. I wish you all the best for the future! Greetings from Hamburg Uwe -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] parameter url must not be null, rev.5511
Hi, when I start OJ with oj_windows.bat I receiver the error message: java.security.InvalidParameterException: parameter url must not be null. at com.vividsolutions.jump.workbench.ui.images.IconLoader.getIcon(IconLoader.java:78) at com.vividsolutions.jump.workbench.ui.images.IconLoader.icon(IconLoader.java:55) at com.vividsolutions.jump.workbench.ui.plugin.FeatureInstaller.addMenuPluginItem(FeatureInstaller.java:435) at com.vividsolutions.jump.workbench.ui.plugin.FeatureInstaller.addMenuPlugin(FeatureInstaller.java:401) at com.vividsolutions.jump.workbench.plugin.PlugInManager.loadPlugIns(PlugInManager.java:284) at com.vividsolutions.jump.workbench.plugin.PlugInManager.load(PlugInManager.java:175) at com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:457) at com.vividsolutions.jump.workbench.JUMPWorkbench.main(JUMPWorkbench.java:386) I use OJ Version 20171007 snapshot rev.5511 07. October 2017 Regards Uwe -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Fwd: "openjump"
Hi, I received this mail. Maybe you can answer this. Regards Uwe Weitergeleitete Nachricht Betreff:"openjump" Datum: Tue, 19 Sep 2017 06:19:05 +0800 Von:Jim YingAntwort an: jim.w...@chineseregistry.net An: uwe.dallu...@hcu-hamburg.de notice protect-- internet trademark intellectual property safeguard Dear CEO, (If you are not the person who is in charge of this, please forward this to your CEO, because this is urgent. If this email affects you, we are very sorry, please ignore this email. Thanks) We are a Network Service Company which is the domain name registration center in China. We received an application from Hua An Ltd on September 18, 2017. They want to register " openjump " as their Internet Keyword and " openjump .cn "、" openjump .com.cn " 、" openjump .net.cn "、" openjump .org.cn " 、" openjump .asia " domain names, they are in China and Asia domain names. But after checking it, we find " openjump " conflicts with your company. In order to deal with this matter better, so we send you email and confirm whether this company is your distributor or business partner in China or not? Best Regards, *Jim* | Service Manager *Chinese Registry* *(Head Office)* 8006, Xinlong Building, No. 415 WuBao Road, Shanghai 201105, China Tel: +86-2161918696 | Fax: +86-2161918697 | Mob: +86-1582177 1823 Web: www(dot)chineseregistry(dot)net -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] WMS timeout
Hi Michaël, the German user said that it works with r4448. Thanks and greetings from him (and me too)! Have a nice weekend. Uwe Am 11.06.2015 um 22:02 schrieb Michaël Michaud: Hi Uwe, Jukka, Thanks for the testimonies and the anaysis. I checked there are two timeout in the code connectTimeout : was 5 s, is still 5 s readTimeout : was 5 s, is now 10 s Changed in r4448 Michaël Le 11/06/2015 14:14, Uwe Dalluege a écrit : Hi Jukka, thank you very much for the interesting test. Maybe it is a solution that the user can choose in OJ the timeout. But I don't know how complicated this is. Greetings from a sunny Hamburg :-) Uwe Am 11.06.2015 um 14:03 schrieb Rahkonen Jukka (MML): Hi, I confirm that old OJ versions seem to have a longer timeout and they can contact that geoportal server reliably. The server is responding sometimes within 5 seconds but more often it takes longer. Increasing timeout to 10 seconds feels good to me but I wonder if even that could be too strict? Servers with loads of layers may be slow with generating GetCapabilities because there can be lot of work to be done for computing the layer extents etc. See the report below about failed trial with geoportal-th.de: SESSION STATE: Aborted. The request was forwarded to the gateway. Response Entity Size: 2231551 bytes. == FLAGS == BitFlags: [ServerPipeReused, SentToGateway] 0x810 X-ABORTED-WHEN: SendingResponse X-CLIENTIP: 127.0.0.1 X-CLIENTPORT: 64877 X-EGRESSPORT: 64872 X-PROCESSINFO: javaw:7200 X-RESPONSEBODYTRANSFERLENGTH: 2231551 X-SERVERSOCKET: REUSE ServerPipe#25 == TIMING INFO ClientConnected:14:51:18.419 ClientBeginRequest: 14:51:18.424 GotRequestHeaders: 14:51:18.424 ClientDoneRequest: 14:51:18.424 Determine Gateway: 0ms DNS Lookup: 0ms TCP/IP Connect: 0ms HTTPS Handshake:0ms ServerConnected:14:50:49.009 FiddlerBeginRequest:14:51:18.427 ServerGotRequest: 14:51:18.428 ServerBeginResponse:14:51:23.921 GotResponseHeaders: 14:51:23.921 ServerDoneResponse: 14:51:27.143 ClientBeginResponse:14:51:27.144 ClientDoneResponse: 14:51:27.144 Overall Elapsed:0:00:08.720 -Jukka Rahkonen- Uwe Dalluege wrote: Hi Michaël, I received a mail from a German OJ user (OJ 1.8.0-r4164-plus) with the same problem like you have (timeout) with the url: http://www.geoproxy.geoportal-th.de/geoproxy/services?VERSION=1.1.1; He told me that *it works* with OJ Version 1.6.3-r3576-plus. Unfortunately I can no reproduce this error. Maybe you can reproduce it? Regards Uwe Am 10.06.2015 um 13:51 schrieb Michaël Michaud: Hi, I get a socket timeout for a valid wms address. There are several places where a timeout is hardcoded in the WMS source : I have a url which does not use proxy and which timeout during the getCapability operation. Should I change the default timeout from 5000 to 1 in the WMSService class ? 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 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] WMS timeout
Hi Michaël, I received a mail from a German OJ user (OJ 1.8.0-r4164-plus) with the same problem like you have (timeout) with the url: http://www.geoproxy.geoportal-th.de/geoproxy/services?VERSION=1.1.1; He told me that *it works* with OJ Version 1.6.3-r3576-plus. Unfortunately I can no reproduce this error. Maybe you can reproduce it? Regards Uwe Am 10.06.2015 um 13:51 schrieb Michaël Michaud: Hi, I get a socket timeout for a valid wms address. There are several places where a timeout is hardcoded in the WMS source : I have a url which does not use proxy and which timeout during the getCapability operation. Should I change the default timeout from 5000 to 1 in the WMSService class ? 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] WMS timeout
Hi Jukka, thank you very much for the interesting test. Maybe it is a solution that the user can choose in OJ the timeout. But I don't know how complicated this is. Greetings from a sunny Hamburg :-) Uwe Am 11.06.2015 um 14:03 schrieb Rahkonen Jukka (MML): Hi, I confirm that old OJ versions seem to have a longer timeout and they can contact that geoportal server reliably. The server is responding sometimes within 5 seconds but more often it takes longer. Increasing timeout to 10 seconds feels good to me but I wonder if even that could be too strict? Servers with loads of layers may be slow with generating GetCapabilities because there can be lot of work to be done for computing the layer extents etc. See the report below about failed trial with geoportal-th.de: SESSION STATE: Aborted. The request was forwarded to the gateway. Response Entity Size: 2231551 bytes. == FLAGS == BitFlags: [ServerPipeReused, SentToGateway] 0x810 X-ABORTED-WHEN: SendingResponse X-CLIENTIP: 127.0.0.1 X-CLIENTPORT: 64877 X-EGRESSPORT: 64872 X-PROCESSINFO: javaw:7200 X-RESPONSEBODYTRANSFERLENGTH: 2231551 X-SERVERSOCKET: REUSE ServerPipe#25 == TIMING INFO ClientConnected: 14:51:18.419 ClientBeginRequest: 14:51:18.424 GotRequestHeaders:14:51:18.424 ClientDoneRequest:14:51:18.424 Determine Gateway:0ms DNS Lookup: 0ms TCP/IP Connect: 0ms HTTPS Handshake: 0ms ServerConnected: 14:50:49.009 FiddlerBeginRequest: 14:51:18.427 ServerGotRequest: 14:51:18.428 ServerBeginResponse: 14:51:23.921 GotResponseHeaders: 14:51:23.921 ServerDoneResponse: 14:51:27.143 ClientBeginResponse: 14:51:27.144 ClientDoneResponse: 14:51:27.144 Overall Elapsed:0:00:08.720 -Jukka Rahkonen- Uwe Dalluege wrote: Hi Michaël, I received a mail from a German OJ user (OJ 1.8.0-r4164-plus) with the same problem like you have (timeout) with the url: http://www.geoproxy.geoportal-th.de/geoproxy/services?VERSION=1.1.1; He told me that *it works* with OJ Version 1.6.3-r3576-plus. Unfortunately I can no reproduce this error. Maybe you can reproduce it? Regards Uwe Am 10.06.2015 um 13:51 schrieb Michaël Michaud: Hi, I get a socket timeout for a valid wms address. There are several places where a timeout is hardcoded in the WMS source : I have a url which does not use proxy and which timeout during the getCapability operation. Should I change the default timeout from 5000 to 1 in the WMSService class ? 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
Re: [JPP-Devel] Fwd: Fwd: NullPointerException Change Raster Image Properties
Hi Peppe, thank you for your long explanation of the problem. Sorry, but I am not able to decide which solution is the best. In the moment I do not use the RasterRaster Color Editor... with my students. This was only a test for me to decide, whether I can use it for my lessons. But it does not work correctly, you know. Please ask the OJ community which solution is the best. Have a nice weekend! Uwe Am 05.06.2015 um 10:22 schrieb Giuseppe Aruta: 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 thatthis 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 mailto: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 mailto: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 woulddeactivate 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 mailto:uwe.dallu...@hcu-hamburg.de: ... I hope you will have nice free days! uwe Am 01.06.2015 tel: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 mailto: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
Re: [JPP-Devel] Fwd: NullPointerException Change Raster Image Properties
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 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
[JPP-Devel] NullPointerException Change Raster Image Properties
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
Re: [JPP-Devel] Sextante Raster Image; Raster Layer Info; Coordinate out of bounds!
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) 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
Re: [JPP-Devel] 2 automatically generated layer(s) have not been saved yet.
Hi Jukka, thank you for your analysis. This message is a little confusing! When you start OJ and Exit without opening a project there is 1 automatically generated layer message. But what is the sense of this message? Regards Uwe Am 06.05.2015 um 16:16 schrieb Rahkonen Jukka (MML): Hi, Thanks to the snapshot library I could find that r4248 is good but since r4249 the issue is there though for me the message is that there is one unsaved layer. Changeset 4249 is this: 2015-01-03 Giuseppe Aruta (giuseppe_ar...@yahoo.it) * WorkbenchFrame. Add the list of layers with no datasource when confirm the close of a TaskFrame or the close of the application * LayerNameRenderer. Add Layer name and extension of layer at layer tooltip -Jukka Rahkonen- Uwe Dalluege wrote: Hi, when I open a project and whithout changing anything I do FileExit I receive the message: Do you really want to close OpenJUMP? 2 automatically generated layer(s) have not been saved yet. What is the cause of this message? Which layers where automatically generated? I tested it with OJ 1.8 20150429 rev. 4413. 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] Wrong attribute values after buffering
Hi Michaël, I have done several tests. No problems, everything is fine. Thank you! Regards Uwe Am 07.05.2015 um 00:41 schrieb Michaël Michaud: Hi, Thanks Uwe, Jukka ! I get it ! Should be fixed in r4425. Please test. Michaël Le 06/05/2015 23:47, Rahkonen Jukka (MML) a écrit : Hi, I can reproduce. The second buffer layer has correct number of features (8) and correct attributes, but some attributes have gone to different features. That is fastest to check with the feature info tool. -Jukka Rahkonen- Michaël Michaud wrote: Hi Uwe, I can't reproduce the problem. In step 7 you apply the buffer to the first layer right ? So at the end, you have 3 different layers : - first layer - buffered layer with 4 features - buffered layer with 8 features Can you save the jml of these three layers ? Michaël Le 06/05/2015 14:40, Uwe Dalluege a écrit : Hi, ToolsAnalysisBuffer... assign wrong attribute values to the new buffered features: 1. Draw 4 polygons on a new layer. 2. With SchemaView/Edit Schema add an new attribute. 3. Give the 4 polygons attribute values. 4. ToolsAnalysisBuffer... Everything is fine... the polygons on the buffer-layer have the same attribute values like the primary polygons. 5. Do not remove the buffer-layer. 6. Add another 4 polygons to the first layer and give them attribute values (now we have 8 polygons on the new layer). 7. ToolsAnalysisBuffer... 8. Now the attribute values of the buffered layer are wrong! The buffered polygons have differend attribute values than the primary polygons. I tested it with OJ 1.8 20150429 rev. 4413. 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 -- 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] Wrong attribute values after buffering
Hi, ToolsAnalysisBuffer... assign wrong attribute values to the new buffered features: 1. Draw 4 polygons on a new layer. 2. With SchemaView/Edit Schema add an new attribute. 3. Give the 4 polygons attribute values. 4. ToolsAnalysisBuffer... Everything is fine... the polygons on the buffer-layer have the same attribute values like the primary polygons. 5. Do not remove the buffer-layer. 6. Add another 4 polygons to the first layer and give them attribute values (now we have 8 polygons on the new layer). 7. ToolsAnalysisBuffer... 8. Now the attribute values of the buffered layer are wrong! The buffered polygons have differend attribute values than the primary polygons. I tested it with OJ 1.8 20150429 rev. 4413. 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
[JPP-Devel] 2 automatically generated layer(s) have not been saved yet.
Hi, when I open a project and whithout changing anything I do FileExit I receive the message: Do you really want to close OpenJUMP? 2 automatically generated layer(s) have not been saved yet. What is the cause of this message? Which layers where automatically generated? I tested it with OJ 1.8 20150429 rev. 4413. 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
Re: [JPP-Devel] Draw a closed LineString
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 - 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 - 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
Re: [JPP-Devel] Draw a closed LineString
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 - 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 - 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
Re: [JPP-Devel] Draw a closed LineString
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
[JPP-Devel] Draw a closed LineString
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
[JPP-Devel] Network properties
Hi, I like to describe in my OJ tutorial the Network properties (CustomizeOptionsNetwork properties). Please tell me what can I do with this? What are they good for? Regards Uwe -- 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] Network properties
Hi Jukka, now it is clear. Thank you for clarification! Uwe Am 31.03.2015 um 09:43 schrieb Rahkonen Jukka (MML): Hi, In company networks the traffic to internet goes usually through a proxy server. http://windows.microsoft.com/en-US/windows-vista/What-is-a-proxy-server OpenJUMP is using http connection mainly for WMS and WFS. If the company network requires proxy then direct connection to WMS like http://demo.opengeo.org/geoserver/wms?service=wmsversion=1.3.0request=getcapabilities is blocked. By setting the http proxy via the Network properties the connection will succeed. The same setting affect also all the other http request that OpenJUMP may generate. At least tooltip hints can access images from the web through http and with BeanShell scripts it is also possible to read data from the web even we do not have any such example in the BeanTools menu. Database connections do not use http proxy. -Jukka- Uwe Dalluege wrote: Hi Jukka, for me it is not clear what can I do with this. Is it for the PostGIS-Server? Regards Uwe Am 31.03.2015 um 09:10 schrieb Rahkonen Jukka (MML): Hi, The tab is for setting the proxy server if connections into the outer world much pass through such. Server: Address of the proxy server Port: Port of the proxy server User: Username if proxy server requires authentication. Leave empty if not needed. Password: Password if proxy server requires authentication. Leave empty if not needed. Direct connection: Addresses which must be connected directly and not through the proxy. Servers inside the local network may be such. I suppose that Ede made the configuration to set the same proxy automatically for both http and https connections even they can be set separately for java. It also looks like localhost is set automatically to use the direct connection to that does not need to be configured. A document about what happens under the hood: http://www.rgagnon.com/javadetails/java-0085.html -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: Uwe Dalluege [mailto:uwe.dallu...@hcu-hamburg.de] Lähetetty: 31. maaliskuuta 2015 9:47 Vastaanottaja: Devel Jump Aihe: [JPP-Devel] Network properties Hi, I like to describe in my OJ tutorial the Network properties (CustomizeOptionsNetwork properties). Please tell me what can I do with this? What are they good for? Regards Uwe -- 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 -- 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] Network properties
Hi Jukka, for me it is not clear what can I do with this. Is it for the PostGIS-Server? Regards Uwe Am 31.03.2015 um 09:10 schrieb Rahkonen Jukka (MML): Hi, The tab is for setting the proxy server if connections into the outer world much pass through such. Server: Address of the proxy server Port: Port of the proxy server User: Username if proxy server requires authentication. Leave empty if not needed. Password: Password if proxy server requires authentication. Leave empty if not needed. Direct connection: Addresses which must be connected directly and not through the proxy. Servers inside the local network may be such. I suppose that Ede made the configuration to set the same proxy automatically for both http and https connections even they can be set separately for java. It also looks like localhost is set automatically to use the direct connection to that does not need to be configured. A document about what happens under the hood: http://www.rgagnon.com/javadetails/java-0085.html -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: Uwe Dalluege [mailto:uwe.dallu...@hcu-hamburg.de] Lähetetty: 31. maaliskuuta 2015 9:47 Vastaanottaja: Devel Jump Aihe: [JPP-Devel] Network properties Hi, I like to describe in my OJ tutorial the Network properties (CustomizeOptionsNetwork properties). Please tell me what can I do with this? What are they good for? Regards Uwe -- 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 -- 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] Network properties
Moin Ede, thank you for additional information! I will take Jukkas and these informations for my next tutorial-update. Have a nice day uwe Am 31.03.2015 um 10:39 schrieb edgar.sol...@web.de: moin moin Uwe, are you familiar with Kosmo's network setting? pretty much the same. if not, it is just an UI for the HTTP(S) proxy settings. you can - en/disable use of your settings (settings are saved over sessions) - server/port/auth/direct settings - a test function with configurable url thats all folks :).. ede On 31.03.2015 08:46, Uwe Dalluege wrote: Hi, I like to describe in my OJ tutorial the Network properties (CustomizeOptionsNetwork properties). Please tell me what can I do with this? What are they good for? Regards Uwe -- 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] Nice to have list: Open file in NAS-ALKIS xml format
Hi, my, maybe unrealistic, idea was that OpenJUMP can use the OGR/GDAL library. With Jukkas extension to support jml files in OGR you can convert the ALKIS NAS format to jml (with ogr2ogr program). I dont't know how complicate it is to use this feature of the OGR-library directly in OpenJUMP. Regards Uwe Am 24.10.2014 um 11:21 schrieb Matthias Scholz: Hi, from my point of view, it is much heavy to build a nearly specification (GeoInfoDok) complete import. The NAS have some relations in it, that you have to resolve. Than you can get updates to your previous NAS files as base. You have to make a differential import with that. Next problems are that every of our 16 states (Bundesländer) can do some specific interpretations and extensions. And finally this XML files are very very big! We talk about hundrets of megabytes and above or not rerely gigabytes. We have here for a 10.000 population city with a area of 141 km² and about 22.000 estates's and about 11.000 buidlings a xml NAS dataset of 1,7 GB! Dont know how big are NAS data of Hamburg ;-) In this case i would prefer to use the PostNAS project, wich is a part of the OGR/GDAL library. A first and simple geometry import should be possible with a streaming xml parser. regards Matthias Hi, please can somebody put to the Nice To Have-list that OpenJUMP-Core can read NAS-ALKIS xml files like QGIS can do. This file-format is an important German cadaster-format and it would be nice if OpenJUMP-Core could read this directly. Thanks for help! Uwe -- ___ 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] Nice to have list: Open file in NAS-ALKIS xml format
Hi, please can somebody put to the Nice To Have-list that OpenJUMP-Core can read NAS-ALKIS xml files like QGIS can do. This file-format is an important German cadaster-format and it would be nice if OpenJUMP-Core could read this directly. Thanks for help! Uwe -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Nice to have list: Open file in NAS-ALKIS xml format
Hi Ede, thank you for the link but ojuser and jumpin does not work with Log In. Regards Uwe Am 23.10.2014 um 10:35 schrieb edgar.sol...@web.de: On 23.10.2014 08:31, Uwe Dalluege wrote: Hi, please can somebody put to the Nice To Have-list that OpenJUMP-Core can read NAS-ALKIS xml files like QGIS can do. This file-format is an important German cadaster-format and it would be nice if OpenJUMP-Core could read this directly. Thanks for help! where is this list located? you can file feature requests on http://sourceforge.net/p/jump-pilot/feature-requests/?source=navbar ..ede -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] GDAL reads and writes JUMP JML now
D:\Arbeit\ALKIS_LoD1\Testogrinfo ALKIS_FHH_0008.xml Had to open data source read-only. INFO: Open of `ALKIS_FHH_0008.xml' using driver `NAS' successful. 1: AP_PPO (Multi Point) 2: AP_PTO (Point) 3: AX_Baublock (Polygon) 4: AX_BauRaumOderBodenordnungsrecht (Polygon) 5: AX_BesondereFlurstuecksgrenze (Line String) 6: AX_Bodenschaetzung (Polygon) 7: AX_GeoreferenzierteGebaeudeadresse (Point) 8: AX_LagebezeichnungMitHausnummer (None) 9: AX_Flurstueck (Polygon) 10: AX_LagebezeichnungOhneHausnummer (None) 11: AX_Gebaeude (Polygon) 12: AX_LagebezeichnungMitPseudonummer (None) 13: AX_GrablochDerBodenschaetzung (Point) 14: AX_Landwirtschaft (Polygon) 15: AX_Strassenverkehrsanlage (Multi Line String) 16: AX_Vegetationsmerkmal (Point) 17: AX_Wald (Polygon) 18: ALKIS_beziehungen (None) D:\Arbeit\ALKIS_LoD1\Testpause Drücken Sie eine beliebige Taste . . . Regards Uwe Am 21.10.2014 um 12:32 schrieb Rahkonen Jukka (Tike): Do you have several layers in your XML? What do you see with plain ogrinfo your-file.xml? -Jukka- Lähettäjä: Uwe Dalluege mailto:uwe.dallu...@hcu-hamburg.de Lähetetty: 21.10.2014 12:42 Vastaanottaja: OpenJump develop and use mailto:jump-pilot-devel@lists.sourceforge.net; Rahkonen Jukka (Tike) mailto:jukka.rahko...@mmmtike.fi Aihe: Re: [JPP-Devel] GDAL reads and writes JUMP JML now Hi Jukka, thank you for your work! I receive an error when I try to convert an NAS xml-file to jml. D:\Arbeit\ALKIS_LoD1\Testogr2ogr -f JML xxx.jml ALKIS_FHH_0008.xml Layer AP_PTO not found, and CreateLayer not supported by driver. ERROR 1: Terminating translation prematurely after failed translation of layer AP_PTO (use -skipfailures to skip errors) Regards Uwe Am 20.10.2014 um 12:22 schrieb Rahkonen Jukka (Tike): Hi, Since yesterday GDAL can read and write the JUMP JML format http://gdal.org/drv_jml.html What does it mean? ·Data from any vector format that is supported by GDAL http://www.gdal.org/ogr_formats.html can be converted from and into JUMP JML format without a need to use shapefiles as interim format. That removes some problems which come from the limitations of the shapefile format: oColumn names can be longer than 10 characters oValues in string fields can be longer than 255 characters oLong datatime data type is supported oIf source data contains mixed geometry types there is no need to split data into separate shapefiles by the geometry type I believe that GDAL JML driver will make is easier to use OpenJUMP in workflows where data comes from various sources and several programs are used in the processing chain. For testing the driver a GDAL from current trunk (revision r27882 or higher) is needed. Windows users can get ready made binaries from http://gisinternals.com/sdk/ by selecting some of the “development” versions. The GDAL tool to use is ogr2ogrhttp://gdal.org/ogr2ogr.html. As an example, for converting data from MapInfo tab into JML format the command to use is ogr2ogr –f JML output.jml input.tab Feedback is welcome. I already noticed that at least on Windows with Finnish locale OpenJUMP claims to store XML in UTF-8 which is not true. Driver is written by Even Rouault and donated to OpenJUMP community by me. -Jukka Rahkonen- -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] NaN; Save to PostGIS Table Write 3d
Hi Michaël, thank you for clarification! Regards Uwe Am 08.10.2014 um 21:15 schrieb Michael Michaud: Hi Uwe, You're not supposed to use the new driver this way. Why would you like to upload your table twice ? When you upload your layer the first time, gid attribute is added to the database schema, then the dataset is extracted with the new attribute. Now, thanks to the gid, OpenJUMP and you're database are synchronized and next time you want to work, you're supposed to connect to the database with open database (read/write). Then, you can add new features or modify database features and commit the changes to the database. This driver is still experimental. If you don't want to work this way, don't add the id when you upload the layer. Michaël Hi Michaël, good idea with the variable z-value! Thank you, this works fine. But I see another problem: I saved the layer with the option Create a primary Key column (gid) for this Table This works the first time and the table has a gid-column. But when I try to save the layer again without choosing Create a primary Key ... I always receive the error-message: gid column cannot be created; a gid attribute already exists in the layer So I can not save the layer again. Regards Uwe Am 07.10.2014 um 08:27 schrieb Michael Michaud: Hi Uwe, New option to save a layer to PostGIS with NaN to valid z conversion in r4063, Please let me know if it works for you, and if you have some screen capture or some public bundle of what you're developping, I would be very curious to know more. Michaël Hi Michaël, I am trying to develop a 2d- and 3d-GIS with JOGL and PostGIS (you can switch between 2d and 3d). The 3d-geometries are stored in PostGIS. With OpenJUMP I digitalise some geometries and stored them to PostGIS with: Save Dataset AsWrite 3d geometries (PostGIS Table (new)). My program crashes because there is no valid z-coordinate. St_Force_3D ( ) crashes too: POLYGON((60 180 1.#QNAN,75 290 1.#QNAN,300 300 1.#QNAN,361 170 1.#QNAN,200 60 1.#QNAN,60 180 1.#QNAN)) When I save the OpenJUMP layer without Write 3d geometries my program works, but the table has only 2d geometries. I can use then St_Force_3D ( ) to receive 3d coordinates (with z = 0.) but this is not comfortable. I understand your abdominal pain to write 0. instead NaN but I think the geometries I digitalise with OpenJUMP have always z = 0. Thank you for thinking about may problem! Greetings from Hamburg Uwe Am 02.10.2014 um 08:50 schrieb Michael Michaud: Hi Uwe, I suppose you are refering to the Save to PostGIS table (New) loader as the previous one has no 3D option. Could you tell me what your use case is ? I think it is not too complex to set the z to 0 while saving a dataset into postgis, but I'm a bit reluctant as NaN may have a different semantic (unknown, unset) which will be lost if the z is set to 0. On the other hand, it seems that the posgis st_force3d function set the z to 0 (I did not check though). Michaël Hi, Save Dataset AsSave to PostGIS TableWrite 3d geometries writes NaN for the z-coordinate. Is it possible to write 0.0 (zero) instead NaN for the z-coordinate? I use OJ Version 20140924 snapshot rev.4056 Regards Uwe -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] NaN; Save to PostGIS Table Write 3d
Hi Michaël, I am trying to develop a 2d- and 3d-GIS with JOGL and PostGIS (you can switch between 2d and 3d). The 3d-geometries are stored in PostGIS. With OpenJUMP I digitalise some geometries and stored them to PostGIS with: Save Dataset AsWrite 3d geometries (PostGIS Table (new)). My program crashes because there is no valid z-coordinate. St_Force_3D ( ) crashes too: POLYGON((60 180 1.#QNAN,75 290 1.#QNAN,300 300 1.#QNAN,361 170 1.#QNAN,200 60 1.#QNAN,60 180 1.#QNAN)) When I save the OpenJUMP layer without Write 3d geometries my program works, but the table has only 2d geometries. I can use then St_Force_3D ( ) to receive 3d coordinates (with z = 0.) but this is not comfortable. I understand your abdominal pain to write 0. instead NaN but I think the geometries I digitalise with OpenJUMP have always z = 0. Thank you for thinking about may problem! Greetings from Hamburg Uwe Am 02.10.2014 um 08:50 schrieb Michael Michaud: Hi Uwe, I suppose you are refering to the Save to PostGIS table (New) loader as the previous one has no 3D option. Could you tell me what your use case is ? I think it is not too complex to set the z to 0 while saving a dataset into postgis, but I'm a bit reluctant as NaN may have a different semantic (unknown, unset) which will be lost if the z is set to 0. On the other hand, it seems that the posgis st_force3d function set the z to 0 (I did not check though). Michaël Hi, Save Dataset AsSave to PostGIS TableWrite 3d geometries writes NaN for the z-coordinate. Is it possible to write 0.0 (zero) instead NaN for the z-coordinate? I use OJ Version 20140924 snapshot rev.4056 Regards Uwe -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Slashdot TV. Videos for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471iu=/4140/ostg.clktrk ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] NaN; Save to PostGIS Table Write 3d
Hi, Save Dataset AsSave to PostGIS TableWrite 3d geometries writes NaN for the z-coordinate. Is it possible to write 0.0 (zero) instead NaN for the z-coordinate? I use OJ Version 20140924 snapshot rev.4056 Regards Uwe -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Color Theming Point Display Typ Circle
Hi, in Change StylesRendering there are three Sliders (Line width, Transparency, Vertices Size ... with Point Display Typ). If this layout is also in Change StylesColor Theming (under the table with the colors and values) you can use it as a Global Style for Color Theming and if this layout is also in the Custom panel with a CheckBox Use Custom settings it works individually. I hope my poor dispciption is understandable ;-) Regards Uwe Am 30.04.2014 14:46, schrieb Rahkonen Jukka (Tike): Hi, Not comfortable but if the trial proves that it is doable then some developer could get interested in making it usable. Could you make a sketch about how you would like the end result to look like for example by splitting the classes into separate layers and styling the layers and create then a feature request with attached screen capture? -Jukka- Uwe Dalluege wrote: Hi Jukka, thank you for the tip but I think for the normal user it is not so comfortable ;-) I will use Buffer to solve the problem. Regards Uwe Am 30.04.2014 12:46, schrieb Rahkonen Jukka (Tike): Hi, I believe that you could achieve what you want by saving your project file and hand editing the layer styles which are stored inside it. However, I have no clear idea about what to edit there but star vertices seem to be created with this style class=de.latlon.deejump.plugin.style.StarVertexStyle enabled=true size=50 filling=true color0, 180, 0, 150/color stroke-color0, 125, 0, 150/stroke-color /style Create a classified project and try to drop the code snippet from above into some reasonable place and try if you can see stars somewhere after reloading the project. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: Uwe Dalluege [mailto:uwe.dallu...@hcu-hamburg.de] Lähetetty: 30. huhtikuuta 2014 13:21 Vastaanottaja: jump-pilot-devel@lists.sourceforge.net Kopio: Rahkonen Jukka (Tike) Aihe: Re: [JPP-Devel] Color Theming Point Display Typ Circle Hi Jukka, I like to make a map with ill trees (points) and differend colors with the grade of sickness. I can buffer the points and then I can use Color Theming. But then I have another layer. It would be easier if the points in Color Theming are not squares but circles. Regards Uwe Am 30.04.2014 10:29, schrieb Rahkonen Jukka (Tike): Hi, The trick could be to use the Vertex symbol plugin that comes with OpenJUMP- Plus but it fills all the vertices with the same colour and it may not be what you want. I wonder why layer must be made editable before using Vertex symbol plugin. Is it really necessary? -Jukka Rahkonen- Uwe Dalluege wrote: Hi, with Change StylesRendering you can choose the Point Display Typ. Is it possible to change the Point Display Type also in Colour Theming for all points (global)? With Colour ThemingCustom I can only change the Line width for each interval. Is there a trick to do this? Regards Uwe - - Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Is your legacy SCM system holding you back? Join Perforce May 7 to find out: #149; 3 signs your SCM is hindering your productivity #149
Re: [JPP-Devel] Color Theming Point Display Typ Circle
Hi Jukka, I like to make a map with ill trees (points) and differend colors with the grade of sickness. I can buffer the points and then I can use Color Theming. But then I have another layer. It would be easier if the points in Color Theming are not squares but circles. Regards Uwe Am 30.04.2014 10:29, schrieb Rahkonen Jukka (Tike): Hi, The trick could be to use the Vertex symbol plugin that comes with OpenJUMP-Plus but it fills all the vertices with the same colour and it may not be what you want. I wonder why layer must be made editable before using Vertex symbol plugin. Is it really necessary? -Jukka Rahkonen- Uwe Dalluege wrote: Hi, with Change StylesRendering you can choose the Point Display Typ. Is it possible to change the Point Display Type also in Colour Theming for all points (global)? With Colour ThemingCustom I can only change the Line width for each interval. Is there a trick to do this? Regards Uwe -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Color Theming Point Display Typ Circle
Hi Jukka, thank you for the tip but I think for the normal user it is not so comfortable ;-) I will use Buffer to solve the problem. Regards Uwe Am 30.04.2014 12:46, schrieb Rahkonen Jukka (Tike): Hi, I believe that you could achieve what you want by saving your project file and hand editing the layer styles which are stored inside it. However, I have no clear idea about what to edit there but star vertices seem to be created with this style class=de.latlon.deejump.plugin.style.StarVertexStyle enabled=true size=50 filling=true color0, 180, 0, 150/color stroke-color0, 125, 0, 150/stroke-color /style Create a classified project and try to drop the code snippet from above into some reasonable place and try if you can see stars somewhere after reloading the project. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: Uwe Dalluege [mailto:uwe.dallu...@hcu-hamburg.de] Lähetetty: 30. huhtikuuta 2014 13:21 Vastaanottaja: jump-pilot-devel@lists.sourceforge.net Kopio: Rahkonen Jukka (Tike) Aihe: Re: [JPP-Devel] Color Theming Point Display Typ Circle Hi Jukka, I like to make a map with ill trees (points) and differend colors with the grade of sickness. I can buffer the points and then I can use Color Theming. But then I have another layer. It would be easier if the points in Color Theming are not squares but circles. Regards Uwe Am 30.04.2014 10:29, schrieb Rahkonen Jukka (Tike): Hi, The trick could be to use the Vertex symbol plugin that comes with OpenJUMP- Plus but it fills all the vertices with the same colour and it may not be what you want. I wonder why layer must be made editable before using Vertex symbol plugin. Is it really necessary? -Jukka Rahkonen- Uwe Dalluege wrote: Hi, with Change StylesRendering you can choose the Point Display Typ. Is it possible to change the Point Display Type also in Colour Theming for all points (global)? With Colour ThemingCustom I can only change the Line width for each interval. Is there a trick to do this? Regards Uwe - - Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Missing Primary Key Name (OJ 1.7 beta)
Hi, when I try to open a Postgis-table with Open...Writable Data Store I get the exception: java.lang.Exception: Missing Primary Key Name at org.openjump.core.ui.plugin.datastore.AddWritableDataStoreLayerWizard.run(AddWritableDataStoreLayerWizard.java:90) at org.openjump.core.ui.plugin.file.OpenWizardPlugIn.run(OpenWizardPlugIn.java:103) at com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152) at java.lang.Thread.run(Unknown Source) It is true. The table has no primary key but with OJ 1.6.3 it works. Tested with: OJ Version 20140427 snapshot rev.3954 JRE 1.7_51 W7 (64 bit) Regards Uwe -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Color Theming Point Display Typ Circle
Hi, with Change StylesRendering you can choose the Point Display Typ. Is it possible to change the Point Display Type also in Colour Theming for all points (global)? With Colour ThemingCustom I can only change the Line width for each interval. Is there a trick to do this? Regards Uwe -- Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free. http://p.sf.net/sfu/SauceLabs ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Merry Christmas!
Hi, folks! I wish you all a happy Christmas and a happy new year! Thank you for your help and your good work! Regards Uwe -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Union/Dissolve/Merge: No LineStrings in GeometryCollection
Hi Michaël, now it works fine :-) Thank you for your help! Regards Uwe Am 02.06.2013 11:44, schrieb Michaël Michaud: Hi Uwe Should be fixed in r3579 I also improved the computation time (UnaryUnionOp was uselessly called two times) Michaël Hi Uwe, Good catch, this is a bug. I'll fix it this week end. Michaël Hi, I like to union with ToolsUnion/Dissolve/Merge... one layer with Points, LineStrings and Polygons. The result is a GeometryCollection only with Points and Polygons but without LineStrings. Tested with OJ 1.6.2 (3528). Regards Uwe -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Union/Dissolve/Merge: No LineStrings in GeometryCollection
Hi, I like to union with ToolsUnion/Dissolve/Merge... one layer with Points, LineStrings and Polygons. The result is a GeometryCollection only with Points and Polygons but without LineStrings. Tested with OJ 1.6.2 (3528). Regards Uwe -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Dummy Reader, no error-message
Hi, I am trying to read a txt file with the Dummy Reader. FileOpen File...Files of Type: Dummy Reader (*.xml, *.txt) After click at the Finish-Button nothing happens and no error-message appears. I am using OJ 1.6.2 rev. 3528, JRE 1.7.0_21 amd64. Regards Uwe -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Dummy Reader, no error-message
Hi, I think it is a little confusing for the normal user to offer a function in the official OJ version which does not work. A little error(warning)-message would help. uwe Am 07.05.2013 13:33, schrieb edgar.sol...@web.de: On 07.05.2013 13:20, Uwe Dalluege wrote: Hi, I am trying to read a txt file with the Dummy Reader. FileOpen File...Files of Type: Dummy Reader (*.xml, *.txt) After click at the Finish-Button nothing happens and no error-message appears. I am using OJ 1.6.2 rev. 3528, JRE 1.7.0_21 amd64. the dummy reader was introduced to do nothing, hence it's name. it is ( given not very elegant, but a solution for the time being ) a possibility to read archives, but not to stumble over txt, xml files in it. for the future it shouldn't be listed in the Open dialogs, but only in the open archive options. maybe you want to add a feature request for that. ..ede -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] openjump.log
Hi, it seems, that the openjump.log file contains also informations about old sessions. So it grows und grows. Is there an option in OJ to log only the current session? uwe -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] openjump.log
Hi Chris, perfect! Thank you. uwe Am 24.04.2013 14:04, schrieb Chris Warner: In the xml file there are several nodes that specify the logging levels, for example appendername=INFO_LOGFILEclass=org.apache.log4j.FileAppender param name=Threshold value=info/ param name=File value=openjump_debug.log/ param name=Append value=true/ layout class=org.apache.log4j.PatternLayout !-- Date : %d{ISO8601} display date in -MM-dd HH:mm:ss,SSS format -- !-- Priority : %p display the priority level -- !-- Message : %m%n displays the log message (%n = os specific newline) -- param name=ConversionPattern value=%d{ISO8601} %5p %m%n/ /layout /appender In this case, the param nameAppend value=true must be changed toparam nameAppend value=*false* On 24/04/2013 13:00, Uwe Dalluege wrote: Hi, it seems, that the openjump.log file contains also informations about old sessions. So it grows und grows. Is there an option in OJ to log only the current session? uwe -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt!http://p.sf.net/sfu/newrelic_d2d_apr ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] [openjump-users] OpenJUMP 1.6.2 released
This kangaroo jumps very well. Thanks! uwe Am 23.04.2013 21:55, schrieb edgar.sol...@web.de: We just released OpenJUMP 1.6.2, as usual available under http://sourceforge.net/projects/jump-pilot/files/OpenJUMP/1.6.2/ try to pin down this kangaroo, mate ..ede Changes: New Features * improved MrSID support now works for Linux and Windows see http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=MrSID Improvements * Improve WMS parser to include WMS 1.3.0 Bug Fixes * several minor bugs, especially in wms and postgis support * fix bug 3611412 happening after a MergeSelectedFeatures operation and caused by a bad usage of dispose method in UndoableCommand * fix a bug in MergeSelectedFeatures preventing the merge of MultiGeometries * set the appropriate srid to the layer after AddDatastoreLayerPlugin -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Zoom to WMS Layer with Projects
Hi Michaël, now it works fine on my computer :-) Thank you. Uwe Am 20.04.2013 12:06, schrieb Michaël Michaud: Hi Uwe, Thanks for the bug report. I had hard time to find it. It was a stupid a == b instead of a.equals(b) test on wms version Should be fixed in r3515 Michaël Hi, there is a problem with Zoom to WMS Layer and opening a project. I use OJ3513 CORE, JRE 1.7.0_21 (amd64) and the url: http://geo.hcu-hamburg.de:8081/cgi-bin/mapserv.exe?map=/mapserver/wms/www/norderstedt.map 1. Open WMS Layer with the url above. 2. Zoom to WMS layer This works. Everything is fine. 3. Save Project as... 4. Open this project again. 5. Zomm to WMS I see no graphic. The screen is empty. Can you reproduce this? Uwe -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Update Button
Hi, if you find time to update OJ 1.6.1 to 1.6.2 please have a look at this bug I mailed at 11.04.2013 12:41 (SRID problem with Add Datastore Layer...) ... Mail from 11.04.2013 12:41 ... there is a different between Add Datastore Layer... and OpenData Store Layer. Tested with OJ-CORE rev.3488 and PostGIS 2.0. I have a table with the SRID-value 31467. This works: 1. OpenData Store Layer. The Open... window shows the correct SRID value ... srid = 31467 of the table. 2. The layer of the table has the correct SRID testing with LayerSet SRID. This is wrong: 1. Add Datastore Layer... The Add Datastore Layer window shows the correct SRID value ... srid = 31467 of the table. 2. But now the layer has the SRID value 0 testing with LayerSet SRID. ... End mail from 11.04.2013 ... Regards Uwe Am 22.04.2013 22:55, schrieb Michaël Michaud: Hi, I am trying to update my OJ Tutorial from 1.5. to 1.6. Some pictures have changed and I like to describe Run Datastore Query The official version is 1.6.1 from 12. April 2013 but you have fixed some bugs from that date which are not fixed in the official version. I do not like to mention in my tutorial Please download the latest nightbuild version to use this function... 1. Is it possible to update also the official OJ version when some bugs have been fixed? 2. Is it possible (for the future) that OJ obtains an Update Button to get the latest fixed version or is this too complicated? What do you think? wrt. #1 i am devoted to speed up our release cycle. so, as soon as you think there are some noteworthy bugs fixed in trunk, let's release 1.6.2. Michael? Yes, agree for a 1.6.2, as a few serious bugs have been fixed and some valuable new features have been added since 1.6.1. Michaël ..ede -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Run Datastore Query with no error-message
Am 18.04.2013 10:40, schrieb edgar.sol...@web.de: On 18.04.2013 08:59, Michaël Michaud wrote: it is thrown by PostgisFeatureInputStreamIn it is tranformed into an error (no need to add throws clause to the method) it is wrapped into a string including sql + exception message + sql message it is thrown to the caller (see the stacktrace) This is the problem! I do not see a stacktrace. you know, the stacktrace is available under the 'more details' button on the gui error dialog shown by the workbench, right? Yes I know. But if you have read my mails you know that there *is no gui error dialog* on my computer! /and/ in the log output under Window Log, if it is logged properly. ..ede Uwe -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Run Datastore Query with no error-message
Hi Michaël, I think I know why we get different behaviours of OpenJUMP. It is an JRE problem, I believe! I tested it now on several computer and different JRE. I *see* the error message (like you) on computer with JRE 1.6.0_30 (x86) and (amd64) 1.6.0_31 (x86) 1.6.0_33 (x86) 1.7.0_02 (amd64) 1.7.0_07 (x86) I do *not* see the error message on computer with JRE 1.6.0_45 (x86) and (amd64) 1.7.0_17 (x86) and 1.7.0_21 (amd64) The JRE 1.7.0_21 (amd64) is my default environment. What JRE do you use? Is it possible for you to switch to JRE 1.7.0_21 if you do not use it now? Regards Uwe Am 18.04.2013 08:59, schrieb Michaël Michaud: Hi Uwe, I would say : it is thrown by PostgisFeatureInputStreamIn it is tranformed into an error (no need to add throws clause to the method) it is wrapped into a string including sql + exception message + sql message it is thrown to the caller (see the stacktrace) This is the problem! I do not see a stacktrace. Maybe you can send me the stacktrace? Here is the stack trace picked up from openjump.log 2013-04-18 08:56:31,404 INFO java.lang.Error: Error : select * from xyz ERROR: relation xyz does not exist Position : 15 at com.vividsolutions.jump.datastore.postgis.PostgisFeatureInputStream.getFeatureSchema(PostgisFeatureInputStream.java:95) at com.vividsolutions.jump.datastore.postgis.PostgisDSConnection.executeAdhocQuery(PostgisDSConnection.java:80) at com.vividsolutions.jump.datastore.postgis.PostgisDSConnection.execute(PostgisDSConnection.java:49) at com.vividsolutions.jump.workbench.ui.plugin.datastore.RunDatastoreQueryPlugIn.createLayer(RunDatastoreQueryPlugIn.java:72) at com.vividsolutions.jump.workbench.ui.plugin.datastore.RunDatastoreQueryPlugIn.createLayerable(RunDatastoreQueryPlugIn.java:41) at com.vividsolutions.jump.workbench.ui.plugin.datastore.AbstractAddDatastoreLayerPlugIn.run(AbstractAddDatastoreLayerPlugIn.java:33) at com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152) at java.lang.Thread.run(Thread.java:662) Michaël ... it is handled by TaskMonitorManager from there, it is displayed by WorkbenchFrame which is the ErrorHandler Maybe I missed something, I dont know why your System.out.println does not display it Regards, Michaël Regards Uwe Uwe Am 17.04.2013 11:40, schriebedgar.sol...@web.de: i suggested B. handle the error there, via JumpWorkbench.getInstance().getFrame().handleThrowable(t) below. why don't you use this? ..ede On 17.04.2013 11:27, Uwe Dalluege wrote: Hi Michaël, now I have OJ3512 in eclipse. Is it right that the method toMessage ( ) in com.vividsolutions.jump.workbench.ui.WorkbenchFrame (line 1089) should be invoked by the exception of the method public FeatureSchema getFeatureSchema() from the class PostgisFeatureInputStream? I put an System.out... into the method ... public static String toMessage(Throwable t) { String message; System.out.println ( WorkbenchFrame toMessage ( ) t: + t.getMessage ( ) ); ... but it was not invoked if I cause an exception with select * from. Uwe Am 16.04.2013 20:19, schrieb Michaël Michaud: Hi, A. remove the catch.. it will be caught further up I think the catch is used to throw an error instead of an exception to conform to the method signature . or B. handle the error there, via JumpWorkbench.getInstance().getFrame().handleThrowable(t) I did not know this trick, thanks. Don't know yet what is the best approach. @Uwe, The message you get is what SQL throws. It is more verbose in the case of a table name which does not exist. I made it a bit more verbose by adding the SQL string as it is sent to PostgreSQL (see release r3512) The modification I did in WorkbenchFrame (line 1100, I gave you the link) is to make SQL message more verbose, but in your case, FeatureInputStream is in charge of wrapping the message. Michaël .ede On 16.04.2013 14:07, Uwe Dalluege wrote: Hi Michaël, in the class PostgisFeatureInputStream from the package com.vividsolutions.jump.datastore.postgis; there is the method public FeatureSchema getFeatureSchema(){ ... which throw new Error ( ... ... catch (SQLException ex) { //savedException = ex; // from uwe System.out.println ( PostgisFeatureInputStream getFeatureSchema() ex: + ex.getNextException().getMessage() ); throw new Error(ex.getNextException().getMessage()); } ... The System.out... shows me when I made the simple wrong query: select * from FEHLER: Syntaxfehler am Ende der Eingabe Position: 14 Maybe in English: (ERROR: Syntaxerror at the end of line...) I do not see this exception on screen. You told me that the class WorkbenchFrame should catch this exception but I can not find the method in WorkbenchFrame which is resposible for this exception. Can
Re: [JPP-Devel] Run Datastore Query with no error-message
Hi, in the class TaskMonitorManager (package com.vividsolutions.jump.workbench.ui.task;) there is a method public void run ( ) (line 148) under finally you will find: dialog.setVisible( false ); dialog.dispose(); When I comment out dialog.dispose(); then I see the error-gui with JRE 1.7.0_21! ... dialog.setVisible( false ); //dialog.dispose(); ... Please can you test it under your environment? Any idea why dialog should be dispose? Regards Uwe Am 18.04.2013 12:59, schrieb Uwe Dalluege: Hi Michaël, I think I know why we get different behaviours of OpenJUMP. It is an JRE problem, I believe! I tested it now on several computer and different JRE. I *see* the error message (like you) on computer with JRE 1.6.0_30 (x86) and (amd64) 1.6.0_31 (x86) 1.6.0_33 (x86) 1.7.0_02 (amd64) 1.7.0_07 (x86) I do *not* see the error message on computer with JRE 1.6.0_45 (x86) and (amd64) 1.7.0_17 (x86) and 1.7.0_21 (amd64) The JRE 1.7.0_21 (amd64) is my default environment. What JRE do you use? Is it possible for you to switch to JRE 1.7.0_21 if you do not use it now? Regards Uwe Am 18.04.2013 08:59, schrieb Michaël Michaud: Hi Uwe, I would say : it is thrown by PostgisFeatureInputStreamIn it is tranformed into an error (no need to add throws clause to the method) it is wrapped into a string including sql + exception message + sql message it is thrown to the caller (see the stacktrace) This is the problem! I do not see a stacktrace. Maybe you can send me the stacktrace? Here is the stack trace picked up from openjump.log 2013-04-18 08:56:31,404 INFO java.lang.Error: Error : select * from xyz ERROR: relation xyz does not exist Position : 15 at com.vividsolutions.jump.datastore.postgis.PostgisFeatureInputStream.getFeatureSchema(PostgisFeatureInputStream.java:95) at com.vividsolutions.jump.datastore.postgis.PostgisDSConnection.executeAdhocQuery(PostgisDSConnection.java:80) at com.vividsolutions.jump.datastore.postgis.PostgisDSConnection.execute(PostgisDSConnection.java:49) at com.vividsolutions.jump.workbench.ui.plugin.datastore.RunDatastoreQueryPlugIn.createLayer(RunDatastoreQueryPlugIn.java:72) at com.vividsolutions.jump.workbench.ui.plugin.datastore.RunDatastoreQueryPlugIn.createLayerable(RunDatastoreQueryPlugIn.java:41) at com.vividsolutions.jump.workbench.ui.plugin.datastore.AbstractAddDatastoreLayerPlugIn.run(AbstractAddDatastoreLayerPlugIn.java:33) at com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152) at java.lang.Thread.run(Thread.java:662) Michaël ... it is handled by TaskMonitorManager from there, it is displayed by WorkbenchFrame which is the ErrorHandler Maybe I missed something, I dont know why your System.out.println does not display it Regards, Michaël Regards Uwe Uwe Am 17.04.2013 11:40, schriebedgar.sol...@web.de: i suggested B. handle the error there, via JumpWorkbench.getInstance().getFrame().handleThrowable(t) below. why don't you use this? ..ede On 17.04.2013 11:27, Uwe Dalluege wrote: Hi Michaël, now I have OJ3512 in eclipse. Is it right that the method toMessage ( ) in com.vividsolutions.jump.workbench.ui.WorkbenchFrame (line 1089) should be invoked by the exception of the method public FeatureSchema getFeatureSchema() from the class PostgisFeatureInputStream? I put an System.out... into the method ... public static String toMessage(Throwable t) { String message; System.out.println ( WorkbenchFrame toMessage ( ) t: + t.getMessage ( ) ); ... but it was not invoked if I cause an exception with select * from. Uwe Am 16.04.2013 20:19, schrieb Michaël Michaud: Hi, A. remove the catch.. it will be caught further up I think the catch is used to throw an error instead of an exception to conform to the method signature . or B. handle the error there, via JumpWorkbench.getInstance().getFrame().handleThrowable(t) I did not know this trick, thanks. Don't know yet what is the best approach. @Uwe, The message you get is what SQL throws. It is more verbose in the case of a table name which does not exist. I made it a bit more verbose by adding the SQL string as it is sent to PostgreSQL (see release r3512) The modification I did in WorkbenchFrame (line 1100, I gave you the link) is to make SQL message more verbose, but in your case, FeatureInputStream is in charge of wrapping the message. Michaël .ede On 16.04.2013 14:07, Uwe Dalluege wrote: Hi Michaël, in the class PostgisFeatureInputStream from the package com.vividsolutions.jump.datastore.postgis; there is the method public FeatureSchema getFeatureSchema(){ ... which throw new Error ( ... ... catch (SQLException ex) { //savedException = ex; // from uwe System.out.println ( PostgisFeatureInputStream getFeatureSchema() ex
Re: [JPP-Devel] Run Datastore Query with no error-message
Hi Michaël, hi Ede, I tested it on two computer with different environments and it works fine. Thank you for your patience and your help! Have a nice weekend. Uwe Am 18.04.2013 23:32, schrieb Michaël Michaud: Hi Uwe, Good catch ! I could reproduce the bug with th elast JRE. I did not remove dispose as I think it it is usefull to free all resources attached to the TaskMonitor dialog box, but I moved it after the error message display. Available in r3513 Michaël Hi, in the class TaskMonitorManager (package com.vividsolutions.jump.workbench.ui.task;) there is a method public void run ( ) (line 148) under finally you will find: dialog.setVisible( false ); dialog.dispose(); When I comment out dialog.dispose(); then I see the error-gui with JRE 1.7.0_21! ... dialog.setVisible( false ); //dialog.dispose(); ... Please can you test it under your environment? Any idea why dialog should be dispose? Regards Uwe Am 18.04.2013 12:59, schrieb Uwe Dalluege: Hi Michaël, I think I know why we get different behaviours of OpenJUMP. It is an JRE problem, I believe! I tested it now on several computer and different JRE. I *see* the error message (like you) on computer with JRE 1.6.0_30 (x86) and (amd64) 1.6.0_31 (x86) 1.6.0_33 (x86) 1.7.0_02 (amd64) 1.7.0_07 (x86) I do *not* see the error message on computer with JRE 1.6.0_45 (x86) and (amd64) 1.7.0_17 (x86) and 1.7.0_21 (amd64) The JRE 1.7.0_21 (amd64) is my default environment. What JRE do you use? Is it possible for you to switch to JRE 1.7.0_21 if you do not use it now? Regards Uwe Am 18.04.2013 08:59, schrieb Michaël Michaud: Hi Uwe, I would say : it is thrown by PostgisFeatureInputStreamIn it is tranformed into an error (no need to add throws clause to the method) it is wrapped into a string including sql + exception message + sql message it is thrown to the caller (see the stacktrace) This is the problem! I do not see a stacktrace. Maybe you can send me the stacktrace? Here is the stack trace picked up from openjump.log 2013-04-18 08:56:31,404 INFO java.lang.Error: Error : select * from xyz ERROR: relation xyz does not exist Position : 15 at com.vividsolutions.jump.datastore.postgis.PostgisFeatureInputStream.getFeatureSchema(PostgisFeatureInputStream.java:95) at com.vividsolutions.jump.datastore.postgis.PostgisDSConnection.executeAdhocQuery(PostgisDSConnection.java:80) at com.vividsolutions.jump.datastore.postgis.PostgisDSConnection.execute(PostgisDSConnection.java:49) at com.vividsolutions.jump.workbench.ui.plugin.datastore.RunDatastoreQueryPlugIn.createLayer(RunDatastoreQueryPlugIn.java:72) at com.vividsolutions.jump.workbench.ui.plugin.datastore.RunDatastoreQueryPlugIn.createLayerable(RunDatastoreQueryPlugIn.java:41) at com.vividsolutions.jump.workbench.ui.plugin.datastore.AbstractAddDatastoreLayerPlugIn.run(AbstractAddDatastoreLayerPlugIn.java:33) at com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:152) at java.lang.Thread.run(Thread.java:662) Michaël ... it is handled by TaskMonitorManager from there, it is displayed by WorkbenchFrame which is the ErrorHandler Maybe I missed something, I dont know why your System.out.println does not display it Regards, Michaël Regards Uwe Uwe Am 17.04.2013 11:40, schriebedgar.sol...@web.de: i suggested B. handle the error there, via JumpWorkbench.getInstance().getFrame().handleThrowable(t) below. why don't you use this? ..ede On 17.04.2013 11:27, Uwe Dalluege wrote: Hi Michaël, now I have OJ3512 in eclipse. Is it right that the method toMessage ( ) in com.vividsolutions.jump.workbench.ui.WorkbenchFrame (line 1089) should be invoked by the exception of the method public FeatureSchema getFeatureSchema() from the class PostgisFeatureInputStream? I put an System.out... into the method ... public static String toMessage(Throwable t) { String message; System.out.println ( WorkbenchFrame toMessage ( ) t: + t.getMessage ( ) ); ... but it was not invoked if I cause an exception with select * from. Uwe Am 16.04.2013 20:19, schrieb Michaël Michaud: Hi, A. remove the catch.. it will be caught further up I think the catch is used to throw an error instead of an exception to conform to the method signature . or B. handle the error there, via JumpWorkbench.getInstance().getFrame().handleThrowable(t) I did not know this trick, thanks. Don't know yet what is the best approach. @Uwe, The message you get is what SQL throws. It is more verbose in the case of a table name which does not exist. I made it a bit more verbose by adding the SQL string as it is sent to PostgreSQL (see release r3512) The modification I did in WorkbenchFrame (line 1100, I gave you the link) is to make SQL message more verbose
[JPP-Devel] Zoom to WMS Layer with Projects
Hi, there is a problem with Zoom to WMS Layer and opening a project. I use OJ3513 CORE, JRE 1.7.0_21 (amd64) and the url: http://geo.hcu-hamburg.de:8081/cgi-bin/mapserv.exe?map=/mapserver/wms/www/norderstedt.map 1. Open WMS Layer with the url above. 2. Zoom to WMS layer This works. Everything is fine. 3. Save Project as... 4. Open this project again. 5. Zomm to WMS I see no graphic. The screen is empty. Can you reproduce this? Uwe -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Run Datastore Query with no error-message
Hi Michaël, now I have OJ3512 in eclipse. Is it right that the method toMessage ( ) in com.vividsolutions.jump.workbench.ui.WorkbenchFrame (line 1089) should be invoked by the exception of the method public FeatureSchema getFeatureSchema() from the class PostgisFeatureInputStream? I put an System.out... into the method ... public static String toMessage(Throwable t) { String message; System.out.println ( WorkbenchFrame toMessage ( ) t: + t.getMessage ( ) ); ... but it was not invoked if I cause an exception with select * from. Uwe Am 16.04.2013 20:19, schrieb Michaël Michaud: Hi, A. remove the catch.. it will be caught further up I think the catch is used to throw an error instead of an exception to conform to the method signature . or B. handle the error there, via JumpWorkbench.getInstance().getFrame().handleThrowable(t) I did not know this trick, thanks. Don't know yet what is the best approach. @Uwe, The message you get is what SQL throws. It is more verbose in the case of a table name which does not exist. I made it a bit more verbose by adding the SQL string as it is sent to PostgreSQL (see release r3512) The modification I did in WorkbenchFrame (line 1100, I gave you the link) is to make SQL message more verbose, but in your case, FeatureInputStream is in charge of wrapping the message. Michaël .ede On 16.04.2013 14:07, Uwe Dalluege wrote: Hi Michaël, in the class PostgisFeatureInputStream from the package com.vividsolutions.jump.datastore.postgis; there is the method public FeatureSchema getFeatureSchema(){ ... which throw new Error ( ... ... catch (SQLException ex) { //savedException = ex; // from uwe System.out.println ( PostgisFeatureInputStream getFeatureSchema() ex: + ex.getNextException().getMessage() ); throw new Error(ex.getNextException().getMessage()); } ... The System.out... shows me when I made the simple wrong query: select * from FEHLER: Syntaxfehler am Ende der Eingabe Position: 14 Maybe in English: (ERROR: Syntaxerror at the end of line...) I do not see this exception on screen. You told me that the class WorkbenchFrame should catch this exception but I can not find the method in WorkbenchFrame which is resposible for this exception. Can you help me? Uwe Am 16.04.2013 00:01, schrieb Michaël Michaud: Hi Uwe, I have tested it again with the lates nightbuild (20130414 rev.3505) but I get no errormessage like you. Do you tested it with JRE 1.7.0_17? Do you know which class is resposible for the error-message? This is WorkbenchFrame, Here is the diff from March 21th which fixed the problem (or was suposed to fix) http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java?sortby=dater1=3323r2=3393pathrev=3393 Michaël Uwe Am 11.04.2013 20:27, schrieb Michaël Michaud: Hi, With OJ rev. 3459 and W7 (64 bit) I do not see errors or exceptions. There is no dialog window or a message in the status-line. I tested Run Datastore Query with this simple query: select * from xyz The table xyz does not exists in my database! But there is no error-message. With a more recent version, I get the following : Michaël Uwe Inside the fence there is a polygon intersects the geometry from Bauernhof But this does not work. 1. I do not see an error message. 2. What is the 0 after fence: ? Regards uwe Am 10.04.2013 11:40, schrieb Rahkonen Jukka: Hi, They are helper shortcuts for adding a spatial filter into the query. The result will be something like select * from my_layer where geoloc ${view:4326} Thus only features intersecting the view, box drawn with the fence tool or total extents of the selected features will be selected. -Jukka Rahkonen- Uwe Dalluege wrote: Hi, I like to describe the function Run Datastore Query in my PostGIS tutorial but I can not find a desciption of this. What are the buttons View, Fence and Selection good for? Regards Uwe -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers
Re: [JPP-Devel] Run Datastore Query with no error-message
Hi Ede, I like to find an error in OJ. Michaël can see this error but I do not see it. There must be something different between Michaël environment and my environment. Can *you* reproduce this error? 1. FileRun Datastore Query. 2. Connect to a PostGIS database. 3. Type after Query: select * from (this must cause an SQL-Exception) Michaël can see this excpetion and you? Uwe Am 17.04.2013 11:40, schrieb edgar.sol...@web.de: i suggested B. handle the error there, via JumpWorkbench.getInstance().getFrame().handleThrowable(t) below. why don't you use this? ..ede On 17.04.2013 11:27, Uwe Dalluege wrote: Hi Michaël, now I have OJ3512 in eclipse. Is it right that the method toMessage ( ) in com.vividsolutions.jump.workbench.ui.WorkbenchFrame (line 1089) should be invoked by the exception of the method public FeatureSchema getFeatureSchema() from the class PostgisFeatureInputStream? I put an System.out... into the method ... public static String toMessage(Throwable t) { String message; System.out.println ( WorkbenchFrame toMessage ( ) t: + t.getMessage ( ) ); ... but it was not invoked if I cause an exception with select * from. Uwe Am 16.04.2013 20:19, schrieb Michaël Michaud: Hi, A. remove the catch.. it will be caught further up I think the catch is used to throw an error instead of an exception to conform to the method signature . or B. handle the error there, via JumpWorkbench.getInstance().getFrame().handleThrowable(t) I did not know this trick, thanks. Don't know yet what is the best approach. @Uwe, The message you get is what SQL throws. It is more verbose in the case of a table name which does not exist. I made it a bit more verbose by adding the SQL string as it is sent to PostgreSQL (see release r3512) The modification I did in WorkbenchFrame (line 1100, I gave you the link) is to make SQL message more verbose, but in your case, FeatureInputStream is in charge of wrapping the message. Michaël .ede On 16.04.2013 14:07, Uwe Dalluege wrote: Hi Michaël, in the class PostgisFeatureInputStream from the package com.vividsolutions.jump.datastore.postgis; there is the method public FeatureSchema getFeatureSchema(){ ... which throw new Error ( ... ... catch (SQLException ex) { //savedException = ex; // from uwe System.out.println ( PostgisFeatureInputStream getFeatureSchema() ex: + ex.getNextException().getMessage() ); throw new Error(ex.getNextException().getMessage()); } ... The System.out... shows me when I made the simple wrong query: select * from FEHLER: Syntaxfehler am Ende der Eingabe Position: 14 Maybe in English: (ERROR: Syntaxerror at the end of line...) I do not see this exception on screen. You told me that the class WorkbenchFrame should catch this exception but I can not find the method in WorkbenchFrame which is resposible for this exception. Can you help me? Uwe Am 16.04.2013 00:01, schrieb Michaël Michaud: Hi Uwe, I have tested it again with the lates nightbuild (20130414 rev.3505) but I get no errormessage like you. Do you tested it with JRE 1.7.0_17? Do you know which class is resposible for the error-message? This is WorkbenchFrame, Here is the diff from March 21th which fixed the problem (or was suposed to fix) http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java?sortby=dater1=3323r2=3393pathrev=3393 Michaël Uwe Am 11.04.2013 20:27, schrieb Michaël Michaud: Hi, With OJ rev. 3459 and W7 (64 bit) I do not see errors or exceptions. There is no dialog window or a message in the status-line. I tested Run Datastore Query with this simple query: select * from xyz The table xyz does not exists in my database! But there is no error-message. With a more recent version, I get the following : Michaël Uwe Inside the fence there is a polygon intersects the geometry from Bauernhof But this does not work. 1. I do not see an error message. 2. What is the 0 after fence: ? Regards uwe Am 10.04.2013 11:40, schrieb Rahkonen Jukka: Hi, They are helper shortcuts for adding a spatial filter into the query. The result will be something like select * from my_layer where geoloc ${view:4326} Thus only features intersecting the view, box drawn with the fence tool or total extents of the selected features will be selected. -Jukka Rahkonen- Uwe Dalluege wrote: Hi, I like to describe the function Run Datastore Query in my PostGIS tutorial but I can not find a desciption of this. What are the buttons View, Fence and Selection good for? Regards Uwe -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps
Re: [JPP-Devel] Run Datastore Query with no error-message
Hi Michaël, Am 17.04.2013 20:43, schrieb Michaël Michaud: Hi Uwe, Hi Ede, I like to find an error in OJ. Michaël can see this error but I do not see it. There must be something different between Michaël environment and my environment. Can *you* reproduce this error? 1. FileRun Datastore Query. 2. Connect to a PostGIS database. 3. Type after Query: select * from (this must cause an SQL-Exception) Michaël can see this excpetion and you? You tend to change your test from one mail to the other Sorry for confusing you but I posted this test with my mail from 16.04.2013 : 14:07 and you answered at 16.04.2013 : 20:19. But I think this is not the problem. The problem is not the text of the message, the problem is that I do not get such a nice Frame (JOptionPane?) with an error message like you. My computer works with W7 (64bit) and JRE 1.7_21 (64bit) from Oracle. Maybe it is a problem of the JRE? What kind of OS and JRE do you have? With select * from, I get the same message as you With select * from xyz where xyz does not exists, I get a more informative message I think this is also what you get from pgAdmin. From my last commit, you have also the query string as it has been sent to the server : Don't know exacly what way the exception follows in theses cases. I would say : it is thrown by PostgisFeatureInputStreamIn it is tranformed into an error (no need to add throws clause to the method) it is wrapped into a string including sql + exception message + sql message it is thrown to the caller (see the stacktrace) This is the problem! I do not see a stacktrace. Maybe you can send me the stacktrace? ... it is handled by TaskMonitorManager from there, it is displayed by WorkbenchFrame which is the ErrorHandler Maybe I missed something, I dont know why your System.out.println does not display it Regards, Michaël Regards Uwe Uwe Am 17.04.2013 11:40, schriebedgar.sol...@web.de: i suggested B. handle the error there, via JumpWorkbench.getInstance().getFrame().handleThrowable(t) below. why don't you use this? ..ede On 17.04.2013 11:27, Uwe Dalluege wrote: Hi Michaël, now I have OJ3512 in eclipse. Is it right that the method toMessage ( ) in com.vividsolutions.jump.workbench.ui.WorkbenchFrame (line 1089) should be invoked by the exception of the method public FeatureSchema getFeatureSchema() from the class PostgisFeatureInputStream? I put an System.out... into the method ... public static String toMessage(Throwable t) { String message; System.out.println ( WorkbenchFrame toMessage ( ) t: + t.getMessage ( ) ); ... but it was not invoked if I cause an exception with select * from. Uwe Am 16.04.2013 20:19, schrieb Michaël Michaud: Hi, A. remove the catch.. it will be caught further up I think the catch is used to throw an error instead of an exception to conform to the method signature . or B. handle the error there, via JumpWorkbench.getInstance().getFrame().handleThrowable(t) I did not know this trick, thanks. Don't know yet what is the best approach. @Uwe, The message you get is what SQL throws. It is more verbose in the case of a table name which does not exist. I made it a bit more verbose by adding the SQL string as it is sent to PostgreSQL (see release r3512) The modification I did in WorkbenchFrame (line 1100, I gave you the link) is to make SQL message more verbose, but in your case, FeatureInputStream is in charge of wrapping the message. Michaël .ede On 16.04.2013 14:07, Uwe Dalluege wrote: Hi Michaël, in the class PostgisFeatureInputStream from the package com.vividsolutions.jump.datastore.postgis; there is the method public FeatureSchema getFeatureSchema(){ ... which throw new Error ( ... ... catch (SQLException ex) { //savedException = ex; // from uwe System.out.println ( PostgisFeatureInputStream getFeatureSchema() ex: + ex.getNextException().getMessage() ); throw new Error(ex.getNextException().getMessage()); } ... The System.out... shows me when I made the simple wrong query: select * from FEHLER: Syntaxfehler am Ende der Eingabe Position: 14 Maybe in English: (ERROR: Syntaxerror at the end of line...) I do not see this exception on screen. You told me that the class WorkbenchFrame should catch this exception but I can not find the method in WorkbenchFrame which is resposible for this exception. Can you help me? Uwe Am 16.04.2013 00:01, schrieb Michaël Michaud: Hi Uwe, I have tested it again with the lates nightbuild (20130414 rev.3505) but I get no errormessage like you. Do you tested it with JRE 1.7.0_17? Do you know which class is resposible for the error-message? This is WorkbenchFrame, Here is the diff from March 21th which fixed the problem (or was suposed to fix) http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/src/com
Re: [JPP-Devel] Run Datastore Query with no error-message
Hi Michaël, in the class PostgisFeatureInputStream from the package com.vividsolutions.jump.datastore.postgis; there is the method public FeatureSchema getFeatureSchema(){ ... which throw new Error ( ... ... catch (SQLException ex) { //savedException = ex; // from uwe System.out.println ( PostgisFeatureInputStream getFeatureSchema() ex: + ex.getNextException().getMessage() ); throw new Error(ex.getNextException().getMessage()); } ... The System.out... shows me when I made the simple wrong query: select * from FEHLER: Syntaxfehler am Ende der Eingabe Position: 14 Maybe in English: (ERROR: Syntaxerror at the end of line...) I do not see this exception on screen. You told me that the class WorkbenchFrame should catch this exception but I can not find the method in WorkbenchFrame which is resposible for this exception. Can you help me? Uwe Am 16.04.2013 00:01, schrieb Michaël Michaud: Hi Uwe, I have tested it again with the lates nightbuild (20130414 rev.3505) but I get no errormessage like you. Do you tested it with JRE 1.7.0_17? Do you know which class is resposible for the error-message? This is WorkbenchFrame, Here is the diff from March 21th which fixed the problem (or was suposed to fix) http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/src/com/vividsolutions/jump/workbench/ui/WorkbenchFrame.java?sortby=dater1=3323r2=3393pathrev=3393 Michaël Uwe Am 11.04.2013 20:27, schrieb Michaël Michaud: Hi, With OJ rev. 3459 and W7 (64 bit) I do not see errors or exceptions. There is no dialog window or a message in the status-line. I tested Run Datastore Query with this simple query: select * from xyz The table xyz does not exists in my database! But there is no error-message. With a more recent version, I get the following : Michaël Uwe Inside the fence there is a polygon intersects the geometry from Bauernhof But this does not work. 1. I do not see an error message. 2. What is the 0 after fence: ? Regards uwe Am 10.04.2013 11:40, schrieb Rahkonen Jukka: Hi, They are helper shortcuts for adding a spatial filter into the query. The result will be something like select * from my_layer where geoloc ${view:4326} Thus only features intersecting the view, box drawn with the fence tool or total extents of the selected features will be selected. -Jukka Rahkonen- Uwe Dalluege wrote: Hi, I like to describe the function Run Datastore Query in my PostGIS tutorial but I can not find a desciption of this. What are the buttons View, Fence and Selection good for? Regards Uwe -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Run Datastore Query with no error-message
Hi Michaël, I have tested it again with the lates nightbuild (20130414 rev.3505) but I get no errormessage like you. Do you tested it with JRE 1.7.0_17? Do you know which class is resposible for the error-message? Uwe Am 11.04.2013 20:27, schrieb Michaël Michaud: Hi, With OJ rev. 3459 and W7 (64 bit) I do not see errors or exceptions. There is no dialog window or a message in the status-line. I tested Run Datastore Query with this simple query: select * from xyz The table xyz does not exists in my database! But there is no error-message. With a more recent version, I get the following : Michaël Uwe Inside the fence there is a polygon intersects the geometry from Bauernhof But this does not work. 1. I do not see an error message. 2. What is the 0 after fence: ? Regards uwe Am 10.04.2013 11:40, schrieb Rahkonen Jukka: Hi, They are helper shortcuts for adding a spatial filter into the query. The result will be something like select * from my_layer where geoloc ${view:4326} Thus only features intersecting the view, box drawn with the fence tool or total extents of the selected features will be selected. -Jukka Rahkonen- Uwe Dalluege wrote: Hi, I like to describe the function Run Datastore Query in my PostGIS tutorial but I can not find a desciption of this. What are the buttons View, Fence and Selection good for? Regards Uwe -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Pan during editing
Hi, how can I pan during editing? In older OJ versions I could: 1. Start drawing a linestring. 2. Strg + pan. 3. pan 4. Mark in Editing Toolbox linestring again an draw so on. In the latest nightbuilds this does not work! Do you have change something? Uwe -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] ZoomToWMS
Hi Michaël, your new plugin does *not* work with my lesson-example (OJ 3505): http://geo.hcu-hamburg.de:8081/cgi-bin/mapserv.exe?map=/mapserver/wms/www/norderstedt.map Uwe Am 14.04.2013 18:18, schrieb Michaël Michaud: Hi Jukka, Uwe, In the last snapshot, I've deactivated 1.6.1 ZoomToWMS plugin and replaced it by a much more simple plugin. The new one just try to zoom to the layer(s). It is not so obvious though as it must search for a bounding box which is in the same SRS as the one asked by the user for this layer, then search in the sub-layers, and finally in the parent layer. In some cases, such a bounding box is not available in the XML, and the plugin does not zoom to the layer. I don't think there is much to do about this case. About the old ZoomToWMS plugin (I think Uwe has been involved in its development), I can re-activate it if needed. In this case, I suggest that it is called get service metadata or capabilities as it gives information about all layers, bounding boxes and projections of the service, not just those from the current layer. Regards, Michaël -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Pan during editing
Hi Jukka, with shift + alt it works. I have to change my tutorial :-( uwe Am 15.04.2013 10:34, schrieb Rahkonen Jukka: Hi, Use shortcuts. There has always been a shortcut for panning with Ctrl-Shift-Drag. Now it is also possible to pan also with Ctrl-Arrow keys. See Help-Shortcuts and you will find much more. -Jukka Rahkonen- Uwe Dalluege Hi, how can I pan during editing? In older OJ versions I could: 1. Start drawing a linestring. 2. Strg + pan. 3. pan 4. Mark in Editing Toolbox linestring again an draw so on. In the latest nightbuilds this does not work! Do you have change something? Uwe -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] ZoomToWMS
Hi Jukka, I suppose you used the Add button and not the Add All button. Please test it with the Add All button. With the Add button and a single WMS-Layer it works also in my test. Uwe Am 15.04.2013 10:56, schrieb Rahkonen Jukka: Hi, Hi, That's odd. For me OpenJUMP r3505 zooms to layer norderstedt_farbig with all eight combinations of WMS 1.1.1/1.3.0 and EPSG:31466/31467/31468/4326. What could be the difference? I am on Windows 7 with 32 bit jre 1.7.0_17 (Oracle). -Jukka- Uwe Dalluege wrote: Hi Michaël, your new plugin does *not* work with my lesson-example (OJ 3505): http://geo.hcu-hamburg.de:8081/cgi- bin/mapserv.exe?map=/mapserver/wms/www/norderstedt.map Uwe Am 14.04.2013 18:18, schrieb Michaël Michaud: Hi Jukka, Uwe, In the last snapshot, I've deactivated 1.6.1 ZoomToWMS plugin and replaced it by a much more simple plugin. The new one just try to zoom to the layer(s). It is not so obvious though as it must search for a bounding box which is in the same SRS as the one asked by the user for this layer, then search in the sub-layers, and finally in the parent layer. In some cases, such a bounding box is not available in the XML, and the plugin does not zoom to the layer. I don't think there is much to do about this case. About the old ZoomToWMS plugin (I think Uwe has been involved in its development), I can re-activate it if needed. In this case, I suggest that it is called get service metadata or capabilities as it gives information about all layers, bounding boxes and projections of the service, not just those from the current layer. Regards, Michaël -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Pan during editing
Now we differed behaviour of Pan Tool (button) and Pan Tool (shift + alt). Do you see a problem for the user when the Pan Tool (button) works like shift + alt - pan-tool? uwe Am 15.04.2013 12:03, schrieb edgar.sol...@web.de: this assumes that users always want to return to a drawing tool after the first pan. not sure that this is a correct assumption. ..ede On 15.04.2013 11:59, Uwe Dalluege wrote: Hi, what do you think about this? 1. Start drawing. 2. Click with the mouse the pan button. 3. Pan with LeftPressed. 4. Release the LeftButton and you can continue drawing. Is this practicable? Uwe Am 15.04.2013 11:47, schrieb edgar.sol...@web.de: that's a problem. java has issues separating double clicks from micro drags. also this wouldn't work for the selection tool, which itself uses dragging for selecting via fence. ..ede On 15.04.2013 11:44, Rahkonen Jukka wrote: Hi, The best option for panning would be Left click-Drag. It is an industrial standard nowadays because all the OpenLayers and Leaflet applications use that. And it works with one hand and without a keyboard. -Jukka- what about the one handed and the one's who can't afford a keyboard ;) (there is actually a virtual one in every major os) ..ede On 15.04.2013 11:03, Rahkonen Jukka wrote: Hi, Take it as a big :) because your students will learn a much more efficient way to pan during editing. Changing the tools from the tool box is pure waste of time. Absolutely learn them also to zoom in/out with Alt-Left/right click and select with Ctrl-Draw a box (Ctrl-Shift adds to selection). -Jukka- Uwe Dalluege wrote: Hi Jukka, with shift + alt it works. I have to change my tutorial :-( uwe Am 15.04.2013 10:34, schrieb Rahkonen Jukka: Hi, Use shortcuts. There has always been a shortcut for panning with Ctrl- Shift-Drag. Now it is also possible to pan also with Ctrl-Arrow keys. See Help-Shortcuts and you will find much more. -Jukka Rahkonen- Uwe Dalluege Hi, how can I pan during editing? In older OJ versions I could: 1. Start drawing a linestring. 2. Strg + pan. 3. pan 4. Mark in Editing Toolbox linestring again an draw so on. In the latest nightbuilds this does not work! Do you have change something? Uwe --- -- - Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data
Re: [JPP-Devel] Run Datastore Query - Layer Name
Hi Michaël, Am 10.04.2013 22:30, schrieb Michaël Michaud: Hi, Original question was about the Layer Name of Run Datastore Query. But Layer Name is a OpenJUMP thing. There is no restriction about how to write a Layer Name and many OpenJUMP plugin write layer names with spaces. I guess your problem is that this layer name will be used again when you'll try to save the queried Layer into a Postgis table. Is that right ? Yes, that is my problem. I like to avoid errors and quoted identifiers. There is no restriction too, as tables are created with quoted strings which accept any character (but maybe it is not a so common habit among DB adm, and I don't know if quoted strings for table or column names is part of the SQL standard) This page tells us something about identifiers: http://www.postgresql.org/docs/9.2/interactive/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS ... SQL identifiers and key words must begin with a letter (a-z, but also letters with diacritical marks and non-Latin letters) or an underscore (_). Subsequent characters in an identifier or key word can be letters, underscores, digits (0-9), or dollar signs ($). Note that dollar signs are not allowed in identifiers according to the letter of the SQL standard, so their use might render applications less portable. The SQL standard will not define a key word that contains digits or starts or ends with an underscore, so identifiers of this form are safe against possible conflict with future extensions of the standard. ... I think, this is the SQL standard but as you say maybe this is also SQL standard: ... There is a second kind of identifier: the delimited identifier or quoted identifier. It is formed by enclosing an arbitrary sequence of characters in double-quotes (). A delimited identifier is always an identifier, never a key word. So select could be used to refer to a column or table named select, whereas an unquoted select would be taken as a key word and would therefore provoke a parse error when used where a table or column name is expected. ... To have a more standard table name, I think the Layer Name should be normalized when proposed in the Table text area of SaveAsPostgisTable . But if the user wants to have table names with the same orthograph as his layer names, he will not appreciate. To come back to the Run Datastore PlugIn, I'm now used to write my query, then copy/paste the (first) table name in the Layer Name Text field. Not very user friendly, but did not find a better way. Could do that with a button... Michaël Uwe On 10.04.2013 13:41, Uwe Dalluege wrote: Hi, Am 10.04.2013 11:27, schrieb edgar.sol...@web.de: On 10.04.2013 11:15, Uwe Dalluege wrote: Hi, is it possible to change the default Layer Name of Run Datastore Query to a valid SQL table name? An inexperienced user with SQL maybe do not know that New Query Layer is not a valid layername (SQL-Tablename). i'd rather suggest to check hint so on trying to save the table so user can rename manually then. because 1. user has a learning effect then I do not think, that OJ should be a try and error GIS only for a learning effect. how do you suppose a db user will learn about naming restrictions then? 2. the name is proper in OJ and not all db's have the same naming conventions Please tell me a databasemanagementsystem which uses standard SQL and accept blanks inside the tablename. why do you expect every DBMS connector to use ANSI SQL? there are several SQL dialects out there and used actively as well. MYSQL for one supports spaces in table names. ..ede -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable
[JPP-Devel] Run Datastore Query with no error-message
Hi Michaël, Am 10.04.2013 21:51, schrieb Michaël Michaud: Hi, You can see that the rectangular geometry of the fence itself, not any features inside it, is placed into the query. The number after : is SRID, I used -1 in my case. The query itself gives an error when I tested it directly with PSQL found non-noded intersection between OpenJUMP naturally cannot get a result and it is also unable to show any reasonable error message, just a general java.sql.SQLException. -Jukka- I've recently improved the way SQL errors are reported, but maybe postgis error are still not reported correctly. Can you confirm that you get no informative message with a recent version (let's say 2 weeks) ? With OJ rev. 3459 and W7 (64 bit) I do not see errors or exceptions. There is no dialog window or a message in the status-line. I tested Run Datastore Query with this simple query: select * from xyz The table xyz does not exists in my database! But there is no error-message. Michaël Uwe Inside the fence there is a polygon intersects the geometry from Bauernhof But this does not work. 1. I do not see an error message. 2. What is the 0 after fence: ? Regards uwe Am 10.04.2013 11:40, schrieb Rahkonen Jukka: Hi, They are helper shortcuts for adding a spatial filter into the query. The result will be something like select * from my_layer where geoloc ${view:4326} Thus only features intersecting the view, box drawn with the fence tool or total extents of the selected features will be selected. -Jukka Rahkonen- Uwe Dalluege wrote: Hi, I like to describe the function Run Datastore Query in my PostGIS tutorial but I can not find a desciption of this. What are the buttons View, Fence and Selection good for? Regards Uwe - - Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured
Re: [JPP-Devel] Decription of Run Datastore Query
Hi Jukka, thank you for clarification! Uwe Am 10.04.2013 16:08, schrieb Rahkonen Jukka: Hi, It is just a general SQL query tool and you must, or you have a great opportunity, to add the test directly into your SQL. This might get what you want with PostGIS 2.x select st_intersection(...) AS geom ... FROM... WHERE ST_GeometryType(geom)='ST_Polygon; -Jukka- Uwe Dalluege wrote: Hi Jukka, thank you very much for your help! Now it works for me. But I receive two rows with GEOMETRYCOLLECTION EMPTY information in the OJ layer in my example. This selection produces empty geometries because it intersects only one of three geometries. Is it possible to check if the geometry is empty and put it not to the OJ layer? Uwe Am 10.04.2013 15:25, schrieb Rahkonen Jukka: Uwe Dalluege wrote: Hi Jukka, thank you for this example. Do you know whether this works? : select st_intersection ( geometry, ${fence:0} ) from Bauernhof The table Bauernhof contains a geometry-column called geometry It works so that the resulting SQL for me looks like select ST_Intersection(geoloc,ST_GeomFromText('POLYGON ((3424728.225608409 6715639.342894198, 3424728.225608409 6715738.683124313, 3424855.5848777858 6715738.683124313, 3424855.5848777858 6715639.342894198, 3424728.225608409 6715639.342894198))',-1)) from test_table; You can see that the rectangular geometry of the fence itself, not any features inside it, is placed into the query. The number after : is SRID, I used -1 in my case. The query itself gives an error when I tested it directly with PSQL found non-noded intersection between OpenJUMP naturally cannot get a result and it is also unable to show any reasonable error message, just a general java.sql.SQLException. -Jukka- Inside the fence there is a polygon intersects the geometry from Bauernhof But this does not work. 1. I do not see an error message. 2. What is the 0 after fence: ? Regards uwe Am 10.04.2013 11:40, schrieb Rahkonen Jukka: Hi, They are helper shortcuts for adding a spatial filter into the query. The result will be something like select * from my_layer where geoloc ${view:4326} Thus only features intersecting the view, box drawn with the fence tool or total extents of the selected features will be selected. -Jukka Rahkonen- Uwe Dalluege wrote: Hi, I like to describe the function Run Datastore Query in my PostGIS tutorial but I can not find a desciption of this. What are the buttons View, Fence and Selection good for? Regards Uwe --- -- - Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot
Re: [JPP-Devel] final steps to OJ 1.6
Hi Ede, do you mean with DBQuery Run Datastore Query ? Uwe Am 11.04.2013 10:47, schrieb edgar.sol...@web.de: i will include DBQuery into PLUS and create the release. if the addition and updating Readme takes longer i will create the release tomorrow. ..ede -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Run Datastore Query - Layer Name
Hi Ede, maybe this helps: http://pubs.vmware.com/vfabric5/index.jsp?topic=/com.vmware.vfabric.sqlfire.1.0/reference/language_ref/sql_identifiers.html All I like to say is that delimited identifiers can cause problems. If you like delimited identifiers use them! Uwe Am 11.04.2013 11:19, schrieb edgar.sol...@web.de: On 11.04.2013 08:34, Uwe Dalluege wrote: SNIP There is no restriction too, as tables are created with quoted strings which accept any character (but maybe it is not a so common habit among DB adm, and I don't know if quoted strings for table or column names is part of the SQL standard) This page tells us something about identifiers: http://www.postgresql.org/docs/9.2/interactive/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS ... SQL identifiers and key words must begin with a letter (a-z, but also letters with diacritical marks and non-Latin letters) or an underscore (_). Subsequent characters in an identifier or key word can be letters, underscores, digits (0-9), or dollar signs ($). Note that dollar signs are not allowed in identifiers according to the letter of the SQL standard, so their use might render applications less portable. The SQL standard will not define a key word that contains digits or starts or ends with an underscore, so identifiers of this form are safe against possible conflict with future extensions of the standard. ... I think, this is the SQL standard but as you say maybe this is also SQL standard: ... There is a second kind of identifier: the delimited identifier or quoted identifier. It is formed by enclosing an arbitrary sequence of characters in double-quotes (). A delimited identifier is always an identifier, never a key word. So select could be used to refer to a column or table named select, whereas an unquoted select would be taken as a key word and would therefore provoke a parse error when used where a table or column name is expected. ... this is /only/ how PostgreSQL handles it. try to get documentation about the ANSI SQL92, which is the most spread. you will find it is diffcult to obtain as you theoretically would have to purchase it against a fee. if you've got a library access i would be interested what really is written there. but even if it is forbidden there it is up to the implementation of the DBMS to dis/allow any character for table names. anyway. most DBMS i know support some kind of quoting or escaping that allows pretty much anything in a table name. would be interesting if the dot . is forbidden :) btw. interesting bit about the MySQL concept. it makes it depending on the file system the tables are saved on. the file naming conventions essentially apply to how you can name your tables. ..ede -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Run Datastore Query - Layer Name
I agree! We should not force people to use a special name-convention! But, IMHO, if we know, from long time of experience, that a table-name like New Query Layer can cause problems we should not force to use this name by offer them as a good table-name. uwe Am 11.04.2013 13:35, schrieb edgar.sol...@web.de: thanks, while not the standard document itself, at least they claim to cite it. anyway, i am on par with Michael on that. it should be optional and implemented on writing to a DBMS connection. ..ede PS: i am totally with that using alnum and underscore is the most common denominator and usually safest. however, we should not force people into a work flow that we deem as the only correct one. after all we provide a tool and it is not up to us to determine it's usage. On 11.04.2013 13:25, Uwe Dalluege wrote: Hi Ede, maybe this helps: http://pubs.vmware.com/vfabric5/index.jsp?topic=/com.vmware.vfabric.sqlfire.1.0/reference/language_ref/sql_identifiers.html All I like to say is that delimited identifiers can cause problems. If you like delimited identifiers use them! Uwe Am 11.04.2013 11:19, schrieb edgar.sol...@web.de: On 11.04.2013 08:34, Uwe Dalluege wrote: SNIP There is no restriction too, as tables are created with quoted strings which accept any character (but maybe it is not a so common habit among DB adm, and I don't know if quoted strings for table or column names is part of the SQL standard) This page tells us something about identifiers: http://www.postgresql.org/docs/9.2/interactive/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS ... SQL identifiers and key words must begin with a letter (a-z, but also letters with diacritical marks and non-Latin letters) or an underscore (_). Subsequent characters in an identifier or key word can be letters, underscores, digits (0-9), or dollar signs ($). Note that dollar signs are not allowed in identifiers according to the letter of the SQL standard, so their use might render applications less portable. The SQL standard will not define a key word that contains digits or starts or ends with an underscore, so identifiers of this form are safe against possible conflict with future extensions of the standard. ... I think, this is the SQL standard but as you say maybe this is also SQL standard: ... There is a second kind of identifier: the delimited identifier or quoted identifier. It is formed by enclosing an arbitrary sequence of characters in double-quotes (). A delimited identifier is always an identifier, never a key word. So select could be used to refer to a column or table named select, whereas an unquoted select would be taken as a key word and would therefore provoke a parse error when used where a table or column name is expected. ... this is /only/ how PostgreSQL handles it. try to get documentation about the ANSI SQL92, which is the most spread. you will find it is diffcult to obtain as you theoretically would have to purchase it against a fee. if you've got a library access i would be interested what really is written there. but even if it is forbidden there it is up to the implementation of the DBMS to dis/allow any character for table names. anyway. most DBMS i know support some kind of quoting or escaping that allows pretty much anything in a table name. would be interesting if the dot . is forbidden :) btw. interesting bit about the MySQL concept. it makes it depending on the file system the tables are saved on. the file naming conventions essentially apply to how you can name your tables. ..ede -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics
[JPP-Devel] SQL test for tablenames
Hi, I have made some tests for tablenames in PostgreSQL. This works (name without delimiter): create table Abc ( id int ); select * from abc; select * from ABC; select * from abC; --- This causes problems: create table Def ( id int ); select * from Def; // this is ok! --Problems: --select * from Def; --select * from def; -- But if you write (in lower case) this works: create table ghi ( id int ); select * from ghi; select * from Ghi; select * from GHI; Please, can somebody test this with other DBMS? Thanks. Uwe -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] The new geometry is invalid. Cancelled.
, but this is not implemented. That the multi-polygon causes an error is with the OGS SF specification = correct. However, that the geometry collection does not cause an error should be correct aw well, because there is, I believe, nothing said about geometry collections and their validity. Geometry collections should be allowed to have any type of geometries in what ever way they are drawn - like a container. If we would check geometry collections for their validity it may be that people cannot store anymore the data they have. Hence, checking should be optional. But I guess here, Michael M. knows probably more about OGC conformance? I'll also cc to JTS list. cheers, stefan PS: the Multi-polygon: MULTIPOLYGON ((( 80 125, 80 241, 175 241, 175 125, 80 125 )), (( 175 125, 175 241, 263 241, 263 125, 175 125 ))) Am 08.04.13 09:48, schrieb Uwe Dalluege: Hi Stefan, I am afraid I do not understand :-( Do you think this is a bug in OJ? The multipolygon causes an error the geometrycollection not. Is this behaviour OGC-conform (simpel features...)? What do you think? uwe Am 08.04.2013 16:36, schrieb Stefan Steiniger: Hi, so - well the situation is not so nice, as it should be valid. However, the JTS TestBuilder says the Multi-Polgyon is invalid because of Self-intersection at or near point (175.0, 125.0, NaN) Same message appears when you try to add it as a new feature. maybe you can make it valid before by running a zero-buffer over it? stefan Am 08.04.13 07:30, schrieb Uwe Dalluege: Hi, if you put a third geometrie to the two polygons, for instance a linestring, and combine them you will receive a geometrycollection and not a multipolygon. The geometrycollection causes *no* errors but the multipolygon. Uwe Am 08.04.2013 12:05, schrieb Uwe Dalluege: Hi, I get the error: The new geometry is invalid. Cancelled. and I am not shure whether this error is correct. 1. Switch Snap to vertices option. 2. Draw a rectangle. 3. Draw a second rectangle with two identical vertices from the first rectangle (with snap). 4. Select the two rectangles and Combine Selected features 5. Try to move this multipolygon with Move Selected Items Tool. 6. The error appears The new geometry is invalid. Cancelled. 7. The QAValidate Selected Layers... causes a self-intersection in *one* point. Is this a bug in OJ (a precision-problem) or is the new geometry really invalide? Uwe -- -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ 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 -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy
Re: [JPP-Devel] The new geometry is invalid. Cancelled.
Hi, sorry, the last point 2 should be a 3 :-( uwe Am 10.04.2013 10:24, schrieb Uwe Dalluege: Hi Michaël, do you mean the option OptionsView/EditPrevent edits resulting invalid geometries? I am not understanding this option. What is the use of drawing a selfintersection polygon? 1. In my opinion a program should never *compute* invalide geometries like multipolygon if it is not a valid multipolygon. 2. If a user construct an invalide geometry there must be a warning but it should not drawn. 2. The other side is to *load* invalide geometries from extern and have a chance to correct them. Is this option OptionsView/EditPrevent edits resulting invalid geometries for this case? Uwe Am 10.04.2013 08:53, schrieb Michaël Michaud: Hi Larry, Thanks for the input, I followed your suggestion to add a warning in the status bar. I did the test for the MultiPolygon case only though. Not sure it is useful in the general case. Maybe it would be better to make the plugin consistent with the edit tools option accept invalid geometry. I think it is not yet. Michaël 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 GeometryCollection is built instead. +1 if this is the plan. -1 if the plan is to just build a GeometryCollection instead. regards, Larry On Tue, Apr 9, 2013 at 1:36 PM, Michaël Michaud michael.mich...@free.fr mailto:michael.mich...@free.fr wrote: 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 described, error should have been thrown while combining the two polygons, not while moving the resulted invalid multipolygon 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 change. 3 - you surely knows that OpenJUMP has a hidden option to accept/refuse invalid geometries during edit operations (in this case, it is of no help though) Regards, Michaël What do you think? Regards Uwe Am 09.04.2013 03:21, schrieb Martin Davis: As Michael and Stefan point out, Polygons in a MultiPolygon must be edge-disjoint (which another way of stating the formal definition must only touch at a finite number of points. If they touched along an edge, that would cause an infinite number of points to be coincident). Another way of looking at this is that MultiPolygons are in a sense the canonical description of a given area of the plane. If edge touches or overlaps were allowed then there would be an infinite number of geometries which described the same area. Also, from the point of view of computing polygon overlay and spatial relationships this is a nice rule to have, since it reduces the number of cases which need to be checked for. This makes the code simpler and more performant. The cost is that it is necessary to ensure that MultiPolygons are valid at creation time. This is a reasonable tradeoff, since in general geometries are queried more often than they are created. GeometryCollections on the other hand have no particular semantics - they are just bags of geometries. This makes them useful for holding arbitrary sets of geometries, but makes them more complex (and sometimes slower) to process. On 4/8/2013 11:04 AM, Michaël Michaud wrote: Hi Uwe, Stefan, OpenJUMP (JTS) is right, this MultiPolygon is not OGC conform Here is the citation : Multipolygon 2. The Boundaries of any 2 Polygons that are elements of a MultiPolygon may not ‘cross’ and may touch at only a finite number of points. (Note that crossing is prevented by assertion 1 above). Don't ask me why, I've always thought it is strange that lines can share their boundaries in a MultiLineString and polygons cannot share an edge in a MultiPolygon, but it's a well established rule that JTS follows. Michaël Hi Uwe
[JPP-Devel] Decription of Run Datastore Query
Hi, I like to describe the function Run Datastore Query in my PostGIS tutorial but I can not find a desciption of this. What are the buttons View, Fence and Selection good for? Regards Uwe -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Run Datastore Query - Layer Name
Hi, is it possible to change the default Layer Name of Run Datastore Query to a valid SQL table name? An inexperienced user with SQL maybe do not know that New Query Layer is not a valid layername (SQL-Tablename). Thanks. Uwe -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Run Datastore Query - Layer Name
Hi, Am 10.04.2013 11:27, schrieb edgar.sol...@web.de: On 10.04.2013 11:15, Uwe Dalluege wrote: Hi, is it possible to change the default Layer Name of Run Datastore Query to a valid SQL table name? An inexperienced user with SQL maybe do not know that New Query Layer is not a valid layername (SQL-Tablename). i'd rather suggest to check hint so on trying to save the table so user can rename manually then. because 1. user has a learning effect then I do not think, that OJ should be a try and error GIS only for a learning effect. 2. the name is proper in OJ and not all db's have the same naming conventions Please tell me a databasemanagementsystem which uses standard SQL and accept blanks inside the tablename. the hint could also be a OK/Cancel dialog that auto replaces invalid chars with _ on OK. ..ede Uwe -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Decription of Run Datastore Query
Hi Jukka, thank you for this example. Do you know whether this works? : select st_intersection ( geometry, ${fence:0} ) from Bauernhof The table Bauernhof contains a geometry-column called geometry Inside the fence there is a polygon intersects the geometry from Bauernhof But this does not work. 1. I do not see an error message. 2. What is the 0 after fence: ? Regards uwe Am 10.04.2013 11:40, schrieb Rahkonen Jukka: Hi, They are helper shortcuts for adding a spatial filter into the query. The result will be something like select * from my_layer where geoloc ${view:4326} Thus only features intersecting the view, box drawn with the fence tool or total extents of the selected features will be selected. -Jukka Rahkonen- Uwe Dalluege wrote: Hi, I like to describe the function Run Datastore Query in my PostGIS tutorial but I can not find a desciption of this. What are the buttons View, Fence and Selection good for? Regards Uwe -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Decription of Run Datastore Query
Hi Jukka, thank you very much for your help! Now it works for me. But I receive two rows with GEOMETRYCOLLECTION EMPTY information in the OJ layer in my example. This selection produces empty geometries because it intersects only one of three geometries. Is it possible to check if the geometry is empty and put it not to the OJ layer? Uwe Am 10.04.2013 15:25, schrieb Rahkonen Jukka: Uwe Dalluege wrote: Hi Jukka, thank you for this example. Do you know whether this works? : select st_intersection ( geometry, ${fence:0} ) from Bauernhof The table Bauernhof contains a geometry-column called geometry It works so that the resulting SQL for me looks like select ST_Intersection(geoloc,ST_GeomFromText('POLYGON ((3424728.225608409 6715639.342894198, 3424728.225608409 6715738.683124313, 3424855.5848777858 6715738.683124313, 3424855.5848777858 6715639.342894198, 3424728.225608409 6715639.342894198))',-1)) from test_table; You can see that the rectangular geometry of the fence itself, not any features inside it, is placed into the query. The number after : is SRID, I used -1 in my case. The query itself gives an error when I tested it directly with PSQL found non-noded intersection between OpenJUMP naturally cannot get a result and it is also unable to show any reasonable error message, just a general java.sql.SQLException. -Jukka- Inside the fence there is a polygon intersects the geometry from Bauernhof But this does not work. 1. I do not see an error message. 2. What is the 0 after fence: ? Regards uwe Am 10.04.2013 11:40, schrieb Rahkonen Jukka: Hi, They are helper shortcuts for adding a spatial filter into the query. The result will be something like select * from my_layer where geoloc ${view:4326} Thus only features intersecting the view, box drawn with the fence tool or total extents of the selected features will be selected. -Jukka Rahkonen- Uwe Dalluege wrote: Hi, I like to describe the function Run Datastore Query in my PostGIS tutorial but I can not find a desciption of this. What are the buttons View, Fence and Selection good for? Regards Uwe - - Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] The new geometry is invalid. Cancelled.
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 geometrycollection? What do you think? Regards Uwe Am 09.04.2013 03:21, schrieb Martin Davis: As Michael and Stefan point out, Polygons in a MultiPolygon must be edge-disjoint (which another way of stating the formal definition must only touch at a finite number of points. If they touched along an edge, that would cause an infinite number of points to be coincident). Another way of looking at this is that MultiPolygons are in a sense the canonical description of a given area of the plane. If edge touches or overlaps were allowed then there would be an infinite number of geometries which described the same area. Also, from the point of view of computing polygon overlay and spatial relationships this is a nice rule to have, since it reduces the number of cases which need to be checked for. This makes the code simpler and more performant. The cost is that it is necessary to ensure that MultiPolygons are valid at creation time. This is a reasonable tradeoff, since in general geometries are queried more often than they are created. GeometryCollections on the other hand have no particular semantics - they are just bags of geometries. This makes them useful for holding arbitrary sets of geometries, but makes them more complex (and sometimes slower) to process. On 4/8/2013 11:04 AM, Michaël Michaud wrote: Hi Uwe, Stefan, OpenJUMP (JTS) is right, this MultiPolygon is not OGC conform Here is the citation : Multipolygon 2. The Boundaries of any 2 Polygons that are elements of a MultiPolygon may not ‘cross’ and may touch at only a finite number of points. (Note that crossing is prevented by assertion 1 above). Don't ask me why, I've always thought it is strange that lines can share their boundaries in a MultiLineString and polygons cannot share an edge in a MultiPolygon, but it's a well established rule that JTS follows. Michaël Hi Uwe, I am not sure I would call it a bug. OJ, should (try to) create data that are OGC conform, but in this case it doesn't. Which means, the case needs special treatment, but this is not implemented. That the multi-polygon causes an error is with the OGS SF specification = correct. However, that the geometry collection does not cause an error should be correct aw well, because there is, I believe, nothing said about geometry collections and their validity. Geometry collections should be allowed to have any type of geometries in what ever way they are drawn - like a container. If we would check geometry collections for their validity it may be that people cannot store anymore the data they have. Hence, checking should be optional. But I guess here, Michael M. knows probably more about OGC conformance? I'll also cc to JTS list. cheers, stefan PS: the Multi-polygon: MULTIPOLYGON ((( 80 125, 80 241, 175 241, 175 125, 80 125 )), (( 175 125, 175 241, 263 241, 263 125, 175 125 ))) Am 08.04.13 09:48, schrieb Uwe Dalluege: Hi Stefan, I am afraid I do not understand :-( Do you think this is a bug in OJ? The multipolygon causes an error the geometrycollection not. Is this behaviour OGC-conform (simpel features...)? What do you think? uwe Am 08.04.2013 16:36, schrieb Stefan Steiniger: Hi, so - well the situation is not so nice, as it should be valid. However, the JTS TestBuilder says the Multi-Polgyon is invalid because of Self-intersection at or near point (175.0, 125.0, NaN) Same message appears when you try to add it as a new feature. maybe you can make it valid before by running a zero-buffer over it? stefan Am 08.04.13 07:30, schrieb Uwe Dalluege: Hi, if you put a third geometrie to the two polygons, for instance a linestring, and combine them you will receive a geometrycollection and not a multipolygon. The geometrycollection causes *no* errors but the multipolygon. Uwe Am 08.04.2013 12:05, schrieb Uwe Dalluege: Hi, I get the error: The new geometry is invalid. Cancelled. and I am not shure whether this error is correct. 1. Switch Snap to vertices option. 2. Draw a rectangle. 3. Draw a second rectangle with two identical vertices from the first rectangle (with snap). 4. Select the two rectangles and Combine Selected features 5. Try to move this multipolygon with Move Selected Items Tool. 6. The error appears The new geometry is invalid. Cancelled. 7. The QAValidate Selected Layers... causes a self-intersection in *one* point. Is this a bug in OJ (a precision-problem
[JPP-Devel] coordinate list NaN
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 confusing because the geometry has only two coordinates. Uwe -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] The new geometry is invalid. Cancelled.
Hi, I get the error: The new geometry is invalid. Cancelled. and I am not shure whether this error is correct. 1. Switch Snap to vertices option. 2. Draw a rectangle. 3. Draw a second rectangle with two identical vertices from the first rectangle (with snap). 4. Select the two rectangles and Combine Selected features 5. Try to move this multipolygon with Move Selected Items Tool. 6. The error appears The new geometry is invalid. Cancelled. 7. The QAValidate Selected Layers... causes a self-intersection in *one* point. Is this a bug in OJ (a precision-problem) or is the new geometry really invalide? Uwe -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] The new geometry is invalid. Cancelled.
Hi, if you put a third geometrie to the two polygons, for instance a linestring, and combine them you will receive a geometrycollection and not a multipolygon. The geometrycollection causes *no* errors but the multipolygon. Uwe Am 08.04.2013 12:05, schrieb Uwe Dalluege: Hi, I get the error: The new geometry is invalid. Cancelled. and I am not shure whether this error is correct. 1. Switch Snap to vertices option. 2. Draw a rectangle. 3. Draw a second rectangle with two identical vertices from the first rectangle (with snap). 4. Select the two rectangles and Combine Selected features 5. Try to move this multipolygon with Move Selected Items Tool. 6. The error appears The new geometry is invalid. Cancelled. 7. The QAValidate Selected Layers... causes a self-intersection in *one* point. Is this a bug in OJ (a precision-problem) or is the new geometry really invalide? Uwe -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] The new geometry is invalid. Cancelled.
Hi Stefan, I am afraid I do not understand :-( Do you think this is a bug in OJ? The multipolygon causes an error the geometrycollection not. Is this behaviour OGC-conform (simpel features...)? What do you think? uwe Am 08.04.2013 16:36, schrieb Stefan Steiniger: Hi, so - well the situation is not so nice, as it should be valid. However, the JTS TestBuilder says the Multi-Polgyon is invalid because of Self-intersection at or near point (175.0, 125.0, NaN) Same message appears when you try to add it as a new feature. maybe you can make it valid before by running a zero-buffer over it? stefan Am 08.04.13 07:30, schrieb Uwe Dalluege: Hi, if you put a third geometrie to the two polygons, for instance a linestring, and combine them you will receive a geometrycollection and not a multipolygon. The geometrycollection causes *no* errors but the multipolygon. Uwe Am 08.04.2013 12:05, schrieb Uwe Dalluege: Hi, I get the error: The new geometry is invalid. Cancelled. and I am not shure whether this error is correct. 1. Switch Snap to vertices option. 2. Draw a rectangle. 3. Draw a second rectangle with two identical vertices from the first rectangle (with snap). 4. Select the two rectangles and Combine Selected features 5. Try to move this multipolygon with Move Selected Items Tool. 6. The error appears The new geometry is invalid. Cancelled. 7. The QAValidate Selected Layers... causes a self-intersection in *one* point. Is this a bug in OJ (a precision-problem) or is the new geometry really invalide? Uwe -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Comparing identical expressions ConnectionManagerToolboxPlugIn.java
Hi, when I compile the code from http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/src/ in eclipse I get always the error: Comparing identical expressions ConnectionManagerToolboxPlugIn.java /OJ3469/src/com/vividsolutions/jump/workbench/ui/plugin/datastore line 43 Java Problem Everytime I have to chance line 43 from: public void initialize(final PlugInContext context) throws Exception { if (1 == 1) { ... to: public void initialize(final PlugInContext context) throws Exception { if (true) { ... Please, is it possible to change this little code for me? Thanks. Uwe -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Version ${version.number} ${version.release} rev.${version.revision}
Hi, after compiling and run OJ in eclipse from http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/ the splash-window shows Version ${version.number} ${version.release} rev.${version.revision} and the readme.txt file also. What is the secret to get the right version numbers to the variables? What have I do, to configure eclipse, that the version-variables get the right values? Regards Uwe -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Version ${version.number} ${version.release} rev.${version.revision}
Hi, the big advantage of OJ is that it is written in Java. Java should be platform-independent. But if we (the developer of OJ) write code that is not pure Java and contains tricky code for svn, maven and so on... we make life hard for new developers! As I suggested some mails before please write your code IDE-independent so every developer who likes to develop OJ can use its own IDE. The ideal case would be only download the sourcecode and the libs to build a runable OpenJUMP. But I think, this is a pipe-dream. Regards Uwe Am 05.04.2013 09:22, schrieb edgar.sol...@web.de: On 05.04.2013 09:08, Michaël Michaud wrote: Hi, after compiling and run OJ in eclipse from http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/ the splash-window shows Version ${version.number} ${version.release} rev.${version.revision} and the readme.txt file also. What is the secret to get the right version numbers to the variables? What have I do, to configure eclipse, that the version-variables get the right values? As a side note, these variables and some others (useJvmChmod, recompress.folder...) are viewed as errors in the IntelliJ IDEA interface (cannot resolve symbol). Not a big problem, but I don't know if there is a way to make it understand everything is fine. Are these parameters only defined on the command line ? Would it be better to have them declared/defined at one place ? well, you cannot define them. svn revision e.g. is only known during compile time. having placeholders like such is pretty common. i have another project that also sports these until you properly package it (actually a python app). the only way to get rid of them is to implement their replacement in the build process. still, however it looks under the hood. it makes it pretty easy to fill in version values in several places and i see no alternative currently. ..ede -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Version ${version.number} ${version.release} rev.${version.revision}
Hi, Am 05.04.2013 10:39, schrieb edgar.sol...@web.de: On 05.04.2013 10:34, Uwe Dalluege wrote: Hi, the big advantage of OJ is that it is written in Java. Java should be platform-independent. But if we (the developer of OJ) write code that is not pure Java and contains tricky code for svn, maven and so on... we make life hard for new developers! old dogs have to learn new tricks sometimes, sorry 'bout that. it's a small sacrifice for the sake of automation. As I suggested some mails before please write your code IDE-independent so every developer who likes to develop OJ can use its own IDE. i am sure there is a plugin for your ide to have the vars automatically filled if it is so important for you. alternatively pretty much all java ide's support maven nowadays. The ideal case would be only download the sourcecode and the libs to build a runable OpenJUMP. But I think, this is a pipe-dream. well, your approach of downloading svn archives seems to work. doesn't it now? ..ede Why do you think I am writing my last mails? It works not perfectly! Uwe ..ede Regards Uwe Am 05.04.2013 09:22, schrieb edgar.sol...@web.de: On 05.04.2013 09:08, Michaël Michaud wrote: Hi, after compiling and run OJ in eclipse from http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/ the splash-window shows Version ${version.number} ${version.release} rev.${version.revision} and the readme.txt file also. What is the secret to get the right version numbers to the variables? What have I do, to configure eclipse, that the version-variables get the right values? As a side note, these variables and some others (useJvmChmod, recompress.folder...) are viewed as errors in the IntelliJ IDEA interface (cannot resolve symbol). Not a big problem, but I don't know if there is a way to make it understand everything is fine. Are these parameters only defined on the command line ? Would it be better to have them declared/defined at one place ? well, you cannot define them. svn revision e.g. is only known during compile time. having placeholders like such is pretty common. i have another project that also sports these until you properly package it (actually a python app). the only way to get rid of them is to implement their replacement in the build process. still, however it looks under the hood. it makes it pretty easy to fill in version values in several places and i see no alternative currently. ..ede -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Version ${version.number} ${version.release} rev.${version.revision}
Hi, Am 05.04.2013 11:11, schrieb edgar.sol...@web.de: On 05.04.2013 10:56, Uwe Dalluege wrote: Hi, Am 05.04.2013 10:39, schrieb edgar.sol...@web.de: On 05.04.2013 10:34, Uwe Dalluege wrote: Hi, the big advantage of OJ is that it is written in Java. Java should be platform-independent. But if we (the developer of OJ) write code that is not pure Java and contains tricky code for svn, maven and so on... we make life hard for new developers! old dogs have to learn new tricks sometimes, sorry 'bout that. it's a small sacrifice for the sake of automation. As I suggested some mails before please write your code IDE-independent so every developer who likes to develop OJ can use its own IDE. i am sure there is a plugin for your ide to have the vars automatically filled if it is so important for you. alternatively pretty much all java ide's support maven nowadays. The ideal case would be only download the sourcecode and the libs to build a runable OpenJUMP. But I think, this is a pipe-dream. well, your approach of downloading svn archives seems to work. doesn't it now? ..ede Why do you think I am writing my last mails? not sure really ;) It works not perfectly! well, perfection is a rare quality. But it should be not for OpenJUMP! if you are telling me that the placeholders throw compiler errors i'll be inclined to hear your suggestion on how to solve that. Maybe you can read the version numbers out of a file like the readme.txt file is read by OpenJUMP. ..ede Uwe -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Version ${version.number} ${version.release} rev.${version.revision}
Hi, Am 05.04.2013 11:51, schrieb edgar.sol...@web.de: On 05.04.2013 11:43, Uwe Dalluege wrote: Hi, Am 05.04.2013 11:11, schrieb edgar.sol...@web.de: On 05.04.2013 10:56, Uwe Dalluege wrote: Hi, Am 05.04.2013 10:39, schrieb edgar.sol...@web.de: On 05.04.2013 10:34, Uwe Dalluege wrote: Hi, the big advantage of OJ is that it is written in Java. Java should be platform-independent. But if we (the developer of OJ) write code that is not pure Java and contains tricky code for svn, maven and so on... we make life hard for new developers! old dogs have to learn new tricks sometimes, sorry 'bout that. it's a small sacrifice for the sake of automation. As I suggested some mails before please write your code IDE-independent so every developer who likes to develop OJ can use its own IDE. i am sure there is a plugin for your ide to have the vars automatically filled if it is so important for you. alternatively pretty much all java ide's support maven nowadays. The ideal case would be only download the sourcecode and the libs to build a runable OpenJUMP. But I think, this is a pipe-dream. well, your approach of downloading svn archives seems to work. doesn't it now? ..ede Why do you think I am writing my last mails? not sure really ;) It works not perfectly! well, perfection is a rare quality. But it should be not for OpenJUMP! right, shouldn't for everything. it unfortunately just is. if you are telling me that the placeholders throw compiler errors i'll be inclined to hear your suggestion on how to solve that. Maybe you can read the version numbers out of a file like the readme.txt file is read by OpenJUMP. it is actually just read from a file, meaning the placeholders are. language/jump.properties Thank you, this is the information I am looking for! problem is, who is filling this file with the correct values. somebody would have to do this manually again. and what about e.g. readme.txt, Changes.txt ? ..ede Uwe -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] OJ 3416 Two compiler errors (Parser.java and ConnectionManagerToolboxPlugIn)
Hi Ede, thank you for updating the lib-directory. But now there are the old and the new .jar files inside. Is that correct? Is it not a problem to have old and new .jar files together? When I compile my project with eclipse I receive the old error: The method createLSSerializer() is undefined for the type DOMImplementationLS Parser.java /OJ3469/src/com/vividsolutions/wms line 316Java Problem When I delete xercesImpl.jar from lib and have only xercesImpl-2.8.1.jar in the lib-directory then I have no compiler error. Uwe Am 02.04.2013 15:54, schrieb edgar.sol...@web.de: On 02.04.2013 14:46, Uwe Dalluege wrote: Hi, which files are old? for instance: Jama-1.0.1.jar (19.06.2007) - jama-1.0.2.jar (26.09.2011) in zip. jythom.jar (16.02.2009) - jython-2.2.jar (26.09.2011) in zip. xercesImpl.jar (19.06.2007) - xercesImpl-2.8.1.jar (26.09.2011) in zip xml-apis.jar (19.06.2007) - xml-apis-1.3.03.jar (26.09.2011) in zip xml-apis-ext.jar (19.06.2007) - xmlParserAPIs-2.0.2.jar (26.09.2011) in zip? thnaks.. just updated the svn accordingly. ..ede -- Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] OJ 3416 Two compiler errors (Parser.java and ConnectionManagerToolboxPlugIn)
Hi Ede, is it possible, that you work with xercesImpl-2.8.1.jar and not with xercesImpl.jar? When I compile with xercesImpl-2.8.1.jar there is no error. The lib directoty from http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/lib/ is not consistent with the lib from http://sourceforge.net/projects/jump-pilot/files/OpenJUMP_snapshots/ In http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/lib/ there are some old .jar files. Is that correct? Uwe Am 28.03.2013 14:44, schrieb edgar.sol...@web.de: just did as you said. 1. create a fresh java project 2. extract lib/src downloads from http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/src/?view=tarpathrev=3416 http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/lib/?view=tarpathrev=3416 into the appropriate folders 3. add all jars in lib/ to buildpath 4. compiles fine runs ..ede On 28.03.2013 14:33, edgar.sol...@web.de wrote: check if you have other versions of 'xercesImpl.jar' on your machine in general. probably under Programs/Java or somewhere else. make sure that only this on of your downloaded checkout is used in buildpath. ..ede On 28.03.2013 14:29, Uwe Dalluege wrote: This is a fresh test-project. Only the lib and the src directory from http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/?pathrev=3416 Uwe Am 28.03.2013 14:22, schrieb edgar.sol...@web.de: On 28.03.2013 14:02, Uwe Dalluege wrote: After unpack these files to lib and scr and try to make an eclipse-project from the source I got two errors: 1. In Parser.java line 316 The method createLSSerializer() is undefined for the type DOMImplementationLSParser.java /OJ16_3416eclipse/src/com/vividsolutions/wmsline 316Java Problem looks like you have bogus xml jars in your path. is this a fresh project? if not, did you clean out the old libs and added only the new ones to buildpath? ..ede -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Extent calculation
, based on index) ST_Extent (slow, precise) Currently, we switch on second method if first one throws an exception (don't know in which circumstances exactly) I can see if I can add a test on spatial index existence and switch also to second method if there is no spatial index. Michaël Hi Jukka, Bingo!!! That was the 100 000 000,- euro idea! create index on t_line_invis using gist ( geom ); Now I see the geometries in openjump. But I see a problem with small tables creating without indices. What can we do with this? Uwe Am 28.03.2013 08:25, schrieb Rahkonen Jukka: Hi Uwe, Try to add spatial index to your test tables and see what happens then. OpenJUMP is doing query as SELECT ST_AsBinary(ST_Estimated_Extent) It is fast and I think the right way to do it in OpenJUMP but I do not believe that it can work work without spatial index. http://postgis.refractions.net/documentation/manual-1.4/ST_Estimated_Extent.html -Jukka- Lähettäjä: Uwe Dalluege [uwe.dallu...@hcu-hamburg.de] Lähetetty: 28. maaliskuuta 2013 8:29 Vastaanottaja: OpenJump develop and use Cc: Michaël Michaud Aihe: Re: [JPP-Devel] Unknown WKB type 0 and change coord_dimension Hi Michaël, I see it is not so easy to find this bug. I will make some other tests and let you know. But have you tried my test I have posted at 26.03.2013 (PostGIS Layer invisible; Zoom To Full Extent)? ... I have a problem with Zoom To Full Extent with the new PostGIS reader! Using PostgreSQL 9.2.1 with PostGIS 2.0. I created two tables with SQL. This table (t_line) works fine: drop table if exists t_line; CREATE TABLE t_line ( lnr integer, geom geometry ( LINESTRING, 0 ) ); INSERT INTO t_line VALUES ( 1, ST_GeometryFromText ( 'LINESTRING ( 200.0 200.0, 250.0 230.0, 210.0 250.0 )', 0 ) ); INSERT INTO t_line VALUES ( 2, ST_GeometryFromText ( 'LINESTRING ( 100.0 100.0, 150.0 130.0, 110.0 150.0 )', 0 ) ); SELECT * FROM t_line; This table (t_line_invis) is invisible after Zoom To Full Extent: drop table if exists t_line_invis; CREATE TABLE t_line_invis ( lnr integer, geom geometry ( LINESTRING, 0 ) ); INSERT INTO t_line_invis VALUES ( 1, ST_GeometryFromText ( 'LINESTRING ( 2000.0 2000.0, 2500.0 2300.0, 2100.0 2500.0 )', 0 ) ); INSERT INTO t_line_invis VALUES ( 2, ST_GeometryFromText ( 'LINESTRING ( 1000.0 1000.0, 1500.0 1300.0, 1100.0 1500.0 )', 0 ) ); SELECT * FROM t_line_invis; ... Uwe Am 27.03.2013 19:36, schrieb Michaël Michaud: Hi, I can't see the WKB type 0 problem in the above sequence. Is it solved or is it repeatable with another sequence. No, I do not tested it with r3404+ but I done the modification inside the source code. Now I test r3412. Do you made the modification in r3412? I see that the coord_dimension has changed from 2 to 3: 1. I open my project GeoCity with a .jml layer Wohngebiet. Did you change the dataset ? (I used Gebaeudeprivat instead) 2. Saving this jml-layer to PostGIS. 3. Close OpenJUMP (important)! 4. Start OJ again and open the table Wohngebiet in PostGIS 5. No Such Element Exception and I see no geometries I could not reproduce this today, but I have seen that before. I have already tried to find a solution but it's a bit tricky. I think we will have to live with it some time... 6. Zoom To Full Extent and I see the geometries. As I told you, full extent of a database layer can contains too many features for OpenJUMP, and I think it is more safe not to do it automatically after the first import. If it is not down, the layer may be empty (probably related to the No such element exception though) 7. Now I load the table again and there is no more the error No Such Element Exception. And after the first Zoom to extent, the driver extracts data in a zone where there IS data. 8. Close OJ. 9. Start OJ and load the table Wohngebiet. 10. The error No Such Element Exception appears. 11. Set srid to 31467 to the layer Wohngebiet. 12. Save the PostGIS layer Wohngebiet under a new name wg31467. 13. The coord_dimension of wg31467 is not 2 but 3! According to my tests and to the code the geometry coord dimension should be 2, but there may be strange behaviour as the code tests a few geometries and if it finds a single z, it save as a GeometryZ, otherwise it should save as Geometry. Is it possible that you edited a z on a geometry ? 14. Load the table wg31467 and there are no geometries! No errors and no geometries. Cannot reproduce that. Is it possible that you have moved and that your windows do not intersects data anymore ? Michaël I hope you can reproduce this. Have a nice day Uwe -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game
Re: [JPP-Devel] OJ 3416 Two compiler errors (Parser.java and ConnectionManagerToolboxPlugIn)
Hi, which files are old? for instance: Jama-1.0.1.jar (19.06.2007) - jama-1.0.2.jar (26.09.2011) in zip. jythom.jar (16.02.2009) - jython-2.2.jar (26.09.2011) in zip. xercesImpl.jar (19.06.2007) - xercesImpl-2.8.1.jar (26.09.2011) in zip xml-apis.jar (19.06.2007) - xml-apis-1.3.03.jar (26.09.2011) in zip xml-apis-ext.jar (19.06.2007) - xmlParserAPIs-2.0.2.jar (26.09.2011) in zip? uwe Am 02.04.2013 14:28, schrieb edgar.sol...@web.de: On 02.04.2013 13:29, Uwe Dalluege wrote: Hi Ede, hola Uwe, is it possible, that you work with xercesImpl-2.8.1.jar and not with xercesImpl.jar? When I compile with xercesImpl-2.8.1.jar there is no error. nope, i use xercesImpl.jar from svn. see attached. svn's xercesImpl.jar is 2.5.0. dunno why it ain't working for you, does for me. The lib directoty from http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/lib/ is not consistent with the lib from http://sourceforge.net/projects/jump-pilot/files/OpenJUMP_snapshots/ In http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/lib/ there are some old .jar files. Is that correct? ideally the versions should be identical. however it can be that they are not because somebody updated maven but not the svn/lib folder in the past. some jar files e.g. batik are packaged together for convenience. which files are old? ..ede -- Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Broken Link to new OpenJUMP Programmer's Manual
Hi, on the page http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=Developer_Documentation_and_HowTo is a broken link to: new OpenJUMP Programmer's Manual (under General Docs) Uwe -- Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Extent calculation
) at com.vividsolutions.jump.workbench.ui.AttributePanel$2.mouseClicked(AttributePanel.java:196) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(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$200(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) Uwe Am 31.03.2013 14:11, schrieb Michaël Michaud: Hi Uwe, I made two improvements to try to solve the extent calculation problem (see r3439). Note : I don't know if you still have the WKB 0 bug. Add a VACUMM ANALYZE theNewTable after creation of a new table why ? It seems that the index creation is not enough to use ST_Estimated_Extent just after the table creation Test if the geometry column we want to use is indexed with a spatial index to determine if ST_Estimated_Extent or ST_Extent must be used. (it was quite difficult to know if a column is spatially indexed). Please try extensively, Michaël Hi, OK, I see, There are 2 methods to get the envelope in the code : ST_Estimated_Extent (fast, not precise, based on index) ST_Extent (slow, precise) Currently, we switch on second method if first one throws an exception (don't know in which circumstances exactly) I can see if I can add a test on spatial index existence and switch also to second method if there is no spatial index. Michaël Hi Jukka, Bingo!!! That was the 100 000 000,- euro idea! create index on t_line_invis using gist ( geom ); Now I see the geometries in openjump. But I see a problem with small tables creating without indices. What can we do with this? Uwe Am 28.03.2013 08:25, schrieb Rahkonen Jukka: Hi Uwe, Try to add spatial index to your test tables and see what happens then. OpenJUMP is doing query as SELECT ST_AsBinary(ST_Estimated_Extent) It is fast and I think the right way to do it in OpenJUMP but I do not believe that it can work work without spatial index. http://postgis.refractions.net/documentation/manual-1.4/ST_Estimated_Extent.html -Jukka- Lähettäjä: Uwe Dalluege [uwe.dallu...@hcu-hamburg.de] Lähetetty: 28. maaliskuuta 2013 8:29 Vastaanottaja: OpenJump develop and use Cc: Michaël Michaud Aihe: Re: [JPP-Devel] Unknown WKB type 0 and change coord_dimension Hi Michaël, I see it is not so easy to find this bug. I will make some other tests and let you know. But have you tried my test I have posted at 26.03.2013 (PostGIS Layer invisible; Zoom To Full Extent)? ... I have a problem with Zoom To Full Extent with the new PostGIS reader! Using PostgreSQL 9.2.1 with PostGIS 2.0. I created two tables with SQL. This table (t_line) works fine: drop table if exists t_line; CREATE TABLE t_line ( lnr integer, geom geometry ( LINESTRING, 0 ) ); INSERT INTO t_line VALUES ( 1, ST_GeometryFromText ( 'LINESTRING ( 200.0 200.0, 250.0 230.0, 210.0 250.0 )', 0 ) ); INSERT INTO t_line VALUES ( 2, ST_GeometryFromText ( 'LINESTRING ( 100.0 100.0, 150.0 130.0, 110.0
Re: [JPP-Devel] SaveToPostGISDataSource and eclipse
Hi Ede, thank you for the hint. Now it works. Uwe Am 27.03.2013 18:42, schrieb edgar.sol...@web.de: On 27.03.2013 18:38, Michaël Michaud wrote: Hi Uwe, eclipse compiles without errors and I have not deleted SaveToPostGISDataSource.java but I could not tell eclipse to use it. Must I configure something in eclipse that the Save Dataset As... shows me the PostGIS-Option? Because the driver is added by the defaults-plugin.xml. This resource file is recognized in the distributed package, but eclipse probably does not now where it is (in scripts folder). I'm not familiar enough with eclipse to tell more. Hope the hint will help you, I'll try to help more later if needed. this is described in the wiki https://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=How_to_run_OpenJUMP_in_Eclipse ..ede -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Unknown WKB type 0 and change coord_dimension
Hi Michaël, I see it is not so easy to find this bug. I will make some other tests and let you know. But have you tried my test I have posted at 26.03.2013 (PostGIS Layer invisible; Zoom To Full Extent)? ... I have a problem with Zoom To Full Extent with the new PostGIS reader! Using PostgreSQL 9.2.1 with PostGIS 2.0. I created two tables with SQL. This table (t_line) works fine: drop table if exists t_line; CREATE TABLE t_line ( lnr integer, geom geometry ( LINESTRING, 0 ) ); INSERT INTO t_line VALUES ( 1, ST_GeometryFromText ( 'LINESTRING ( 200.0 200.0, 250.0 230.0, 210.0 250.0 )', 0 ) ); INSERT INTO t_line VALUES ( 2, ST_GeometryFromText ( 'LINESTRING ( 100.0 100.0, 150.0 130.0, 110.0 150.0 )', 0 ) ); SELECT * FROM t_line; This table (t_line_invis) is invisible after Zoom To Full Extent: drop table if exists t_line_invis; CREATE TABLE t_line_invis ( lnr integer, geom geometry ( LINESTRING, 0 ) ); INSERT INTO t_line_invis VALUES ( 1, ST_GeometryFromText ( 'LINESTRING ( 2000.0 2000.0, 2500.0 2300.0, 2100.0 2500.0 )', 0 ) ); INSERT INTO t_line_invis VALUES ( 2, ST_GeometryFromText ( 'LINESTRING ( 1000.0 1000.0, 1500.0 1300.0, 1100.0 1500.0 )', 0 ) ); SELECT * FROM t_line_invis; ... Uwe Am 27.03.2013 19:36, schrieb Michaël Michaud: Hi, I can't see the WKB type 0 problem in the above sequence. Is it solved or is it repeatable with another sequence. No, I do not tested it with r3404+ but I done the modification inside the source code. Now I test r3412. Do you made the modification in r3412? I see that the coord_dimension has changed from 2 to 3: 1. I open my project GeoCity with a .jml layer Wohngebiet. Did you change the dataset ? (I used Gebaeudeprivat instead) 2. Saving this jml-layer to PostGIS. 3. Close OpenJUMP (important)! 4. Start OJ again and open the table Wohngebiet in PostGIS 5. No Such Element Exception and I see no geometries I could not reproduce this today, but I have seen that before. I have already tried to find a solution but it's a bit tricky. I think we will have to live with it some time... 6. Zoom To Full Extent and I see the geometries. As I told you, full extent of a database layer can contains too many features for OpenJUMP, and I think it is more safe not to do it automatically after the first import. If it is not down, the layer may be empty (probably related to the No such element exception though) 7. Now I load the table again and there is no more the error No Such Element Exception. And after the first Zoom to extent, the driver extracts data in a zone where there IS data. 8. Close OJ. 9. Start OJ and load the table Wohngebiet. 10. The error No Such Element Exception appears. 11. Set srid to 31467 to the layer Wohngebiet. 12. Save the PostGIS layer Wohngebiet under a new name wg31467. 13. The coord_dimension of wg31467 is not 2 but 3! According to my tests and to the code the geometry coord dimension should be 2, but there may be strange behaviour as the code tests a few geometries and if it finds a single z, it save as a GeometryZ, otherwise it should save as Geometry. Is it possible that you edited a z on a geometry ? 14. Load the table wg31467 and there are no geometries! No errors and no geometries. Cannot reproduce that. Is it possible that you have moved and that your windows do not intersects data anymore ? Michaël I hope you can reproduce this. Have a nice day Uwe -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
Re: [JPP-Devel] PostGIS Layer invisible; Zoom To Full Extent
Hi Michaël, Am 28.03.2013 08:08, schrieb Michaël Michaud: Hi, Are you using the RunDatastoreQuery PlugIn ? No, I created the tables with pgAdminIII. I cannot see any difference between both tables which work the same way on my side. I even don't need to do full extent which is done automatically if this is the first layer in my project. On the other side, there maybe a difference with AddDatastoreLayer, because the small geometries are in the default windows (envelope of the view when OpenJUMP is opened), while large geometries are not. Please try it with a small window (459, 346). If I expand the project-window (1699, 1031) after starting OJ (before loading the table) I see one linestring. Michaël Uwe t_line and t_line_invis : Hi, I have a problem with Zoom To Full Extent with the new PostGIS reader! Using PostgreSQL 9.2.1 with PostGIS 2.0. I created two tables with SQL. This table (t_line) works fine: drop table if exists t_line; CREATE TABLE t_line ( lnr integer, geom geometry ( LINESTRING, 0 ) ); INSERT INTO t_line VALUES ( 1, ST_GeometryFromText ( 'LINESTRING ( 200.0 200.0, 250.0 230.0, 210.0 250.0 )', 0 ) ); INSERT INTO t_line VALUES ( 2, ST_GeometryFromText ( 'LINESTRING ( 100.0 100.0, 150.0 130.0, 110.0 150.0 )', 0 ) ); SELECT * FROM t_line; This table (t_line_invis) is invisible after Zoom To Full Extent: drop table if exists t_line_invis; CREATE TABLE t_line_invis ( lnr integer, geom geometry ( LINESTRING, 0 ) ); INSERT INTO t_line_invis VALUES ( 1, ST_GeometryFromText ( 'LINESTRING ( 2000.0 2000.0, 2500.0 2300.0, 2100.0 2500.0 )', 0 ) ); INSERT INTO t_line_invis VALUES ( 2, ST_GeometryFromText ( 'LINESTRING ( 1000.0 1000.0, 1500.0 1300.0, 1100.0 1500.0 )', 0 ) ); SELECT * FROM t_line_invis; Uwe -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13.http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Unknown WKB type 0 and change coord_dimension
Hi Jukka, Bingo!!! That was the 100 000 000,- euro idea! create index on t_line_invis using gist ( geom ); Now I see the geometries in openjump. But I see a problem with small tables creating without indices. What can we do with this? Uwe Am 28.03.2013 08:25, schrieb Rahkonen Jukka: Hi Uwe, Try to add spatial index to your test tables and see what happens then. OpenJUMP is doing query as SELECT ST_AsBinary(ST_Estimated_Extent) It is fast and I think the right way to do it in OpenJUMP but I do not believe that it can work work without spatial index. http://postgis.refractions.net/documentation/manual-1.4/ST_Estimated_Extent.html -Jukka- Lähettäjä: Uwe Dalluege [uwe.dallu...@hcu-hamburg.de] Lähetetty: 28. maaliskuuta 2013 8:29 Vastaanottaja: OpenJump develop and use Cc: Michaël Michaud Aihe: Re: [JPP-Devel] Unknown WKB type 0 and change coord_dimension Hi Michaël, I see it is not so easy to find this bug. I will make some other tests and let you know. But have you tried my test I have posted at 26.03.2013 (PostGIS Layer invisible; Zoom To Full Extent)? ... I have a problem with Zoom To Full Extent with the new PostGIS reader! Using PostgreSQL 9.2.1 with PostGIS 2.0. I created two tables with SQL. This table (t_line) works fine: drop table if exists t_line; CREATE TABLE t_line ( lnr integer, geom geometry ( LINESTRING, 0 ) ); INSERT INTO t_line VALUES ( 1, ST_GeometryFromText ( 'LINESTRING ( 200.0 200.0, 250.0 230.0, 210.0 250.0 )', 0 ) ); INSERT INTO t_line VALUES ( 2, ST_GeometryFromText ( 'LINESTRING ( 100.0 100.0, 150.0 130.0, 110.0 150.0 )', 0 ) ); SELECT * FROM t_line; This table (t_line_invis) is invisible after Zoom To Full Extent: drop table if exists t_line_invis; CREATE TABLE t_line_invis ( lnr integer, geom geometry ( LINESTRING, 0 ) ); INSERT INTO t_line_invis VALUES ( 1, ST_GeometryFromText ( 'LINESTRING ( 2000.0 2000.0, 2500.0 2300.0, 2100.0 2500.0 )', 0 ) ); INSERT INTO t_line_invis VALUES ( 2, ST_GeometryFromText ( 'LINESTRING ( 1000.0 1000.0, 1500.0 1300.0, 1100.0 1500.0 )', 0 ) ); SELECT * FROM t_line_invis; ... Uwe Am 27.03.2013 19:36, schrieb Michaël Michaud: Hi, I can't see the WKB type 0 problem in the above sequence. Is it solved or is it repeatable with another sequence. No, I do not tested it with r3404+ but I done the modification inside the source code. Now I test r3412. Do you made the modification in r3412? I see that the coord_dimension has changed from 2 to 3: 1. I open my project GeoCity with a .jml layer Wohngebiet. Did you change the dataset ? (I used Gebaeudeprivat instead) 2. Saving this jml-layer to PostGIS. 3. Close OpenJUMP (important)! 4. Start OJ again and open the table Wohngebiet in PostGIS 5. No Such Element Exception and I see no geometries I could not reproduce this today, but I have seen that before. I have already tried to find a solution but it's a bit tricky. I think we will have to live with it some time... 6. Zoom To Full Extent and I see the geometries. As I told you, full extent of a database layer can contains too many features for OpenJUMP, and I think it is more safe not to do it automatically after the first import. If it is not down, the layer may be empty (probably related to the No such element exception though) 7. Now I load the table again and there is no more the error No Such Element Exception. And after the first Zoom to extent, the driver extracts data in a zone where there IS data. 8. Close OJ. 9. Start OJ and load the table Wohngebiet. 10. The error No Such Element Exception appears. 11. Set srid to 31467 to the layer Wohngebiet. 12. Save the PostGIS layer Wohngebiet under a new name wg31467. 13. The coord_dimension of wg31467 is not 2 but 3! According to my tests and to the code the geometry coord dimension should be 2, but there may be strange behaviour as the code tests a few geometries and if it finds a single z, it save as a GeometryZ, otherwise it should save as Geometry. Is it possible that you edited a z on a geometry ? 14. Load the table wg31467 and there are no geometries! No errors and no geometries. Cannot reproduce that. Is it possible that you have moved and that your windows do not intersects data anymore ? Michaël I hope you can reproduce this. Have a nice day Uwe -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] OJ 3416 Two compiler errors (Parser.java and ConnectionManagerToolboxPlugIn)
Hi, from http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/?pathrev=3416 I downloaded lib/ and src/ After unpack these files to lib and scr and try to make an eclipse-project from the source I got two errors: 1. In Parser.java line 316 The method createLSSerializer() is undefined for the type DOMImplementationLS Parser.java /OJ16_3416eclipse/src/com/vividsolutions/wmsline 316Java Problem 2. ConnectionManagerToolboxPlugIn.java line 43: Comparing identical expressions ConnectionManagerToolboxPlugIn.java /OJ16_3416eclipse/src/com/vividsolutions/jump/workbench/ui/plugin/datastore line 43 Java Problem The second error is clear but the first one not. Who can help? Regards Uwe -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] OJ 3416 Two compiler errors (Parser.java and ConnectionManagerToolboxPlugIn)
This is a fresh test-project. Only the lib and the src directory from http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/?pathrev=3416 Uwe Am 28.03.2013 14:22, schrieb edgar.sol...@web.de: On 28.03.2013 14:02, Uwe Dalluege wrote: After unpack these files to lib and scr and try to make an eclipse-project from the source I got two errors: 1. In Parser.java line 316 The method createLSSerializer() is undefined for the type DOMImplementationLS Parser.java /OJ16_3416eclipse/src/com/vividsolutions/wms line 316Java Problem looks like you have bogus xml jars in your path. is this a fresh project? if not, did you clean out the old libs and added only the new ones to buildpath? ..ede -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] OJ 3416 Two compiler errors (Parser.java and ConnectionManagerToolboxPlugIn)
Ok, I will test it at home at another computer. Have a nice weekend. Uwe Am 28.03.2013 14:44, schrieb edgar.sol...@web.de: just did as you said. 1. create a fresh java project 2. extract lib/src downloads from http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/src/?view=tarpathrev=3416 http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/lib/?view=tarpathrev=3416 into the appropriate folders 3. add all jars in lib/ to buildpath 4. compiles fine runs ..ede On 28.03.2013 14:33, edgar.sol...@web.de wrote: check if you have other versions of 'xercesImpl.jar' on your machine in general. probably under Programs/Java or somewhere else. make sure that only this on of your downloaded checkout is used in buildpath. ..ede On 28.03.2013 14:29, Uwe Dalluege wrote: This is a fresh test-project. Only the lib and the src directory from http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/core/trunk/?pathrev=3416 Uwe Am 28.03.2013 14:22, schrieb edgar.sol...@web.de: On 28.03.2013 14:02, Uwe Dalluege wrote: After unpack these files to lib and scr and try to make an eclipse-project from the source I got two errors: 1. In Parser.java line 316 The method createLSSerializer() is undefined for the type DOMImplementationLSParser.java /OJ16_3416eclipse/src/com/vividsolutions/wmsline 316Java Problem looks like you have bogus xml jars in your path. is this a fresh project? if not, did you clean out the old libs and added only the new ones to buildpath? ..ede -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Unknown WKB type 0 and change coord_dimension
Good morning Michaël, Am 26.03.2013 23:24, schrieb Michaël Michaud: Hi Uwe, sorry, the new code couses also this error. Did you test it with r3404+ I ask because when I wrote the mail I had NOT done the modification. (I asked if you could do it) Now, I comitted the modification (r3404). No, I do not tested it with r3404+ but I done the modification inside the source code. Now I test r3412. Do you made the modification in r3412? I see that the coord_dimension has changed from 2 to 3: 1. I open my project GeoCity with a .jml layer Wohngebiet. 2. Saving this jml-layer to PostGIS. 3. Close OpenJUMP (important)! 4. Start OJ again and open the table Wohngebiet in PostGIS 5. No Such Element Exception and I see no geometries 6. Zoom To Full Extent and I see the geometries. 7. Now I load the table again and there is no more the error No Such Element Exception. 8. Close OJ. 9. Start OJ and load the table Wohngebiet. 10. The error No Such Element Exception appears. 11. Set srid to 31467 to the layer Wohngebiet. 12. Save the PostGIS layer Wohngebiet under a new name wg31467. 13. The coord_dimension of wg31467 is not 2 but 3! 14. Load the table wg31467 and there are no geometries! No errors and no geometries. I hope you can reproduce this. Have a nice day Uwe -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] SaveToPostGISDataSource and eclipse
Hi Michaël, eclipse compiles without errors and I have not deleted SaveToPostGISDataSource.java but I could not tell eclipse to use it. Must I configure something in eclipse that the Save Dataset As... shows me the PostGIS-Option? Am 26.03.2013 23:24, schrieb Michaël Michaud: Hi Uwe, ... (By the way, which are the classes to write the table? Save Dataset AS... does not show the PostGIS option :-( I have to delete some classes with compiler-errors to run OJ inside eclipse. Maybe I deleted too much classes?) If you delete useful files, you will get plenty of errors in red. You can check class org.openjump.core.ui.plugin.datastore.postgis.SaveToPostGISDataSource ... Uwe -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] PostGIS plugin
Hi Michaël, thank you for asking. I like to change my lessons and my tutorial to the new OpenJUMP CORE because the new PostGIS handling of reading and writing is much better than the old PlugIn! That's why I am testing the new PostGIS features because my lessons with 30 students starts next week and I like to show the students that OpenJUMP is a very good program ;-) I like to work with the latest nightbuild of OJ-CORE. Thank you for fixing the little problems I have with uppercase/lowercase names and project reading/writing and so on I see a last problem with the srid value (see my mail PostGIS driver: Wrong SRID) because it is very important that OpenJUMP do not change the srid value and destroy existing tables by saving the wrong srid value! (I think my title of the mail PostGIS driver... was wrong; I do not mean the old PlugIn, I mean the new CORE features of PostGIS). Regards Uwe Am 25.03.2013 22:51, schrieb Michaël Michaud: Hi, I have not used OpenJUMP for editing PostGIS tables myself. Is it so that we have three kind of PostGIS layers: 1) Dynamic layers (read only) 2) Query layers (read only) 3) Writable layers Not sure we can say writable layer, but at least, 3) can write a layer to postgis Is the old PostGIS layer an alternative for 3) Old Postgis Layer can do 2 and 3, but it was mainly useful for 3 because 2 has been available in OJ for a long time. and does the new one handle all the three cases nowadays? I tried to include in the new plugin all the capabilities of the old one and a bit more. If the old plugin is not better in any way it would be kind for the users to remove it but as I said I am not a specialist. My feeling, but I'd like to have Uwe's opinion because he contributed to the old plugin and wrote an excellent documentation on how to use OpenJUMP with PostGIS. Thanks for your feedback, Michaël -Jukka- Michaël Michaud wrote: Hi Uwe, Jukka, PostGIS users, My question is about the (old) PostGIS plugin. It is still included in the PLUS version. However, my goal was to replace it by the newly integrated plugins. If you see any reason to keep the old PostGIS plugin, no problem. If there is no more reason to keep it because all it can do can also be done without it, I remove it. Michaël -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel