[OpenLayers-Users] Using AutoCAD files (DWG, DXF and similar)

Nicholas Efremov-Kendall n.e.kendall at gmail.com
Thu May 14 16:34:28 EDT 2009


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 <mika at digikartta.net> 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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090514/e852c9e1/attachment.html


More information about the Users mailing list