Re: [JPP-Devel] Help To Accessing/Editing Attribute Tables
Hei Dan, you will need to work with FeatureCollections. To extend a layer (i.e. a FeatureCollection) by an attribute requires to create a new FeatureCollection/FeatureDataset with a different/extended FeatureSchema. Then all features need to be copied towards the new schema and the values set. We have a couple of API methods that help you here, i.e. look into the class org.openjump.core.apitools.FeatureCollectionTools.java and FeatureSchemaTools. If you would search then the openjump sources for the method copyFeatureSchema or copyFeature you should certainly find PlugIn classes/functions that modify attributes/tables. hope that helps stefan Dan Jones schrieb: Hello everyone! My name's Daniel Jones, and I'm totally new to programming for OpenJUMP. I'm working on a plugin that will automate the process of normalizing an attribute for a feature class, and haven't had any luck finding classes or methods that will allow me to access an attribute table, add a new column, and populate it with values derived from another column. I read the sample code on displaying all the values in an attribute table, but was wondering about how to then manipulate those values and plug them back into the table. Any help would be appreciated! Dan -- ___ 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] Thinking about a release at the end of July.
not sure. I can't make promises currently. I was planning to do a bit of OJ stuff in June and I would like to see i) Michaels CSV/txt plugin, some ii) Pirol grid creation tools, and iii) my recent raster-based developments included - i.e. stuff that I did based on the Sextante API (in particular converting images to vector grids). But with respect to what I have planned and accomplished the last 2 months, I am not sooo confident. I am also still unsure how to keep going with Sextantes Bindings... i.e. the problem is that we cannot cast between the classes transferred to OpenJUMP now (in a proper package path) and theirs if we want to use their libs/functions.. or is that possible? The point is that the Sextante Implementation is quite nice for the whole raster/vector processing thing, but a) it has a level of abstraction that we would not need for working with OpenJUMP only (so I selected only the raster classes so far to transfer them to OJ), and b) the bindings for OJ are not anymore available for download on the sextante page (if I remember correctly), since we should deliver those with OpenJUMP in future (a small issue here is also that Sextante is now distributed for Java 1.6 while we compile with 1.5). And believe me - sextante provides so much functions that we want to support it. just some thoughts, stefan Sunburned Surveyor wrote: I've accumulated a list of about 7 or 8 bug fixes I want to do for OpenJUMP. It looks like I may be able to make some time for this work in June and July. I was wondering if we might shoot for a release of OpenJUMP incorporating this work at the end of July. I've also done some work porting about 4 of my plug-ins from BizzJUMP to OpenJUMP, and I'd like to release them at the same time. (They will be separate plug-ins, and not part of the core.) If people are agreeable to this idea of a release at the end of July, I will throw up a wiki page on SourceForge where we can coordinate our progress on tasks for the release. Let me know what you think. The Sunburned Surveyor -- ___ 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] Running OpenJUMP in Eclipse
Hei, I tested exactly the line you gave: https://jump-pilot.svn.sourceforge.net/svnroot/jump-pilot/core/trunk and it works for me. Maybe a temporary downtime or some access problems on your side stefan Larry Becker schrieb: Siddharth, Have you tested the link (https://jump-pilot.svn.sourceforge.net/svnroot/jump-pilot/core/trunk) in a browser? If it works there, it *should* work in Eclipse. Larry On Mon, May 24, 2010 at 7:39 AM, siddharth raghuvanshi track009.siddha...@gmail.com mailto:track009.siddha...@gmail.com wrote: Hi Stefan Larry, I have installed subclipse in Eclipse, but when I am trying to add the following URL https://jump-pilot.svn.sourceforge.net/svnroot/jump-pilot/core/trunk to the New Repository Location in SVN Repository Tab in Eclipse, I am getting the following error: RA layer request failed svn: PROPFIND request failed on '/svnroot/jump-pilot/core/trunk' svn: PROPFIND of '/svnroot/jump-pilot/core/trunk': could not connect to server (https://jump-pilot.svn.sourceforge.net) Its because of this error, I am not able to import the file from the svn repository. Regards Siddharth -- ___ 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] Creating new plugin projects with svn
Well... I just copied what the Lat/Long guys did. i.e. the usual svn main folder structure of tags / branches / trunk and in trunk you put all your source code under /src/ I maybe would add then a /lib/ and a /doc/ folder (for the JgraphT and any documentation - there is a plugin doc template to download). I think thats all? cheers to Paris stefan Michaël Michaud schrieb: Hi Stefan, Sunburned and others, I have just started with the creation of new sub-projects in the svn plug-ins directory. I'm not an expert with svn and I try to do thinks simple and carefully. However, any recommendation from administrators or from svn-experts is welcome. Michaël -- ___ 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 -- ___ 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] Problem in making my own OpenJUMP built
Hei, i) the info.txt file is not really needed. But I attach the file I use. Another way would be to comment the section in the build.xml file that address copying of the info.txt i.e. the lines: !-- [sstein] eliminate absolute paths from manifest file -- replaceregexp file=${build.dir}/info.txt match=:\\ replace= flags=gs/ replaceregexp file=${build.dir}/info.txt match=:[^:;]*lib replace=: lib flags=gs/ replaceregexp file=${build.dir}/info.txt match=;[^:;]*lib replace= lib flags=gs/ !-- manifest=${build.dir}/info.txt -- ii) you probably are missing the javadoc generator program that should come with the Java Development Kit. However, the built still should be generated/compiled... look in /bin/ folder if there are several folders created. If you take all the stuff in this folder and zip it into one file (openjump.zip) and rename it to openjump.jar it may actually run. However, can you look into the /build/ folder if there are the two jar files? if so, you can just use those. If you study the build.xml you will also see where the javadoc is created (look for Creates the API documentation ). This part can be also commented out. And then you just run the build.xml again. stefan siddharth raghuvanshi schrieb: Hi, I have followed the given document https://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=How_to_make_your_own_OpenJUMP_built for making my own OpenJUMP built. But on running the build.xml file with ant, I am getting the following error: Buildfile: C:\Users\siddharth\workspace\openjump\etc\build.xml prepare: compile: jar: [replaceregexp] The following file is missing: 'C:\Users\siddharth\workspace\openjump\build\info.txt' [replaceregexp] The following file is missing: 'C:\Users\siddharth\workspace\openjump\build\info.txt' [replaceregexp] The following file is missing: 'C:\Users\siddharth\workspace\openjump\build\info.txt' [jar] Building jar: C:\Users\siddharth\workspace\openjump\build\openjump-workbench-1.3.1.jar [jar] Building jar: C:\Users\siddharth\workspace\openjump\build\openjump-api-1.3.1.jar javadocs: [javadoc] Generating Javadoc [javadoc] Javadoc execution BUILD FAILED C:\Users\siddharth\workspace\openjump\etc\build.xml:200: Javadoc failed: java.io.IOException: Cannot run program javadoc.exe: CreateProcess error=2, The system cannot find the file specified Total time: 8 seconds If anyone can help me in solving this problem, I will be highly thankful. Regards Siddharth -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel Manifest-Version: 1.0 Ant-Version: Apache Ant 1.6.5 Created-By: 1.5.0_08-b03 (Sun Microsystems Inc.) Sealed: false OpenJUMP-Version: 1.3.1 Build-Date: December 6 2009 Build-Time: 1856 Main-Class: com.vividsolutions.jump.workbench.JUMPWorkbench Class-Path: lib\jython.jar -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Running OpenJUMP in Eclipse
You install subclipse in Eclipse and the checkout the svn folder /core/trunk/ as a JAVA project in Eclipse. The full path is actually: https://jump-pilot.svn.sourceforge.net/svnroot/jump-pilot/core/trunk If you don't know what I am talking about then you would need to read a documentation on SVN (Subversion) and Subclipse. The other option is to i) download the zip file that contains the sourcecode, ii) create a new Java Project in Eclipse iii) unzip the file copy all files into the eclipse project - alternatively Eclipse has an import function which allows to import things from zip files (How to do that schould be described in the Eclipse documentation). hope that helps? stefan siddharth raghuvanshi schrieb: Hi, I am consulting https://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=FAQ_OpenJump_and_Eclipse for How to run OpenJUMP in Eclipse, I was not able to understand the meaning of the following line: If it is to do development, you should use SVN (i.e. the Subclipse \PlugIn) to get the \OpenJUMP sources on your machine, and then import them into Eclipse. Please clarify this line. Regards Siddharth -- ___ 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] Shapefile field length
I am not an expert - but if just one other person agrees (Michael?) then sure... Larry Becker wrote: If there is no further discussion, shall I go ahead and change DBF integers from 16 to 11 bytes? Larry On Wed, May 19, 2010 at 4:26 PM, Larry Becker becker.la...@gmail.com mailto:becker.la...@gmail.com wrote: Hi Michaël, I agree that 24,15 for doubles is insufficient to prevent all overflows. In fact I just did an experiment and 33,16 is also too small. I think it should be 34, 16. Regarding compatibility of numeric size, I found conflicting references. Most drivers are probably reasonably tolerant. Larry 2010/5/19 Michaël Michaud michael.mich...@free.fr mailto:michael.mich...@free.fr Hi, Good catch Larry. I have changed that for integers at a time, but lost it when JUMP moved to OpenJUMP. From this doc, Numeric types should not be more than 18/20 bytes length, (which is quite restrictive) : http://www.clicketyclick.dk/databases/xbase/format/data_types.html#DATA_TYPES I always let 33,16 for double, because when doubles are transformed from floating points to fixed points, it is not possible to know how many digits are needed before the decimal point and after the decimal point. So the risk to loose information is not null. I don't know why OGR choose 24 with 15 decimal places. It seems not very high in precision to me (ex. limited to -9 999 999 in negative numbers) but already out of the spec. I agree integers can be changed to 11 bytes length I'm not in a hurry to limit double to 24,15 as I think there is a (small) risk of loss in precision, and I'm not sure that changing that to 24,15 will solve any compatibility or storage issue (but I maybe wrong about these points) Any other advices ? Michaël Larry Becker a écrit : I just had a look at the package com.vividsolutions.jump.feature.AttributeType and found: /** For long values (64-bit) */ public final static AttributeType INTEGER = new AttributeType(INTEGER, Integer.class); The comment is at odds with the type, and I can't see why ShapeFileWriter allocates 16 bytes if all we can store is an Integer. If we were to store a Long it would take 20 bytes (-9,223,372,036,854,775,808). if (columnType == AttributeType.INTEGER) { fields[f] = new DbfFieldDef(columnName, 'N', 16, 0); f++; } else if (columnType == AttributeType.DOUBLE) { fields[f] = new DbfFieldDef(columnName, 'N', 33, 16); f++; } We should be able to reduce the allocation to 11 for Integers (-2,147,483,648). To follow the GDAL/ORG lead (http://www.gdal.org/ogr/drv_shapefile.html): * Integer fields without an explicit width are treated as width 11. * Real (floating point) fields without an explicit width are treated as width 24 with 15 decimal places of precision Unfortunately this would not help with Michele's problem, but it would make smaller dbf files. regards, Larry On Tue, May 18, 2010 at 9:05 AM, totenfe...@email.it mailto:totenfe...@email.it mailto:totenfe...@email.it mailto:totenfe...@email.it wrote: Hi Stefan, i'm sorry if i wasn't clear enough. The first row af a dbf file describes the content of each column. For an area field we can have AREA,N,6 and 6 is what i mean as field size. I need to change this value from the standard 16 that openjump uses. Thanks! Michele Hei, I would say no - but I am also not sure if I understand correctly what you mean by length of a integer field. stefan Totenfeier wrote: Hi all! i'm a fellow worker of Politecnico di Milano and i'm working on a project that need to manage field length of a shapefile. Notably i have to set different dimension of integer fields in a dbf
Re: [JPP-Devel] Shapefile field length
Hei, I would say no - but I am also not sure if I understand correctly what you mean by length of a integer field. stefan Totenfeier wrote: Hi all! i'm a fellow worker of Politecnico di Milano and i'm working on a project that need to manage field length of a shapefile. Notably i have to set different dimension of integer fields in a dbf file. I'm wondering if this is possible with Openjump now or somebody is working on that. Thanks! Michele Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/cgi-bin/start?sid=3 Sponsor: Conto Arancio ti regala 50 Euro da spendere su Media World on line. Cosa aspetti, aprilo subito! Clicca qui http://adv.email.it/cgi-bin/foclick.cgi?mid=10036d=20100517 -- ___ 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] strange problem developing a plugin
could it be that you are trying to access the method from outside because it is a private method? Michaël Michaud schrieb: Hi, This one is very strange. Line 115 seems OK to me. And constructor LinearComponentExtracter(Collection list) does exist in JTS 1.11 About NoSuchMethodException, javadoc says : Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed. Notice that LinearComponentExtracter signature has changed from LinearComponentExtracter(List) to LinearComponentExtracter(Collection) in JTS 1.11 (but it still should work) You can try to get your linestring elements from one of the new static methods in LinearComponentExtracter Good luck Michaël luca marletta a écrit : Hi, I start to develop a plugin that is a sort of enrichment of LineNoderPlugin so I copied code and arrange environment, and test it without change when I execute the code I got this error java.lang.NoSuchMethodError: com.vividsolutions.jts.geom.util.LinearComponentExtracter.init(Ljava/util/List;)V at it.beopen.dbtopo.Tools.LineNoderPlugIn.getLines(LineNoderPlugIn.java:115) at it.beopen.dbtopo.Tools.LineNoderPlugIn.run(LineNoderPlugIn.java:95) at com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:151) at java.lang.Thread.run(Thread.java:619) here the 115 line private Collection getLines(Collection inputFeatures) { List linesList = new ArrayList(); LinearComponentExtracter lineFilter = new LinearComponentExtracter(linesList); 115 line for (Iterator i = inputFeatures.iterator(); i.hasNext(); ) { Feature f = (Feature) i.next(); Geometry g = f.getGeometry(); g.apply(lineFilter); } return linesList; } and I have import com.vividsolutions.jts.geom.util.LinearComponentExtracter; correctly loaded and without any error or warning in eclipse to be sure I added jts from 7 to 11, all but it seems that the method doesn't exist when I compile from svn whit the same external lib jump-pilot/core/trunk/src/com/vividsolutions/jump/plugin/edit/LineNoderPlugIn.java there is no problem and it works is there another jar to import that is present in svn? could some one help today I need to my cent for bothering the list thanks a lot luca luca marletta www.beopen.it -- ___ 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] join openjump
Hei Mohammed, usually people don't join the project right away - in terms of receiving write access to the svn or other types of logins/rights on sourceforge. However, new folks is always welcome! It depends also a bit on what type of contribution do you think of, e.g. if you want to develop plugins or if you want to do other stuff (webpages/documentation etc). When it comes to developing and you want to contribute back your new functions are ask for changes, then you can do that over this developer list... Write access to the code repository is usually granted after a while - when we get to know the person and it skills (code samples) better. But for starting to contribute to OpenJUMP this is not becessary. Actually a good starting point for development is our following wiki section: http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=Developing_with_OpenJUMP thanks for your interest and we hope to see you as in active person on this list stefan Mohammed Rashad schrieb: Hi all, I would like to join openjump project and contribute to openjump. I had done a geo-visualization project using GRASS GIS UMN MapServer http://keralainfo.web4all.in/resources/htdocs/index.php. Also made some contributions to GRASS GIS Project http://trac.osgeo.org/grass/browser/grass-addons/gui/wxpython/data_catalog. i had a good knowledge in C, C++,Python Java. Also done two custom projects using QT mysql and have openGL basics. will you allow me to join this project. my email id is rasha...@gmail.com mailto:rasha...@gmail.com -- ___ 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] Openjump 1.31 not displaying ecw
Hei all, ok... loading ecw and mrsid image files works when I did the following with (a new built of) OpenJUMP 1.3.1 On my Windows XP I unziped the distributed openjump files to c:\yyy\openjump The ecw file option was there right away but files loaded have not been displayed. Subsequently I copied the thre ecw libraries (NCScnet.dll, NCSEcw.dll, NCSUtil.dll) into the lib/ext/ folder (i.e. in c:\yyy\openjump\lib\ext\) AND restarted OJ. Now the ecw files are displayed. Btw. please check that the file ermapper.jar is in the /lib/ folder too. The mrsid option was not shown the in file loader dialog. Subsequently I quit OpenJUMP. I created two new folders: etc and tmp within etc (i.e. c:\yyy\openjump\lib\ext\etc\tmp). The tmp folder is used to store the temporarily created images. Then I copied the two mrsid library files (mrsidgeodecode.exe, mrsidgeoinfo.exe) into the \etc\ folder AND restarted OpenJUMP. Now a) the mrsid file option was available and b) I could display mrsid files. Note, the links to download the mentioned ecw/mrsid libraries should be on the wiki. stefan PS: of course we would probably need to find a way to make nice plugins and add under help an option that shows where the programs looks for the libs - but if both image formats would not be proprietary but free we would not have the problems at all. Jukka Rahkonen schrieb: Hi, I suppose it is because ermapper.jar is missing. It used to come with nightly build but not any more. I managed to open ecw files with latest nightly build by copyind ermapper.jar and the three dll files from some old installation. -Jukka Rahkonen- Thats right - no option to load ecw files... same dll files that work with earlier versions of OJ... what is going on? On Apr 20, 1:37 am, Stefan Steiniger sst...@geo.uzh.ch wrote: do you have the option to load ecw displayed? If yes - it must be a issue with the dll files? if the option to load ecw is not displayed, then it may be that the dll files are in the wrong location (there must be 3 files: NCScnet.dll, NCSEcw.dll and NCSUtil.dll) Though we did a change in the sources so that we can compile OpenJUMP with need for the ecw libraries. So it could be a problem with OpenJUMP too. anybody can confirm that who works with ecw? stefan PS: mhm.. I just looked in my 1.3.1 version and neither the MrSID nor the ECW option is displayed in the file-ending list... whats going on? cycad wrote: I have both Openjump 1.2F and Openjump 1.31 installed with the same ecw .dll files, yet 1.2F will display my ecw files and 1.31 will not... Not sure what is going on here. Any ideas? -- Subscription settings:http://groups.google.com/group/openjump-users/subscribe?hl=en -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] [Fwd: [jump-pilot - Problems with PlugIns] WFS plugin]
Anyone knows an answer? stefan Original Message Subject:[jump-pilot - Problems with PlugIns] WFS plugin Date: Mon, 03 May 2010 09:11:09 + From: SourceForge.net nore...@sourceforge.net To: nore...@sourceforge.net Read and respond to this message at: https://sourceforge.net/projects/jump-pilot/forums/forum/729480/topic/3695976 By: mberetta Hello, i'm using geoserver to serve data via WMS and WFS. I experienced parsing error using wfsPlugin version 1.1.0 both with linux and windows, while the older 0.3 seems to work better. There is some known problem between geoserver and this openjump plugins? Thanks in advance Michele _ You are receiving this email because you elected to monitor this topic or entire forum. To stop monitoring this topic visit: https://sourceforge.net/projects/jump-pilot/forums/forum/729480/topic/3695976/unmonitor To stop monitoring this forum visit: https://sourceforge.net/projects/jump-pilot/forums/forum/729480/unmonitor -- ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Branch in SVN for Sunburned Surveyor's patches : UnionByAttribute
Hei Michael, I have seen your commit. That should be fine - even visually it should be visible then. cheers, stefan Michaël Michaud schrieb: Hi, Thanks for offering to help with Nacho's bug. I think the first step would be modifying the code to report the FID of the problem feature in the exception message. At least, that is what I was going to try. You might have a short cut to the problem. Here is what I've done for UnionByAttribute PlugIn Currently, it was not exactly a bug but a problem with invalid input geometries. Nacho's input geometries could have been fixed by a pre-processing step (it was just 0 length LineString), but I didn't do it, because it cannot be a general solution. Instead, I added a warning and still processed valid geometries *Invalid geometries have been excluded !* and detailed output messages Tell me if you thing this behaviour can be improved Michaël You wrote: There is another bug for which I spent some time without success : 2792806 Error while deleting heterogeneous item If you or someone else wants to have a look, it needs a good understanding of the item selection process (which is quite complex in OpenJUMP due to partial feature slection capability) I've done a little work with the SelectionManager in my super select plug-in. I'll add this to my list of things to fix if I can. I'm just waiting for Stefan's permission to get a branch to work in. I'll copy him direction on this e-mail since I know he sometimes travels and looses track of the messages on this list. Thanks, The Sunburned Surveyor 2010/4/8 Michaël Michaud michael.mich...@free.fr: Hi Sunburned Surveyor Fixing these bugs would be nice and starting unit tests would be nice too. I forgot bug (1) reported by Nacho as it has never been reported in the bug tracker. I can have a look this week end as I think I wrote the guilty plugin, and Nacho kindly supplied the data to reproduce the problem. There is another bug for which I spent some time without success : 2792806 Error while deleting heterogeneous item If you or someone else wants to have a look, it needs a good understanding of the item selection process (which is quite complex in OpenJUMP due to partial feature slection capability) Michaël Sunburned Surveyor a écrit : I'd like to request permission to create a branch in the JPP SVN where I can start work on two tasks: - A series of bug fixes and minor improvements. These fixes include (1) reporting the FID in the Union By Attribute plug-in to address a problem reported some time ago by Nacho; (2) making the cut polygon tool obey the editable status of the layer that contains the polygon being cut; and (3) consolidation of some utility code. - Creation of a set of units tests to start testing the OpenJUMP core. I'll probably start with classes in the com.vividsolutions.jump.workbench.model packages, since those are the simplest. I would like to move these improvements to the trunk of the SVN, one at a time, after getting approval from the other programmers on this mailing list. I won't be proposing any major changes to the core, and will make sure I get buy off from everyone before commiting to the trunk. With Stefan's permission I'd like to start packaging monthly builds of this branch in between his major OpenJUMP releases. Any comments or strong objections? The Sunburned Surveyor -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list
Re: [JPP-Devel] Branch in SVN for Sunburned Surveyor's patches and unit tests.
Hei Landon, Yep - no problem to create a new branch. You should be able to do that. However, I tried branching once lately, and messed-up my local system, i.e. I wasn't able to re-integrate (merge) my changes to the branch back without copy pasting to another folder and then do a complete new check-out. hope you have more luck stefan Sunburned Surveyor wrote: Michael, You wrote: I forgot bug (1) reported by Nacho as it has never been reported in the bug tracker. I can have a look this week end as I think I wrote the guilty plugin, and Nacho kindly supplied the data to reproduce the problem. Thanks for offering to help with Nacho's bug. I think the first step would be modifying the code to report the FID of the problem feature in the exception message. At least, that is what I was going to try. You might have a short cut to the problem. You wrote: There is another bug for which I spent some time without success : 2792806 Error while deleting heterogeneous item If you or someone else wants to have a look, it needs a good understanding of the item selection process (which is quite complex in OpenJUMP due to partial feature slection capability) I've done a little work with the SelectionManager in my super select plug-in. I'll add this to my list of things to fix if I can. I'm just waiting for Stefan's permission to get a branch to work in. I'll copy him direction on this e-mail since I know he sometimes travels and looses track of the messages on this list. Thanks, The Sunburned Surveyor 2010/4/8 Michaël Michaud michael.mich...@free.fr: Hi Sunburned Surveyor Fixing these bugs would be nice and starting unit tests would be nice too. I forgot bug (1) reported by Nacho as it has never been reported in the bug tracker. I can have a look this week end as I think I wrote the guilty plugin, and Nacho kindly supplied the data to reproduce the problem. There is another bug for which I spent some time without success : 2792806 Error while deleting heterogeneous item If you or someone else wants to have a look, it needs a good understanding of the item selection process (which is quite complex in OpenJUMP due to partial feature slection capability) Michaël Sunburned Surveyor a écrit : I'd like to request permission to create a branch in the JPP SVN where I can start work on two tasks: - A series of bug fixes and minor improvements. These fixes include (1) reporting the FID in the Union By Attribute plug-in to address a problem reported some time ago by Nacho; (2) making the cut polygon tool obey the editable status of the layer that contains the polygon being cut; and (3) consolidation of some utility code. - Creation of a set of units tests to start testing the OpenJUMP core. I'll probably start with classes in the com.vividsolutions.jump.workbench.model packages, since those are the simplest. I would like to move these improvements to the trunk of the SVN, one at a time, after getting approval from the other programmers on this mailing list. I won't be proposing any major changes to the core, and will make sure I get buy off from everyone before commiting to the trunk. With Stefan's permission I'd like to start packaging monthly builds of this branch in between his major OpenJUMP releases. Any comments or strong objections? The Sunburned Surveyor -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Branch in SVN for Sunburned Surveyor's patches and unit tests.
btw. some thing I did not really understand: why do you want to do monthly releases? because we have already a nightly build which get done automatically as soon changes appear (if i remember correctly) - though - it may be that these changes have to be in the trunk. stefan Sunburned Surveyor wrote: Thanks for your permission Stefan. I'll wait for Larry to respond. If he gives me the OK after reading my response to his questions I will create the branch. The Sunburned Surveyor On Thu, Apr 8, 2010 at 2:38 PM, Stefan Steiniger sst...@geo.uzh.ch wrote: Hei Landon, Yep - no problem to create a new branch. You should be able to do that. However, I tried branching once lately, and messed-up my local system, i.e. I wasn't able to re-integrate (merge) my changes to the branch back without copy pasting to another folder and then do a complete new check-out. hope you have more luck stefan Sunburned Surveyor wrote: Michael, You wrote: I forgot bug (1) reported by Nacho as it has never been reported in the bug tracker. I can have a look this week end as I think I wrote the guilty plugin, and Nacho kindly supplied the data to reproduce the problem. Thanks for offering to help with Nacho's bug. I think the first step would be modifying the code to report the FID of the problem feature in the exception message. At least, that is what I was going to try. You might have a short cut to the problem. You wrote: There is another bug for which I spent some time without success : 2792806 Error while deleting heterogeneous item If you or someone else wants to have a look, it needs a good understanding of the item selection process (which is quite complex in OpenJUMP due to partial feature slection capability) I've done a little work with the SelectionManager in my super select plug-in. I'll add this to my list of things to fix if I can. I'm just waiting for Stefan's permission to get a branch to work in. I'll copy him direction on this e-mail since I know he sometimes travels and looses track of the messages on this list. Thanks, The Sunburned Surveyor 2010/4/8 Michaël Michaud michael.mich...@free.fr: Hi Sunburned Surveyor Fixing these bugs would be nice and starting unit tests would be nice too. I forgot bug (1) reported by Nacho as it has never been reported in the bug tracker. I can have a look this week end as I think I wrote the guilty plugin, and Nacho kindly supplied the data to reproduce the problem. There is another bug for which I spent some time without success : 2792806 Error while deleting heterogeneous item If you or someone else wants to have a look, it needs a good understanding of the item selection process (which is quite complex in OpenJUMP due to partial feature slection capability) Michaël Sunburned Surveyor a écrit : I'd like to request permission to create a branch in the JPP SVN where I can start work on two tasks: - A series of bug fixes and minor improvements. These fixes include (1) reporting the FID in the Union By Attribute plug-in to address a problem reported some time ago by Nacho; (2) making the cut polygon tool obey the editable status of the layer that contains the polygon being cut; and (3) consolidation of some utility code. - Creation of a set of units tests to start testing the OpenJUMP core. I'll probably start with classes in the com.vividsolutions.jump.workbench.model packages, since those are the simplest. I would like to move these improvements to the trunk of the SVN, one at a time, after getting approval from the other programmers on this mailing list. I won't be proposing any major changes to the core, and will make sure I get buy off from everyone before commiting to the trunk. With Stefan's permission I'd like to start packaging monthly builds of this branch in between his major OpenJUMP releases. Any comments or strong objections? The Sunburned Surveyor -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net
Re: [JPP-Devel] InvertSelection
Hei Michael, thanks. The issue of the invert selection, if I remember correctly, was if such function should be restricted to the layer, only to editable layers or should include all layers. However, at that time we didn't had the layer selectable property. Maybe this needs to be accounted for too? Hence, I think such function requires a dialog menu and is not a oneclick function [now without looking on what you did ;)]. Thanks for creating the plugin! Some people will be very happy ;) on the SelectAllModifiedFeaturesPlugIn: I never included it, because I forgot it - I guess. So thanks if you added it to default-plugins.xml. Is it already internationalized? (maybe I just had this on my todo list - and never did it). cheers from Calgary - only 1-2 more weeks of teaching left *yay*... and then I should have more time for other things again. stefan Michaël Michaud schrieb: Hi, We already had a discussion on the list about this feature. I could not remember exactly what the problem was, so I tried to implement it with the following semantic : scan all layers having selected features with selectionManager.getLayersWithSelectedItems - if invisible (not sure if invisible layer can have selected features), clear selection - if visible replace selected features by un-selected ones It is commited. You can try it and give me feed back if it does not work properly or if you think it won't work properly in some cases. I also added a PlugIn from Larry called SelectAllModifiedFeaturesPlugIn (it was not in the default-plugin.xml) Stefan, can you tell me if there is a reason why this plugin has not been included with other Larry's Select plugins at first time Michaël -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Anyone interested in serving as a Google Summer of Code Mentor
yes - Michael is in the loop too stefan Sunburned Surveyor wrote: Cool! Have you talked to Janit about his route-finding project idea? The Sunburned Surveyor On Mon, Mar 29, 2010 at 10:51 AM, Stefan Steiniger sst...@geo.uzh.ch wrote: I signed up already Sunburned Surveyor wrote: We've got a student interested in working on routing algorithms/applications for OpenJUMP. I'm reluctant to serve as a mentor again this year. There are a lot of other things I would like to work on this summer. :] Still, I hate to see us waste a student willing to work on OpenJUMP. Is there anyone interested in serving as a Goolge Summer of Code mentor this summer? The Sunburned Surveyor -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] LayerManager and org.openjump.core.ccordsys.srid.SRIDStyle
Hei You could be right, i.e. I have never looked at the code, just ported it from the PostGIS plugin. The SRID code was also a later add-on, not part of the original design, and is in particular needed for databases. However, I am not sure if the SRID is a feature property. Usually the SRID is assign to a layer or dataset. Though the geometry is stored of course with a certain SRID. So I am not sure if we should allow features with different SRID in one layer - if that is something what your suggested change would allow. Because it may become messy if the SRID of the layer is changed (e.g. for on the fly re-projection?). Well.. a bit difficult to discuss without having a re-project function yet :) [although now proj4j is there, as well as the lib from deegree] just some thoughts stefan vowah...@aol.com wrote: Hi *, Each instance of SRIDStyle adds one LayerListener to the LayerManager ( and does not remove it, when its layer is removed, I guess). My understanding is that each Layer has it own SRIDStyle ( and exactly one, if I read EnsureAllLayersHaveSRIDStylePlugIn.ensureHasSRIDStyle correctly ) and that each LayerListener is called when LayerManager.fireFeaturesChanged is called. So if there are 10 Layers and one Feature of Layer X is changed then 10 LayerListener are executed and each LayerListener change the Srid of the Geometry of the changed Feature. The Srid of the feature after that, is the Srid of the last LayerListener of the ArrayList LayerManager.layerListeners. The easiest change would be that the sridstyle knows its layer and only changes the srid of FeatureEvent where the layer matches its own. Any opinons about that issue? regards, Volker -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] another jts 1.11 related bug?
thanks for fixing and discussing, now, I would prefer to leave the OJ code as is, and wait for JTS NB (or something alike). Because I don't see an elegant way to avoid isValid checks for EditTransactions.commit(), without telling what type of transaction is done. I.e. we need to do EditTransactions.commit() right? as performed in DeleteSelectedItemsPlugIn.java:99 if not, I would rather change code here, before touching/changing something in EditTransaction that allows the delivery of the transaction type. mhm.. I am honestly a bit scared to do changes here, because I can not assess what a change in the EditTransaction code can have for side effects - especially with respect to writing something back to real databases. So if a skilled person like Larry or Martin (as the JUMP designer) or Michael or Andreas would propose and do changes - I am totally happy with it. Though.. preferring still no code changes at all and rather a change of JTS. puzzled stefan Martin Davis wrote: But not a *good* reason! 8^)For obvious reasons... ! Larry Becker wrote: Hi Martin, Thanks for the fix. Assuming you meant why OJ is testing for validity on a delete, the answer may be because it makes the code simpler. Not the best reason, but it is a reason. :-) regards, Larry On Tue, Mar 23, 2010 at 10:52 AM, Martin Davis mbda...@refractions.netwrote: Yes, POINT EMPTY is valid. This is a bug in JTS. I'll fix this today. Thanks, Michael! One thing that doesn't make sense to me is why JTS is testing for validity on a delete? Surely it's safe to NOT do this, even for Undo? Michaël Michaud wrote: Hi Martin, all, Finally, I think the problem could be a consistency problem in JTS. JTS accepts empty Points, empty LineStrings and empty Polygons created with factory.createPoint(null) - POINT EMPTY factory.createLineString(null) - LINESTRING EMPTY factory.createPolygon(null,null) - POLYGON EMPTY empty LineString and empty Polygon, which hold an empty CoordinateSequence are seen as valid Geometries on the other hand, empty Point, which also holds an empty CoordinateSequence throws an exception while tested for its validity The reason is Point.isValid() does not test its CoordinateSequence but tests the validity of Point.getCoordinate(), which returns a null in this case. Could you confirm POINT EMPTY should be considered as a valid Geometry ? Michaël Stefan Steiniger a écrit : Hei, so by looking on the JUMP code, deleting always creates a null geometry: com.vividsolutions.jump.workbench.ui.GeometryEditor.remove(Geometry g, Geometry itemToRemove) calls com.vividsolutions.jump.workbench.ui.GeometryEditor.createNullGeometry(Class geometryClass) so, we could do the change in createNullGeometry() [though I don't really like the idea here to create an empty GeometryCollection is Michael did for the other positions] or in com.vividsolutions.jump.workbench.ui.EditTransaction.proposedGeometriesValid() by catching null geometries here and not checking them. or.. of course... both. any suggestions by you Larry, Michael, Martin? Probably the second solution is best? ohh.. @Martin, actually, if that only happens for point geometries now... what is with the other geometry.isValid operations... why don't they return an error if null geomtries are created? stefan Martin Davis wrote: Ah, yes, right. This was a bug fix introduced in JTS 1.11, to ensure that Point.isValid checked for invalid (eg NaN) coordinates. In general, the contract for IsValid does not support null being passed as in input argument. OJ should not be trying to determine the validity of a null geometry - it needs to detect this situation and make its own decision about whether null is valid or not. So I think the way you'd sum this up is that a bug in JTS 1.10 masked a bug in OJ. Larry, I think your fix should take care of this in OJ. If it were me I would encapsulate that logic in a general-purpose utility method called something like GeometryUtil.isValidOrNull(Geometry g). That gives a single functionality point for the design decision to allow nulls as valid geometry, in case it needs to be changed in the future. Larry Becker wrote: I see that prior versions of JTS Point.isValid() didn't call IsValidOP.isValid(). It just returned trure. Stepping though the debugger, isValid is throwing an NPE when it does the getCoordinate(). public boolean isValid() { if (! IsValidOp.isValid(getCoordinate())) return false; return true; } Larry On Mon, Mar 22, 2010 at 3:58 PM, Larry Becker becker.la...@gmail.com wrote: There are no changes in the SVN history for several months before 24 February that seem relevant. I made a bunch of changes
Re: [JPP-Devel] another jts 1.11 related bug?
thanks Michael.. so lets go with this (if nobody objects) until JTS 1.11.1 or 1.12 hopefully we remember ;) stefan Michaël Michaud wrote: Michaël Michaud a écrit : Hi, I just wrote a one line quick and dirty patch in EditTransaction (line 316) to fix the problem. It is not a final choice (I cannot say if it is completely safe) To be more precise, I think there is now a little risk to valid a modification where the user would have changed a valid geometry into a null geometry (a geometry where getCoordinate() returns null). Not very likely but maybe not impossible. Michaël and I'll remove it if any request or alert. Just want to make it easy to test and decide if it is OK until next JTS release. Michaël Martin Davis a écrit : Good point, Stefan. I have to admit, Jon wrote all of that code, so I'm probably no more able to decide whether the modification is safe. Here's an idea - while you're waiting for JTS 1.11.1 or JTS 1.12 with the fix, why not encapsulate the validity check in a GeometryUtil.isValidOrNull(Geometry g) as I suggested earlier. Then the logic can easily be added to check for empty POINTs and return valid for them. Stefan Steiniger wrote: thanks for fixing and discussing, now, I would prefer to leave the OJ code as is, and wait for JTS NB (or something alike). Because I don't see an elegant way to avoid isValid checks for EditTransactions.commit(), without telling what type of transaction is done. I.e. we need to do EditTransactions.commit() right? as performed in DeleteSelectedItemsPlugIn.java:99 if not, I would rather change code here, before touching/changing something in EditTransaction that allows the delivery of the transaction type. mhm.. I am honestly a bit scared to do changes here, because I can not assess what a change in the EditTransaction code can have for side effects - especially with respect to writing something back to real databases. So if a skilled person like Larry or Martin (as the JUMP designer) or Michael or Andreas would propose and do changes - I am totally happy with it. Though.. preferring still no code changes at all and rather a change of JTS. puzzled stefan Martin Davis wrote: But not a *good* reason! 8^)For obvious reasons... ! Larry Becker wrote: Hi Martin, Thanks for the fix. Assuming you meant why OJ is testing for validity on a delete, the answer may be because it makes the code simpler. Not the best reason, but it is a reason. :-) regards, Larry On Tue, Mar 23, 2010 at 10:52 AM, Martin Davis mbda...@refractions.netwrote: Yes, POINT EMPTY is valid. This is a bug in JTS. I'll fix this today. Thanks, Michael! One thing that doesn't make sense to me is why JTS is testing for validity on a delete? Surely it's safe to NOT do this, even for Undo? Michaël Michaud wrote: Hi Martin, all, Finally, I think the problem could be a consistency problem in JTS. JTS accepts empty Points, empty LineStrings and empty Polygons created with factory.createPoint(null) - POINT EMPTY factory.createLineString(null) - LINESTRING EMPTY factory.createPolygon(null,null) - POLYGON EMPTY empty LineString and empty Polygon, which hold an empty CoordinateSequence are seen as valid Geometries on the other hand, empty Point, which also holds an empty CoordinateSequence throws an exception while tested for its validity The reason is Point.isValid() does not test its CoordinateSequence but tests the validity of Point.getCoordinate(), which returns a null in this case. Could you confirm POINT EMPTY should be considered as a valid Geometry ? Michaël Stefan Steiniger a écrit : Hei, so by looking on the JUMP code, deleting always creates a null geometry: com.vividsolutions.jump.workbench.ui.GeometryEditor.remove(Geometry g, Geometry itemToRemove) calls com.vividsolutions.jump.workbench.ui.GeometryEditor.createNullGeometry(Class geometryClass) so, we could do the change in createNullGeometry() [though I don't really like the idea here to create an empty GeometryCollection is Michael did for the other positions] or in com.vividsolutions.jump.workbench.ui.EditTransaction.proposedGeometriesValid() by catching null geometries here and not checking them. or.. of course... both. any suggestions by you Larry, Michael, Martin? Probably the second solution is best? ohh.. @Martin, actually, if that only happens for point geometries now... what is with the other
Re: [JPP-Devel] Translation to Czech
Hei Jan, you would - rename the workbench jar file to *zip - unzip the workbench jar/zip file, - add your file to the language folder. - then re-zip it and rename it to jar. that should be all. need to check if we have that info on the wiki. (a bit more complicated but here it seems to be: http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=How_to_translate_OpenJUMP_into_another_language ;) stefan Jan Ruzicka wrote: Dear developers, I was asked by The regional authority of Czech fire brigade to translate OpenJUMP 1.3.1 to czech language. I have used my translation from 2005 year and complete it for OpenJUMP 1.3.1 to 100%. I would like to know how to replace previous version of translation that is distributed in OpenJUMP 1.3.1 with this new translation. Could you please 'kick me a little' how to do this, I have browsed the OpenJUMP web site for a while and could not find any information how to do it. The translation is available at http://gis.vsb.cz/ruzicka/Projekty/jump/trans/jump_cz.properties Many thanks Jan -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] another jts 1.11 related bug?
Hei, I haven't found the time to look into it, but I got this error report from Bernd: the issue is that he can not delete point features in existing projects or even just created tets layers. (must have been introduced to the NB after Feb 24th) ava.lang.NullPointerException at com.vividsolutions.jts.operation.valid.IsValidOp.isValid(IsValidOp.java:62) at com.vividsolutions.jts.geom.Point.isValid(Point.java:117) at com.vividsolutions.jump.workbench.ui.EditTransaction.proposedGeometriesValid(EditTransaction.java:315) at com.vividsolutions.jump.workbench.ui.EditTransaction.commit(EditTransaction.java:256) at com.vividsolutions.jump.workbench.ui.EditTransaction.commit(EditTransaction.java:235) at com.vividsolutions.jump.workbench.ui.plugin.DeleteSelectedItemsPlugIn.execute(DeleteSelectedItemsPlugIn.java:99) at com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:130) at com.vividsolutions.jump.workbench.ui.WorkbenchFrame$24.keyPressed(WorkbenchFrame.java:1142) at com.vividsolutions.jump.workbench.ui.WorkbenchFrame$9.keyPressed(WorkbenchFrame.java:353) at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:233) at java.awt.Component.processKeyEvent(Component.java:6221) at javax.swing.JComponent.processKeyEvent(JComponent.java:2801) at java.awt.Component.processEvent(Component.java:6040) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4630) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:704) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:969) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:841) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:668) at java.awt.Component.dispatchEventImpl(Component.java:4502) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Window.dispatchEventImpl(Window.java:2475) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] another jts 1.11 related bug?
aside: deleting actually works for other geometries: I tested with a line, a polygon, and multi-point. So it must be an issue with a single point only. and I assume it is related to the changes for null geometries since I can not imagine how the problem appears otherwise when looking at the last changes (JTS 1.11 was added 4th March, and the error appeared after the version from 24th February according to Bernd). stefan Larry Becker wrote: I think this is a consequence of the EditTransaction class. All changes are run though it to see if they are valid, even deletions. Since every change is undoable and redoable, you need a null object as the proposed Geometry to hold the place of the deletion. However, since there is a Feature involved too, I'm not sure how a null Feature holds a null Geometry. Hmm. Larry On Mon, Mar 22, 2010 at 1:28 PM, Martin Davis mbda...@refractions.net mailto:mbda...@refractions.net wrote: That doesn't sound quite right. Why is a deleted geometry being checked for validity at all? Is this some consequence of changes made to allow null geometries to be handled? Perhaps the geometry deletion code is using null to represent no feature, rather than a feature with null geometry? Larry Becker wrote: It should be easy to fix. Here is the current code: public boolean proposedGeometriesValid() { for (int i = 0; i proposedGeometries.size(); i++) { Geometry proposedGeometry = (Geometry) proposedGeometries.get(i); if (! proposedGeometry.isValid()) { return false; } } return true; } We could just add a null Geometry check: public boolean proposedGeometriesValid() { for (int i = 0; i proposedGeometries.size(); i++) { Geometry proposedGeometry = (Geometry) proposedGeometries.get(i); if (proposedGeometry == null) { return true; } if (! proposedGeometry.isValid()) { return false; } } return true; } But is this the right fix? Larry On Mon, Mar 22, 2010 at 12:53 PM, Larry Becker becker.la...@gmail.com mailto:becker.la...@gmail.comwrote: I had no trouble duplicating the problem - just create a point and delete it in a new project. I don't have a clue as to what is going on though. Larry On Mon, Mar 22, 2010 at 12:40 PM, Martin Davis mbda...@refractions.net mailto:mbda...@refractions.netwrote: Hmm... JTS 1.11 didn't introduce any changes into IsValidOp, I don't think. Is it possible that JTS is not filtering out null geometries from being tested by IsValidOp? Otherwise, someone will have to debug into the execution and figure out what exact geometry is causing this problem. Stefan Steiniger wrote: Hei, I haven't found the time to look into it, but I got this error report from Bernd: the issue is that he can not delete point features in existing projects or even just created tets layers. (must have been introduced to the NB after Feb 24th) ava.lang.NullPointerException at com.vividsolutions.jts.operation.valid.IsValidOp.isValid(IsValidOp.java:62) at com.vividsolutions.jts.geom.Point.isValid(Point.java:117) at com.vividsolutions.jump.workbench.ui.EditTransaction.proposedGeometriesValid(EditTransaction.java:315) at com.vividsolutions.jump.workbench.ui.EditTransaction.commit(EditTransaction.java:256) at com.vividsolutions.jump.workbench.ui.EditTransaction.commit(EditTransaction.java:235) at com.vividsolutions.jump.workbench.ui.plugin.DeleteSelectedItemsPlugIn.execute(DeleteSelectedItemsPlugIn.java:99) at com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:130) at com.vividsolutions.jump.workbench.ui.WorkbenchFrame$24.keyPressed(WorkbenchFrame.java:1142) at com.vividsolutions.jump.workbench.ui.WorkbenchFrame$9.keyPressed(WorkbenchFrame.java:353) at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:233) at java.awt.Component.processKeyEvent(Component.java:6221) at javax.swing.JComponent.processKeyEvent
Re: [JPP-Devel] another jts 1.11 related bug?
Hei, so by looking on the JUMP code, deleting always creates a null geometry: com.vividsolutions.jump.workbench.ui.GeometryEditor.remove(Geometry g, Geometry itemToRemove) calls com.vividsolutions.jump.workbench.ui.GeometryEditor.createNullGeometry(Class geometryClass) so, we could do the change in createNullGeometry() [though I don't really like the idea here to create an empty GeometryCollection is Michael did for the other positions] or in com.vividsolutions.jump.workbench.ui.EditTransaction.proposedGeometriesValid() by catching null geometries here and not checking them. or.. of course... both. any suggestions by you Larry, Michael, Martin? Probably the second solution is best? ohh.. @Martin, actually, if that only happens for point geometries now... what is with the other geometry.isValid operations... why don't they return an error if null geomtries are created? stefan Martin Davis wrote: Ah, yes, right. This was a bug fix introduced in JTS 1.11, to ensure that Point.isValid checked for invalid (eg NaN) coordinates. In general, the contract for IsValid does not support null being passed as in input argument. OJ should not be trying to determine the validity of a null geometry - it needs to detect this situation and make its own decision about whether null is valid or not. So I think the way you'd sum this up is that a bug in JTS 1.10 masked a bug in OJ. Larry, I think your fix should take care of this in OJ. If it were me I would encapsulate that logic in a general-purpose utility method called something like GeometryUtil.isValidOrNull(Geometry g). That gives a single functionality point for the design decision to allow nulls as valid geometry, in case it needs to be changed in the future. Larry Becker wrote: I see that prior versions of JTS Point.isValid() didn't call IsValidOP.isValid(). It just returned trure. Stepping though the debugger, isValid is throwing an NPE when it does the getCoordinate(). public boolean isValid() { if (! IsValidOp.isValid(getCoordinate())) return false; return true; } Larry On Mon, Mar 22, 2010 at 3:58 PM, Larry Becker becker.la...@gmail.comwrote: There are no changes in the SVN history for several months before 24 February that seem relevant. I made a bunch of changes to rendering and such, but nothing related to EditTransactions. I happened to have a copy of OJ dated 22 February and it does not have the delete point problem. Can't say for sure when it started though. Larry On Mon, Mar 22, 2010 at 3:48 PM, Larry Becker becker.la...@gmail.comwrote: Hi Michaël, Yes, I am using the latest SVN version. You can do the test yourself in a few minutes. I just checked and SkyJUMP and OJ both have identical code to handle deleting selected items, except for the changes Michaël made to EditTransaction and the JTS version. Those changes were made in March. SkyJUMP does not have the problem yet. @Stefan, what are the changes for null geometries that you spoke of? Larry 2010/3/22 Michaël Michaud michael.mich...@free.fr Hi Stefan and others, Did you check OJ with the svn code. I have fixed EditTransaction a few days ago. Fo a reason, in the EditTrasaction process, two methods created a Point(null,null,0) geometry. This geometry did not throw NPE... until JTS 1.11 I replaced Point(null,null,0) by an empty GeometryCollection. Hope it does the trick. Miichaël Hei, I haven't found the time to look into it, but I got this error report from Bernd: the issue is that he can not delete point features in existing projects or even just created tets layers. (must have been introduced to the NB after Feb 24th) ava.lang.NullPointerException at com.vividsolutions.jts.operation.valid.IsValidOp.isValid(IsValidOp.java:62) at com.vividsolutions.jts.geom.Point.isValid(Point.java:117) at com.vividsolutions.jump.workbench.ui.EditTransaction.proposedGeometriesValid(EditTransaction.java:315) at com.vividsolutions.jump.workbench.ui.EditTransaction.commit(EditTransaction.java:256) at com.vividsolutions.jump.workbench.ui.EditTransaction.commit(EditTransaction.java:235) at com.vividsolutions.jump.workbench.ui.plugin.DeleteSelectedItemsPlugIn.execute(DeleteSelectedItemsPlugIn.java:99) at com.vividsolutions.jump.workbench.plugin.AbstractPlugIn$1.actionPerformed(AbstractPlugIn.java:130) at com.vividsolutions.jump.workbench.ui.WorkbenchFrame$24.keyPressed(WorkbenchFrame.java:1142) at com.vividsolutions.jump.workbench.ui.WorkbenchFrame$9.keyPressed(WorkbenchFrame.java:353) at java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:233)
Re: [JPP-Devel] Project open listener
Hei Matthias, neither do I - so if you use Eclipse you could create a patch (in the team menu). Or you send the class. Then one or two other people would check if it looks good - and thats also what we have a nightly built for (for testing). stefan Matthias Scholz schrieb: Hello Stefan! we could do that if you provide a patch? I've done this for the OJ 1.3.1 sources, but i'm not shure if this is the best way, because i've not enough OJ API experiences. How should i give you my changes? Matthias stefan Matthias Scholz wrote: Hello, are there any possibility for a listener that will be fired if a project was opened? Matthias -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Project open listener
we could do that if you provide a patch? stefan Matthias Scholz wrote: Hello, are there any possibility for a listener that will be fired if a project was opened? Matthias -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] [SoC] Re: Request for views on the proposal on pgRouting project.
Hei Jatin, I got your separate email - though I haven't had the time to read it fully yet. But I thought I reply immediately, seeing that this project may be of larger interest for the Java tribe. However, if you plan to use JTS (and OpenJUMP) you can get support from myself and our small developer community. While searching for old stuff, done by Michael Michaud [1], on the routing topic [2] I found a new project that developed some routing for OpenJUMP, which is based JGraphT [3]. Not sure what the status is, though. I also saw that Gabriel da Silva published on his work done on that (unfortunately I don't have access to the english article). thanks for your consideration stefan [1] http://michael.michaud.free.fr/jump/alpha/ressources/jump-shortest-path-0.1.zip (requires jgrapht too) [2] http://gis.vsb.cz/ruzicka/Projekty/jump/index.php [3] http://de.sourceforge.jp/projects/sfnet_mdvrp-gis/ : Multi Depot Vehicle Routing with GIS Wolf Bergenheim wrote: On Thu, Mar 11, 2010 at 20:59, Alex Mandel tech_...@wildintellect.com wrote: This sounds like it might be a good joint project with gvSig,UDig or OpenJump integration of pgRouting, all are Java implementations of GIS and UDig is closely tied to the origins of postgis. I'm not sure who has volunteered to mentor from those projects but it wouldn't hurt to ask around. This might be a good 2 mentor project. Yes very nice. One pgRouter and one UDig mentor would be very nice! I can help in the co-ordination if needed. --Wolf ___ SoC mailing list s...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/soc -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] packaging OpenJump
Hei Fabrizio, thats good to hear. Thanks! Of course we can collaborate. However, OpenJUMP 1.3 has some new dependencies since 1.2 (for the raster image stuff) - and the Debian GIS people had some problems. In particular Debian has not the JAI libraries included. So we are in the Debian distribution only with an old version. Here a link to the thread A: http://www.mail-archive.com/jump-pilot-devel@lists.sourceforge.net/msg06900.html and B http://www.mail-archive.com/pkg-grass-de...@lists.alioth.debian.org/msg04429.html mhm.. seems like JDOM was another issue? stefan PS: I cc to the JPP devel list Fabrizio Furnari wrote: Hi, I'm Fabrizio Furnari and I'm a mantainer for ArcheOS, an archaeological-purpose operating system based on Debian. We'd like to include OpenJump into the default packages list for ArcheOS, so we've packaged it following the Debian packaging guidelines (http://www.debian.org/doc/debian-policy/). If you want, we can collaborate also for including OpenJump into the Debian repositories, also if this is a much more impegnative task. Regards, Fabrizio Furnari -- @P=split//,.URRUU\c8R;@d=split//,\niranruF oizirbaF;sub p{ @p{r$p,u$p}=(P,P);piper$p,u$p;++$p;($q*=2)+=$f=!fork;map{$P=$P[$f^ord ($p{$_})6];$p{$_}=/ ^$P/ix?$P:close$_}keys%p}p;p;p;p;p;map{$p{$_}=~/^[P.]/ close$_}%p;wait until$?;map{/^r/$_}%p;$_=$d[$q];sleep rand(2)if/\S/;print -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] applications for Google Summer of Code starting
Hei all, we from OpenJUMP hope to participate this year again in the Google Summer of Code under the OSGeo umbrella. If someone is interested, below is a list of ideas on what could be worked. I send this to the JTS list too, as improvements for JTS will be always beneficial for OpenJUMP. info: http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=Google_Summer_Of_Code_Ideas_List http://wiki.osgeo.org/wiki/Google_Summer_of_Code_Application_2010 http://wiki.osgeo.org/wiki/Google_Summer_of_Code_2010_Ideas cheers, stefan -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] volkers patch
Hei, just to let you know - I plan on committing Volkers patch. However, I can't do this from my work computer as I messed up the branching when I committed the sextante interface classes for testing (will do that soon again, but straight - without branching). So I need to add the patch from my home computer, where I have been rarely lately. stefan -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] reportNothingToUndoYet for some classes
Hei, finally I committed the patch. Was easy to do. I excluded the the change for the LayerPropertiesPlugIn, and did what Volker suggested (can somebody check this? - is the separate commit no. 1885). If you have more changes let us know. And I think, as you seem to be pretty proficient, after one more round of accepted patches, we could give you commit access - if you wish. danke! - and sorry for being so slow. stefan vowah...@aol.com schrieb: Hello Michaël, - DeeChangeStylesPlugIn: Is e.g. in the popupMenu of the LayerNamePanel as Change Styles. I expect that the method wouldn't change anything when the dialog was canceled. As far as I can see most things which are done before the dialog is visible are reading/initializing-stuff . * - CopyStylesPlugIn: It's in the same popupMenu as DeeChangeStylesPlugIn. You can copy the style of one layer and paste it with PasteStylesPlugIn. Its execute method just clones the styles and put the copy into a local static variable. - LayerPropertiesPlugIn: Same popupMenu: Shows the properties of the selected Layer. I've just rechecked this plugin and saw that the 2nd tab changes the Proportional-Transparency-Adjustment. So as this plugin does changes, I have to change athe patch. The new code should be at the end of the execute-method and should be something like: if ( !styleChanged /*existing variable of this class*/) reportNothingToUndoYet(context); I'll create the new patch on monday. Regards Volker * it saves the last used tab , even if canceled, but I guess that's not a reason to truncate the undo-history Michaël Michaud schrieb: Hi, I'm not familiar with this part of the code. Just can say it looks ok. If you can say how it is supposed to work before/after the change, I'll give a try after the commit. Thanks, Michaël vowah...@aol.com a écrit : Hi, attached is a patch with 4 tiny change-suggestions: - reportNothingToUndoYet for - CopyStylesPlugIn - LayerPropertiesPlugIn - DeeChangeStylesPlugIn (unless dialog.wasOKPressed() ) - Constructor of DrawConstrainedLineStringTool as proctected which gives me the possibility to overwrite it. Hopefully there are no concerns and the patch was created correctly ( not sure if its necessary to include the full path e.g.) . Have a nice weekend, Volker -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] delay on rendering
yep :) Larry, if we would have a trophy for the programmer of the season, you would clearly qualify... Martin Davis wrote: You'd make a good grizzly bear, Larry 8^) Larry Becker wrote: I manufactured a dataset from scratch to try out the problem. Larry On Wed, Feb 24, 2010 at 5:01 PM, Larry Becker becker.la...@gmail.comwrote: -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] delay on rendering
Hei Larry, I will send them offline. stefan Larry Becker schrieb: I'm waiting on Stefan's magic 1000 point polygon. Mine draws too quickly to benchmark. On Tue, Feb 23, 2010 at 10:08 AM, Sunburned Surveyor sunburned.surve...@gmail.com mailto:sunburned.surve...@gmail.com wrote: Larry, Kudos for your work on improving rendering performance in OpenJUMP. Should we test the fix you mention where we rough clip large lineStrings that contain the viewport in their bounding box? The Sunburned Surveyor On Mon, Feb 22, 2010 at 3:04 PM, Larry Becker becker.la...@gmail.com mailto:becker.la...@gmail.com wrote: If the problem is what we have been assuming, I see where Martin's algorithm could be applied: com.vividsolutions.jump.workbench.ui.renderer.style.StyleUtil#toShape() We could do a conversion of large linestrings whose bounding boxes contain the viewport, to rough clip MultiLineStrings instead of the clipGeometry call. This should enable Java's graphics clipper to do its work efficiently. The tough part is to not slow down the best case performance too much. Larry On Mon, Feb 22, 2010 at 4:44 PM, Martin Davis mbda...@refractions.net mailto:mbda...@refractions.net wrote: Yeah, it seems to me that I haven't seen much speed impact from rendering fairly large linestrings. I suppose it's possible that if the linestring was really complex the intersection() computation might be slow, however. In any case, computing a full intersection() is definitely doing more work than required for rendering. So this would be a good thing to optimize. It's one of those things which isn't necessarily all that noticeable, but is quietly burning cycles all the time. Larry Becker wrote: Better send it to me too. All the cases I've found in the wild render very quickly. See the attached for an example. Larry On Mon, Feb 22, 2010 at 4:13 PM, Martin Davis mbda...@refractions.net mailto:mbda...@refractions.netwrote: Stefan, for future reference can you send the linestring, and the viewport which causes the problem? Stefan Steiniger wrote: mhm.. ok, so I would guess the problem is related to the size of the geometries and its drawing? I recently had a problem - drawing a linestring that consisted of more than 1000 points. I couldn't do anything for 20-30 seconds on MS Vista, my XP was a bit faster. However, the problem solved when I connected the 1000 points with linestrings that have only a start and endpoint, i.e. instead of drawing 1 linestring a had to draw now 500, but here the 500 lines could be drawn one after each other, and everything is done within 2-3 seconds (instead of 20 secs) (if Larry wants to test, I can send that linestring?) however, I am not sure why working with the 1000 points linestring is so slow (i.e. does paint make some tests?) stefan luca marletta wrote: luca marletta www.beopen.it http://www.beopen.it On Fri, Feb 19, 2010 at 5:42 PM, Larry Becker becker.la...@gmail.com mailto:becker.la...@gmail.com wrote: Hi luca, When you try to select features, does the status bar quickly show your selection count, even though no selection handles appear? If not, this explains why the right click menu is not appearing. It needs selection information to enable or disable options. Larry, no I had not much problem with showing selection count, is anyway quick. I noticed an important stuff. May dataset is full of large and aggregated geometry and in this case I guess geometry index can not much help. If I explode all, I reduce the delay a lot. luca -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
Re: [JPP-Devel] SplitLineStringsOp
Hei Volker, as long as backward compatibility is retained we are always open for suggestions - and in particular if the code improvement is delivered too (e.g. in form of a (eclipse)patch) ;) cheers, stefan vowah...@aol.com schrieb: Hi *, first of all thanks to Larry for correcting and commiting my previous request! so here is my second Request. I would like to open the SplitLineStringsOp to get easier access to its internals where needed ( atleast the split-method ). One way would be to overwrite the SplitLineStringsOp or to copy the copy code and stopp annoying you, which is a fair workaround for me. But if you interested in such just cosmetic changes, I would like suggest some changes, which - of course - wouldn't change the current behaviour of the involved classes. Regards volker -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] delay on rendering
sure Martin Davis schrieb: Stefan, I'm curious - can you send them to me too? Stefan Steiniger wrote: Hei Larry, I will send them offline. stefan Larry Becker schrieb: I'm waiting on Stefan's magic 1000 point polygon. Mine draws too quickly to benchmark. On Tue, Feb 23, 2010 at 10:08 AM, Sunburned Surveyor sunburned.surve...@gmail.com mailto:sunburned.surve...@gmail.com wrote: Larry, Kudos for your work on improving rendering performance in OpenJUMP. Should we test the fix you mention where we rough clip large lineStrings that contain the viewport in their bounding box? The Sunburned Surveyor On Mon, Feb 22, 2010 at 3:04 PM, Larry Becker becker.la...@gmail.com mailto:becker.la...@gmail.com wrote: If the problem is what we have been assuming, I see where Martin's algorithm could be applied: com.vividsolutions.jump.workbench.ui.renderer.style.StyleUtil#toShape() We could do a conversion of large linestrings whose bounding boxes contain the viewport, to rough clip MultiLineStrings instead of the clipGeometry call. This should enable Java's graphics clipper to do its work efficiently. The tough part is to not slow down the best case performance too much. Larry On Mon, Feb 22, 2010 at 4:44 PM, Martin Davis mbda...@refractions.net mailto:mbda...@refractions.net wrote: Yeah, it seems to me that I haven't seen much speed impact from rendering fairly large linestrings. I suppose it's possible that if the linestring was really complex the intersection() computation might be slow, however. In any case, computing a full intersection() is definitely doing more work than required for rendering. So this would be a good thing to optimize. It's one of those things which isn't necessarily all that noticeable, but is quietly burning cycles all the time. Larry Becker wrote: Better send it to me too. All the cases I've found in the wild render very quickly. See the attached for an example. Larry On Mon, Feb 22, 2010 at 4:13 PM, Martin Davis mbda...@refractions.net mailto:mbda...@refractions.netwrote: Stefan, for future reference can you send the linestring, and the viewport which causes the problem? Stefan Steiniger wrote: mhm.. ok, so I would guess the problem is related to the size of the geometries and its drawing? I recently had a problem - drawing a linestring that consisted of more than 1000 points. I couldn't do anything for 20-30 seconds on MS Vista, my XP was a bit faster. However, the problem solved when I connected the 1000 points with linestrings that have only a start and endpoint, i.e. instead of drawing 1 linestring a had to draw now 500, but here the 500 lines could be drawn one after each other, and everything is done within 2-3 seconds (instead of 20 secs) (if Larry wants to test, I can send that linestring?) however, I am not sure why working with the 1000 points linestring is so slow (i.e. does paint make some tests?) stefan luca marletta wrote: luca marletta www.beopen.it http://www.beopen.it On Fri, Feb 19, 2010 at 5:42 PM, Larry Becker becker.la...@gmail.com mailto:becker.la...@gmail.com wrote: Hi luca, When you try to select features, does the status bar quickly show your selection count, even though no selection handles appear? If not, this explains why the right click menu is not appearing. It needs selection information to enable or disable options. Larry, no I had not much problem with showing selection count, is anyway quick. I noticed an important stuff. May dataset is full of large and aggregated geometry and in this case I guess geometry index can not much help. If I explode all, I reduce the delay a lot. luca -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks
Re: [JPP-Devel] ESC for ConstrainedMultiClickTool
thanks Volker.. we should commit that ;) tmrw. Larry Becker schrieb: Unlike MultiClickTool, ConstrainedMultiClickTool ends with both double-click and right-click. Adding Escape sounds like a valid enhancement to me. regards, Larry On Mon, Feb 22, 2010 at 9:20 AM, vowah...@aol.com mailto:vowah...@aol.com wrote: Hi, it's just a small thing, but it is kind of intuitive to cancel a gesture by pressing Escape, imo. To implement that for an instance of ConstrainedMultiClickTool would be quite easy by changing the current keypressed-method in line 337: public void keyPressed(KeyEvent e){ if (e.getKeyCode() == KeyEvent.VK_ESCAPE) cancelGesture(); } Are there any concerns? Regards Volker -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 -- Larry Becker Integrated Systems Analysts, Inc. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] delay on rendering
mhm.. ok, so I would guess the problem is related to the size of the geometries and its drawing? I recently had a problem - drawing a linestring that consisted of more than 1000 points. I couldn't do anything for 20-30 seconds on MS Vista, my XP was a bit faster. However, the problem solved when I connected the 1000 points with linestrings that have only a start and endpoint, i.e. instead of drawing 1 linestring a had to draw now 500, but here the 500 lines could be drawn one after each other, and everything is done within 2-3 seconds (instead of 20 secs) (if Larry wants to test, I can send that linestring?) however, I am not sure why working with the 1000 points linestring is so slow (i.e. does paint make some tests?) stefan luca marletta wrote: luca marletta www.beopen.it On Fri, Feb 19, 2010 at 5:42 PM, Larry Becker becker.la...@gmail.com wrote: Hi luca, When you try to select features, does the status bar quickly show your selection count, even though no selection handles appear? If not, this explains why the right click menu is not appearing. It needs selection information to enable or disable options. Larry, no I had not much problem with showing selection count, is anyway quick. I noticed an important stuff. May dataset is full of large and aggregated geometry and in this case I guess geometry index can not much help. If I explode all, I reduce the delay a lot. luca -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] 2 general questions
Hei Luca, I can only comment on 1: yes the nightly build has some improvements here: it first enlarges an image and then does a re-rendering if the mouse wheel is used and released. That is, not every click one turns the mouse wheel the screen is updated immediately, but after a short while of 0.7 seconds. Not sure how this would affect editing (but well... I rarely zoom when I edit, but pan). The reason why this was done is, that every time the mouse wheel was used for WMS services, a WMS request was send - which was/is a waste of traffic/processing. not sure if there is way to implement an options that allows switch between modes? stefan PS: on 2 : double click should be OS specific luca marletta wrote: Hi List, I've 2 question on OJ. 1) I updated today the main jar from nightly build and I discover that OJ is absolutely more quick on zoom in and out (could you confirm some changes on this feature?) but in my opinion maybe is more smart for viewing maps but not for editing them because it seems that it pays on select side and other editing operations. Mybe it was better before on this aspect. 2) java general question: I use linux debian stable and java sun 1.6. From long I encounter problem with double ciick!! It seems that it is too short and I drive me crazy to click very quick for get the double event. Could you suggest a setting and where to put it. I've already try cat ~/.Xdefaults .multiClickTime: 500 but without much result thanks for any suggestions luca luca marletta www.beopen.it -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] AdB-ToolBox: a word about future developments
Hei Alberto, good to hear that you could adapt your algorithms to the sextante model. but to your questions. I still have some things I'd like to clarify: 1) to implement symbology management for raster, would it be needed to modify the sextante classes? I don't think so - but I may be wrong. We would need to check how Erwan did the Plugin that reads ESRI ASCII grid files - he was able to do some coloring too using a derived class of the pirol plugin (see [1]) However, if having a choice we should build (extend/subclass?) the classes given from Sextante. Or can it be done in some other ways? 2) how could be added support for different raster formats? I think you would need to write a class that transforms all other image types into a *BufferedImage*, which is used by PirolJUMP and OpenJUMP. Then later some instance of *RasterImageLayer* is probably what we want for display - see the classes in the folder: org.openjump.core.rasterimage There needs to be some more thinking done on that. But the good part is, that for now we can build everthing else, which modifies and analyses rasters, on the sextante classes. So we can later change the data i/o access model underneath (i.e. using imagej instead of jai for instance). a further option may be to use th GDBMS lib as abstract layer - maybe? And one more dumb question? How can I share files with the list members? mhm... thats a good question. I think we have here 3 ways: . one way would be to give you access to the SVN so you can write directly to the repository, if that is what you want (and I am sure the others can agree on that, as you guys know OJ a bit). For this you would need to register for Sourceforge. . Otherwise we really just post files to the devel-list, but for lots of files this is probably anoying for some? . A furth option is we generate a new page on the openjump wiki for this topic and post links to own ftp servers there (you would get wiki write access after you woud have logged in for the first time) I hope my answers were at least a bit helpful? cheers, stefan [1] http://geosysin.iict.ch/irstv-trac/browser/openjump/plugin/gridCoverage/org/reso/openJump/raster?rev=96 Cheers Alberto On 08/02/2010 23:51, Stefan Steiniger wrote: Hei Michael, Alberto and Larry, yep. What I was suggesting is to use IRasterLayer and the related generic classes and basically copy them with a slight name change to avoid confusion [1]. This way we could develop on raster functionality based on the sextante interfaces and access classes. I.e. it was not just about loading raster files, because the sextante raster file is just a normal tiff image too, but loaded with Pirols plugin, which is what the Sextante-OJ interface needs as input. With respect to Albertos question: yes, we may need to update them from time to time. But i think these classes will not have much changes in the future. In case you want to have a look at the classes I did a commit of those to a new branch: /branches/sstein/ the classes are to be found in org.openjump.core.rasterimage.sextante.* stefan [1] I think I changed only the name of the Sextante class OpenJUMPRasterLayer to OpenJUMPSextanteRasterLayer , which provides a way to convert openjump data (raster and vector) in (abstract) sextante datatypes. Note, I also add an example plugin that for instance converts a loaded raster into a vector grid. So you can see how it works PS: btw another option would be to look into GDMS Michaël Michaud wrote: Hi Stefan, Sorry, my knowledge about raster managment is very poor. I thought you already added Sextante raster classes (File Open Image raster (Sextante)) Isn't it enough to benefit from Sextante algorithm library ? Could you briefly explain what is missing in OpenJUMP. From what you and Alberto said, I understand that OpenJUMP and AdbToolbox have their own loaders and renderers, but there is no OJ interface to define how to access raster data in a way independant from loader implementation (maybe like IRasterLayer from Sextante) ? Is that the point ? Michaël Larry Becker a écrit : I actually asked a couple of months ago if other people would accept if I commit the basic Raster classes used in Sextante. There was not much exitement/repsonse ;) Sorry for the lack of response Stefan. I just haven't had time to study Sextante, and didn't feel qualified to comment. Larry -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Open project optimization
I am fine with it (though never had a 100 files project ;) Larry Becker wrote: While I was modifying the OpenProjectWizard to support remembering the window data, I noticed that OJ didn't have a SkyJUMP optimization for speeding up project loading. I turned off background drawing of new layers while the project is loading, and on my PC this speeds loading of a 100 layer project from 38 seconds to 15 seconds - quite a bit slower than SkyJUMP's 8 seconds, but still a significant speedup. The downside is you only get to look at the first layer until loading is complete. Does this modification have the group's approval? I committed already, but we can roll it back if someone objects. regards, Larry -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] AdB-ToolBox: a word about future developments
Hei Michael, Alberto and Larry, yep. What I was suggesting is to use IRasterLayer and the related generic classes and basically copy them with a slight name change to avoid confusion [1]. This way we could develop on raster functionality based on the sextante interfaces and access classes. I.e. it was not just about loading raster files, because the sextante raster file is just a normal tiff image too, but loaded with Pirols plugin, which is what the Sextante-OJ interface needs as input. With respect to Albertos question: yes, we may need to update them from time to time. But i think these classes will not have much changes in the future. In case you want to have a look at the classes I did a commit of those to a new branch: /branches/sstein/ the classes are to be found in org.openjump.core.rasterimage.sextante.* stefan [1] I think I changed only the name of the Sextante class OpenJUMPRasterLayer to OpenJUMPSextanteRasterLayer , which provides a way to convert openjump data (raster and vector) in (abstract) sextante datatypes. Note, I also add an example plugin that for instance converts a loaded raster into a vector grid. So you can see how it works PS: btw another option would be to look into GDMS Michaël Michaud wrote: Hi Stefan, Sorry, my knowledge about raster managment is very poor. I thought you already added Sextante raster classes (File Open Image raster (Sextante)) Isn't it enough to benefit from Sextante algorithm library ? Could you briefly explain what is missing in OpenJUMP. From what you and Alberto said, I understand that OpenJUMP and AdbToolbox have their own loaders and renderers, but there is no OJ interface to define how to access raster data in a way independant from loader implementation (maybe like IRasterLayer from Sextante) ? Is that the point ? Michaël Larry Becker a écrit : I actually asked a couple of months ago if other people would accept if I commit the basic Raster classes used in Sextante. There was not much exitement/repsonse ;) Sorry for the lack of response Stefan. I just haven't had time to study Sextante, and didn't feel qualified to comment. Larry /* * The Unified Mapping Platform (JUMP) is an extensible, interactive GUI * for visualizing and manipulating spatial features with geometry and attributes. * * JUMP is Copyright (C) 2003 Vivid Solutions * * This class implements extensions to JUMP and is * Copyright (C) Stefan Steiniger. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * For more information, contact: * Stefan Steiniger * perri...@gmx.de */ /* * created: 28.Oct.2009 * last modified: * * * @author sstein * * description: * * */ package ca.ucalgary.engg.moveantools.ojplugin; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.geom.Point2D; import java.util.List; import javax.swing.DefaultComboBoxModel; import javax.swing.JComboBox; import org.openjump.core.apitools.FeatureSchemaTools; import org.openjump.core.apitools.LayerTools; import org.openjump.core.rasterimage.RasterImageLayer; import org.openjump.core.rasterimage.sextante.OpenJUMPSextanteRasterLayer; import org.openjump.core.rasterimage.sextante.rasterWrappers.GridWrapperNotInterpolated; import com.vividsolutions.jts.geom.Coordinate; import com.vividsolutions.jts.geom.Geometry; import com.vividsolutions.jts.geom.GeometryFactory; import com.vividsolutions.jts.geom.LinearRing; import com.vividsolutions.jump.feature.AttributeType; import com.vividsolutions.jump.feature.BasicFeature; import com.vividsolutions.jump.feature.Feature; import com.vividsolutions.jump.feature.FeatureCollection; import com.vividsolutions.jump.feature.FeatureDataset; import com.vividsolutions.jump.feature.FeatureSchema; import com.vividsolutions.jump.task.TaskMonitor; import com.vividsolutions.jump.workbench.WorkbenchContext; import com.vividsolutions.jump.workbench.model.StandardCategoryNames; import com.vividsolutions.jump.workbench.plugin.AbstractPlugIn; import com.vividsolutions.jump.workbench.plugin.EnableCheckFactory; import
Re: [JPP-Devel] SpatialLite reader plugin
Hei, Jukka wrote a tutorial on how to use OJs DB query plugin with SpatialLite - including loading data into SpatialLite. I have put this tutorial on the wiki: http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=OpenJUMP_with_SpatialLite#Configuring_DB_Query_Plugin_for_Spatialite_databases stefan Stefan Steiniger schrieb: Hei all, Jorge has sent me a Spatial Lite plugin. I have put it up on our SourceForge download section. you can download the file directly here: http://sourceforge.net/projects/jump-pilot/files/p_database_plugins/p_SpatialLite_reader_plugin/SpatialitePlugin.zip/download thank you Jorge! stefan -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Find/Substitute attribute
Hei, I am also not sure if we should have a replace tool with respect to editing switched on/off - because there is the tendency to use replaca all. Although ArcGIS has replace too, but it also won't work if the layer is in editing mode. I myself use always select and then auto assign attributes, i.e. 2 instead of 1 step, but it is ok (saver?) for me. stefan Larry Becker schrieb: Hi Peppe, Have you tried the Auto Assign Attribute tool? It only works on one layer at a time though. If that doesn't help, can you explain your use case with an example? regards, Larry On Fri, Feb 5, 2010 at 9:41 AM, Giuseppe Aruta giuseppe_ar...@yahoo.it mailto:giuseppe_ar...@yahoo.it wrote: Hi all, thanks to Larry we have a Search All Attributes. Do you think it is easy to modify this tool adding an option to substitute the found values with another one typed by the user? Something like Search/Substitute All Attributes. Or probabily would be better to have this option under Attribute Query tool? regards peppe -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ 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 -- Larry Becker Integrated Systems Analysts, Inc. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Mouse wheel zoom and WMS
mhm... my plan was working on a release towards April. Need to think about it ;) the EZ buttons are now added as default (but even hardcoded in OpenJUMPConfiguration and not the xml file). Rahkonen Jukka wrote: Hi, Excellent job. Mouse wheel zooming gives a good feeling because screen is updating fast and from the server side I can see also that no unnecessary WMS calls are sent. That gives more speed for OJ user especially with slow connection to WMS but the feature itself is nice even without WMS layers. Perhaps the zoom steps could be a little bit smaller? Not as small as uDig has, but something in between. And what do you think about copying another uDig feature, panning with the mouse middle button? Or do you have some other good use for the middle button, we do already have well working keyboard shortcut for panning. OJ is having a few nice new features since the last release. At least improved wheel zoom, improved handling of null attributes from database, EZ Buttons (which migh be acticated by default). Would it be a time to start prepering the next release? -Jukka- Larry Becker wrote: More Mouse Wheel Zooming updates. I fixed some problems with mouse wheel zoom in and zoom out in the same half second causing radical changes. The Timer period now resets while the wheel is still moving, and I changed the Timer period to .7 seconds to better reflect actual use. Larry On Tue, Feb 2, 2010 at 5:02 PM, Larry Becker becker.la...@gmail.com mailto:becker.la...@gmail.com wrote: OK, I have committed an experimental version of AbstractZoomTool that incorporates a deferred mouse wheel zoom for half a second. It does an image stretch from the center of the panel until the half second expires. Please test after tomorrow's nightly build. Comments? regards, Larry On Mon, Feb 1, 2010 at 2:52 PM, Sunburned Surveyor sunburned.surve...@gmail.com mailto:sunburned.surve...@gmail.com wrote: Jukka, Can you file a feature request on SourceForge so we don't forget this? The Sunburned Surveyor On Mon, Feb 1, 2010 at 7:12 AM, Larry Becker becker.la...@gmail.com mailto:becker.la...@gmail.com wrote: Hi Jukka, The behavior you described is what I programmed for the mouse wheel zooming. I like the idea of doing raster scaling until you stop using the wheel. It is just a matter of finding time to do it. As you can imagine, this is fairly difficult code to write, but I believe it to be an important enhancement. regards, Larry On Mon, Feb 1, 2010 at 6:51 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fi mailto:jukka.rahko...@mmmtike.fi wrote: Hi, I have not used disk wheel zoom a lot and I discovered just now that when zooming with mouse wheel, OpenJUMP is sending a new WMS call for each wheel click. As a WMS server manager I do not like this behaviour at all. WMS server is really sending an image for each click but OpenJUMP does not use the intermediate WMS images for anything. Could it be possible to modify it so that OJ waits till user has stopped rolling the wheel before the request is sent? I compared what uDig does and it is rescaling the old raster image (in a similar way than OJ when the Continuos zoom tool is used) until wheel rolling is ceased. -Jukka Rahkonen- -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ 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
Re: [JPP-Devel] Proj4j - Martin steps ahead
yep I agree here. I would say OJ offers options for assigning projections and doing transformations on a functional basis - i.e. no on the fly stuff? At least this is the simple way to start with. Though, we may think then about new measure tools. Sunburned Surveyor wrote: I found the way UDig handled projections to be a nightmare. Never could get it to work right. Now I use FW Tools instead. I'd prefer to see projections handled on a per-instance basis. Let the user keep track of what projection each layer is in. That is likely something he is doing anyways. This approach will keep the code much simpler. I think even a stand-alone reprojection tool in Java packaged with OpenJUMP might even be the best way to go. Just my 2 cents. Landon On Wed, Feb 3, 2010 at 8:38 AM, Martin Davis mbda...@refractions.net wrote: Jukka, Do you know what lib spatiallite uses for projections? Do you have a reference to the doc for it? It seems like it would be nice to have projections built right in to JUMP. Maybe Proj4J can meet this need, since it's fairly simple and lightweight. People will need to think about how coordinate systems are exposed in JUMP. Is it just a facility for one-time transformation, with all params supplied by the user? The next level would keep CRS information with each layer, and automatically reproject imported data. The ultimate (maybe?) level might be to keep data internally in its native CRS and reproject only for display and other purposes. I think this last might be more complex than its worth, however. I know uDig spend a lng time getting this right, and it might still be problematic. By the way, something that's not currently in Proj4J is support for mapping to/from the huge variety of CRS specification formats which are out there. This is a large piece of work, and at this point I don't know when or how it might be accomplished. Rahkonen Jukka wrote: Hi, Projection support would be nice to have sometimes. By the way, the two new Spatialite plugins give now another alternatives. Spatialite databases which have been created with Spatialite-GUI contains support for more than 3000 projections by default. -Jukka- Stefan Steiniger wrote: So Guys - guess what: Martin revived Proj4j, i.e. Proj4 for Java http://lin-ear-th-inking.blogspot.com/2010/01/announcing-proj4j.html seems like we can start thinking about to seriously give OpenJUMP projection support (for those that don't use PostGIS - like me) ;) thank you Martin! stefan -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Martin Davis Senior Technical Architect Refractions Research, Inc. (250) 383-3022 -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net
Re: [JPP-Devel] [openjump-users] cancel CursorTool-Command
Hei Volker, you may have a look at exiting editing tools? e.g. check the tools in org.openjump.core.ui.plugin.edittoolbox.* in curosortools you could look at AutoCompletePolygon or ConstrainedWhateverTool but I wonder why you would need to bound this to a layer and not just as general action for your tool, so you would avoid the layerlistener stuff just a thought stefan vowah...@aol.com wrote: Hello The Sunburned Surveyor, thanks for your answer. I guess this list make more sense :-) ( wasn't aware of this ) as explained I'm already using a LayerListener. Let me try to explain with an example: - I've added a Layerlistener and get informed by its featureChanged-Method - The user adds an simple empty ( just with the geometry ) feature to the selected layer with the *DrawPointTool*. - If the new feature doesn't match to given rules I would like to cancel the current UndoableCommand created by *DrawPointTool *within my LayerListener-Implementation something inside the featureChanged like: if( isUgly(feature)){ frame.warnUser(Don't add ugly features!); stopExecutionAndRemoveUndoableCommand(); } Regards, Volker -Ursprüngliche Mitteilung- Von: Sunburned Surveyor sunburned.surve...@gmail.com An: openjump-us...@googlegroups.com Cc: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net Verschickt: Di., 2. Feb. 2010, 16:45 Thema: Re: [openjump-users] cancel CursorTool-Command Volker, You should be able to do it in the same LayerListener. For example: If you want to write a couple lines of text to a text file everytime nodes are deleted from a feature, you would implement LayerListener. In the LayerListener.featureChanged method you would need to test the modified feature for deleted nodes. In summary, test for your rules or conditions in the implementation of the featureChanged method. If the modifications meet your set of rules, then take the desired action. It is probably good design to have two private methods in your LayerListener implementation. The first private method would conduct the test to see if the feature modification met your criteria. The second private method would perform the desired action if the criteria was met. Note: The ability to listen for feature changes is handy, but it can be over used. To much listening can really slow down the execution of the program, so use it judiciously. The Sunburned Surveyor P.S. - This discussion should really be moved to the JPP developer's mailing list. I am going to copy that list on this response. On Tue, Feb 2, 2010 at 5:48 AM, Volker vowah...@aol.com wrote: Hello, I added a LayerListener so that I can do a specific action when a feature was added to the layer by any CursorTool (e.g. DrawPointTool). If given Rules are not fulFilled I would like to cancel this CursorTool-Command? Any idea how or do I have to use an other Listener? Thanks in advance :-) -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Survey tool
what do you mean by survey measurements? angle and distance? or just point coordinate lists? For the latter, to create single points, I would use the Pirol CSV plugin. (needs some specific formatting, but... - Maybe Michaels recent text/SCV plugin can that too?) stefan Larry Becker wrote: I have a need for a tool to enter survey measurements into JUMP. Has anyone heard of a tool that supports this? I thought this would be something that Sunburned Surveyor might have, but didn't find any reference to it in his blog or on his SurveyOS site. @Sunburned, All the links I found to BizzJUMP on sourceforge were broken. regards, Larry -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Fw: [Gvsig_english] how to move a polygon vertex to assigned coordinates
i don't think so. If so I would also use the draw other vertices first and snap the existing ones to those approach Rahkonen Jukka schrieb: Hi, I noticed an interesting question on gvsig list. Can we do this with OpenJUMP? -Jukka Rahkonen- G. Allegri wrote: [Gvsig_english] how to move a polygon vertex to assigned coordinates Hello eveyone. I'm wondering if Gvsig lets you define manually (like CAD) the destination coordinates of a vertex while editing a polygon. I've tried to use the Edit vertex tool, but its command line is not clear to me. It seems I can just move around the vertexes order, delete one, add one clicking in a point on the polygon boundary... So I can't do the two following things: - as I said, set manually the destination coords for a vertex, or set a new vertex also manually - graphically create a new polygon vertex outside of the polygon boundary. I mean, I would like not to have to add a vertex and then switch to another tool to move it to its final location, like it seems the only way now to me... Anyway, the first task is the most important to me, as I have a set of vertexes coordinates I have to modify manually... thanks a lot! giovanni ___ Gvsig_internacional mailing list gvsig_internacio...@listserv.gva.es http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] problem with loading configuration with greek title in jumpprinter plugin
the list should know too Original Message Subject:Re: [JPP-Devel] problem with loading configuration with greek title in jumpprinter plugin Date: Fri, 29 Jan 2010 09:19:56 +0200 From: Nikos Tzelepis nikt...@survey.ntua.gr To: Stefan Steiniger sst...@geo.uzh.ch References: 4b61bfe9.1010...@geo.uzh.ch Stefan, It's about the cadplan plugin and Geoff Roy was very kind to send me a fixed jar, where the xml file is saved as unicode with no special encoding assigned in header, which works just fine. Nikos στις 28/1/2010 6:48 μμ, O/H Stefan Steiniger έγραψε: Hei Nikos, I have no idea if there is way to eliminate the problem (as both printer plugins are from external contributors), but thanks for telling us how to work around this issue. Is it actually the printer plugin from our sourceforge download site? Because there is a second print plugin from Cadplan stefan Nikos Tzelepis wrote: Hello, I use the JumpPrinter plugin and I have a problem using greek fonts. When I we save the configuration file through the Printer environment while using greek fonts in the Title and Note items, greek characters are replaced by ? characters when I load back the configuration. When I look at the XML file produced after saving with Windows Wordpad, I see that the greek characters are there. After a quick search on the web, I found that if I edit manually the produced xml file, erase the '' encoding='ISO-8859-1' standalone = 'yes' '' part and save the file as Unicode, then it comes up correctly with all the greek characters appearing. I would like to ask if there is some way to eliminate this problem. Thanks, Nikos -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] problem with loading configuration with greek title in jumpprinter plugin
Hei Nikos, I have no idea if there is way to eliminate the problem (as both printer plugins are from external contributors), but thanks for telling us how to work around this issue. Is it actually the printer plugin from our sourceforge download site? Because there is a second print plugin from Cadplan stefan Nikos Tzelepis wrote: Hello, I use the JumpPrinter plugin and I have a problem using greek fonts. When I we save the configuration file through the Printer environment while using greek fonts in the Title and Note items, greek characters are replaced by ? characters when I load back the configuration. When I look at the XML file produced after saving with Windows Wordpad, I see that the greek characters are there. After a quick search on the web, I found that if I edit manually the produced xml file, erase the '' encoding='ISO-8859-1' standalone = 'yes' '' part and save the file as Unicode, then it comes up correctly with all the greek characters appearing. I would like to ask if there is some way to eliminate this problem. Thanks, Nikos -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] OpenJUMP and FOSS4G 2010
I don't think I can make it, as I plan to be at the same time at a field course. However, no real decision yet - but I assume that if I know, the deadline for workshops is gone. stefan Rahkonen Jukka wrote: Hi, Is anybody preparing workshop or tutorial about OpenJUMP for FOSS4G 2010? http://2010.foss4g.org/workshop.php -Jukka Rahkonen- -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] note on my availability
Dear users and developers, I have been and are quite busy with some university things lately. In consequence I sometimes miss and missed out a couple of list emails that I should have answered on. So, I would ask you to send me JPP management and development related issues/questions as separate emails (avoiding the list titles that are used for email filtering) where my opinion or action is sought. thanks for you understanding. I hope things get better around March. stefan PS: so what is our bus factor? :) However, the Sunburned Surveyor and Michael have both several admin rights for project management tasks - in case I am not responding. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Osiibility to automate openJUMP
well.. if the implementation would be like an AJAX browser, it should work. The problem may be some basic classes that need to be run, like the whole workbench stuff, so dummy workbenchcontexts, taskmonitors, plugincontext may be written or so. But in general OpenJUMP has an API and every plugin allows to change things. so, not sure how it will really look like but if your database is java it should be possible from my perspective. But I may be wrong. stefan Sunburned Surveyor wrote: Helmut, I don't recall anything being done like this with OpenJUMP before. It should be possible to call methods in OpenJUMP from another Java application using RMI or similar technology. I am not an expert in these areas. I will give the other programmers a chance to respond, maybe they can be more helpful. However, what you propose doesn't sound like a simple task, even if it is possible. Landon On Sun, Jan 17, 2010 at 9:23 AM, Helmut Seidel M.A. hsei...@knowhow-la.de wrote: Hello everybody, I wonder if it is possible to automate openJUMP from external Applications like Microsofts ActiveX, i.e. call functions like zooming or selecting shapes. I writing a standalone Java-Database-Application and would like to zoom to selected Items (selected in the database) in openJUMP and select them, etc. If this would be possible, could anybody supply a peace of example-code? Thanks -- KnowHow - Helmut Seidel M.A. Softwareentwicklung - Schulung - Coaching Gabelsbergerstraße 17 B 84034 Landshut Telefon: (08 71) 9 66 52 30 E-Mail: hsei...@knowhow-la.de Internet: www.knowhow-la.de -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Need Help for OpenJump
overshoots and undershoots can be detected with the planar map / topology function. Michaël Michaud wrote: Hi, can you plz help me out in openjump.. i am new to openjump .. i got a project to customize it according to needs.. the needs are .. 1) they required a software which will perform all topological cheaks eg, undershoot of lines , overshoot of lines .. self intersection of line strings .. and several others .. I think OpenJUMP is well suited for this kind of task and it has already nice features.. but you'll probably have to develop some features by yourself. First of all, OpenJUMP uses JTS library which is excellent to do geometry analysis. Secondly, there is already a validation plugin (ToolsQAValidate layer) which can accomplish several checks (ex. detect self intersecting linestrings which are non simple linestrings in OGC jargon). Undershoot and overshoot do not exist (as far as I know), but it would be interesting to add (you need to have a good understanding of JTS and OpenJUMP API first, but you'll find help on this forum) There is a qa extension available on the website, which is a part of jcs conflation suite. I internationalized these plugins and upgraded them for OpenJUMP 1.2. It has some useful components for data quality controls. 2) road network connectivity cheack .. I developped several plugins to do this kind of control for my work. It is not yet released (mainly because it is not internationalized) but it could be. I used JGraphT library to perform graph analyses and developped only a few classes to wrap OpenJUMP geometries into JGraphT library (I can give you this glue-code so that graph analysis always use the same codebase). 3) integrity check of data .. (at various levels) Mainly depends on what kind of check you need. You'll probably have to develop what you need by yourself. Michaël i want to know can openjump do this.. or how can i program in openjump .. plz tell me what are th variour plugns are in openjump give me some detaled documentaion of code.. plz help me out . i would be highly oblized .. regards sanjay -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Need Help for OpenJump
ups. I meant ToolsEdit GeometryConvertPlanar Graph Stefan Steiniger wrote: overshoots and undershoots can be detected with the planar map / topology function. Michaël Michaud wrote: Hi, can you plz help me out in openjump.. i am new to openjump .. i got a project to customize it according to needs.. the needs are .. 1) they required a software which will perform all topological cheaks eg, undershoot of lines , overshoot of lines .. self intersection of line strings .. and several others .. I think OpenJUMP is well suited for this kind of task and it has already nice features.. but you'll probably have to develop some features by yourself. First of all, OpenJUMP uses JTS library which is excellent to do geometry analysis. Secondly, there is already a validation plugin (ToolsQAValidate layer) which can accomplish several checks (ex. detect self intersecting linestrings which are non simple linestrings in OGC jargon). Undershoot and overshoot do not exist (as far as I know), but it would be interesting to add (you need to have a good understanding of JTS and OpenJUMP API first, but you'll find help on this forum) There is a qa extension available on the website, which is a part of jcs conflation suite. I internationalized these plugins and upgraded them for OpenJUMP 1.2. It has some useful components for data quality controls. 2) road network connectivity cheack .. I developped several plugins to do this kind of control for my work. It is not yet released (mainly because it is not internationalized) but it could be. I used JGraphT library to perform graph analyses and developped only a few classes to wrap OpenJUMP geometries into JGraphT library (I can give you this glue-code so that graph analysis always use the same codebase). 3) integrity check of data .. (at various levels) Mainly depends on what kind of check you need. You'll probably have to develop what you need by yourself. Michaël i want to know can openjump do this.. or how can i program in openjump .. plz tell me what are th variour plugns are in openjump give me some detaled documentaion of code.. plz help me out . i would be highly oblized .. regards sanjay -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] deleteVertices class
Hei Luca, I think you would need to use EditTransaction's if you operate on a layer directly and not create a new layer from the results. see for instance this class: org.openjump.core.ui.plugin.mousemenu.MoveAlongAnglePlugIn or this: com.vividsolutions.jump.workbench.ui.cursortool.editing.DeleteVertexTool.java stefan luca marletta schrieb: Hi all and Good New Year!! I'm trying to use the class deleteVertices from import com.vividsolutions.jump.workbench.ui.GeometryEditor; Geometry newGeom = new GeometryEditor().deleteVertices( (Geometry) g.clone(), (List) badPts ); Under Eclipse all is good, compiled and works but no effect on geometry, it doesn't remove vertex in the collection BasicFeature fixedf = new BasicFeature(fixedfs); FeatureUtil.copyAttributes(fc.get(j), fixedf); Geometry newGeom = new GeometryEditor().deleteVertices( (Geometry) g.clone(), (List) badPts ); if (newGeom.isValid()) fixedf.setGeometry(newGeom); fixedFC.add(fixedf); could someone posts some line of code for add, move or remove vertices thanks luca luca marletta www.beopen.it -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ 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] Re: jump-project.org domain gone
Hei Pedro, thanks for the offer. Unfortunately we can not do much for the jump-project domain and the material that was there - thought I found that there is still a copy on archive.org, but the downloads are gone (I think). We have with SourceForge also a bit of space to cover host some stuff now. But its always good to know that you could jump in ;) stefan Pedro Doria Meunier schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OM(chosen divinity)... sad :( what happened?! guys ... I'm still available to backup/store/serve any content under my domain ... I don't believe madeira gps going under in the next decade ... so I'm available to do so... Open/jump is *way* too precious a project to start dieing for lack of funding/support... At least that small contribution I can do. Just let me know. Pedro. On 12/30/2009 10:05 PM, Sunburned Surveyor wrote: I think the JUMP-Project domain was being managed by Refractions Research, not Vivid Solutions. I think the old PDF manuals for OpenJUMP were released under the GPL, so we can likely host them on the OpenJUMP site. The other useful links on the old JUMP-Project web site were for JCS and the Road Matcher. Landon On Sun, Dec 13, 2009 at 8:00 PM, Stefan Steiniger sst...@geo.uzh.ch wrote: Hei Paul and Martin, I just discoverd that the Jump-Project domain is gone, i.e. now owned by a domain-seller. Is there another way of accessing the stuff (via an IP) - and is there a backup? or is/was that in the hands of VividSolutions? Although I am not sure what material would be still of interest? maybe some (pdf) docs and info about the other components (JCS, Road-Matcher, Skeletonizer). An advantage of having lost the domain is of course that people will hopefully look for OpenJUMP. cheers from Calgary stefan PS: includes CC to other core members of OpenJUMP, Michael, Larry and Landon. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAks77AoACgkQ2FH5GXCfxAsbAQCfQeXdnyRW3tSOQcRrqsrgQ7Fs BisAn2FMnQiMkBrWcS9ub+dEEkDaLU1J =HpKl -END PGP SIGNATURE- -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] no way to ignore features in a layer?
well.. if you would use colour theming then you can make features invisible. I am sure I did that stefan Larry Becker schrieb: I found this critique of FOSS GIS at: http://lordkingsquirrel.wordpress.com/2006/05/07/everyday-mapsdesktop-mapping-software-udig/ *Change Symbology* Here I found my first problem – the troublesome roads layer. To review – the roads layer has all the streets and highways in the county, divided into classes. Classes include Interstate highways, Toll roads, US Highways, and so on. In ArcMap it is easy to change the layer symbology so that certain classes are not shown. So far none of the free applications have been able to do so, and uDIG is no exception – there simply is no way to ignore features in a layer. **Does anyone know of a solution to this problem in OpenJump? Could you theme it somehow to ignore certain classes of roads? regards, Larry -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] selected features only
there is also a method: getFeaturesWithSelectedItems() does this help? and you may look for instance what the bufferplugin or the union plugin do. Because they present two different dialogs if features are selected. Geometry Functions has a checkbox for selected features. stefan luca marletta schrieb: Hi list, I've not yet much clear a way to implement the ALL_Layer_Feature or just Selected I mean if I do Collection candidateFeatures = selection_only ? context.getLayerViewPanel().getSelectionManager().getSelectedItems(layer) :layer.getFeatureCollectionWrapper().getFeatures(); for (Iterator it = candidateFeatures.iterator() ; it.hasNext() ;) { Geometry g = (Geometry) it.next().getGeometry(); It only works with all features because in this case candidateFeatures are Features and in the other case are already Geometry. Is there an elegant way to solve this condition and casting? I ask because I've already browsed a lot of code but I've not been lucky, thanks a lot luca and luca marletta www.beopen.it -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] JTS mailing list - new location
Hei Martin, thanks for the update. I just recognized that I got my last jts email (digest mode) on November 6th... so there was no general email going out to list members? In case that is true, can you send a message to all old members? stefan Martin Davis wrote: For anyone interested, the JTS mailing list is now here: https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user Please spread the word! Martin -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons
mhm.. well in theory ot should be easy to make such a script. But the level is in the detail: if you have two polygons, what distance do you return? the shortest, i.e. boundary to boundary?, or the centroids? an additional (button) function could indeed work stefan Rahkonen Jukka schrieb: Hi, I agree totally with Larry. OpenJump is already a very productive editing tool. Connecting routines which are used hundreds of times per day to menu shortcut or toolbar button does not only speed up the work but it also cuts down the number of errors, and perhaps most important, it makes the work much less irritating. And it seems to be that a very useful features can be added by writing a lines of scripting code. I think that we should have a script library somewhere in OpenJump wiki. As an example I must create some screen captures about how to use a fine script made by Larry for assisting in generating Web Coverage Service requests. I also notised a Jython script for measuring distance between two selected features from GvSIG mailing list. Perhaps it could be modified to work with OpenJump as well because the real work is done by JTS. Link to this sript is here: http://n2.nabble.com/Distance-using-Jython-td4139275.html#a4139275 What I am missing most in OpenJump is the ability to write edited data back to the database. -Jukka Rahkonen- Larry Becker wrote: Thanks for the feedback Michaël and Stefan. In case anyone out there is wondering what is the use of a toolbox that can only reuse existing menu features, it is all about optimizing work flow. I believe we have an opportunity to position OpenJump as being the best tool for data creation and editing. The EZ Buttons function furthers that aim by allowing users to optimize repetitive tasks. EZ Buttons can be used in conjunction with BeanTools scripting for the creation of custom tools. However, I do intend to eventually revisit Jukka's idea of a quick-and-easy custom data entry tool for ad hoc field digitizing. regards, Larry -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons
Oh.. forgot this one: What I am missing most in OpenJump is the ability to write edited data back to the database. I guess this is a case for sponsored development? Not sure who even would have the (PostGIS OJ) knowledge to do that and work on incremental write support. The only way I see for now is the WFS-T stuff (I thought you would use that?) from deeJUMP (Yep, I know you did already sponsor things - thanks for that!) stefan -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons
btw. the best way to not forget such things is to add them to the feature request list. http://sourceforge.net/tracker/?atid=679909group_id=118054func=browse stefan Rahkonen Jukka schrieb: Hi, I agree totally with Larry. OpenJump is already a very productive editing tool. Connecting routines which are used hundreds of times per day to menu shortcut or toolbar button does not only speed up the work but it also cuts down the number of errors, and perhaps most important, it makes the work much less irritating. And it seems to be that a very useful features can be added by writing a lines of scripting code. I think that we should have a script library somewhere in OpenJump wiki. As an example I must create some screen captures about how to use a fine script made by Larry for assisting in generating Web Coverage Service requests. I also notised a Jython script for measuring distance between two selected features from GvSIG mailing list. Perhaps it could be modified to work with OpenJump as well because the real work is done by JTS. Link to this sript is here: http://n2.nabble.com/Distance-using-Jython-td4139275.html#a4139275 What I am missing most in OpenJump is the ability to write edited data back to the database. -Jukka Rahkonen- Larry Becker wrote: Thanks for the feedback Michaël and Stefan. In case anyone out there is wondering what is the use of a toolbox that can only reuse existing menu features, it is all about optimizing work flow. I believe we have an opportunity to position OpenJump as being the best tool for data creation and editing. The EZ Buttons function furthers that aim by allowing users to optimize repetitive tasks. EZ Buttons can be used in conjunction with BeanTools scripting for the creation of custom tools. However, I do intend to eventually revisit Jukka's idea of a quick-and-easy custom data entry tool for ad hoc field digitizing. regards, Larry -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] source of nightly builds?
right.. its only class file. for the source files you need to connect to the SVN: https://jump-pilot.svn.sourceforge.net/svnroot/jump-pilot/core/trunk stefan Nils Kuhn wrote: well, I think there are just the compiled .class-files included. I searched the code as .java-files. regards, Nils Stefan Steiniger schrieb: it's here: http://jump-pilot.sourceforge.net/download/nightlybuild/ but I have posted the links on the wiki too. On the homepage it is also on the very left (though.. a bit small). stefan Nils Kuhn wrote: Hi all, the source of the nightly builds isn't available from the homepage? Or am I too blind to find? regards, Nils -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Dipl.-Biol. Nils Kuhn Email: nils.k...@bws-gmbh.de Fon: +49 (0)40 - 23 16 65-26 Fax: +49 (0)40 - 23 16 65-01 BWS GmbH Gotenstraße 14 D-20097 Hamburg Sitz der Gesellschaft: Hamburg Amtsgericht Hamburg: HRB 87830 Geschäftsführer: Dipl.-Geol. Robert Dési Dipl.-Geogr. Hydr. Lutz Krob * HINWEIS: Diese E-Mail und beigefügte Dateien dienen nur der Vorabstimmung und stellen keine rechtswirksame Willenserklärungen oder Beratungsleistungen dar. Es können keine Haftungsansprüche gegenüber der BWS GmbH geltend gemacht werden. Alle rechtswirksamen Äußerungen (Verträge, Stellungnahmen, Berechnungen, Vermerke etc.) erhalten Sie von uns in schriftlicher Form und gegebenenfalls auf separatem Datenträger. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte den Absender und vernichten Sie diese E-Mail. Unerlaubtes Kopieren und Weiterleiten dieser E-Mail sind nicht gestattet. * -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] 3D develop in OJ
mhm.. an interest set of problems outlined by Michael. Which either requires a new options dialog for default settings or - what I think for now is - that we concentrate on manual editing and not on any processing of 3d stuff. In general I am fine with commits by (you) Larry - taking the approach of testing later, i.e. from the committed version ;o) and on Luca's question: it is normal, and it sounds to me like you forgot to use the -default-plugins option that calls the xml file of the same name. i.e. add to the program arguments box in Eclipse: -default-plugins c:\dev\eclwork\openjump_svn\scripts\default-plugins.xml (did we forgot to document that?) stefan Michaël Michaud wrote: Larry Becker a écrit : I have added z interpolation to the Add Vertex tool for most normal cases. There are some boundary cases that still won't work without further mods. I have made those modifications to CoordUtil, but won't commit them until the other developers approve since they are called by many classes. It is attached. Hi Larry an Luca, Thanks to Larry for this addition. I think that in the second method average(Collection coordinates), the test if (Double.isNaN(coordinate.z)) should be if (!Double.isNaN(coordinate.z)) About the general request from Luca, I think there are many places where z can be handled in a better way, but one problem is that JTS algo don't interpolate z and what can be done for the Add Vertex Tool may be hard to generalize to other plugins : Examples : Intersection between linestring in a layer : I think z should be interpolated, but the plugin heavily use JTS so that interpolation may not be easy Union : added vertex may have two different interpolated z coming from two different geometries : what to do in this case ? choose one solution, a mean value or NaN ? Snap new vertex to a feature with z : what to do if several points with different z are located where one want to snap ? My 2 cents Michaël regards, Larry On Fri, Dec 11, 2009 at 9:05 AM, Larry Becker becker.la...@gmail.com mailto:becker.la...@gmail.com wrote: Hi Luca, Thanks for your ideas to improve OJ. A great fix of this behavior could be: when you add a new vertex the Z will become the linear interpolation of the previous and next vertex of polygon or line: It sounds simple enough to modify the Add Vertex tool to do this. and when you move this vertex it takes the Z of the destination vertex ... I'm not quite sure about this one. Can you give an example? By the way: is normal that if run OJ from Eclipse (source from svn) the tools menu is in another place and trunked of a lot of items? This is definitely not normal. Check your workbench-properties.xml file. It should normally be empty. It sounds like you may be getting multiple definitions of the menu options. We need more information to know for sure. regards, Larry Becker On Fri, Dec 11, 2009 at 8:39 AM, luca marletta lucama...@gmail.com mailto:lucama...@gmail.com wrote: Follow Stefan guide lines, if I got well, I post a request or suggestion for a 3D enhancement on existing functions. Problem: working with 3d geometry you often have to add a new vertex and move it on an adjacent polygon vertex. Now when you add a new vertex the Z is undefined and even when you move this new vertex on an adjacent polygon vertex this is not able to change his undefined Z and get the adjacent polygon vertex Z. A great fix of this behavior could be: when you add a new vertex the Z will become the linear interpolation of the previous and next vertex of polygon or line: a simple mean of Z weighted on 1/distance. and when you move this vertex it takes the Z of the destination vertex even if this is a behavior in my opinion convenient but someone could have different idea. I think is quite simple for the maintainer of these class and for working in 3D is a simple but great enhancement. By the way: is normal that if run OJ from Eclipse (source from svn) the tools menu is in another place and trunked of a lot of items? thanks a lot luca luca marletta www.beopen.it http://www.beopen.it -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net
Re: [JPP-Devel] Question about TaskMonitorDialog, ThreadedPlugIn, and Threads in OpenJUMP
Hei Benjamin Gudehus wrote: Hi! PS: Who send the first message? I did not get it. I found the first message here: http://www.mail-archive.com/jump-pilot-devel@lists.sourceforge.net/msg06770.html aha.. thanks. I was traveling in August - that's why I did not know it. But its quite funny that Landon asked that. because the plugins I write contain text from Jon, which says what is happening, and the wiki has those infos too. you know that this is possible using * monitor.report(computing feature + count + of + numFeatures); I already implemented my plugin using monitor.report(). But after run() finished the dialog disappears. I also want to customize it, to show a nice progress bar (JProgressBar). Maybe I try to make TaskMonitorManager more flexible, thus one can use customized dialogs for run(). I have some experience with testing threads and swing. I suppose some tests would be very useful. ah good.. go ahead! Useful extensions are always welcome. my experiences are rather in GIS algorithms. Threading is a black box to me :) Though Sascha Teichman did know quite a bit, but he hasn't written since they got this new project a year ago. -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] source of nightly builds?
it's here: http://jump-pilot.sourceforge.net/download/nightlybuild/ but I have posted the links on the wiki too. On the homepage it is also on the very left (though.. a bit small). stefan Nils Kuhn wrote: Hi all, the source of the nightly builds isn't available from the homepage? Or am I too blind to find? regards, Nils -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons
Hei Larry, Larry Becker wrote: Thanks for the feedback Michaël and Stefan. In case anyone out there is wondering what is the use of a toolbox that can only reuse existing menu features, it is all about optimizing work flow. Yep.. this was for instance a request by Bernd with respect to the merge two polygons function. Though - I think they went ahead now with some custom developments based on your great Python extension. The advantage of having in-house developers, for some. I believe we have an opportunity to position OpenJump as being the best tool for data creation and editing. yep that where I see OJ's strengths too, including of course QA and extending it to data conflation The EZ Buttons function furthers that aim by allowing users to optimize repetitive tasks. EZ Buttons can be used in conjunction with BeanTools scripting for the creation of custom tools. I was wondering if that is possible. So how would that go? a script that adds a menu item and then one selects that item? stefan However, I do intend to eventually revisit Jukka's idea of a quick-and-easy custom data entry tool for ad hoc field digitizing. regards, Larry -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] contributing to openjumps development (formerly theaming feature)
Hei Luca, no, there are no formal assignments due to lack of programmers. However, one thing that comes out is, if somebody committed/contributed the function - the person usually maintains it as long as he/she is around. You can make whatever change you want, as we are an open source project. The general rule to get commit/write access to the SVN is that either someone knows you very well and your ability to program, or you deliver 1-2 pieces of work (e.g. own functions or improvements). Those get reviewed by 2 developers. And if they like it, you get write access to the SVN (which requires a SourceForge account). However, what is always possible is to do your programming and send us either your new classes completely (we would use then the compare function in Eclipse) or you send us a patch (made with Eclipse) - and I/we would then test what is happening if it works. Further notes: - changes/modifications to the core (com.vividsolution.jump.*... packages) need to be agreed by at least 2 developers - new api methods or extensions (e.g. for data IO) can be added by avoding hard coding too (as there is a framework for that too) - new general functions should come always as plugins - changes to plugins are reviewed/tested by at least one other person - everything which is new goes into the package org.openjump.*, and not com.vividsolutions.* so, I hope that clarifies some things (I need to check if that is on the wiki; I think at least partly) stefan luca marletta wrote: Thanksyou, I use you example and I reach my goal!. is there any description on the way OJ project is organized for development? I mean who is working on what.. I'd like to give some contribution even if I'm a newbee on java. For example I need a lot to manage 3D geometry and even if OJ is, after GRASS the best opensource tool for 3D there are still some basic lacks. Some examples: - postgis plugin doesn't support 3D (also shptopgsql doesn't) I need OGR for it. - some tool like move geometry drops Z and so on I'd like to make a revision on code for some of them. Someone is already working on these aspects? luca luca marletta www.beopen.it -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] theaming feature
thank you! Larry Becker wrote: Fixed the drop z bugs in the move , move along angle, and paste items at tools. Larry On Thu, Dec 10, 2009 at 2:28 PM, Larry Becker becker.la...@gmail.com mailto:becker.la...@gmail.com wrote: Some of the move tool's dropping Z problems are the fault of my com.vividsolutions.jump.geom.CoordUtil which uses the 2D Coordinate constructor. No doubt there is a proper JTS class that I should be using instead of reinventing the vector algebra wheel. Larry 2009/12/10 Michaël Michaud michael.mich...@free.fr mailto:michael.mich...@free.fr Hi Luca, - postgis plugin doesn't support 3D (also shptopgsql doesn't) I need OGR for it. Just want to mention that with the datastore query tool, you can get 3D objects from postgis by querying select asewkb(geometry) instead of asbinary(geometry) - some tool like move geometry drops Z I did not notice that. May be you could fill a bug report I'd like to make a revision on code for some of them. Someone is already working on these aspects? Not that much, but I'm also concerned with 3D geometries and I developped some plugins for error detection (z values, slope...) Michaël luca luca marletta www.beopen.it http://www.beopen.it On Wed, Dec 9, 2009 at 9:51 AM, Nils Kuhn nils.k...@bws-gmbh.de mailto:nils.k...@bws-gmbh.de wrote: Hi Luca, here is another example: public boolean execute(PlugInContext context) throws Exception{ this.reportNothingToUndoYet(context); Layer lyr=context.getLayerManager().getLayer(yourLayerName); //getting the ColorThemingStyle from the layer ColorThemingStyle colorThemingStyle = ColorThemingStyle.get(lyr); //defining the field on which the ColorThemingStyle is based colorThemingStyle.setAttributeName(yourFieldName); //creating an invisible BasicStyle and making it the DefaultStyle of the ColorThemingStyle BasicStyle defStyle = new BasicStyle(); defStyle.setAlpha(255); colorThemingStyle.setDefaultStyle(defStyle); //as an example creating some BasicStyles BasicStyle basStyle1 = new BasicStyle(); basStyle1.setFillColor(new Color(255,255,153)); basStyle1.setLineColor(new Color(178,178,107)); basStyle1.setLineWidth(1); BasicStyle basStyle2 = new BasicStyle(); basStyle2.setFillColor(new Color(255,99,75)); basStyle2.setLineColor(new Color(178,69,52)); basStyle2.setLineWidth(1); BasicStyle basStyle3 = new BasicStyle(); basStyle3.setFillColor(new Color(127,201,127)); basStyle3.setLineColor(new Color(88,140,88)); basStyle3.setLineWidth(1); BasicStyle basStyle4 = new BasicStyle(); basStyle4.setFillColor(new Color(0,153,0)); basStyle4.setLineColor(new Color(0,107,0)); basStyle4.setLineWidth(1);; basStyle4.setFillPattern(WKTFillPattern.createVerticalHorizontalStripePattern(2, 2, false, true)); basStyle4.setRenderingFillPattern(true); BasicStyle basStyle6 = new BasicStyle(); basStyle6.setFillColor(new Color(0,0,0)); basStyle6.setLineColor(new Color(0,0,0)); basStyle6.setLineWidth(1); basStyle6.setFillPattern(WKTFillPattern.createDiagonalStripePattern(2, 2, true, false)); basStyle6.setRenderingFillPattern(true); //creating a HashMap and making it the AttributeValueToBasicStyleMap of the ColorThemingStyle //(referencing the values in the field set above to a BasicStyle) HashMapInteger,BasicStyle attributeToStyleMap = new HashMapInteger,BasicStyle(); attributeToStyleMap.put(1, basStyle1); attributeToStyleMap.put(2, basStyle2); attributeToStyleMap.put(3, basStyle3); attributeToStyleMap.put(4, basStyle4); attributeToStyleMap.put(6, basStyle6); colorThemingStyle.setAttributeValueToBasicStyleMap(attributeToStyleMap); //creating a HashMap and making it the AttributeValueToLabelMap of the ColorThemingStyle
Re: [JPP-Devel] More code-examples?
Hei Nils, thanks for the feedback. If you wish you can also add those examples (i.e. your example) yourself to the wiki. Use therefore either the general user login (see start page infos) or create a new account - and I would give you write access. I actually understand your example on the attributes, but I don't do really the second one. I.e. do you want for instance all objects that intersect a certain other object? (I use this for instance when I want to transfer attributes after creating new features, utilizing usually a tree structure for speeding up the search, i.e. STRtree). So you are welcome to post the typical problems you have to solve, so we could write how-to's some time. Which is actually related what I wrote to Martin Davis on a possible JTS book/user guide. But of course.. this will take time, i.e. won't be done tomorrow - but if all help a bit... stefan Nils Kuhn wrote: Hi all, first thanks for the work on the new layouted homepage and the wiki (I like the clear black/white/orange style). I think we could have more sample-plugins and code-examples in the developer documentation. For starting with writing own PlugIns (for me) this is much more helpful than just combing through the javadoc or the core-code. E.g. the examples on coloring a layer in the last thread could be added as an example. And I am missing some code examples on how to select some features of a layer by attributes or by intersecting a given geometry. Best regards, Nils -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Question about TaskMonitorDialog, ThreadedPlugIn, and Threads in OpenJUMP
BTW: I'm currently trying to modify the TaskMonitorDialog to show a progressbar with addional information. you know that this is possible using * monitor.report(computing feature + count + of + numFeatures); I also use often the following option to send messages during processing (though not the best way - but ok for my purposes): * context.getWorkbenchFrame().warnUser(no point dataset); * context.getWorkbenchFrame().setTimeMEssage(blabla); stefan PS: Who send the first message? I did not get it. -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] EZ Buttons
Larry, this is awesome! I was already wondering what happend with the idea of a second or dynamic toolbar, but this is great. And it is nice that the settings are stored when OpenJUMP is closed and started again too. a big thank You (and those that helped you)! This stuff would have gone way over my restricted programming knowlegde ;) I am looking already forward to a next release (but probably not before April/May). Next I need to check Michaels CSV/txt file plugin (no time yet). stefan Larry Becker schrieb: I have just done a preliminary port of SkyJUMP's EZ Button feature. The EZ Buttons option appears to the View menu. It provides an option to display a button panel that can be easily programed by choosing existing menu options with right mouse clicks. It can be activated with both the buttons and Function Keys F1-10. The function keys continue to work even when EZ Buttons are hidden. There are two interface strings that haven't been put in the language files yet: Right Click to Assign Button F (F1 - F10) and Map Right Click. Might need some feedback as to how clear the wording is before doing this. To preview the feature use the following workbench-properties.xml: workbench plug-inorg.openjump.core.ui.plugin.view.EasyButtonsPlugin/plug-in /workbench In addition to the 3 files added to org.openjump.core.ui.plugin.view, some methods and classes were added to com.vividsolutions.jump.workbench.ui.plugin.FeatureInstaller also. regards, Larry -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] [Fwd: [jump-pilot - Problems with PlugIns] RE: Plugin for SDE 9.3 not working]
... follow up :) Original Message Subject:[jump-pilot - Problems with PlugIns] RE: Plugin for SDE 9.3 not working Date: Mon, 07 Dec 2009 11:58:04 + From: SourceForge.net nore...@sourceforge.net To: nore...@sourceforge.net Read and respond to this message at: https://sourceforge.net/projects/jump-pilot/forums/forum/729480/topic/3471265 By: nobody Hi! Now it is working - and I don't know why. I changed nothing. Strange... :-) So, it looks like ArcSDE 9.3 is still running with Open Jump! Regards Juergen __ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/projects/jump-pilot/forums/forum/729480/topic/3471265 -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] OpenJUMP 1.3.1 maintenance release
Hei all, After performing now a few tests with ArcGIS Feature to Raster tool and the Sextante rasterization function I think the fix I did for the pixel North-West shift when writing TIFF raster images is working as it supposed to (using the pirol/sextante file image export). That is raster and vector data are properly aligned when Open... Sextante Raster Image is used. So, I made a new OJ 1.3.1 release with that bug fix. It also contains the changes to the PostGIS query dialog (using a fence) to spatially restrict queries - made by Michael (thank you!). That is, the new release is probably only interesting to PostGIS users and Sextante Users. Maybe interesting for both is an additional (Windows) download I created that contains both plugins plus the Cadplan printing plugin. I created this version for teaching a GIS course. According to user comments, this version (i.e. Sextante) unforntunately doesn't work on Ubuntu. The downloads are available here: http://sourceforge.net/projects/jump-pilot/files/ PS: Two side notes on the stats - showing that our work seems to spark some interest :) i) The download statistic graphs on Sourceforge seem to be delayed now by 2 days or; and sometimes not working. However, it turns out we have about 1000 downloads/month for the OpenJUMP windows setup file (alone). ii) Since we switched the domain .openjump.org to our Sourceforge webpage I get some interesting user statistics (using Google Analytics). While we had about 30 visits on peak days for the old page, we have now up to 230 visits (i.e. unique visitors) a day. That shows how significant the openjump.org domain was/is. cheers from sunny but cold Calgary stefan -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Bug fixed for exporting (Sextante/Pirol)-Raster files in OpenJUMP
yep.. it seemed to me too, that jpg is exported correctly. stefan Larry Becker wrote: Hi Stefan, The WorldFileWriter class used by the JPEG writer has the correct pixel offset. @Peppe, I haven't actually tried it, but the code look right. regards, Larry On Sun, Dec 6, 2009 at 3:31 PM, Stefan Steiniger sst...@geo.uzh.ch mailto:sst...@geo.uzh.ch wrote: Hei Peppe, thanks for looking into it. so - it appears for JPG too? that means it is also a problem of the old framework? mhm.. I think I need to do an additional vector rasterization-overlay check in ArcGIS. stefan Giuseppe Aruta schrieb: Hi Stefan, I confirm your observation in AdbToolbox (Openjump derived) and Skyjump (Jump derived), I loaded a wms with ortophotos and saved them in JPG. Than I reloaded into the workbenck. In both cases there is a shift of 1/2 pixel to NW, as you mentioned. It seems that the problem is on Jump family side. Regards Peppe --- *Ven 4/12/09, Stefan Steiniger /sst...@geo.uzh.ch mailto:sst...@geo.uzh.ch/* ha scritto: Da: Stefan Steiniger sst...@geo.uzh.ch mailto:sst...@geo.uzh.ch Oggetto: Re: [JPP-Devel] [Sextante-users] Bug fixed for exporting (Sextante/Pirol)-Raster files in OpenJUMP A: Victor Olaya Ferrero vol...@unex.es mailto:vol...@unex.es Cc: List for discussion of JPP development and use. jump-pilot-devel@lists.sourceforge.net mailto:jump-pilot-devel@lists.sourceforge.net, openjump-us...@googlegroups.com mailto:openjump-us...@googlegroups.com, sextante-us...@lists.forge.osor.eu mailto:sextante-us...@lists.forge.osor.eu Data: Venerdì 4 dicembre 2009, 19:26 Hei Victor, no it's only on the OpenJUMP side. So, no problem for you. Images are correctly exported to OpenJUMP (at least it looks like, when I compare for instance points and the rasterized versions. But I haven't really checked that). stefan Victor Olaya Ferrero wrote: Stefan, Is that a bug in the SEXTANTE-OJ Bindings, or a SEXTANTE bug that might affect other users?? A Geotools user recently reported a similar behaviour and a fix (that I haven't updated yet, since it is a quick fix and I still have to test it a bit more). Regards. Victor Hei all, today I discovered a problem with the tif image export for raster files if for instance Sextante raster processing results should be exported. Unfortunately the export function shifted the images by 0.5 pixels towards NW (since the current implementation did not respect that the world file coordinate is given for the center of the first pixel - and not the pixel corner) I did a bug fix an hour ago. I hope that tomorrows nightly build contains this fix. You can see if it works by exporting a loaded tif file (using the load Sextante raster image option) with Save Raster Image from the raster image layer context menu, and reload the file again (using Open.. Sextante Raster...). If there is a shift in both images, then this is a non-fixed version. I am sorry for any troubles that may have occurred (the fastest way may be to fix the world files). stefan PS: As this a severe problem, I will try to make a new OpenJUMP release the next days. ___ Sextante-users mailing list sextante-us...@lists.forge.osor.eu mailto:sextante-us...@lists.forge.osor.eu /mc/compose?to=sextante-us...@lists.forge.osor.eu mailto:sextante-us...@lists.forge.osor.eu https://lists.forge.osor.eu/listinfo/sextante-users -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev
Re: [JPP-Devel] Bug fixed for exporting (Sextante/Pirol)-Raster files in OpenJUMP
Hei Peppe, thanks for looking into it. so - it appears for JPG too? that means it is also a problem of the old framework? mhm.. I think I need to do an additional vector rasterization-overlay check in ArcGIS. stefan Giuseppe Aruta schrieb: Hi Stefan, I confirm your observation in AdbToolbox (Openjump derived) and Skyjump (Jump derived), I loaded a wms with ortophotos and saved them in JPG. Than I reloaded into the workbenck. In both cases there is a shift of 1/2 pixel to NW, as you mentioned. It seems that the problem is on Jump family side. Regards Peppe --- *Ven 4/12/09, Stefan Steiniger /sst...@geo.uzh.ch/* ha scritto: Da: Stefan Steiniger sst...@geo.uzh.ch Oggetto: Re: [JPP-Devel] [Sextante-users] Bug fixed for exporting (Sextante/Pirol)-Raster files in OpenJUMP A: Victor Olaya Ferrero vol...@unex.es Cc: List for discussion of JPP development and use. jump-pilot-devel@lists.sourceforge.net, openjump-us...@googlegroups.com, sextante-us...@lists.forge.osor.eu Data: Venerdì 4 dicembre 2009, 19:26 Hei Victor, no it's only on the OpenJUMP side. So, no problem for you. Images are correctly exported to OpenJUMP (at least it looks like, when I compare for instance points and the rasterized versions. But I haven't really checked that). stefan Victor Olaya Ferrero wrote: Stefan, Is that a bug in the SEXTANTE-OJ Bindings, or a SEXTANTE bug that might affect other users?? A Geotools user recently reported a similar behaviour and a fix (that I haven't updated yet, since it is a quick fix and I still have to test it a bit more). Regards. Victor Hei all, today I discovered a problem with the tif image export for raster files if for instance Sextante raster processing results should be exported. Unfortunately the export function shifted the images by 0.5 pixels towards NW (since the current implementation did not respect that the world file coordinate is given for the center of the first pixel - and not the pixel corner) I did a bug fix an hour ago. I hope that tomorrows nightly build contains this fix. You can see if it works by exporting a loaded tif file (using the load Sextante raster image option) with Save Raster Image from the raster image layer context menu, and reload the file again (using Open.. Sextante Raster...). If there is a shift in both images, then this is a non-fixed version. I am sorry for any troubles that may have occurred (the fastest way may be to fix the world files). stefan PS: As this a severe problem, I will try to make a new OpenJUMP release the next days. ___ Sextante-users mailing list sextante-us...@lists.forge.osor.eu /mc/compose?to=sextante-us...@lists.forge.osor.eu https://lists.forge.osor.eu/listinfo/sextante-users -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net /mc/compose?to=jump-pilot-de...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] [Sextante-users] Bug fixed for exporting (Sextante/Pirol)-Raster files in OpenJUMP
Hei Victor, no it's only on the OpenJUMP side. So, no problem for you. Images are correctly exported to OpenJUMP (at least it looks like, when I compare for instance points and the rasterized versions. But I haven't really checked that). stefan Victor Olaya Ferrero wrote: Stefan, Is that a bug in the SEXTANTE-OJ Bindings, or a SEXTANTE bug that might affect other users?? A Geotools user recently reported a similar behaviour and a fix (that I haven't updated yet, since it is a quick fix and I still have to test it a bit more). Regards. Victor Hei all, today I discovered a problem with the tif image export for raster files if for instance Sextante raster processing results should be exported. Unfortunately the export function shifted the images by 0.5 pixels towards NW (since the current implementation did not respect that the world file coordinate is given for the center of the first pixel - and not the pixel corner) I did a bug fix an hour ago. I hope that tomorrows nightly build contains this fix. You can see if it works by exporting a loaded tif file (using the load Sextante raster image option) with Save Raster Image from the raster image layer context menu, and reload the file again (using Open.. Sextante Raster...). If there is a shift in both images, then this is a non-fixed version. I am sorry for any troubles that may have occurred (the fastest way may be to fix the world files). stefan PS: As this a severe problem, I will try to make a new OpenJUMP release the next days. ___ Sextante-users mailing list sextante-us...@lists.forge.osor.eu https://lists.forge.osor.eu/listinfo/sextante-users -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] SoftPedia certification
Hei Larry, thanks for the hint. I just got their email today too. stefan Larry Becker wrote: See how I displayed the Softpedia award at the SkyJUMP web site: http://skyjumpgis.org On Thu, Dec 3, 2009 at 10:36 AM, Larry Becker becker.la...@gmail.com mailto:becker.la...@gmail.com wrote: Hi Stefan, I just remembered that we never added the SoftPedia certification to the OJ web site. http://mac.softpedia.com/progClean/OpenJUMP-Clean-56824.html regards, Larry -- Larry Becker Integrated Systems Analysts, Inc. -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Bug fixed for exporting (Sextante/Pirol)-Raster files in OpenJUMP
Hei all, today I discovered a problem with the tif image export for raster files if for instance Sextante raster processing results should be exported. Unfortunately the export function shifted the images by 0.5 pixels towards NW (since the current implementation did not respect that the world file coordinate is given for the center of the first pixel - and not the pixel corner) I did a bug fix an hour ago. I hope that tomorrows nightly build contains this fix. You can see if it works by exporting a loaded tif file (using the load Sextante raster image option) with Save Raster Image from the raster image layer context menu, and reload the file again (using Open.. Sextante Raster...). If there is a shift in both images, then this is a non-fixed version. I am sorry for any troubles that may have occurred (the fastest way may be to fix the world files). stefan PS: As this a severe problem, I will try to make a new OpenJUMP release the next days. -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] [Fwd: Virus in OpenJUMP 1.3] - again
Hei all, while I was answering on the email below (I know we had already a long thread on it and it seems like some day I need to copy Larrys SkyJUMP stuff) i found this interesting forum Entry on *Artemis*: http://forum.torrentprivacy.com/showthread.php?p=2931 and just for completeness the online check: http://www.virustotal.com/analisis/ef8f87e0ebaa203a51f98e1d1e6b68af68ca2ac1b2513181ede852268cceebd0-1254477080 cheers, stefan Original Message Subject: Virus in OpenJUMP 1.3 Date: Tue, 01 Dec 2009 11:02:50 +0100 From: Karsten Bleßmann karsten... Dear OpenJUMP-Team, while installing OpenJUMP 1.3 from: http://sourceforge.net/projects/jump-pilot/files/OpenJUMP%20win32%20installer/1.3/Setup-openjump13.exe/download I have an Virus-Alarm: Name: C:\Programme\OpenJUMP\bin\openjump.exe Virus known as: Artemis!98EA2CDE6F0F Status: C:\Programme\OpenJUMP\bin\openjump.exe Deleted! Why? best Regards Karsten Blessman -- Natürlich stehe ich für Rückfragen gern zur Verfügung. Mit freundlichen Grüßen Karsten Bleßmann GIS-Manager _ Stadt Brandenburg an der Havel - Die Oberbürgermeisterin - Kataster- und Vermessungsamt -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Plugin for SDE 9.3 not working
thanks for the answer Larry stefan Larry Becker wrote: Hi, I'm not aware of any issues with 9.3, but I don't have a test environment set up for ESRI ArcSDE so I can't help much. One of our users had an issue when upgrading to 9.2, but they were able to handle it with some setting change on the server - not sure what. In order to provide the dataset browser, we had to read some system tables, so it always possible that ESRI made changes to the schema. I should know more as 9.3 becomes more widespread. regards, Larry Becker Integrated Systems Analysts, Inc. On Thu, Nov 26, 2009 at 12:54 PM, Stefan Steiniger sst...@geo.uzh.ch mailto:sst...@geo.uzh.ch wrote: I guess Larry may know? stefan Original Message Subject:[jump-pilot - Problems with PlugIns] Plugin for SDE 9.3 not working Date: Thu, 26 Nov 2009 10:24:36 + From: SourceForge.net nore...@sourceforge.net mailto:nore...@sourceforge.net To: nore...@sourceforge.net mailto:nore...@sourceforge.net Read and respond to this message at: https://sourceforge.net/projects/jump-pilot/forums/forum/729480/topic/3471265 By: nobody Hi! With ESRI SDE 9.2 the connection between Open Jump and SDE works fine (for reading). After we've updated the SDE to Version 9.3 I get the following error after I've selected a feature dataset: -1 (Array Index Out Of Bounds Exception) and no data is displayed :-( Any idea out there? Thanks! __ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/projects/jump-pilot/forums/forum/729480/topic/3471265 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Plugin for SDE 9.3 not working
I guess Larry may know? stefan Original Message Subject:[jump-pilot - Problems with PlugIns] Plugin for SDE 9.3 not working Date: Thu, 26 Nov 2009 10:24:36 + From: SourceForge.net nore...@sourceforge.net To: nore...@sourceforge.net Read and respond to this message at: https://sourceforge.net/projects/jump-pilot/forums/forum/729480/topic/3471265 By: nobody Hi! With ESRI SDE 9.2 the connection between Open Jump and SDE works fine (for reading). After we've updated the SDE to Version 9.3 I get the following error after I've selected a feature dataset: -1 (Array Index Out Of Bounds Exception) and no data is displayed :-( Any idea out there? Thanks! __ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/projects/jump-pilot/forums/forum/729480/topic/3471265 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] R: OJ built-in help
Hei Larry, mhm.. thats an interesting thought... thanks for that stefan Larry Becker wrote: Help would be nice if it supports multiple languages, but this would be a large translation burden. Some application's help end up just restating the menu text with little embellishment. The best help is perhaps step-by-step how-to guides for specific processes. Larry On Wed, Nov 25, 2009 at 10:08 AM, Sunburned Surveyor sunburned.surve...@gmail.com mailto:sunburned.surve...@gmail.com wrote: Java has a built-in JavaHelp system that is HTML based. It seems to work well, and there are some extensions that have been written for it: http://jhelpdev.sourceforge.net/ http://www.mk-home.de/jhelpaction.html I've used this program before, and I know it works. I always thought it would be cool if we could integrate JavaHelp into OpenJUMP. The Sunburned Surveyor On Wed, Nov 25, 2009 at 4:49 AM, Giuseppe Aruta giuseppe_ar...@yahoo.it mailto:giuseppe_ar...@yahoo.it wrote: Hi Stefan, it seems an interesting idea. I am working around the translation of Sextante help in Italian, with other people: writing the help in XML format seems quite easy On the other hand I have no idea how would it be possible to integrate the framework into OJ. AFAIR Openjump the merge used to have a sort of help in html format integrated in it Peppe --- Mer 25/11/09, Stefan Steiniger sst...@geo.uzh.ch mailto:sst...@geo.uzh.ch ha scritto: Da: Stefan Steiniger sst...@geo.uzh.ch mailto:sst...@geo.uzh.ch Oggetto: [JPP-Devel] OJ built-in help A: List for discussion of JPP development and use. jump-pilot-devel@lists.sourceforge.net mailto:jump-pilot-devel@lists.sourceforge.net Data: Mercoledì 25 novembre 2009, 04:28 Hei all, I am working now for a couple of weeks with Sextante, doing some developments for my research. I have used the Sextante built-in help and thought it may be a good candidate to use in OJ. I haven't checked in detail how it works (it's html based) yet, but has anybody an oppinion on copying it to OJ? stefan -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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 -- Larry Becker Integrated Systems Analysts, Inc. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel
[JPP-Devel] OJ built-in help
Hei all, I am working now for a couple of weeks with Sextante, doing some developments for my research. I have used the Sextante built-in help and thought it may be a good candidate to use in OJ. I haven't checked in detail how it works (it's html based) yet, but has anybody an oppinion on copying it to OJ? stefan -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Enhancement to Run datatore query
nice! thanks for putting in the effort cheers from C stefan Michaël Michaud schrieb: Hi, Finally, I followed Paolo's advice and added two parameters ala ant Those two parameters are ${view} ${fence} Instead of writing them, one can use a button I added on the right of the panel (a nice icon would be better...) It is not as user friendly as a checkbox, but I think it will be more flexible. For now on, it only works with postgis (ST_GeomFromText function is used in the substitution) Don't know how to adapt it for other database : is ST_GeomFromText recognized by other spatial db ? Here is an example for a fast query inside the view : select asbinary(the_geom) from mytable t where t.the_geom ${fence} Michaël Paolo Rizzi a écrit : I think the geom column name can be anything, but something ala Apache ant parameter substitution could be a good idea, like: select * from (userquery) where whatever_the_geom_is {OJ.view.current.geom} and intersects(whatever_the_geom_is,{OJ.view.current.geom}) OpenJump should substitute the string {OJ.view.current.geom} with the current bbox.geometry of the view. Other well-known parameters may be useful, like...??? Can't think of anyone right now!!! Another improvement would be for Layers coming from a Run datastore query to have the Refresh menu' command like Add datastore Layers have. Also Run Datastore Layers should be saved inside OJ Task/Project, so you don't have to manually reenter them each time. Bye Paolo Rizzi Hi, I use Run datastore query panel a lot and your suggestion seems very useful to me. I'll try to dive into the code to see if I can add this feature, but it may be difficult to manage every case in a clean way (because the geometry column name is not fixed and because the query may be complex, with where conditions, joins, group by...). I think one approach could be to identify the geometry column (asbinary() or asewkb()), to create an alias ex. asbinary(geomcolumn) as GEOMETRY4OJ then to create a new query like select * from (userquery) where GEOMETRY4OJ bbox.geometry and intersects(GEOMETRY4OJ,bbox.geometry) not sure if it works any idea ? Michaël Rahkonen Jukka a écrit : Hi, While playing with SkyJUMP and pdf printing which does not work with Add datastore layer I soon realised that I would like to see a Use view extents as BBOX filter check box in the Run datastore query panel. -Jukka Rahkonen- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding.
Re: [JPP-Devel] R: OJ webpage wiki up and running with openjump.org domain - thanks to all
Hei Peppe and Larry, thank you for your input. Actually this morning I did got the index page too instead of the webpage - but now it seems to work. Not sure what was going on (maybe some DNS routing thing). @Peppe: the idea is to really retire the old wiki. So we are left with (i) the webpage at sourceforge (which is where www.openjump.org links to now), (ii) the project info page at sourceforge, and (iii) the wiki at sourceforge. I hope the search engines will recognize the sourceforge wiki within a month from now on. stefan Larry Becker wrote: Hi Stefan, Thanks to you and Jon for doing this. I like your plan to keep the web page as the starting point. regards, Larry On Wed, Nov 18, 2009 at 3:08 AM, Giuseppe Aruta giuseppe_ar...@yahoo.it mailto:giuseppe_ar...@yahoo.it wrote: Hi Stefan, If I google Openjump I can find easly these thre main page, in order of relative significance (for google) 1) http://www.openjump.org/ - our beloved wiki page! Actually it shows only an index page and nothing else 2) http://jump-pilot.sourceforge.net/ The jump pilot page. This is a nice introduction but it is not upgraded and it can create confusion to new users (even me). At the bottom of this page there is a link to 1) 3) http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?tit The new wiki page. I wasn't able to find on google this page, even using openjump mediawiki words. I had to check the address on our mail list. resuming The redirect link from 1 (old wiki) to 3 (new wiki) isn't active yet. On page 2 (jump pilot page) we should change the wiki address at the bottom of the page. I belive that we should leave the old wiki and let people be redirect from page 1 to page 2 (jump pilot one - the real page) which is a nice introduction to OJ project, with more sreenshots of OJ. Peppe Thanks very much to you, Jon and Ede for your work!!! --- Mer 18/11/09, Stefan Steiniger sst...@geo.uzh.ch mailto:sst...@geo.uzh.ch ha scritto: Da: Stefan Steiniger sst...@geo.uzh.ch mailto:sst...@geo.uzh.ch Oggetto: [JPP-Devel] OJ webpage wiki up and running with openjump.org http://openjump.org domain - thanks to all A: List for discussion of JPP development and use. jump-pilot-devel@lists.sourceforge.net mailto:jump-pilot-devel@lists.sourceforge.net, openjump-us...@googlegroups.com mailto:openjump-us...@googlegroups.com Data: Mercoledì 18 novembre 2009, 02:38 Hei all, so we finally switched the domain www.openjump.org http://www.openjump.org to the sourceforge servers. I thank Jon Aquino for doing this job and Ede Soldin for the tips tricks and links. Now it is the situation that www.openjump.org http://www.openjump.org links to the webpage I created a while ago (in 2008). I update the links to the new wiki. Now, the question is if we keep it that way or if I should add a re-direct to the wiki, i.e.: Do we want that users arrive at the wiki or at the real homepage? The wiki is quite frequently updated and contains a lot of info while the webpage may look more professional. Note, that I tried to keep the real homepage free of any actual issues, which avoids frequent updates - and updates are bascially necessary only for new releases. please tell me your thoughts. stefan -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] openjump wiki - redirect of domain
ok.. I have added openjump.org I think it is by now only scheduled? (i.e. step 3.6 is not possible). Without further reading, I wonder now if that is for the homepage or for the wiki.. but lets see... stefan Jonathan Aquino wrote: OK, I've done steps 1 and 2 from Edgar's link: http://sourceforge.net/apps/trac/sourceforge/wiki/Custom%20VHOSTs Stefan - Could you do step 3? -Original Message- From: edgar.sol...@web.de [mailto:edgar.sol...@web.de] Sent: Monday, November 16, 2009 1:35 AM To: OpenJump develop and use Subject: Re: [JPP-Devel] openjump wiki - redirect of domain But are you sure that sourceforge allows custom domains? while I had problems to do it by CNAME it works flawlessly by simple A record. see also https://sourceforge.net/apps/trac/sourceforge/wiki/Custom%20VHOSTs regards ede I think two things are needed: 1. I need you to find out the name of the sourceforge nameservers (see screenshot below) 2. You need to configure the sourceforge wiki to set its domain name (openjump.org) Jon -Original Message- From: Stefan Steiniger [mailto:sst...@geo.uzh.ch] Sent: Monday, November 16, 2009 12:05 AM To: List for discussion of JPP development and use.; Jonathan Aquino Subject: openjump wiki - redirect of domain Hei Jon, the wiki content has now been transfered (hopefully completely). Can you set now the domain openjump.org to the following address: http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?tit le=Main_Page Thank you for the hosting over the past years!!! What would we have been without your help ;) cheers from nightly Calgary stefan PS: not sure how we will handle the openjump.org domain registration (fees). Do you want to continue that? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] openjump wiki - redirect of domain
Hei Jon, can set for www in your screenshot instead of vhost.sourceforge.net jump-pilot.vhost.sourceforge.net or (not sure if that works): sourceforge.net/apps/mediawiki/jump-pilot/ because having it linked to vhost.sourceforge.net results in a general link that is not project specific (and I don't have access to the folder). Whereas jump-pilot.vhost.sourceforge.net would arrive at our project webpage home. I need to check what Edgar meant with the last email on htaccess - I never used that. stefan Jonathan Aquino schrieb: OK, I've done steps 1 and 2 from Edgar's link: http://sourceforge.net/apps/trac/sourceforge/wiki/Custom%20VHOSTs Stefan - Could you do step 3? -Original Message- From: edgar.sol...@web.de [mailto:edgar.sol...@web.de] Sent: Monday, November 16, 2009 1:35 AM To: OpenJump develop and use Subject: Re: [JPP-Devel] openjump wiki - redirect of domain But are you sure that sourceforge allows custom domains? while I had problems to do it by CNAME it works flawlessly by simple A record. see also https://sourceforge.net/apps/trac/sourceforge/wiki/Custom%20VHOSTs regards ede I think two things are needed: 1. I need you to find out the name of the sourceforge nameservers (see screenshot below) 2. You need to configure the sourceforge wiki to set its domain name (openjump.org) Jon -Original Message- From: Stefan Steiniger [mailto:sst...@geo.uzh.ch] Sent: Monday, November 16, 2009 12:05 AM To: List for discussion of JPP development and use.; Jonathan Aquino Subject: openjump wiki - redirect of domain Hei Jon, the wiki content has now been transfered (hopefully completely). Can you set now the domain openjump.org to the following address: http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?tit le=Main_Page Thank you for the hosting over the past years!!! What would we have been without your help ;) cheers from nightly Calgary stefan PS: not sure how we will handle the openjump.org domain registration (fees). Do you want to continue that? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] OJ webpage wiki up and running with openjump.org domain - thanks to all
Hei all, so we finally switched the domain www.openjump.org to the sourceforge servers. I thank Jon Aquino for doing this job and Ede Soldin for the tips tricks and links. Now it is the situation that www.openjump.org links to the webpage I created a while ago (in 2008). I update the links to the new wiki. Now, the question is if we keep it that way or if I should add a re-direct to the wiki, i.e.: Do we want that users arrive at the wiki or at the real homepage? The wiki is quite frequently updated and contains a lot of info while the webpage may look more professional. Note, that I tried to keep the real homepage free of any actual issues, which avoids frequent updates - and updates are bascially necessary only for new releases. please tell me your thoughts. stefan -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] openjump wiki - redirect of domain
Hei Jon, the wiki content has now been transfered (hopefully completely). Can you set now the domain openjump.org to the following address: http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=Main_Page Thank you for the hosting over the past years!!! What would we have been without your help ;) cheers from nightly Calgary stefan PS: not sure how we will handle the openjump.org domain registration (fees). Do you want to continue that? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] openjump wiki - redirect of domain
Hei Jon, thanks for the info. I will have a look on it. I am pretty sure that I have seen some projects that redirect to SourceForge. however, this may take some days stefan (Thanks Ede for the, link!) Jonathan Aquino wrote: Hi Stefan, I can take care of the domain registration fees (it's just $10 a year or something like that). But are you sure that sourceforge allows custom domains? I think two things are needed: 1. I need you to find out the name of the sourceforge nameservers (see screenshot below) 2. You need to configure the sourceforge wiki to set its domain name (openjump.org) Jon -Original Message- From: Stefan Steiniger [mailto:sst...@geo.uzh.ch] Sent: Monday, November 16, 2009 12:05 AM To: List for discussion of JPP development and use.; Jonathan Aquino Subject: openjump wiki - redirect of domain Hei Jon, the wiki content has now been transfered (hopefully completely). Can you set now the domain openjump.org to the following address: http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?tit le=Main_Page Thank you for the hosting over the past years!!! What would we have been without your help ;) cheers from nightly Calgary stefan PS: not sure how we will handle the openjump.org domain registration (fees). Do you want to continue that? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Enhancement to Run datatore query
Hei Jukka, what would that checkbox exacty do? stefan Rahkonen Jukka schrieb: Hi, While playing with SkyJUMP and pdf printing which does not work with Add datastore layer I soon realised that I would like to see a Use view extents as BBOX filter check box in the Run datastore query panel. -Jukka Rahkonen- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] SkyJUMP generating PDF directly with layers
I assume it is related to the caching? stefan Rahkonen Jukka wrote: Hi, I tried now - no effect at all. With PostGIS layers open in the task window, only the fence shows in the pdf file. -Jukka- Larry Becker wrote: Hmm. Perhaps PostGIS doesn't descend from Layer. There is no rendering optimization for non-Layer data, so it might render like a raster. Did you try unchecking the Change Line Width check box? Larry On Mon, Nov 9, 2009 at 12:27 PM, Rahkonen Jukka jukka.rahko...@mmmtike.fiwrote: Hi, No problem in installing, running and creating layered pdf from demo shapefiles. However, it does not print by own vectors from PostGIS into pdf. Layers appear in the resulting file but linework is not visible. Is there some simple reason for this? -Jukka- Larry Becker wrote: You can download a prerelease copy here: http://www.ashsiii.com/downloads/SkyJUMP_12_104.EXE Larry On Sat, Nov 7, 2009 at 6:52 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi Larry, I would like to have a try. When do you plan to release a version supporting layered PDF output? -Jukka- -Alkuperäinen viesti- Lähettäjä: Larry Becker [mailto:becker.la...@gmail.com] Lähetetty: pe 6.11.2009 17:32 Vastaanottaja: OpenJump develop and use Aihe: [JPP-Devel] SkyJUMP generating PDF directly with layers I just wanted to report that I have just added direct PDF generation capability to SkyJUMP (committed but build unreleased). It supports layers, transparency, and high resolution images. See the link below for an example. It uses the SkyJUMP print architecture and the iText http://www.lowagie.com/iText/library. http://www.ashsiii.com/downloads/SkyJUMP.pdf regards, Larry Becker Integrated Systems Analysts, Inc. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Larry Becker Integrated Systems Analysts, Inc. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] OpenJump 1.3 on Debian
Hei Barry, I think it should be able to build without those. We shipped those file reader plugins only with the OJ 1.3 release for windows and not with the nightly build (NB) that is here: http://jump-pilot.sourceforge.net/download/nightlybuild/ There was also added a patch to the SVN to remove compiling dependence to the proprietary ermapper.jar on May 17th, 2009 for the NB. thanks for looking into it. So, tell me if I can help further. stefan Barry deFreese wrote: Hi, I was trying to see about updating OpenJump in Debian to 1.3. However, several of the new classes seem to be from what Debian considers non-free sources. (ermapper and MrSIDPlugIn for example). Can OpenJump be built without these or are there free equivalents out there somewhere? Please reply to me off list as I really don't want to subscribe to yet another list... Thank you! Barry deFreese -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] OpenJump 1.3 on Debian
Hei again Barry, I made a new build and have put the zip files here: ftp://ftp.geo.unizh.ch/pub/sstein/openjump/debian pls. tell me when you got them, so I can delete the files. - I removed/commented the initialization commands for the ECW and MrSID stuff in org.openjump.OpenJUMPConfiguration.java - and I removed the packages: com.vividsolutions.jump.workbench.imagery.ecw com.vividsolutions.jump.workbench.imagery.mrsid - and the additional inits in com.vividsolutions.jump.workbench.ui.plugin.imagery.InstallReferencedImageFactoriesPlugin.java I hope its fine now? stefan Barry deFreese schrieb: Stefan Steiniger wrote: Hei Barry, I think it should be able to build without those. We shipped those file reader plugins only with the OJ 1.3 release for windows and not with the nightly build (NB) that is here: http://jump-pilot.sourceforge.net/download/nightlybuild/ There was also added a patch to the SVN to remove compiling dependence to the proprietary ermapper.jar on May 17th, 2009 for the NB. thanks for looking into it. So, tell me if I can help further. stefan Barry deFreese wrote: Hi, I was trying to see about updating OpenJump in Debian to 1.3. However, several of the new classes seem to be from what Debian considers non-free sources. (ermapper and MrSIDPlugIn for example). Can OpenJump be built without these or are there free equivalents out there somewhere? Please reply to me off list as I really don't want to subscribe to yet another list... Thank you! Barry deFreese Stefan, Thanks for the reply but unfortunately those seem to be binary builds. I need a source one. Is there a way for me to just remove/not build those plugins? Thanks, Barry deFreese -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] OpenJump 1.3 on Debian
Hei, mhm.. without JAI, that will be a problem. Of course we could remove the Tiff image support too, but this isn't very useful. Do you have a suggestion? i.e. are there the same classes in open libs? - e.g. we used already org.libtiff.jai.* earlier. I actually still build with Java 1.5.. but there was no complaint that it doesn't work with 1.6 :) maybe somebody else from the list has a suggestion (though it was quite quite there the last weeks) stefan OK, I tried that (if I did it right) and no luck. :( Seems we might not have JAI either. I've posted all three patches I have right now and a build log to: http://people.debian.org/~bdefreese/openjump/ Bye the way, there are two problems here. 1. I'm an idiot, especially when it comes to Java. :) 2. I'm trying to build it with openjdk-6. Thanks again, Barry -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] OpenJump 1.3 on Debian
thanks Barry, and due to your log I could also resolve the character encoding problems - as I have a european setup, i.e. german - i don't noticed those. have good night (in case you have evening/night like me in Calgary) stefan I'm asking around. It seems like there should be but this time of night the debian-java folks aren't very active. I'll let you know, thanks. Barry -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] OpenJump 1.3 on Debian - compile errors
Hei all, on more question, in case you or anybody else on the devel list knows. What does this log entry mean: cannot find symbol which is generated when compiling GeoReferencedRaster, with the protected class RenderedOp (after the ermapper errors). Is that an issue due to have the class protected? I am also not an expert on compilation stefan -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] request for commit approval
Hei all, I have started working with Sextante, the raster processing library (within my university project). It is possible to use Sextante external from OJ (i.e. it comes with its own GUI) and Sextante utilizes the new/old Pirol RasterImageLayer class to transfer raster data. However, it can also use OJ VectorLayers as input. Now I wanted a function that creates points/polygons out of an input raster, which requires some basic access methods to rasters. As I am a lazy (or clever?) person I have copied the Sextante base classes into OpenJUMP (and renamed most of them), so that i) one can perform basic operations on Pirols RasterImageLayers and generate new output layers ii) one (probably) can create portions of new Sextante algorithms directly in OpenJUMP and later need only to adapt the class names when converting to a Sextante processing algorithm. possible negative aspects: iii) doubling of code between OJ and Sextante (not sure, but I hope there won't be much updates to the Sextante base classes/interfaces) iv) I could have tried to use only functions provided with Pirols RasterImage class (However, Sextante provides a nice set of convenience methods, and seems to be very well designed). The following classes would be added to the OJ core: path: org.openjump.core.rasterimage.sextante.* AbstractSextanteRasterLayer = AbstractRasterLayer ISextanteDataObject = IDataObject ISextanteLayer = ILayer ISextanteRasterLayer = IRasterLayer OpenJUMPSextanteRasterLayer = OpenJUMPRasterLayer path: org.openjump.core.rasterimage.sextante.rasterWrappers* GriddCell GridExtent GridWrapper GridWrapperInterpolated GridWrapperNotInterpolated Any comments on this? Note, I would like to have feedback until the beginning of next week. stefan -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel