<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi all,<br>
    <br>
    <br>
    I'm trying to create DXF files from a PostgreSQL database using
    ogr2ogr:<br>
    <pre role="list"><code class="wrappedText focusRow" role="listitem">ogr2ogr -nln my_data -a_srs EPSG</code><code class="wrappedText focusRow" role="listitem">:25832 -s_srs EPSG:25832 -t_srs EPSG:25832 -f "DXF" my_data.dxf PG:'host</code><code class="wrappedText focusRow" role="listitem">=localhost password=xxx user=xxx dbname=MYDB' -sql "SELECT * FROM my_data</code><code class="wrappedText focusRow" role="listitem">"


</code></pre>
    It works fine with point data, but I get an invalid dxf file for
    polygon data. Opening the polygon dxf file results in the following
    error:<br>
    <pre wrap="">The following error was encountered while reading
in HATCH starting at line 1546:
Error: expected group code 10
Invalid or incomplete DXF input -- drawing discarded.


</pre>
    Do I have to pass any more options to ogr2ogr when creating a
    polygon dxf? What did I do wrong?<br>
    Does anyone have an idea about that?<br>
    <br>
    Greetings,<br>
    <br>
    Verena<br>
    <br>
    <pre role="list"><code class="wrappedText focusRow" role="listitem"></code><code class="wrappedText focusRow" role="listitem"></code></pre>
    <br>
    <pre role="list"><code class="wrappedText focusRow" role="listitem"></code><code class="wrappedText focusRow" role="listitem"></code><code class="wrappedText focusRow" role="listitem">
</code></pre>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 

</pre>
  </body>
</html>