Re: [JPP-Devel] Help for getting WKT with a BeanShell script

2014-02-13 Thread Rahkonen Jukka (Tike)
Hi, It was you who did also the difficult parts, I have just edited an old script that you have made sometimes. Script works as supposed. I can draw the geometry that I want to use in a spatial query on a map, run the script, copy-paste the result into the SQL window of the DB query plugin sen

Re: [JPP-Devel] Help for getting WKT with a BeanShell script

2014-02-12 Thread Michael Michaud
Hi Jukka, You really did the most difficult part : { import com.vividsolutions.jts.geom.*; import com.vividsolutions.jump.feature.*; import com.vividsolutions.jump.geom.EnvelopeUtil; import com.vividsolutions.jump.workbench.model.*; htmlFrame = wc.workbench.frame.outputFrame; htmlFrame

[JPP-Devel] Help for getting WKT with a BeanShell script

2014-02-12 Thread Rahkonen Jukka (Tike)
Hi, I tried to write a helper Bean tool for building a query for Oracle Spatial. My wish is to select a feature from OpenJUMP and insert its WKT presentation into a query template. Now I have everything ready except the capturing of the WKT. The result I get now is as follows: SELECT * FROM