Re: PostgreSQL and AutoCad - Mailing list pgsql-general

From Andy
Subject Re: PostgreSQL and AutoCad
Date
Msg-id ffqbmi$17s7$1@news.hub.org
Whole thread Raw
In response to Re: PostgreSQL and AutoCad  ("Josh Tolley" <eggyknap@gmail.com>)
Responses Re: PostgreSQL and AutoCad  (Richard Broersma Jr <rabroersma@yahoo.com>)
List pgsql-general
Josh Tolley wrote:
> On 10/24/07, Bob Pawley <rjpawley@shaw.ca> wrote:
>> Is there any way of converting text from an AutoCad (.dwg ot .dxf) file into
>> a PostgreSQL  Database??
>>
>> Bob Pawley
>
> I know nothing of AutoCad, but your message has been sitting for a
> while without response, so I'll throw out the suggestion that you
> probably want AutoCad to export the text to some more common format
> (like a ASCII or UTF8 file or some such) and import that.
>
> -Josh/eggyknap

I think .dxf is text, its a vector image description (lines, line
styles, layers, etc, etc).  But being text or not, you can store it into
a bytea field no problem.

Bob:  Do you just want to store the file as-is in the database?  Then
yes you can.  Or are you looking to break it up into tables so that you
can query it somehow?  In that case, I'd say not likely (or at least not
cheaply).

Do you want AutoCad to edit the drawings right out of the database?  How
would you want to put them in/get them out, of the database?

-Andy

pgsql-general by date:

Previous
From: Andy
Date:
Subject: Re: execute pg_dump via python
Next
From: "Eva Elizalde"
Date:
Subject: sql