Hi,
I tried the other DXF plugin at
http://jump-pilot.sourceforge.net/download/driver-dxf.jar ,but it gave the
following error:
java.lang.NoClassDefFoundError: de/caff/dxf/file/DxfINSERT
at com.GlobalGis.Driver.dxf.DXFReader.read(DXFReader.java:65)
at
com.vividsolutions.jump.io.datasource.ReaderWriterFileDataSource$1.executeQuery(ReaderWriterFileDataSource.java:61)
at
com.vividsolutions.jump.workbench.datasource.LoadDatasetPlugIn.run(LoadDatasetPlugIn.java:194)
at
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:149)
at java.lang.Thread.run(Unknown Source)
There seems to be something missing or it needs another lib jar. I tried it
with 1.2D and the latest nightly build.
regards,
Larry Becker
On Fri, Apr 4, 2008 at 2:12 AM, Michaël Michaud <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> 1) Some information about my dxf plugin.
> It has basic capabilities and can read the following entities :
> - POINT
> - TEXT (as a point + a attribute containing the text)
> - LINE (as a polyline made of 2 points)
> - POLYLINE (as a polyline or a polygon)
> The policy I used to differenciate polyline and polygon is not based on
> the geometry itself (first point = last point) but on a DXF boolean flag
> indicating if polyline must be closed or not.
> The jump layer is created with some default attributes representing common
> DXF tags like LAYER, TEXT (useful for TEXT entities), COLOR...
>
> ENTITIES which are inside a block are read as if they were outside this
> block (as simple entities)
>
> Entities like SOLID, SPLINE, LWPOLYLINE, 3DFACE... are simply ignored.
>
> 2) best practise
> As larry said, a good idea is to convert your dxf file into R12 dxf
> version with your favorite cad soft before you try to import it into jump.
> If it is not enough, you can send me your (small) dxf so I can have a
> look.
>
> 3) other dxf plugin
> There is another dxf plugin made available on this list recently.
> I had a quick try. It is much faster and it has more features than mine.
> It is based on the following library (http://caff.de/dxfviewer/index.shtml
> )
>
> It is available from the wiki : http://openjump.org/wiki/show/Plugins
>
> Hope that helps
>
> Michaël
>
>
> Giuseppe Aruta a écrit :
>
> Michael's DXF plugin imports closed polilines as polygons.
> > Peppe
> >
> > */Sunburned Surveyor <[EMAIL PROTECTED]>/* ha scritto:
> >
> > Nadine,
> >
> > Michael Michaud may be able to clarify this for us, as he wrote the
> > DXF plug-in for OpenJUMP. I think the problem you are having with
> > your
> > import of polygons is the way AutoCAD represents "polygons". For
> > example, in most AutoCAD flavors a polygon is simply a closed
> > polyline
> > entity. In something like AutoCAD Map there is an acutal "polygon"
> > entity.
> >
> > I don't think the DXF plug-in for OpenJUMP recognizes closed
> > polylines
> > as polygons. Hopefully someone else can confirm this.
> >
> > If it does not recognize closed polylines as polygons, you maybe be
> > able to inport the DXF file as LineStrings and then use one of
> > OpenJUMP other tools to convert them to polygons.
> >
> > The Sunburned Surveyor
> >
> > On Sat, Mar 29, 2008 at 12:40 PM, Larry Becker wrote:
> > > Hi Nadine,
> > >
> > > Text is supported by the dxf plugin, but you need to set the
> > label style
> > > on the resulting layer. I don't know why your polygons aren't
> > working. I
> > > suspect that it is due to some strange AutoCAD type that isn't
> > being
> > > recognized. Try saving the dxf as an earlier dxf version from
> > AutoCAD.
> > >
> > > regards,
> > > Larry Becker
> > >
> > >
> > >
> > > On Sat, Mar 29, 2008 at 2:16 PM, Nadine Buller wrote:
> > > > Hello
> > > >
> > > > my question:
> > > >
> > > > I can convert DXF files into Shape files for example with autocad
> > > map(export)or dxftoshp converter but this shapes have only lines
> > and points
> > > informations. My openjump can load dxf files(version <2004) with
> > the dxf
> > > plugin, but no text.Texts or polygones would not converted or
> > shown in
> > > Openjump.
> > > >
> > > > Have you any idea, that openjump can read texts and polygones as
> > > dxf(autocad)? Or have you any better converter for dxf to shp
> > files?
> > > >
> > > > Thanks
> > > > --
> > > > MfG
> > > >
> > > > Nadine Buller
> > > >
> > > > Psssst! Schon vom neuen GMX MultiMessenger gehört?
> > > > Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
> > > > _______________________________________________
> > > > jump-users mailing list
> > > > [email protected]
> > > > http://lists.refractions.net/mailman/listinfo/jump-users
> > > >
> > >
> > >
> > >
> > > --
> > > http://amusingprogrammer.blogspot.com/
> > > _______________________________________________
> > > 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
> >
> >
> > ------------------------------------------------------------------------
> > Inviato da Yahoo! Mail <
> > http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52437/*http://it.docs.yahoo.com/mail/overview/index.html>.
> >
> > La casella di posta intelligente.
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > 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
>
--
http://amusingprogrammer.blogspot.com/
_______________________________________________
jump-users mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jump-users