Larry, I agree with Stefan, and I think the menu name you suggestd would be fine.
The Sunburned Surveyor On 10/3/07, Stefan Steiniger <[EMAIL PROTECTED]> wrote: > your suggestions are all good :) > stefan > > Larry Becker schrieb: > > Making a generic capability to break out a layer into linestrings, > > polygons, points, and annotation is an excellent idea. If you recall, I > > tried to port over the capability to do this with the shapefiles version > > of SkyJUMP's enhanced Save Selected Datasets command. Perhaps the best > > way to do this is to refactor this capability out as a separate class > > and plugin. > > > > I'll add this to my to-do list. Does anyone have specific use cases? > > I'm assuming that the command would leave the original layer alone, and > > create new layers for each of the geometry types mentioned above. It > > would use the original layer name and append _line, _area, _point, or > > _text (internationalized). Does this sound reasonable? > > > > The menu might say something like, "Extract geometry types to separate > > layers", if that isn't too lengthy. > > > > regards, > > Larry > > > > On 10/3/07, * Michaël Michaud* <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> wrote: > > > > Larry Becker a écrit : > > > > > 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. > > > > Hi, it seems that reproducing the exact DXF layout may be more difficult > > than what I have thought. > > > > > > > > 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. > > > > IMHO, OpenJUMP has the great advantage to be able to manage > > heterogeneous layers, and this capability must be used to preserve > > imported file structure as close as possible to the source one (DXF, > > MIF/MID) . > > Dispatching features in different layers according to their geometry (or > > to an attribute value) is a generic need which should be developped in a > > separate plugin (not included in the driver). A plugin already > > exists to > > select features with a specific geometry type. Developping another one > > to create a layer by geometry type should not be too hard. > > > > For DXF layers, I must admit that dispatching features from different > > DXF layers into different OpenJUMP layers should take place in the > > driver. It is just a bit more work to load features from a single file > > into several layers. On the other hand, dispatching loaded features > > using an attribute value is also an easy thing, and I already > > developped > > a plugin to do that (this can also be considered as a generic function, > > and can be useful in other situations). > > > > Michael > > > > > > > > regards, > > > > > > Larry > > > > > > On 10/1/07, *Michaël Michaud* < [EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]> > > > <mailto:[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>>> wrote: > > > > > > Hi Peppe, > > > > > > I read your page about CAD. Good documentation ! > > > Here are some propositions to be more precise about what the > > > driver can > > > do and what it cannot : > > > - subset of supported geometries features (ex. POINT, > > > POLYLINE..., I'll > > > check that) > > > - list of dxf feature attributes imported (COLOR, THICKNESS..., > > > see the > > > schema of an imported dxf file) > > > - more precise description of how polylines are imported : > > the DXF > > > "closed" field is used to know if geometries have to be > > imported as > > > polygons or as polylines. This way the parser can make a > > difference > > > between a closed line (a polyline with identical first and > > last points > > > but without the closed dxf attribute) and a polygon (a closed > > polyline > > > with the closed attribute) : to test it, you can draw a > > polygon and a > > > closed polyline in jump, export it in dxf and import it back > > into > > > jump. > > > - we should also write that the plugin is able to "export" > > DXF files > > > from OpenJUMP, even if this is less useful than importing cad > > > drawings. > > > - I did not test all the dxf version you considered (8 to > > > 14/2002). Hope > > > that works. The driver is based on an old version of DXF > > > specification > > > (10 or 12, don't remember exactly). Most of new features are > > simply > > > ignored. One major limitation is about local coordinates : if > > some > > > objects in the drawing are described in a local coordinate > > system, the > > > parser will ignore that and use them as if they were absolute > > > coordinates. > > > > > > I read attributes such as color and thickness as normal jump > > > attributes > > > because basically, a jump driver read geometries and attributes, > > > not styles. > > > But reading your paper, I thought that it should not be too > > > difficult to > > > write a script which can apply styles to dxf-layers using their > > > dxf-attributes (I'll give this a try) > > > > > > Michaël > > > > > > Giuseppe Aruta a écrit : > > > > > > > Hi Michael, > > > > I wrote a small tutorial about CAD files > > > > (http://openjump.org/wiki/show/CAD+Tutorial). > > > > I did some consideration about your DXF plugin, I would > > > like you give > > > > it a look (maybe I made some mistakes about it). > > > > > > > > Thanks > > > > > > > > peppe > > > > > > > > L'email della prossima generazione? Puoi averla con la > > nuova Yahoo! > > > > Mail > > > > < > > > > > > > http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://it.docs.yahoo.com/nowyoucan.html > > > > <http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://it.docs.yahoo.com/nowyoucan.html>> > > > > > > > > > > > > > > > >------------------------------------------------------------------------ > > > > > > > > > > > >------------------------------------------------------------------------- > > > > > >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/ > > <http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/> > > > > > > > > > > > >------------------------------------------------------------------------ > > > > > > > >_______________________________________________ > > > >Jump-pilot-devel mailing list > > > >Jump-pilot-devel@lists.sourceforge.net > > <mailto:Jump-pilot-devel@lists.sourceforge.net> > > > <mailto:Jump-pilot-devel@lists.sourceforge.net > > <mailto:Jump-pilot-devel@lists.sourceforge.net>> > > > >https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > < 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/ > > <http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/> > > > _______________________________________________ > > > Jump-pilot-devel mailing list > > > Jump-pilot-devel@lists.sourceforge.net > > <mailto:Jump-pilot-devel@lists.sourceforge.net> > > > <mailto:Jump-pilot-devel@lists.sourceforge.net > > <mailto:Jump-pilot-devel@lists.sourceforge.net>> > > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > <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 > > <mailto:Jump-pilot-devel@lists.sourceforge.net> > > >https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > <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 > > <mailto: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: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > 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: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > 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: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel