Re: [JPP-Devel] Almost GSoc Student and Best Way to Add Renderers

2009-04-10 Thread Larry Becker
Kabeja converts an impressive set of entities to SVG alright, but there would still be considerable effort involved with using it in OJ. You would end up facing the same problems with displaying DXF text in OpenJump that all of the current DXF plugins are dealing with. It sounds like your

Re: [JPP-Devel] Almost GSoc Student and Best Way to Add Renderers

2009-04-10 Thread Sunburned Surveyor
Larry wrote: What I have heard so far is that your goal is to get better text support in OJ. You want to import text from CAD and be able to edit and create it OJ. That is a very different goal from an improved DXF import capability. Both goals are worthwhile, but you should probably choose to

Re: [JPP-Devel] Almost GSoc Student and Best Way to Add Renderers

2009-04-10 Thread Sunburned Surveyor
After studying some of Christopher's JTin code, I think I've got a handle on how to install a renderer in OpenJUMP using a plug-in. It looks like you implement Paul's RendererFactory and add your RendererFactory to the RenderingManager using the setRendererFactory class. Thanks, The Sunburned

Re: [JPP-Devel] Almost GSoc Student and Best Way to Add Renderers

2009-04-10 Thread Christopher
I was thinking along the lines that it converts an impressive set of entities to XML SAX alright. Converting the SAX stream to an OJ internal representation could be an interesting and valuable project that could be extended and expanded to other formats in the future. Anyway, it was just an

[JPP-Devel] Almost GSoc Student and Best Way to Add Renderers

2009-04-09 Thread Sunburned Surveyor
One of the students I met at my Google Summer of Code presentation at UC Davis missed the student application deadline. (This was my fault, as I gave him the wrong deadline date.) To my pleasant surprise, he would still like to work on the project for the summer! He is looking to gain some

Re: [JPP-Devel] Almost GSoc Student and Best Way to Add Renderers

2009-04-09 Thread Stefan Steiniger
Hei, on rendering: no modifications needed, plugin should work if the same techniques is used as Pirol employes for their rasterimage plugin. However, I integrated that plugin now. on labeling: it may be worth to have a look into the NoteTool of the EditToolbox. It would be even interesting

Re: [JPP-Devel] Almost GSoc Student and Best Way to Add Renderers

2009-04-09 Thread Stefan Steiniger
doesn't have JTIN a separate external renderer too? stefan Stefan Steiniger schrieb: Hei, on rendering: no modifications needed, plugin should work if the same techniques is used as Pirol employes for their rasterimage plugin. However, I integrated that plugin now. on labeling: it may

Re: [JPP-Devel] Almost GSoc Student and Best Way to Add Renderers

2009-04-09 Thread Larry Becker
Hi SS, The renderer is the lest of your problem with adding the capability to do labels without a backing feature. How are you planning to persist the labels. How will this integrate with the Project (Task)? How will you keep this from making prior .jmp files incompatible? Why is it

Re: [JPP-Devel] Almost GSoc Student and Best Way to Add Renderers

2009-04-09 Thread Christopher
Yes it does. When I get a few minutes, I'll write an overview on how to set up an external renderer. --Christopher --- On Thu, 4/9/09, Stefan Steiniger sst...@geo.uzh.ch wrote: From: Stefan Steiniger sst...@geo.uzh.ch Subject: Re: [JPP-Devel] Almost GSoc Student and Best Way to Add

Re: [JPP-Devel] Almost GSoc Student and Best Way to Add Renderers

2009-04-09 Thread Giuseppe Aruta
Hi Stefan, (somewehere on the wiki there was a tip on how to use html tags for displaying images? Here: http://openjump.org/wiki/show/View nder Map tooltip. Peppe -- This SF.net email is sponsored by:

Re: [JPP-Devel] Almost GSoc Student and Best Way to Add Renderers

2009-04-09 Thread Sunburned Surveyor
Thanks for all of the responses. I'll get with Christopher on implementing the external renderer. Larry asked some good questions. Let me try to answer them. Larry wrote: The renderer is the lest of your problem with adding the capability to do labels without a backing feature. How are you

Re: [JPP-Devel] Almost GSoc Student and Best Way to Add Renderers

2009-04-09 Thread Larry Becker
Hi SS, We also have the need to transfer our labels from CAD to SkyJUMP. 1) Use Michael's DXF plugin to import the (simple) DXF. It comes in with a Text attribute. 2) Use my Extract Layer by Attribute plugin, (which defaults to the attribute Layer) to break the dxf-derived layer back out to

Re: [JPP-Devel] Almost GSoc Student and Best Way to Add Renderers

2009-04-09 Thread Sunburned Surveyor
Thanks for the steps to extracting text from the DXF Larry. I'm acutally looking at the Kabeja library (suggested by Christopher) as a way to improve DXF import. I'll keep you posted on my progress. http://kabeja.sourceforge.net/ SS On Thu, Apr 9, 2009 at 2:44 PM, Larry Becker