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

Lehtonen, Mika mika at digikartta.net
Thu May 14 15:25:48 EDT 2009


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
>   



More information about the Users mailing list