Bob,<br><br>My OSGeo4W shows "GDAL 1.8.1, released 2011/07/09" and lists DXF.<br>OSGeo4W includes oder versions of gdal to support some other software. Rerun the OSGeo4W setup and select gdal and deselect gdal16 and gdal17.<br>
<br><div class="gmail_quote">On Sat, Oct 22, 2011 at 12:51 AM, Bob Pawley <span dir="ltr"><<a href="mailto:rjpawley@shaw.ca">rjpawley@shaw.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Frank<br>
<br>
Maybe I misunderstood.<br>
<br>
The latest version on the osgeo4w site has an ogr2ogr dated 10/03/2010.<br>
<br>
It doesn't list DXF.<br>
<font color="#888888"><br>
Bob<br>
</font><div><div></div><div class="h5"><br>
-----Original Message-----<br>
From: Frank Warmerdam<br>
Sent: Friday, October 21, 2011 10:46 AM<br>
To: Bob Pawley<br>
Cc: <a href="mailto:fwtools@lists.maptools.org">fwtools@lists.maptools.org</a><br>
Subject: Re: [FWTools] Import DXF Blocks<br>
<br>
Bob,<br>
<br>
I suspect that the version of the DXF reader in FWTools for windows<br>
predates the implementation of DXF_INLINE_BLOCKS. Try it with<br>
OSGeo4W (<a href="http://osgeo4w.osgeo.org" target="_blank">http://osgeo4w.osgeo.org</a>) which has a newer GDAL.<br>
<br>
It is also possible you need the development version of GDAL/OGR<br>
instead of 1.8.1. I did some substantial improvements to the DXF driver<br>
this spring while working on the new DWG reader. But I'd suggest first<br>
trying 1.8.1 which likely has what you need.<br>
<br>
Best regards,<br>
Frank<br>
<br>
On Fri, Oct 21, 2011 at 10:28 AM, Bob Pawley <<a href="mailto:rjpawley@shaw.ca">rjpawley@shaw.ca</a>> wrote:<br>
> Hi<br>
><br>
> I am having a problem disabling the DXF_INLINE_BLOCKS shell variable and<br>
> obtaining the Block references in Postgresql table.<br>
><br>
> Here’s where I am at the moment.<br>
><br>
> Using FWTools Shell on Win 7 -<br>
><br>
> C:\Program Files (x86)\FWTools2.4.7\bin>set DXF_INLINE_BLOCKS=false<br>
> ^&&ogr2ogr -f "PostgreSQL" PG:"host=192.168.1.102 user=postgres dbname=***<br>
> password=****" ArrowText.dxf -nln Import_PID -overwrite<br>
><br>
> Using the above I get a table with the non block information but the block<br>
> references are missing.<br>
><br>
> Bob<br>
> _______________________________________________<br>
> FWTools mailing list<br>
> <a href="mailto:FWTools@lists.maptools.org">FWTools@lists.maptools.org</a><br>
> <a href="http://lists.maptools.org/mailman/listinfo/fwtools" target="_blank">http://lists.maptools.org/mailman/listinfo/fwtools</a><br>
> <a href="http://fwtools.maptools.org/" target="_blank">http://fwtools.maptools.org/</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up | Frank Warmerdam,<br>
<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush | Geospatial Software Developer<br>
<br>
_______________________________________________<br>
FWTools mailing list<br>
<a href="mailto:FWTools@lists.maptools.org">FWTools@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/fwtools" target="_blank">http://lists.maptools.org/mailman/listinfo/fwtools</a><br>
<a href="http://fwtools.maptools.org/" target="_blank">http://fwtools.maptools.org/</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br><br>+91-9494447584<br>17.2416N 80.1426E<br>