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">&lt;<a href="mailto:mika@digikartta.net">mika@digikartta.net</a>&gt;</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&#39; 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&#39;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">&gt; Hi,<br>
&gt;<br>
&gt; I&#39;m wondering if it is possible to use Autocad format files directly in the<br>
&gt; OpenLayers. For now I am using a converted to PNG version of my DXF file:<br>
&gt;<br>
&gt; new OpenLayers.Layer.Image(&#39;Sem&#39;,<br>
&gt;                 &#39;<a href="http://localhost:8080/swanny/images/SektorVI.png" target="_blank">http://localhost:8080/swanny/images/SektorVI.png</a>&#39;,<br>
&gt;                 new OpenLayers.Bounds(-180, -88.759, 180, 88.759),<br>
&gt;                 new OpenLayers.Size(1024, 768),<br>
&gt;                 options<br>
&gt;             );<br>
&gt;<br>
&gt; but I would like to use a DXF file instead of PNG. I could not find any<br>
&gt; pointers anywhere.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Pawel<br>
&gt;<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>