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
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
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
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
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
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 +
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