[FWTools] Import DXF Blocks

Frank Warmerdam warmerdam at pobox.com
Fri Oct 21 12:46:17 EST 2011


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