or, just try the ogr2ogr and convert the file to one of the natively supported vector formats.
On Thu, May 14, 2009 at 3:25 PM, Lehtonen, Mika <[email protected]> wrote: > Hi Pawel, > depends on how complex your cad geometries/files are. You could also try > OpenJUMP (www.openjump.org) with separately downloaded DXF-import > plugin. With that package, you can convert your dxfs' into some other > format and use them directly in OL or better, serve them throug some map > server. If your files are complex, you'd better stick to some raster > format. Main question might be; do you need vectors or just an image of > them? > > - mika - > > Paw3l kirjoitti: > > Hi, > > > > I'm wondering if it is possible to use Autocad format files directly in > the > > OpenLayers. For now I am using a converted to PNG version of my DXF file: > > > > new OpenLayers.Layer.Image('Sem', > > 'http://localhost:8080/swanny/images/SektorVI.png', > > new OpenLayers.Bounds(-180, -88.759, 180, 88.759), > > new OpenLayers.Size(1024, 768), > > options > > ); > > > > but I would like to use a DXF file instead of PNG. I could not find any > > pointers anywhere. > > > > Regards, > > Pawel > > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
