[FWTools] Import DXF Blocks

Bob Pawley rjpawley at shaw.ca
Sun Oct 23 17:32:38 EST 2011


Hi Frank

I am getting the three block attributes and an insertion point but, the text 
that is added to the block by the user isn't coming through.

Is this what is expected?

By entering "set DXF_MERGE_BLOCK_GEOMETRIES=FALSE" I was hoping that the 
geometry of the block and user entered text of the block would also be 
available.

Bob

-----Original Message----- 
From: Frank Warmerdam
Sent: Friday, October 21, 2011 10:46 AM
To: Bob Pawley
Cc: fwtools at lists.maptools.org
Subject: Re: [FWTools] Import DXF Blocks

Bob,

I suspect that the version of the DXF reader in FWTools for windows
predates the implementation of DXF_INLINE_BLOCKS.  Try it with
OSGeo4W (http://osgeo4w.osgeo.org) which has a newer GDAL.

It is also possible you need the development version of GDAL/OGR
instead of 1.8.1.  I did some substantial improvements to the DXF driver
this spring while working on the new DWG reader.  But I'd suggest first
trying 1.8.1 which likely has what you need.

Best regards,
Frank

On Fri, Oct 21, 2011 at 10:28 AM, Bob Pawley <rjpawley at shaw.ca> wrote:
> Hi
>
> I am having a problem disabling the DXF_INLINE_BLOCKS shell variable and
> obtaining the Block references in Postgresql table.
>
> Here’s where I am at the moment.
>
> Using FWTools Shell on Win 7 -
>
> C:\Program Files (x86)\FWTools2.4.7\bin>set DXF_INLINE_BLOCKS=false
> ^&&ogr2ogr -f "PostgreSQL" PG:"host=192.168.1.102 user=postgres dbname=***
> password=****" ArrowText.dxf  -nln Import_PID -overwrite
>
> Using the above I get a table with the non block information but the block
> references are missing.
>
> Bob
> _______________________________________________
> FWTools mailing list
> FWTools at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/fwtools
> http://fwtools.maptools.org/
>
>



-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, 
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer 



More information about the FWTools mailing list