Larry wrote: "This introduces an item on my dxf wish list. ESRI's DXF import automatically places text, points, linestrings, and polygons on their own layer. I don't know of a precedent for this in JUMP, but I don't see why it isn't possible, do you? Clearly it would make automated styling easier."
I wasn't even going to admit this, but...I have been toying around with a DXF reader for OpenJUMP that was inspired by Michael's work. Before everyone burns me at the stake for the evil sin of duplication please note that I did look at Michael's code before I got started. Some of the reasons why I started a DXF plug-in from scratch were: [1] I wanted a DXF parser that could read and use DXF layer information. In other words, I wanted a DXF entity on the "Roads" layer in the DXF to be placed on a "Roads" layer in OpenJUMP. [2] I wanted to support points and import of closed polylines as polygons. [3] I wanted a DXF reader that could be easily extended to support additional DXF entities. [4] I wanted a DXF parser that could produce DataObjects that could be used by other projects. [5] All of Michael's Javadoc comments were in French. :] It may be that Michael's DXF Plug-In already does some of the above, or maybe Larry has accomplished some of this if he has made modifications. I was really just bored one Sunday night and wrote most of the code in a few hours at the computer. Michael really did do great work on his plug-in, and it is what got me started. :] The reader isn't finished yet, and may never be, but if someone want's the code then I will share it and answer questions. The Sunburned Surveyor On 10/2/07, Larry Becker <[EMAIL PROTECTED]> wrote: > Hi Peppe, > > >What about Kosmo DXF impost plugin? It seems to work as you describe. > > Yes it does, however, Kosmo has gone their own way. I looked at Kosmo when > they released 1.0 with the intent of doing just what you suggest. Their > code is just too different from the JUMP model. It is more like gvSIG. > Perhaps Erwan's GDBMS project will help bring this functionality to OpenJump > eventually. > > regards, > Larry > > > On 10/2/07, Giuseppe Aruta <[EMAIL PROTECTED]> wrote: > > > > > > > > Larry Becker <[EMAIL PROTECTED]> ha scritto: > > > > Hi Michaël, > > > > As I might have mentioned before, we use your dxf plugin extensively. I > have been meaning to write that auto-style script too. Hope you get it done > first :-) There are some issues with styling text, since you don't usually > want the point displayed, and also, by default, the text centers on the > point instead of left justifying. In fact, I added the new label style left > justification for just this purpose. > > > > This introduces an item on my dxf wish list. ESRI's DXF import > automatically places text, points, linestrings, and polygons on their own > layer. I don't know of a precedent for this in JUMP, but I don't see why it > isn't possible, do you? Clearly it would make automated styling easier. > > > > regards, > > > > Larry > > > > < Hi Larry > > What about Kosmo DXF impost plugin? It seems to work as you describe. > Regarding your experience to Port tools from Skyjump to Openjump, do you > think it is possible to do the same from Kosmo? > > This probabily could be one of the common project that Openjump developer > section could take with their Kosmo cousins. > > > > > > Regards > > > > Peppe > > > > > > > > ________________________________ > ________________________________ > L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > > > > -- > http://amusingprogrammer.blogspot.com/ > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel