Re: [JPP-Devel] EZ Buttons

2009-12-14 Thread Larry Becker
Hi Jukka, Here is a script that leverages the JTS distance function: { import com.vividsolutions.jts.geom.*; import com.vividsolutions.jump.feature.*; import com.vividsolutions.jump.workbench.model.*; fc = wc.getLayerNamePanel().getSelectedLayers()[0].getFeatureCollectionWrapper(); Iterator i

Re: [JPP-Devel] EZ Buttons

2009-12-14 Thread Larry Becker
Sorry, it should have been: { import com.vividsolutions.jts.geom.*; import com.vividsolutions.jump.feature.*; import com.vividsolutions.jump.workbench.model.*; features= wc.getLayerViewPanel().getSelectionManager().getFeaturesWithSelectedItems(); Iterator i = features.iterator(); if

[JPP-Devel] JTS mailing list - new location

2009-12-14 Thread Martin Davis
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 -- Martin Davis Senior Technical Architect Refractions Research, Inc. (250) 383-3022

Re: [JPP-Devel] JTS mailing list - new location

2009-12-14 Thread Stefan Steiniger
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

Re: [JPP-Devel] JTS mailing list - new location

2009-12-14 Thread Martin Davis
Stefan, Yes, the list went down unexpectedly, so I couldn't send out an email announcing it! I have the list of subscribers, so I'm going to try and send one out soon. Martin Stefan Steiniger wrote: Hei Martin, thanks for the update. I just recognized that I got my last jts email (digest

Re: [JPP-Devel] EZ Buttons, Beanshell console and gdal

2009-12-14 Thread Larry Becker
I have committed a CmdRunner support class. Here is an example script for the nightly build that demonstrates it: { import org.openjump.core.ui.plugin.customize.CmdRunner; char delimiter = '\t'; //delimiter character must not occur in command line String commandLine = C:\\dup.bat + delimiter +

Re: [JPP-Devel] 3D develop in OJ

2009-12-14 Thread Martin Davis
To give a slightly different perspective on this: I deliberately avoided doing much (any!) interpolation of Z values in JTS, because it seems to heavily dependent on exactly what the user's Z model is (eg is he working with data which is referenced to a DEM). Obviously linear interpolation