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