Re: [JPP-Devel] Snapshot r4305 does not start

2015-02-03 Thread Rahkonen Jukka (MML)
into OJ-PLUS/lib . DBQuery already packages gt-oracle-spatial*.jar . no need to have two copies. we should think about how to deal with issues like that efficiently. 7. any specific reason for the old geotools version? so far so good.. ede On 03.02.2015 10:08, Rahkonen Jukka (MML) wrote: Hi

Re: [JPP-Devel] Snapshot r4305 does not start

2015-02-03 Thread Rahkonen Jukka (MML)
it Works fine in Mac and Linux. Nicolas On 3 February 2015 at 10:08, Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fi wrote: Hi, The error is: The data -=VIEW menu= is not legal for a JDOM comment: Comment data cannot start with a hyphen

[JPP-Devel] Snapshot r4305 does not start

2015-02-03 Thread Rahkonen Jukka (MML)
Hi, The error is: The data -=VIEW menu= is not legal for a JDOM comment: Comment data cannot start with a hyphen. -Jukka Rahkonen- -- Dive into the World of Parallel Programming. The Go Parallel

[JPP-Devel] About the new exotic datatypes

2015-01-16 Thread Rahkonen Jukka (MML)
Hi, Could it be possible at least to write the names of new datatypes with italic font or use red letters or something? Now it is all too easy to edit the schema to something that can't be saved into shapefiles and it is hard to remember what datatypes must be avoided. I wouldn't mind if they

[JPP-Devel] Latest snapshots do not start

2015-01-20 Thread Rahkonen Jukka (MML)
Hi, At least with r4273 and r4272 starting OJ stops into error: ava.lang.NullPointerException at javax.swing.ImageIcon.init(Unknown Source) at com.vividsolutions.jump.workbench.ui.images.IconLoader.icon(IconLoader.java:47)

[JPP-Devel] OpenJUMP and CAD tools

2015-01-20 Thread Rahkonen Jukka (MML)
Hi, I was searching tools for making some CAD alike drawing and studied what we have. I found: 1. Some of the Python tools in the standard delivery has CAD-alike features (rotated rectangle, Arc tool). 2. Peppe has made a CAD tools plugin that adds some CAD tools into the default

Re: [JPP-Devel] Few improvements on Raster menu

2015-01-22 Thread Rahkonen Jukka (MML)
Hi Peppe, It would be nice to “Layer statistics” into “Raster statistics” so that user could create statistics from selected area(s). I think that two metadata columns would be good to have in the result table: image source and geometry that was used for selecting the area as WKT. Use case:

Re: [JPP-Devel] Few improvements on Raster menu

2015-01-22 Thread Rahkonen Jukka (MML)
2015-01-22 10:39 GMT+01:00 Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fimailto:jukka.rahko...@maanmittauslaitos.fi: Hi Peppe, It would be nice to Layer statistics into Raster statistics so that user could create statistics from selected area(s). I think that two metadata columns would

Re: [JPP-Devel] OJ and rasters, again

2015-01-09 Thread Rahkonen Jukka (MML)
=STATISTICS_MEAN540.421572794561/MDI MDI key=STATISTICS_STDDEV580.2697436204171/MDI /Metadata /PAMRasterBand /PAMDataset On 08/01/2015 19:45 PM, Rahkonen Jukka (MML) wrote: Hi, I made a quick test and my feeling was pretty good. I have some questions for Alberto: - We have

Re: [JPP-Devel] OJ and rasters, again

2015-01-08 Thread Rahkonen Jukka (MML)
Hi, I made a quick test and my feeling was pretty good. I have some questions for Alberto: - We have an amazing number of raster readers. Can you recommend which driver behaves best, and do you think that we could drop out some others for making life easier for OpenJUMP users? - I noticed the

[JPP-Devel] New attribute types drive me crazy

2015-03-18 Thread Rahkonen Jukka (MML)
Hi, I was trying to generate some test data for finding out possible problems with shapefile output-input. - Auto Assign Attribute does not recognize new attribute types like Smallint at all - Replace Attribute Value cannot replace values in Smallint field - It is

Re: [JPP-Devel] Rich AttributeType

2015-03-22 Thread Rahkonen Jukka (MML)
Hi, This approach feels good. There are some troubles with editing the new schema. I think that good behaviour would be: - Boolean can always be switched into String - Not necessary to allow String-Boolean. Could be possible but should check that strings have only values which can be accepted

Re: [JPP-Devel] fixing kml

2015-03-22 Thread Rahkonen Jukka (MML)
: Hi, Hopefully, it is fixed in r 4350 Michaël Le 05/03/2015 22:49, Rahkonen Jukka (MML) a écrit : Hi, Links and examples in https://developers.google.com/kml/documentation/kml_tut should be valid, I guess. -Jukka Rahkonen- edgar.soldin wrote: can

Re: [JPP-Devel] Manage new attribute types BOOLEAN and LONG in jml and shp drivers

2015-03-16 Thread Rahkonen Jukka (MML)
are boolean and long. That's why I tried to map them in a way that can preserve type information when you save to dbf and back. For other data types, my main concern is just to make the drivers compatible with the UI. Michaël Le 15/03/2015 18:26, Rahkonen Jukka (MML) a écrit : Hi, I made a test

Re: [JPP-Devel] Manage new attribute types BOOLEAN and LONG in jml and shp drivers

2015-03-15 Thread Rahkonen Jukka (MML)
Hi, I made a test file with one point and one attribute of each selectable data type. However, OpenJUMP is not totally ready for handling all those. Saving the JML file as shapefile stops to the following error: java.lang.Exception: ShapefileWriter: unsupported AttributeType found in

Re: [JPP-Devel] Tooltip on layerNamePanel

2015-03-15 Thread Rahkonen Jukka (MML)
Hi, I would like to suggest to do some more planning. Now the same information, and a bit more, that the tooltip shows is also available also from right click, layer properties, but no for all type of layers, for example WMS layers. It might be good to improve the Layer properties view so

Re: [JPP-Devel] Manage new attribute types BOOLEAN and LONG in jml and shp drivers

2015-03-17 Thread Rahkonen Jukka (MML)
be a problem, Michaël Le 16/03/2015 10:39, Rahkonen Jukka (MML) a écrit : Hi Michaël, My test file can now be successfully saved and read to/from shape and JML. I made also a test with GDAL-dev versions with the created shapefile ogrinfo -so -al datatype_test.shp INFO: Open

Re: [JPP-Devel] Manage new attribute types BOOLEAN and LONG in jml and shp drivers

2015-03-17 Thread Rahkonen Jukka (MML)
it to me in jml format. Michaël Le 17/03/2015 11:34, Rahkonen Jukka (MML) a écrit : Hi, This must be some programming language magic, but even I can see in your code for r4341 and I on testing with corresponding snapshot: else if (maxlength = 9) fields[f] = new DbfFieldDef(columnName, 'N', 9, 0

Re: [JPP-Devel] Manage new attribute types BOOLEAN and LONG in jml and shp drivers

2015-03-17 Thread Rahkonen Jukka (MML)
updating the data of dbf file but not headers of something else as funny. -Jukka- Lähettäjä: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi] Lähetetty: 17. maaliskuuta 2015 14:57 Vastaanottaja: jump-pilot-devel@lists.sourceforge.net Aihe: Re: [JPP-Devel] Manage new attribute types

[JPP-Devel] Allow NULLs in Boolean attributes?

2015-03-19 Thread Rahkonen Jukka (MML)
Hi Michael, Have you been thinking if OpenJUMP should support NULL as a third option in Boolean attributes? Right now it seems to partly support NULLs, partly not. - Create a new feature, do not edit attributes, save - Boolean attributes are saved as NULLs but user probably believes

Re: [JPP-Devel] Allow NULLs in Boolean attributes?

2015-03-20 Thread Rahkonen Jukka (MML)
in the Simple Query Tool to make some queries just possible. Michaël Le 19/03/2015 11:00, Rahkonen Jukka (MML) a écrit : Hi Michael, Have you been thinking if OpenJUMP should support NULL as a third option in Boolean attributes? Right now it seems to partly support NULLs, partly not. -Create

Re: [JPP-Devel] fixing kml

2015-03-05 Thread Rahkonen Jukka (MML)
Hi, Links and examples in https://developers.google.com/kml/documentation/kml_tut should be valid, I guess. -Jukka Rahkonen- edgar.soldin wrote: can somebody please provide me with valid kml, kmz files to fix support in OJ? ..ede

[JPP-Devel] Topology errors in simplify polygon coverage

2015-03-24 Thread Rahkonen Jukka (MML)
Hi, I wonder what is is causing these errors and how to get rid of those when trying to generalize a polygon layer. Source data is passing all the QA tests. com.vividsolutions.jts.geom.TopologyException: found non-noded intersection between LINESTRING ( 564808.014008 7321057.01999,

Re: [JPP-Devel] Tooltip again

2015-03-25 Thread Rahkonen Jukka (MML)
Hi, I think that I agree with Michaël. I use frequently the tooltip for checking the feature count on vector layers. From the new info items the source path would also be frequently interesting. For the image layers source path is good and for WMS layers the url. Url should rather be shown

[JPP-Devel] How to add vertices for making adjacent polygons to suit?

2015-03-26 Thread Rahkonen Jukka (MML)
Hi, I have a polygon layer where the common borders do not always have exactly same vertices. I try to show the case as ASCII: A:---x---x---x--x B:---x---x---x--x Do we have to tool that can add nodes to polygon boundaries so that after the operation both A and B would have 5

Re: [JPP-Devel] Network properties

2015-03-31 Thread 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

Re: [JPP-Devel] Network properties

2015-03-31 Thread Rahkonen Jukka (MML)
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

[JPP-Devel] Layer tooltip control missing from r4367

2015-04-01 Thread Rahkonen Jukka (MML)
Hi, I can't see the tooltip control tab in the Options dialogue in shapshot r4367 on Windows. I can see the LAYER_TOOLTIPS in the workbench-state.xml after I have closed the program. It has value false and it seems to mean the enhanced tooltips are used. Editing the value to true brings the

Re: [JPP-Devel] How to add vertices for making adjacent polygons to suit?

2015-04-01 Thread Rahkonen Jukka (MML)
Le 27/03/2015 13:17, Rahkonen Jukka (MML) a écrit : Hi, The Adjust polygon boundaries tool did help a lot even it could not resolve all the problems in my real world data. Perhaps I will find some time to find exact cases when it fails. Tool can do all that it promises. It closes the gaps

Re: [JPP-Devel] How to add vertices for making adjacent polygons to suit?

2015-03-27 Thread Rahkonen Jukka (MML)
common border between the polygons. A medium point between the two borders? Or the border of one of the polygon that should consider as the valid one? 2015-03-26 10:40 GMT+01:00 Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fimailto:jukka.rahko...@maanmittauslaitos.fi: Hi, I have

Re: [JPP-Devel] Questions about how OJ handle TIFF

2015-02-26 Thread Rahkonen Jukka (MML)
Hi, GDAL seems to handle nodata this way: In case of GeoTIFF read http://www.gdal.org/frmt_gtiff.html: GDAL stores band nodata value in the non standard TIFFTAG_GDAL_NODATA ASCII tag (code 42113) for files created with the default profile GDALGeoTIFF. Note that all bands must use the same

Re: [JPP-Devel] New attribute types drive me crazy

2015-03-18 Thread Rahkonen Jukka (MML)
: edgar.sol...@web.de edgar.sol...@web.de Lähetetty: 18. maaliskuuta 2015 17:53 Vastaanottaja: OpenJump develop and use Aihe: Re: [JPP-Devel] New attribute types drive me crazy On 18.03.2015 16:00, Rahkonen Jukka (MML) wrote: Hi, hihi.. would never have guessed to live to the day you loose your

Re: [JPP-Devel] Manage new attribute types BOOLEAN and LONG in jml and shp drivers

2015-03-17 Thread Rahkonen Jukka (MML)
drivers well, changing schema is a conscious choice. but anyway, how about warning on save that the column definitions have changed? but why the worries? i understand that this does not deviate from the standard or did i get wrong? ..ede On 17.03.2015 23:29, Rahkonen Jukka (MML) wrote: Hi

Re: [JPP-Devel] CRS handling (when reading/writing Shapefiles)?

2015-04-02 Thread Rahkonen Jukka (MML)
Hi, Johannes Kröger wrote: Hi! I sent this earlier but I guess unsubscribed sender's emails are silently dropped? This is not really important, I am just playing around and got curious. 1) I noticed that OpenJUMP will ignore the CRS of shapefiles that I open. Does it have no support

Re: [JPP-Devel] Draw a closed LineString

2015-04-08 Thread 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

Re: [JPP-Devel] Draw a closed LineString

2015-04-09 Thread Rahkonen Jukka (MML)
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

Re: [JPP-Devel] Draw a closed LineString

2015-04-08 Thread Rahkonen Jukka (MML)
Hi, Matthias Scholz wrote: Hi Uwe, yes there is a small trick, if we talk about the same problem. 1) go to Customize - Options - Snap/Grid - Snap to vertices and select the right snapping tolerance for your needs. 2) draw the draw the linestring 3) through the snap funktion you can easy

Re: [JPP-Devel] Draw a closed LineString

2015-04-09 Thread Rahkonen Jukka (MML)
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.fimailto:jukka.rahko...@maanmittauslaitos.fi: Hi

Re: [JPP-Devel] Draw a closed LineString

2015-04-09 Thread Rahkonen Jukka (MML)
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

Re: [JPP-Devel] Draw a closed LineString

2015-04-20 Thread Rahkonen Jukka (MML)
. 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.2015tel:09.04.2015 um 13:16 schrieb Rahkonen Jukka (MML): Hi, Found one more option: To draw a linestring, select it and use Right

[JPP-Devel] Maven release build fails

2015-04-22 Thread Rahkonen Jukka (MML)
Hi, I can build with the snapshot profile by following the instructions from http://ojwiki.soldin.de/index.php?title=Creating_an_OJ_release_version. However, when I tried the release command mvn package -P release -D version.number=1.5.1 -D version.release=4000 the build fails with the

Re: [JPP-Devel] VM out of memory error

2015-04-22 Thread Rahkonen Jukka (MML)
Hi, Best way to get as much memory as possible for OpenJUMP is to run it with 64-bit jre. You can find which jre version is in use through the Info menu. If it shows that 32-bit jre is in use edit the oj_windows.bat file and point it to 64-bit jre. Don't care about the version 1.5/1.6 hint, OJ

Re: [JPP-Devel] Maven release build fails

2015-04-22 Thread Rahkonen Jukka (MML)
I run my jar ant task, I can test the new jar in my current OpenJUMP installation. May be it will also suit your needs for Spatialite improvements. Let me know if you have any problem. Michaël Le 22/04/2015 18:30, Rahkonen Jukka (MML) a écrit : Hi, I can build with the snapshot profile

[JPP-Devel] Commit access to SVN

2015-04-22 Thread Rahkonen Jukka (MML)
Hi developers, I would like to ask if you could trust me enough for granting me a commit access to OpenJUMP SVN. For me it would be OK to generate patches and let others to merge them but Ede said that at least he rather wouldn't do that. I have managed to build a modified Spatialite plugin

[JPP-Devel] How to get new version inti SF Files section?

2015-04-29 Thread Rahkonen Jukka (MML)
Hi, I believe that I will get a new 1.4 version of the SpatiaLite-plugin tested next week and after that I would like to add it into https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/Database%20Plugins/SpatialLite_reader_plugin/ How does it happen? Who has enough rights for

Re: [JPP-Devel] Sextante tools and model builder..

2015-05-03 Thread Rahkonen Jukka (MML)
Hi, See the sextante and sextante-help directories in https://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/lib/plus/ -Jukka Rahkonen- Teva veluppillai wrote: Giuseppe Aruta, I found Sextante in the following version: Version 1.8.0 release rev.4164

[JPP-Devel] SpatiaLite plugin v.1.4 released

2015-05-04 Thread Rahkonen Jukka (MML)
Hi, I have packed a new version of the SpatiaLite plugin from OpenJUMP SVN rev.4415. The files can be downloaded from https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/Database%20Plugins/SpatialLite_reader_plugin/ Read the manual

[JPP-Devel] Sextante modeler does work

2015-05-06 Thread Rahkonen Jukka (MML)
Hi, I made some testing and managed to create a new process with the Sextante graphical modeler and run it with success. Necessary steps for me were: 1) Check and change it you want the folder where models are saved through Sextante settings -Models - Models folder. 2) Build the

Re: [JPP-Devel] DB Query Plugin, SpatiaLite, GPKG and DATE data type

2015-05-06 Thread Rahkonen Jukka (MML)
. In this case they should be converting the date string to a Java Timestamp object, but may be failing to do so. I'm travelling this week, but could take a look next week. Regards... lreeder On Wed, Apr 22, 2015 at 3:46 PM, Rahkonen Jukka (MML) jukka.rahko

Re: [JPP-Devel] 2 automatically generated layer(s) have not been saved yet.

2015-05-06 Thread 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

Re: [JPP-Devel] Sextante modeler does work

2015-05-07 Thread Rahkonen Jukka (MML)
Rahkonen Jukka (MML): Hi, I made some testing and managed to create a new process with the Sextante graphical modeler and run it with success. Necessary steps for me were: 1)Check and change it you want the folder where models are saved through Sextante settings –Models – Models folder. 2

Re: [JPP-Devel] Sextante Raster Image; Raster Layer Info; Coordinate out of bounds!

2015-05-08 Thread 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

Re: [JPP-Devel] Sextante Raster Image; Raster Layer Info; Coordinate out of bounds!

2015-05-08 Thread Rahkonen Jukka (MML)
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

Re: [JPP-Devel] Wrong attribute values after buffering

2015-05-06 Thread Rahkonen Jukka (MML)
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:

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Rahkonen Jukka (MML)
regarding the schema : - atomic=false (or no atomic attribute) : missing attributes are simply ignored - atomic=true : fails with a message if an attribute is missing I'll try to write a wiki page to explain how to write a configuration file Michaël Le 10/05/2015 19:25, Rahkonen Jukka (MML

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Rahkonen Jukka (MML)
, Rahkonen Jukka (MML) a écrit : Hi, I got it, this tool edits only layer named as layerName. I think that this tool will need a manual with good examples and also some improvements to the error messages but it will become a good tool and nice addition into OJ Plus. -Jukka Rahkonen

Re: [JPP-Devel] SetAttributes extension

2015-05-10 Thread Rahkonen Jukka (MML)
Hi, Feature feels useful and simple to use and configure. My first experiences: - I could not make the buttons which should update attribute Nom0 to work. I have that attribute in the table as String but the result is always No selected feature found in a matching editable layers - Error

Re: [JPP-Devel] SetAttributes extension

2015-05-10 Thread Rahkonen Jukka (MML)
- Rahkonen Jukka (MML) wrote: Hi, Feature feels useful and simple to use and configure. My first experiences: - I could not make the buttons which should update attribute Nom0 to work. I have that attribute in the table as String but the result is always No selected feature found in a matching

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Rahkonen Jukka (MML)
. There should be quality control for the bugs, unreliable ones are irritating :) -Jukka- Michaël Michaud wrote: Hi, You should be able to achieve this by omitting the value attribute. Michaël Le 11/05/2015 16:03, Rahkonen Jukka (MML) a écrit : Hi, Is there a way to make

[JPP-Devel] Classpath problem with sextante command line

2015-05-07 Thread Rahkonen Jukka (MML)
Hi, I can confirm that a problem with sextante command line and probably also with running old commands from the history is a classpath trouble. If I copy all the jar files from /lib/ext/sentante to /lib the command line starts to work. Sextante jars in /lib/ext do not work. How to test: 1)

[JPP-Devel] How to keep the project window responsible while plugin is open?

2015-05-18 Thread Rahkonen Jukka (MML)
Hi developers, What is that system called which allows to keep the plugin open and to jump between the plugin window and the map view without closing the plugin in between? The DB Query Plugin allows that but the SpatiaLite plugin must be closed before doing anything on the map. And when the

[JPP-Devel] Does Save dataset as ever check if file already exists?

2015-04-07 Thread Rahkonen Jukka (MML)
Hi, Based on some testing Save dataset as.. overwrites existing files without warnings. Do others agree that this happens, and that a warning might prevent bad things to happen sometimes? -Jukka Rahkonen- -- BPM Camp -

[JPP-Devel] JML and time precision and time zones

2015-04-07 Thread Rahkonen Jukka (MML)
Hi, Does OpenJUMP nowadays save date attributes always into JML in this format: property name=time2015-12-03T00:00:00.000+0200/property Are milliseconds and timezone always included? Where does OJ capture the time zone and are there any means for controlling what timezone is attached to data?

Re: [JPP-Devel] NullPointerException Change Raster Image Properties

2015-05-20 Thread Rahkonen Jukka (MML)
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.

Re: [JPP-Devel] Change in AttributeTab buttons

2015-05-17 Thread Rahkonen Jukka (MML)
Hi, System is still error prone because nothing in the attribute view indicates if the corresponding feature is selected or not. - Use the next row button: Line gets blue, feature gets selected, SetAttribute is updating the blue line - Click the next or any other row with mouse: Line gets blue,

Re: [JPP-Devel] Change in AttributeTab button

2015-05-17 Thread Rahkonen Jukka (MML)
Sorry, hit the Enter by accident. Hi, System is still error prone because nothing in the attribute view indicates if the corresponding feature is selected or not. - Use the next row button: Line gets blue, feature gets selected, SetAttribute is updating the blue line - Click the next or any

Re: [JPP-Devel] How to keep the project window responsible while plugin is open?

2015-05-20 Thread Rahkonen Jukka (MML)
Hi, Am I right that the spatialite dialog is set to modal somewhere in this code https://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/SpatialitePlugin/trunk/src/org/jam/openjump/spatialiteplugin/SpatialiteDialog.java? -Jukka- edgar.soldin wrote: On 18.05.2015 13:53, Rahkonen Jukka

Re: [JPP-Devel] How to keep the project window responsible while plugin is open?

2015-05-21 Thread Rahkonen Jukka (MML)
, the SpatialiteDialog uses the super keyword to inititialize the dialog with its parent constructor JDialog(Frame frame,String title,boolean modal) You can see that it is initialized with modal = true. Try to change it to false here, Hope that helps Michaël Le 20/05/2015 17:24, Rahkonen Jukka (MML

Re: [JPP-Devel] New WMS Layer legend plugin on OpenJUMP

2015-06-04 Thread Rahkonen Jukka (MML)
Hi, If you adapted GetStyle code are you going to add also this on into OpenJUMP: org.saig.jump.plugin.wms.ChangeWMSStyleDialogPlugIn.name=Change WMS style? -Jukka Rahkonen- Giuseppe Aruta wrote: Dear Jumpers, I added on OpenJUMP a new plugin that displays WMS layer(s) legend (if available)

Re: [JPP-Devel] New WMS Layer legend plugin on OpenJUMP

2015-06-08 Thread Rahkonen Jukka (MML)
Hi, GetLegendGraphics works now fine with our servers through https and basic authentication. Thanks -Jukka Rahkonen- Giuseppe Aruta wrote: Hi Ede, thanks for your help. Let us wait Jukka opinion/test to check the new reuse of WMSRequest with protected WMS servers. I implemented the dialog

Re: [JPP-Devel] New WMS Layer legend plugin on OpenJUMP

2015-06-04 Thread Rahkonen Jukka (MML)
Hi Peppe, Seems to work with Geoserver and it generates also a correct URL for Mapserver so it should work. However, there is some little issue with sites using basic authentication. I think that the plugin is sending the request without credentials or something like that. Note that the error

[JPP-Devel] FeatureInfo tool in the attribute window does not work

2015-06-18 Thread Rahkonen Jukka (MML)
Hi, Clicking a line with the info tool (i) in an attribute window gives an empty result. I made a test with a version from 8 months ago and with that the info tool works. Could this be a side effect of the recent work with synchronizing selections? -Jukka-

[JPP-Devel] Can't edit schema in new project window sometimes

2015-06-18 Thread Rahkonen Jukka (MML)
Hi, I came to a situation where I could not edit the schema of a layer that belonged to my second project window. Editings schemas of layer in my Project1 is still possible. I found that OJ on another computer showed the same issue but when I closed it and tried to reproduce the issue in a

[JPP-Devel] Don't we have a tool for selecting end/start points?

2015-06-22 Thread Rahkonen Jukka (MML)
Hi, I thought that there would be a tool for selecting endpoints and startpoints of geometries like we can select centroids but I could only find such tool from the Sextante toolbox under the Topology category. I am happy with the Sextante tool now once I found it but the task feels rather

Re: [JPP-Devel] WMS timeout

2015-06-11 Thread 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

Re: [JPP-Devel] SVN: [4495] plug-ins/SpatialitePlugin/trunk/src/org/jam/openjump/ spatialiteplugin

2015-06-16 Thread Rahkonen Jukka (MML)
Hi Ede, edgar.soldin wrote: hey Coding Jukka, Thanks for your comments. Ain't no coding yet, I rather copied, pasted, modified, and tried if it still compiles. some comments inline, nothing major though if (loadGisExtension()){ +

Re: [JPP-Devel] LayerView/AttributeTable selection synchronization

2015-06-16 Thread Rahkonen Jukka (MML)
Hi Michaël, Could it be that because of this change the Clear selection tool in the main toolbar does not work anymore? For testing - Draw a new feature - Use the Clear selection tool - Tool changes to grey but the feature is still highlighted Probably related to this - Do mouse-right click on

Re: [JPP-Devel] LayerView/AttributeTable selection synchronization

2015-06-14 Thread Rahkonen Jukka (MML)
Hi, But isn't that an expected behaviour? How else could you deselect only one feature from a big selection? At least it is not a new feature but the old OJ versions do the same. However, I see that project window and attribute window do not behave similarly. In project window

Re: [JPP-Devel] Tiny improvements to docs of ShapefileWriter.java

2015-05-29 Thread Rahkonen Jukka (MML)
Hi, Fixed in r4469. -Jukka Rahkonen- Johannes Kröger wrote: In http://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/src/com/vividsolutions/jump/io/ShapefileWriter.java Typo in L77 and L240: dimentionality should be dimensionality. There is also a TODO: The link referencing the DBF

[JPP-Devel] Button right-click in SetAttributes

2015-05-24 Thread Rahkonen Jukka (MML)
Hi, I thought already that Right click does not show me anything with r4463 even the comment of r4460 claims: Update SetAttributes extension to version 0.6 : right-click on the button now displays a rich text tooltip containing the button parameters. After a while I noticed that a long right

[JPP-Devel] How to change the default line width?

2015-05-21 Thread Rahkonen Jukka (MML)
Hi, Is there any other way to change the default line width than perhaps to edit the source file https://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/src/com/vividsolutions/jump/workbench/ui/renderer/style/BasicStyle.java, set the width on line 89 and make my own build? I would

Re: [JPP-Devel] How to change the default line width?

2015-05-21 Thread Rahkonen Jukka (MML)
that they come from some hardcoded list or formula. -Jukka Rahkonen- Lähettäjä: Rahkonen Jukka (MML) Lähetetty: 21. toukokuuta 2015 15:05 Vastaanottaja: jump-pilot-devel@lists.sourceforge.net Aihe: Re: [JPP-Devel] How to change the default line width? Hi, Thanks, I was getting closer by looking

Re: [JPP-Devel] How to keep the project window responsible while plugin is open?

2015-05-21 Thread Rahkonen Jukka (MML)
) -Jukka- Giuseppe Aruta wrote: Multi input dialog class Il giorno 21/mag/2015 20:26, Giuseppe Aruta giuseppe.ar...@gmail.commailto:giuseppe.ar...@gmail.com ha scritto: I wonder if Multi input class can be set to modal, too Il giorno 21/mag/2015 08:51, Rahkonen Jukka (MML) jukka.rahko

Re: [JPP-Devel] How to change the default line width?

2015-05-22 Thread Rahkonen Jukka (MML)
the orthophotography to be visible or not, I may need to display/hide names, or to hide every layer but one...) Such a tool could be flexible enough to make it possible to apply a pre-defined Style to any layer with a system of wildcard/regex. Michaël Le 21/05/2015 17:24, Rahkonen Jukka (MML) a écrit : Hi

Re: [JPP-Devel] Different line width for Colour Theming categories not working

2015-07-08 Thread Rahkonen Jukka (MML)
Hi, I agree that this is quite a degeneration. -Jukka Rahkonen- Stefan Steiniger wrote: uhm, that would be pretty bad for making maps :( stefan On 07-07-2015 14:06, Andrei Nacu wrote: Hi, I just noticed that you cannot set different line widths for

Re: [JPP-Devel] Source code.

2015-09-10 Thread Rahkonen Jukka (MML)
Hi, Relevant documentation is here http://ojwiki.soldin.de/index.php?title=Developing_with_OpenJUMP and trunk is here http://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/ or for svn checkout svn://svn.code.sf.net/p/jump-pilot/code/core/trunk Sextante is in plug-ins/SextantePlugIn.

[JPP-Devel] WFS plugin does not set Content-Type for GetFeature

2015-09-16 Thread Rahkonen Jukka (MML)
Hi, I can't read features from my WFS with the OJ WFS plugin. However, by using the Request and Response tags the result is OK. The difference seems to be that the real GetFeature request that should get data for me map is sent without the Content-Type header. Here is a full request with

Re: [JPP-Devel] WFS plugin does not set Content-Type for GetFeature

2015-09-20 Thread Rahkonen Jukka (MML)
etetty: 20. syyskuuta 2015 13:49 Vastaanottaja: OpenJump develop and use Aihe: Re: [JPP-Devel] WFS plugin does not set Content-Type for GetFeature On 16.09.2015 22:24, Rahkonen Jukka (MML) wrote: > Hi, > > I can't read features from my WFS with the OJ WFS plugin. However, by using

[JPP-Devel] Enhancing the Extract segments tool

2015-09-25 Thread Rahkonen Jukka (MML)
Hi, The extract segments tool makes good work with exploding polygons into segments but for further processing it would be nice to have some attributes in the segments: - ID of the source feature - Ordered numbers of segments With that information it would be possible to

Re: [JPP-Devel] CutFeatureTool

2015-12-08 Thread Rahkonen Jukka (MML)
ful to exclude pure GeometryCollections because MultiPolygon or MultiLineString and MultiPoint are "instanceof" GeometryCollection altough their class name is not GeometryCollection). Thanks for your watchfullness Michaël Le 07/12/2015 23:19, Rahkonen Jukka (MML) a écrit : Hi, Is it intention

Re: [JPP-Devel] How to debug Oracle data store?

2015-12-07 Thread Rahkonen Jukka (MML)
Hi Nicolas, Thanks for improving logging. I am testing with r4578 and I don’t get ORA errors. However, it will be very impractical or impossible to use our databases like the datastore is trying to do it now. 1. The first query is “select distinct owner, table_name from

Re: [JPP-Devel] Database Query Plugin - Oracle Spatial

2015-12-02 Thread Rahkonen Jukka (MML)
Hi, The DB Query plugin is perhaps the most robust and fastest client for Oracle Spatial but it is definitely read only and knowing the current developer team I would say that read/write Oracle driver won’t come. For sure it will not be based on DB Query because it is skipping all the metadata

Re: [JPP-Devel] Database Query Plugin - Oracle Spatial

2015-12-02 Thread Rahkonen Jukka (MML)
with not extremely much work. What is missing is someone to write the code. -Jukka- Lähettäjä: Rahkonen Jukka (MML) Lähetetty: 2. joulukuuta 2015 19:13 Vastaanottaja: jump-pilot-devel@lists.sourceforge.net Aihe: Re: Database Query Plugin - Oracle Spatial Hi, The DB Query plugin is perhaps the most robust

[JPP-Devel] Add GeoJSON reader from JTS 1.14

2015-12-02 Thread Rahkonen Jukka (MML)
Hi, I noticed that in JTS trunk there is code for reading GeoJSON: https://sourceforge.net/p/jts-topo-suite/code/HEAD/tree/trunk/jtsio/src/main/java/com/vividsolutions/jts/io/geojson/GeoJsonReader.java It would be great if next OJ version could be made to read GeoJSON and perhaps with JTS

Re: [JPP-Devel] Oracle Spatial Datastore WAS: Database Query Plugin - Oracle Spatial

2015-12-04 Thread Rahkonen Jukka (MML)
lugin-td5711015.html > > just send it again as the previous mail was miraculously considered SPAM. > > ..ede > > On 02.12.2015 18:12, Rahkonen Jukka (MML) wrote: >> Hi, >> >> >> >> The DB Query plugin is perhaps the most robust and fastest client fo

Re: [JPP-Devel] SVN: [4563] core/trunk/src/com/vividsolutions/jump/workbench/ui/images

2015-12-04 Thread Rahkonen Jukka (MML)
Hi, The tool has good features: - can split many polygons at the same time - splits also linestrings Something to study: - Splitting a polygon with hole through the hole creates odd geometries. The existing Split polygon with linestring toold does good job with those. - Splitting multipolygons

Re: [JPP-Devel] Database Query Plugin - Oracle Spatial

2015-12-04 Thread Rahkonen Jukka (MML)
e for jdk 1.4. However, I used jre 1.7 in all my trials. -Jukka- edgar soldin wrote: On 04.12.2015 14:16, Rahkonen Jukka (MML) wrote: > The error with recent snapshots affects also DB Query plugin. For example > with version r4555 (2015-11-22) DB Query can read Oracle 12c. I suppose that

[JPP-Devel] How to debug Oracle data store?

2015-12-04 Thread Rahkonen Jukka (MML)
Hi, I am getting ORA-01747 error when the Oracle data store is probably trying to read the list of spatial tables. I would like to know what happens and for that I should see the SQL what OpenJUMP is sending. How could I get that into log? I believe that we have some special issues because of

Re: [JPP-Devel] Database Query Plugin - Oracle Spatial

2015-12-04 Thread Rahkonen Jukka (MML)
> Maybe a case insensitive name like 'geom' would be better ? I would say that in PostgreSQL it could be forced to lower case. Force it to upper case if it will be possible to write into Oracle someday :) -Jukka- edgar soldin wrote: On 04.12.2015 16:16, Nicolas Ribot wrote: > ede: yes, I'm

Re: [JPP-Devel] Database Query Plugin - Oracle Spatial

2015-12-04 Thread Rahkonen Jukka (MML)
posted. Nicolas On 4 December 2015 at 14:16, Rahkonen Jukka (MML) <jukka.rahko...@maanmittauslaitos.fi<mailto:jukka.rahko...@maanmittauslaitos.fi>> wrote: Hi Nicolas and Ede, There may be something in Oracle Datastore plugin that does not work with new Oracle 12 c version. The

  1   2   3   4   5   >