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

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

2015-01-09 Thread Rahkonen Jukka (MML)
80.26974362042 OpenJUMP: -4.307000160217285 2775.27587890625 540.421572794561 580.2697436204171 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 &

[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 w

[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.(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: ana

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) mailto: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 be

[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

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

2015-02-03 Thread Rahkonen Jukka (MML)
ile). > Will correct 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: >> >> >> >>

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

2015-02-03 Thread Rahkonen Jukka (MML)
aven 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: &

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 noda

[JPP-Devel] Error with opening KML file

2015-03-04 Thread Rahkonen Jukka (MML)
Hi, I tried to open a KML file with couple of weeks old OJ Plus nightly build but faced a NoSuchMethodError. I noticed that OJ can not open directly .kmz file but I had either to rename it to .zip or then unzip the .kml file out of the archive. As far as I know kmz is nothing more than zipped

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

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 featu

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 that

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

2015-03-16 Thread Rahkonen Jukka (MML)
-> L -> BOOLEAN The only data types that I've sometimes missed 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 compatib

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

2015-03-17 Thread Rahkonen Jukka (MML)
someone think this can 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_tes

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

2015-03-17 Thread Rahkonen Jukka (MML)
w be read back as longs. Let me now if someone think this can 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 ogrin

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

2015-03-17 Thread Rahkonen Jukka (MML)
ns cached and reused, or just 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: [J

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

2015-03-17 Thread Rahkonen Jukka (MML)
t; Larry Becker. I think it is quite useful as it makes possible to preserve the schema of shapefiles created outside OpenJUMP. Michaël Le 17/03/2015 14:08, Rahkonen Jukka (MML) a écrit : Hi, Please stop this investigation line, there is a bug but in another place. I was testing by saving new

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

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

[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 p

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

2015-03-18 Thread Rahkonen Jukka (MML)
.devel/39851 -Jukka- Lähettäjä: 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 loo

[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-19 Thread Rahkonen Jukka (MML)
n OJ or in a database). A few years ago, I added > the isNull > function 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 OpenJU

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 a

Re: [JPP-Devel] fixing kml

2015-03-22 Thread Rahkonen Jukka (MML)
haud wrote: 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 w

[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, 564

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 wit

[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 s

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

2015-03-27 Thread Rahkonen Jukka (MML)
d to define 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) mailto:jukka.rahko...@maanmittauslaitos.fi>>: Hi, I have a pol

Re: [JPP-Devel] Tooltip again

2015-03-30 Thread Rahkonen Jukka (MML)
Hi, Snapshots do not build, see http://sourceforge.net/projects/jump-pilot/files/OpenJUMP_snapshots/OpenJUMP-20150331-r4362.log/download -Jukka Rahkonen- Giuseppe Aruta wrote: Hi all, I made an upgrade to OpenJUMP NB, about tooltips - now tooltips are configurable via "Configure tooltips" opti

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 requir

Re: [JPP-Devel] Network properties

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

[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)
s use case Michaël 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 close

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 sup

[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: 2015-12-03T00:00:00.000+0200 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? Now it looks that the system

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 linestr

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

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 c

Re: [JPP-Devel] Draw a closed LineString

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

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

Re: [JPP-Devel] Draw a closed LineString

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

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

[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 wit

[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 followi

Re: [JPP-Devel] Maven release build fails

2015-04-22 Thread Rahkonen Jukka (MML)
urrent OpenJUMP installation directory. That way, every time 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 (MM

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

2015-04-22 Thread Rahkonen Jukka (MML)
Hi, The SQLite/Spatialite/GeoPackage driver of the DB Query Plugin is reading data from a column that is recognized as a DATE with this code that comes from http://sourceforge.net/p/jumpdbqplugin/code/ci/default/tree/src/main/java/org/freevoice/jumpdbqueryextension/spatialite/JumpSpatialiteDbQue

[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 add

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 http://sourceforge.net/projects/jump-pilot/files/

[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 mod

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 data

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

2015-05-06 Thread Rahkonen Jukka (MML)
esponsible for providing a common interface to the database. 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,

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: Hi

Re: [JPP-Devel] Sextante modeler does work

2015-05-07 Thread Rahkonen Jukka (MML)
o a comparison). So even models configured with GvSIG are read, This can be a good news for people who use both software. 2015-05-06 15:21 GMT+02:00 Stefan Steiniger mailto:sst...@geo.uzh.ch>>: nice! thanks for trying (hard) and reporting! Am 06.05.15 um 06:15 schrieb Rahkonen Jukka (MM

[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)

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 s

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] 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 mes

Re: [JPP-Devel] SetAttributes extension

2015-05-10 Thread Rahkonen Jukka (MML)
a Rahkonen- ____ 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 fe

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Rahkonen Jukka (MML)
quot; (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) a écrit :

Re: [JPP-Devel] SetAttributes extension

2015-05-11 Thread Rahkonen Jukka (MML)
t makes the plugin more or less permissive 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 config

Re: [JPP-Devel] SetAttributes extension

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

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

[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 pl

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. Firs

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, Rahk

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

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

[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 guess

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

2015-05-21 Thread Rahkonen Jukka (MML)
LineWidth(width); } wc.layerViewPanel.repaint(); Michaël Le 21/05/2015 11:58, Rahkonen Jukka (MML) a écrit : 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/workbe

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

2015-05-21 Thread Rahkonen Jukka (MML)
or the new layers. I think 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 w

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" mailto: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)" mailto:jukka.rah

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

2015-05-22 Thread Rahkonen Jukka (MML)
eed layer A to be editable or not, I may need 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

[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

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 D

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 l

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) on

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 as

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 stri

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 Ctrl-Shift-Clic

Re: [JPP-Devel] Bug on saving layer to SHP

2015-06-16 Thread Rahkonen Jukka (MML)
Hi, There is two times an attribute named "LENGTH" in the schema of "Misure". Attribute names in shapefile can only be 10 chararters long and OJ tries to take care that if a longer attribute must be truncated it will still get an unique name. So, cut attribute name to 8 characters, check if the

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

[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 cont

[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] 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 sim

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 widt

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. Go

[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 heade

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

2015-09-20 Thread Rahkonen Jukka (MML)
: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 > the Request and Response t

[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 anal

[JPP-Devel] Add some JTS functions before next release?

2015-11-19 Thread Rahkonen Jukka (MML)
Hi, There are some cool function in JTS https://sourceforge.net/p/jts-topo-suite/code/HEAD/tree/trunk/. I guess that some OpenJUMP functions in the geometry functions menu are the same JTS functions, like "Minimum Bounding Circle". I wonder how difficult it would be to add some more functions

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

[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 reader

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

2015-12-02 Thread Rahkonen Jukka (MML)
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

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 c

  1   2   3   4   5   6   >