Dmitrii, I'm gald to hear that you are interested in learning more about customizing OpenJUMP. There are two ways to do what you want. You can write a beanshell script, or you can write a plug-in.
Both require a limited knowledge of Java. Beanshell is probably the easiest way to go, but learning to write a plug-in will give you more opportunities to customize and extend OpenJUMP in the future. If you are willing to learn how to write a plug-in, then I can walk you through the process myself. (You can also get plenty of help from this mailing list.) I only ask that you share your code with others when we are done. :] How much Java do you know? Do you have any programming experience? Let me know what you think. If you are ready to write a plug-in for OpenJUMP, I'll post a message with what you need to get started. The Sunburned Surveyor P.S. - It sounds like you are trying to simplify (or remove nodes) from a linear feature. There may already be existing code in OpenJUMP that does this. Perhaps one of the other programmers will respond with a message to let us know. On Tue, Feb 24, 2009 at 1:59 AM, Zmitser Kozhukh <[email protected]> wrote: > Hello! > I have just started to use JUMP and aquaint myself with programming. > So wanted to ask if someone can help me to write some simple script. For > example, I have some line with points. Than I want to select starting point > from this line, than to draw a circle with some fixed radius centered at that > point, than connect with straight line initial point and point of > intersection (between drawn circle and the line). Than do the same thing , > i.e. to draw circle around the point of intersection, connect it with new > intersection point and so on... > So anyone who knows how to script it please help. Or if someone knows some > helpfull resources about scripting in JUMP please let me know. > Thank you in advance! > Dmitrii > _______________________________________________ > jump-users mailing list > [email protected] > http://lists.refractions.net/mailman/listinfo/jump-users > _______________________________________________ jump-users mailing list [email protected] http://lists.refractions.net/mailman/listinfo/jump-users
