[FWTools] Import DXF Blocks
Chaitanya kumar CH
chaitanya.ch at gmail.com
Fri Oct 21 23:08:14 EST 2011
Bob,
My OSGeo4W shows "GDAL 1.8.1, released 2011/07/09" and lists DXF.
OSGeo4W includes oder versions of gdal to support some other software. Rerun
the OSGeo4W setup and select gdal and deselect gdal16 and gdal17.
On Sat, Oct 22, 2011 at 12:51 AM, Bob Pawley <rjpawley at shaw.ca> wrote:
> Hi Frank
>
> Maybe I misunderstood.
>
> The latest version on the osgeo4w site has an ogr2ogr dated 10/03/2010.
>
> It doesn't list DXF.
>
> 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
>
> _______________________________________________
> FWTools mailing list
> FWTools at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/fwtools
> http://fwtools.maptools.org/
>
--
Best regards,
Chaitanya kumar CH.
+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/fwtools/attachments/20111022/82713ced/attachment.htm
More information about the FWTools
mailing list