[JPP-Devel] Just pure curiostity

2010-07-14 Thread Helmut Seidel M.A.
Hello everybody,

after I messed around with some homemade perl an c-code I finally 
started to develop plugins with openJump.

But still out of pure curiosity (I'm woring as a university teacher - 
that's where my curiosity comes from) I wonder how can Layers be loaded 
so fast - It took minutes in my perl/C-Application. So I have two questions:

* what are the logical steps you go through to read and display a, lets 
say, shape file - I tried it the way I read an item and display it in my 
widget - but that's painfully slow.
* Which portions of code must I look into, to see how it's done.

Thank you for your help and regards

Helmut

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Select shape by attribute

2010-07-07 Thread Helmut Seidel M.A.
Hello again,

thank you for your replies. Maybe I should have stated that I'm working 
on a plugin, not an external application.

Thanks again

Helmut

Am 07.07.2010 08:05, schrieb Matthias Scholz:
 Hi Sunburned Surveyor,

 at the moment I use a textfile, because this was the simplest way and
 there are no needs to change anything in the Archikart Software. I've
 reused a interface to an other GIS.

 Matthias

 Matthias,

 I'm curious what method you are using to communicate with OpenJUMP.
 Can you tell me?

 The Sunburned Surveyor

 On Tue, Jul 6, 2010 at 12:04 PM, Matthias Scholzm...@jammerhund.de  wrote:

  
 Hi Helmut,

 I've build a plugin for interfacing OJ with an external application
 called Archikart (www.archikart.de), for use at my employer. You can
 select a geometry in OJ an show the metadata in Archikart and the
 reverse way, show a geometry in OJ from Archikart. The plugin searches
 on all layers for the feature, selects the features and zoom to the
 selected features.
 At the moment we use this plugin for production, but it is not yet ready
 for publishing. I plan the public release for the end of the year. If
 you are interested, i can mail you the Netbeans project. If you work on
 a similar project, it would be nice if we can build one common plugin
 for interfacing OJ from external applications and vice versa.

 Matthias


 Hello everybody,

 thanks to your help I was able to start my project. So far I am able to
 extract some attributes from the selected elements look them up in a
 mysql-database and display the results in openJump. This was possible
 for me through the HowTo in your developers docs section.

 Now I need the other way round, i.e. look up some data in my
 mysql-database (which is the easy part), find the corosponding
 attributes in the displayed layer, select the feature (best by changeing
 the background-(fill-)color) and zoom to it. I'm not sure where to find
 the necessary methods in openJump - has anybody got a short example?

 Thanks and regards

 Helmut

 --
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 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 Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 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 Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 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 Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 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 Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] Select shape by attribute

2010-07-06 Thread Helmut Seidel M.A.
Hello everybody,

thanks to your help I was able to start my project. So far I am able to 
extract some attributes from the selected elements look them up in a 
mysql-database and display the results in openJump. This was possible 
for me through the HowTo in your developers docs section.

Now I need the other way round, i.e. look up some data in my 
mysql-database (which is the easy part), find the corosponding 
attributes in the displayed layer, select the feature (best by changeing 
the background-(fill-)color) and zoom to it. I'm not sure where to find 
the necessary methods in openJump - has anybody got a short example?

Thanks and regards

Helmut

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Getting started with PlugIn-development

2010-06-17 Thread Helmut Seidel M.A.

Hello again,

thank you for your help - now I got it running!

Thanks and regards

Helmut

Am 17.06.2010 15:18, schrieb Nils Kuhn:

Hi Helmut,

I don't know the age of this tutorial, but the classes of the 
OpenJUMP-core are located in the following two jars in the lib-folder 
of the installation:


* openjump-api-1.3.1.jar
* openjump-workbench-1.3.1.jar

Regards,
Nils


Helmut Seidel M.A. schrieb:

Hello everybody,

I'd like to actually get started with plugin-development. On the
doc-section I found three short tutorials that deal with introducing to
plugin-development. So I started to follow The one dealing with
Plugin-Development using eclipse
(http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=How_to_make_your_plugin_in_ECLIPSE).
I could follow the first steps though eclipse changed a bit. But when I
wanted to Add External JARs I found out jumpxxx.jar is not extant
anymore, so I tried openjump-workbenc-1.3.1.jar which looked ok at
first. But when I wanted to add the import-statements I didn't find the
appropriate packages, for example
com.vividsolutions.jump.workbench.AbstractPlugIn ...

So that's where my story ends as I didn't know how to proceed - So if
its not to demanding I would be glad if someone could update the
relevant parts of the tutorial or post some dirty update-text so I and
other newbees could get started ...

Thank you very much

Helmut

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


   



--
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo


___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
   
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel