[gdal-dev] Re: DXF writing and layers

2010-11-04 Thread Andreas Neumann
Hi again, I am wondering if most of my issues are a result of wrong parameters in my ogr2ogr command: Here is my command: ogr2ogr -select '' -f DXF test_ogr.dxf -dsco header=header_export_werkplan_abwasser.dxf -spat 695700 245900 696000 246100 PG:"dbname='uster' host='servername' port='5432' use

[gdal-dev] Re: DXF writing and layers

2010-11-04 Thread Andreas Neumann
Hi Frank, It seems that even if the layers are present in the header.dxf file, still everything ends up in layer "0". Again - hopefully my test data will shed some light on the problem. Andreas On Wed, November 3, 2010 11:53 pm, Frank Warmerdam wrote: > On Mon, Nov 1, 2010 at 6:52 AM, Andreas N

[gdal-dev] Re: DXF writing and layers

2010-11-04 Thread Andreas Neumann
Hi Frank, Still no luck here with the layers. Just to be sure: the layers aren't present in the header file. They should be created by ogr. Is this correct that I don't necessarily have to create the layers in advance? Well - I think I will report a bug and make you the data available that I am

[gdal-dev] Re: DXF writing and layers

2010-11-03 Thread Frank Warmerdam
On Mon, Nov 1, 2010 at 6:52 AM, Andreas Neumann wrote: > While testing the writer I wanted to use the new feature of specifying a > column in the source dataset that contains the layer name a feature should > end up in the destination dxf file. > > My source is a Postgis table, and the layer name