Re: [JPP-Devel] Search tool for Attributes

2008-12-30 Thread Bing Ran
I've already noticed that. That's a nice surprise indeed! From: Larry Becker Sent: Wednesday, December 31, 2008 2:32 AM To: OpenJump develop and use Subject: Re: [JPP-Devel] Search tool for Attributes >... Also, I think that just because something is hidden due to a scale range, >it should

Re: [JPP-Devel] OpenJUMP Version Control Challenge

2008-12-30 Thread Sunburned Surveyor
Larry, Thank you for your comments. Larry wrote: "But how does building help? Eclipse will show you if you have introduce a compilation error. You can run it without building to test changes. When it fails to build, it only exposes a problem with the build process, which is usually fixed by ad

Re: [JPP-Devel] OpenJUMP Version Control Challenge

2008-12-30 Thread Larry Becker
But how does building help? Eclipse will show you if you have introduce a compilation error. You can run it without building to test changes. When it fails to build, it only exposes a problem with the build process, which is usually fixed by adding whatever library you are now referencing. Inci

Re: [JPP-Devel] OpenJUMP Version Control Challenge

2008-12-30 Thread Sunburned Surveyor
Larry wrote: "Maybe this is a silly question, but why do you build at all?" Based on my past experiences none of your questions are silly, and they usually expose flaws in my reasoning. I will likely build after most changes to make sure that things still work. One personal challenge I have with

Re: [JPP-Devel] OpenJUMP Version Control Challenge

2008-12-30 Thread Larry Becker
Maybe this is a silly question, but why do you build at all? It isn't like you are going to distribute every iteration and change. Larry On Tue, Dec 30, 2008 at 12:51 PM, Sunburned Surveyor < sunburned.surve...@gmail.com> wrote: > I'm trying to figure out the best way to manage version control

[JPP-Devel] OpenJUMP Version Control Challenge

2008-12-30 Thread Sunburned Surveyor
I'm trying to figure out the best way to manage version control for my refactoring of OpenJUMP. When I was originally thinking about the refactoring, this wasn't an issue, because I was going to start with a blank slate and add parts as I went along. I've decided it would be better to start with th

Re: [JPP-Devel] Search tool for Attributes

2008-12-30 Thread Larry Becker
>... Also, I think that just because something is hidden due to a scale range, it shouldn't be exempt from selection. I'm not sure what happens with the selection handles though. I checked and selection feedback still occurs for hidden features. That seems like a good thing. Larry On Tue, Dec

Re: [JPP-Devel] geometry intersection

2008-12-30 Thread Bing Ran
I was just about to find this method. Thanks Larry! From: Larry Becker Sent: Wednesday, December 31, 2008 12:04 AM To: OpenJump develop and use Subject: Re: [JPP-Devel] geometry intersection Isn't it just: // read a geometry from a WKT string (using the default geometry factory) Geome

Re: [JPP-Devel] geometry intersection

2008-12-30 Thread Larry Becker
Isn't it just: // read a geometry from a WKT string (using the default geometry factory) Geometry g1 = new WKTReader().read("LINESTRING (0 0, 10 10, 20 20)"); System.out.println("Geometry 1: " + g1); // create a geometry by specifying the coordinates directly Coordinate[] coord

[JPP-Devel] geometry intersection

2008-12-30 Thread Bing Ran
Hi JTS experts, What's the way to get the geometry of the intersection area of two geometries? I don't find anything in the Geometry class. Help is appreciated! Bing -- ___ J

Re: [JPP-Devel] Search tool for Attributes

2008-12-30 Thread Larry Becker
Using indexes makes perfect sense for your application. Sometimes I need to be reminded that you are not using OpenJump as a generic GIS application. regards, Larry On Tue, Dec 30, 2008 at 9:40 AM, Bing Ran wrote: > Thank Larry for your suggestions. > > I'm dealing with ~50K features and each

Re: [JPP-Devel] Search tool for Attributes

2008-12-30 Thread Bing Ran
Hi SS, The use of in-memory Lucene is straightforward. It's aboout 400+ line of code even with lots of my application specific logic. It's one of the ways to index all the attributes of the loaded features for later quick search. It works fine for me so far. Bing -

Re: [JPP-Devel] Search tool for Attributes

2008-12-30 Thread Bing Ran
Thank Larry for your suggestions. I'm dealing with ~50K features and each feature has about 10-20 attributes, some of which can be a lot longer than a simple name. Nonetheless I would not call the dataset big. I'm using an in-memory and in process Lucene index storage for the attributes. It tak

Re: [JPP-Devel] Search tool for Attributes

2008-12-30 Thread Sunburned Surveyor
Bing, I had no idea that you could use Lucerne for such a task. That is very interesting. SS On Tue, Dec 30, 2008 at 7:13 AM, Larry Becker wrote: > Hi Bing, > > Wow! That was an information-rich post. Using Lucene goes way beyond my > usual minimalist approach to feature implementation. Yo

Re: [JPP-Devel] Source code for OpenJump

2008-12-30 Thread Sunburned Surveyor
Thanks for responding Stefan. Karthik, If you have an idea for a plug-in you might mention it on this mailing list. Other programmers could make suggestions on how to implement the plug-in, or tell you if an existing plug-in might do the trick. The Sunburned Surveyor On Tue, Dec 30, 2008 at 1:4

Re: [JPP-Devel] Search tool for Attributes

2008-12-30 Thread Larry Becker
Hi Bing, Wow! That was an information-rich post. Using Lucene goes way beyond my usual minimalist approach to feature implementation. You must have some use cases with a lot of attribute data. So far, I haven't seen the need for indexing in my own work, and I would hate to pay the memory/tim

Re: [JPP-Devel] Source code for OpenJump

2008-12-30 Thread Stefan Steiniger
please see here: http://openjump.org/wiki/show/How+to+use+and+make+own+Plugins or check out the bit older doc: http://www.vividsolutions.com/jump/bin/JUMP%20Developer%20Guide.pdf stefan karthik shravanam schrieb: > Thanks Stefan and Landon. > > I have gone through these links,they are very help