Details Ticket 2451


Comment | Reply | Take | Open


Serial Number 2451
Subject DXF import/export
Area wish6
Queue grass
Requestors michael.barton@asu.edu,ravivundavalli@yahoo.com
Owner none
Status resolved
Last User Contact Mon Jul 17 19:37:24 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Mon Jul 17 19:37:26 2006 (2 yr ago)
Created Tue Jun 1 23:15:10 2004 (4 yr ago)

Transaction History Ticket 2451


Tue, Jun 1 2004 23:15:10    Request created by guest  
Subject: 2 wishes for GRASS 5.7

Platform: Mac OSX
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2004-06-01

With the flurry of activity, I am running out of wishes for basic functionality
in GRASS 5.7. But I have 2 here.

1. Bring back r.contour. GRASS 5.3 has a simple and pretty nice module to produce
vector contour maps from raster maps. The change in vector formats is probably
the reason why it has not reappeared in GRASS 5.7 yet. However, if it is not
too difficult, it would be quite useful to have.

2. More difficult, but I think important. I'd like to see DXF import and export
modules produced for 5.7. Those in 5.3 have considerable limitations. 5.7 has
overall very good I/O routines due to gdal and ogr. However, OGR doesn't include
dxf. This is a major data interchange format that I think ought to be supported
if possible.

Neither of these are urgent, of course. But one can wish.

Michael Barton
Thu, Jun 3 2004 03:08:02    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Thu, 3 Jun 2004 13:07:43 +1200
From Hamish <hamish_nospam@yahoo.com>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it, jan@intevation.de
Subject Re: [GRASS5] [bug #2451] (grass) 2 wishes for GRASS 5.7
Message-Id <20040603130743.217de6dc.hamish_nospam@yahoo.com>
In-Reply-To <20040601211511.18A3613A0C@lists.intevation.de>
References <20040601211511.18A3613A0C@lists.intevation.de>
X-Mailer Sylpheed version 0.9.10 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-scanner scanned by Inflex 1.0.12.7
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
> 2. More difficult, but I think important. I'd like to see DXF import
> and export modules produced for 5.7. Those in 5.3 have considerable
> limitations. 5.7 has overall very good I/O routines due to gdal and
> ogr. However, OGR doesn't include dxf. This is a major data
> interchange format that I think ought to be supported if possible.


There is v.in.dwg for this, but it needs a non-free library & you must
not redistribute any resulting binaries.

see  http://thread.gmane.org/gmane.comp.gis.grass.devel/1205



Have there been any improvements in the Free Software solutions for
DXF importing during the last year? 

e.g. libdime
Description: DXF Import, Manipulation, and Export library.
 Dime is a C++ class library for reading, constructing, manipulating,
 and writing DXF file data.

http://www.coin3d.org/Coin3D/file_format_libs/Dime/

[FreeGIS people: the link on your page is broken]

Is the time better spent getting Dime <=> OGR working?



Hamish


Thu, Jun 3 2004 10:13:34    Mail sent by blazek@itc.it  
Return-Path <blazek@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Message-Id <200406030813.i538DOU21012@janacek.itc.it.>
Content-Type text/plain; charset="iso-8859-1"
From Radim Blazek <blazek@itc.it>
To Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2451] (grass) 2 wishes for GRASS 5.7
Date Thu, 3 Jun 2004 10:13:24 +0200
X-Mailer KMail [version 1.3.2]
References <20040601211511.18A3613A0C@lists.intevation.de>
In-Reply-To <20040601211511.18A3613A0C@lists.intevation.de>
MIME-Version 1.0
Content-Transfer-Encoding 8bit
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Tuesday 01 June 2004 23:15, Request Tracker wrote:
> 1. Bring back r.contour. GRASS 5.3 has a simple and pretty nice module to
> produce vector contour maps from raster maps. The change in vector formats
> is probably the reason why it has not reappeared in GRASS 5.7 yet. However,
> if it is not too difficult, it would be quite useful to have.

Easy, I'll do that soon.

Radim


Thu, Jun 3 2004 10:31:11    Mail sent by blazek@itc.it  
Return-Path <blazek@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Message-Id <200406030830.i538Utc21514@janacek.itc.it.>
Content-Type text/plain; charset="iso-8859-1"
From Radim Blazek <blazek@itc.it>
To Hamish <hamish_nospam@yahoo.com>, Request Tracker <grass-bugs@intevation.de>
Subject Re: [GRASS5] [bug #2451] (grass) 2 wishes for GRASS 5.7
Date Thu, 3 Jun 2004 10:30:54 +0200
X-Mailer KMail [version 1.3.2]
Cc grass5@grass.itc.it
References <20040601211511.18A3613A0C@lists.intevation.de> <20040603130743.217de6dc.hamish_nospam@yahoo.com>
In-Reply-To <20040603130743.217de6dc.hamish_nospam@yahoo.com>
MIME-Version 1.0
Content-Transfer-Encoding 8bit
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Thursday 03 June 2004 03:07, Hamish wrote:
> > 2. More difficult, but I think important. I'd like to see DXF import
> > and export modules produced for 5.7. Those in 5.3 have considerable
> > limitations. 5.7 has overall very good I/O routines due to gdal and
> > ogr. However, OGR doesn't include dxf. This is a major data
> > interchange format that I think ought to be supported if possible.
>
> There is v.in.dwg for this, but it needs a non-free library & you must
> not redistribute any resulting binaries.
>
> see  http://thread.gmane.org/gmane.comp.gis.grass.devel/1205
>
> Have there been any improvements in the Free Software solutions for
> DXF importing during the last year?
>
> e.g. libdime
> Description: DXF Import, Manipulation, and Export library.
>  Dime is a C++ class library for reading, constructing, manipulating,
>  and writing DXF file data.
>
> http://www.coin3d.org/Coin3D/file_format_libs/Dime/
>
> [FreeGIS people: the link on your page is broken]
>
> Is the time better spent getting Dime <=> OGR working?

There is no free DXF library supporting reliably latest DXF. 
I see that Dime status has not changed in last years, still:
"... version 10 through 14, and we've had customers that have used the library
to handle 
 AutoCAD 2000 DXF files." 
OpenDWG supports DXF/DWG from 2.5 to 2004. My experience is that AutoCAD 
users use often latest versions.
Generally, I don't like the idea to pretend that some feature is supported
if we know that it is not true.

v.out.dxf is something else, it is simple and it should be updated
to 5.7, but it should read binary file, not ascii. 
It woud be better to have DXF write support in OGR, but I am not sure 
if Frank likes drivers which can write only.

Radim


Thu, Jun 3 2004 17:58:04    Mail sent by michael.barton@asu.edu  
Return-Path <michael.barton@asu.edu>
Delivered-To grass-bugs@lists.intevation.de
Mime-Version 1.0 (Apple Message framework v618)
In-Reply-To <20040603081334.CADB213B44@lists.intevation.de>
References <20040603081334.CADB213B44@lists.intevation.de>
Content-Type text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id <C60D2438-B576-11D8-9D70-000A956FE2E0@asu.edu>
Content-Transfer-Encoding 7bit
From Michael Barton <michael.barton@asu.edu>
Subject Re: [bug #2451] (grass) Transaction (blazek@itc.it)
Date Thu, 3 Jun 2004 08:57:54 -0700
To Radim Blazek via RT <grass-bugs@intevation.de>
X-Mailer Apple Mail (2.618)
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Thanks very much!

Michael
____________________
C. Michael Barton, Professor
School of Human Origins, Cultures, & Societies
PO Box 872402
Arizona State University
Tempe, AZ  85287-2402
USA

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>
On Jun 3, 2004, at 1:13 AM, Radim Blazek via RT wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=2451
>
> Thu, Jun 3 2004 10:13:34: Request 2451 was acted upon.
>
>  Transaction: Mail sent by blazek@itc.it
>
>        Queue: grass
>         Area: grass5.7
>      Subject: 2 wishes for GRASS 5.7
>        Owner:
>   Requestors: michael.barton@asu.edu
>       Status: open
>
> ----------------------------------------------------------------------- 
> --
> On Tuesday 01 June 2004 23:15, Request Tracker wrote:
>> 1. Bring back r.contour. GRASS 5.3 has a simple and pretty nice  
>> module to
>> produce vector contour maps from raster maps. The change in vector  
>> formats
>> is probably the reason why it has not reappeared in GRASS 5.7 yet.  
>> However,
>> if it is not too difficult, it would be quite useful to have.
>
> Easy, I'll do that soon.
>
> Radim
>
>
> --- Headers Follow ---
>
>> From blazek@itc.it  Thu Jun  3 10:13:34 2004
> Return-Path: <blazek@itc.it>
> Delivered-To: grass-bugs@lists.intevation.de
> Received: from mail.intevation.de (aktaia [212.95.126.10])
> 	by lists.intevation.de (Postfix) with ESMTP id 24AC9139A9
> 	for <grass-bugs@lists.intevation.de>; Thu,  3 Jun 2004 10:13:34 +0200  
> (CEST)
> Received: from localhost (localhost [127.0.0.1])
> 	by mail.intevation.de (Postfix) with ESMTP id B544536E42
> 	for <grass-bugs@lists.intevation.de>; Thu,  3 Jun 2004 10:13:33 +0200  
> (CEST)
> Received: from proxyitc.itc.it (unknown [217.77.80.3])
> 	by mail.intevation.de (Postfix) with ESMTP id C65BF36CE1
> 	for <grass-bugs@intevation.de>; Thu,  3 Jun 2004 10:13:31 +0200 (CEST)
> Received: from ntvir.itc.it ([10.0.20.5])
> 	by proxyitc.itc.it (8.11.6/8.11.6) with SMTP id i538DVd17473
> 	for <grass-bugs@intevation.de>; Thu, 3 Jun 2004 10:13:31 +0200
> Received: from orchestra.itc.it ([10.0.10.11])
>  by ntvir.itc.it (SAVSMTP 3.1.5.43) with SMTP id M2004060310133019504
>  for <grass-bugs@intevation.de>; Thu, 03 Jun 2004 10:13:30 +0200
> Received: from janacek.itc.it. (janacek [10.40.0.140])
> 	by orchestra.itc.it (8.11.6/8.11.6) with ESMTP id i538DP008224;
> 	Thu, 3 Jun 2004 10:13:25 +0200
> Received: from localhost (localhost [[UNIX: localhost]])
> 	by janacek.itc.it. (8.11.6/8.11.2) id i538DOU21012;
> 	Thu, 3 Jun 2004 10:13:24 +0200
> Message-Id: <200406030813.i538DOU21012@janacek.itc.it.>
> Content-Type: text/plain;
>   charset="iso-8859-1"
> From: Radim Blazek <blazek@itc.it>
> To: Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
> Subject: Re: [GRASS5] [bug #2451] (grass) 2 wishes for GRASS 5.7
> Date: Thu, 3 Jun 2004 10:13:24 +0200
> X-Mailer: KMail [version 1.3.2]
> References: <20040601211511.18A3613A0C@lists.intevation.de>
> In-Reply-To: <20040601211511.18A3613A0C@lists.intevation.de>
> MIME-Version: 1.0
> Content-Transfer-Encoding: 8bit
> X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0  
> tests=BAYES_00
> X-Spam-Level:
>
> -------------------------------------------- Managed by Request Tracker


Sun, Jun 6 2004 06:03:39    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Sun, 6 Jun 2004 16:03:19 +1200
From Hamish <hamish_nospam@yahoo.com>
To Radim Blazek <blazek@itc.it>
Cc grass5@grass.itc.it, michael.barton@asu.edu, grass-bugs@intevation.de
Subject Re: [GRASS5] [bug #2451] DXF support
Message-Id <20040606160319.284bc121.hamish_nospam@yahoo.com>
In-Reply-To <200406030830.i538Utc21514@janacek.itc.it.>
References <20040601211511.18A3613A0C@lists.intevation.de> <20040603130743.217de6dc.hamish_nospam@yahoo.com> <200406030830.i538Utc21514@janacek.itc.it.>
X-Mailer Sylpheed version 0.9.10 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-scanner scanned by Inflex 1.0.12.7
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
Radim Blazek wrote:

> There is no free DXF library supporting reliably latest DXF. 
> I see that Dime status has not changed in last years, still:
> "... version 10 through 14, and we've had customers that have used the
> library to handle AutoCAD 2000 DXF files."

For what it's worth,

http://packages.debian.org/changelogs/pool/main/d/dime/dime_0.20030921-1/changelog
"dime (0.20030921-1) unstable; urgency=low

  * New upstream
  * ..."

The main changelog isn't updated though, so I don't know what that means
in practicable terms; only that it was updated somewhere between Jan 2002
and Sept 2003.


Michael:
>> The other is the fact that DXF in some form has become a widely used 
>> interchange format for a variety of other GIS and CAD programs. Would
>> it be easier to support this kind of DXF--for now at least? Would
>> this be a lower-level (i.e., older) dxf standard than the current
>> AutoCAD one?

Radim:
> v.out.dxf is something else, it is simple and it should be updated
> to 5.7, but it should read binary file, not ascii. 


In 5.3 there is:
v.in.dxf, v.in.dxf3d, v.in.dxf3d.sh
v.out.dxf

Unless someone wants to do it themselves, I don't think there's much
point in spending too much time trying to get the v.in.dxf's working
with 5.7, it would be outdated before it was born..

AutoCAD should be able to read older formats (I would hope), even if it
won't write them, so updating v.out.dxf to 5.7's binary vector format +
features would still be a nice thing to have on the Wish list..



Hamish


Thu, Jul 8 2004 13:00:32    Subject changed to r.contour and DXF import/export by bernhard  
Thu, Jul 8 2004 19:24:29    Mail sent by michael.barton@asu.edu  
Return-Path <michael.barton@asu.edu>
Delivered-To grass-bugs@lists.intevation.de
Date Thu, 08 Jul 2004 10:22:46 -0700
From Michael Barton <michael.barton@asu.edu>
Subject Re: [bug #2451] (grass) Transaction (bernhard)
In-reply-to <20040708110032.EF87113954@lists.intevation.de>
To Bernhard Reiter via RT <grass-bugs@intevation.de>
Message-id <6E1ACC76-D103-11D8-8807-000A95953870@asu.edu>
MIME-version 1.0 (Apple Message framework v618)
X-Mailer Apple Mail (2.618)
Content-type text/plain; charset=US-ASCII; delsp=yes; format=flowed
Content-transfer-encoding 7bit
References <20040708110032.EF87113954@lists.intevation.de>
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Bernard,

The r.contour part of this wish has already been fulfilled. The  
response of the GRASS team is great!

Michael

On Jul 8, 2004, at 4:00 AM, Bernhard Reiter via RT wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=2451
>
> Thu, Jul 8 2004 13:00:32: Request 2451 was acted upon.
>
>  Transaction: Subject changed to r.contour and DXF import/export by  
> bernhard
>
>        Queue: grass
>         Area: grass5.7
>      Subject: r.contour and DXF import/export
>        Owner:
>   Requestors: michael.barton@asu.edu
>       Status: open
>
> ----------------------------------------------------------------------- 
> --
>
>
> -------------------------------------------- Managed by Request Tracker
>
______________________________
Michael Barton, Professor & Curator
School of Human Origins, Cultures, & Societies
Arizona State University
Tempe, AZ  85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton


Tue, Mar 1 2005 08:46:53    Subject changed to DXF import/export by pcavallini  
Tue, Mar 1 2005 08:47:03    Area changed to wish6 by pcavallini  
Tue, Mar 1 2005 08:49:08    Comments added by pcavallini  
Changes from original bug: 
r.contour was fixed 
v.in.dxf / v.out.dxf is still an important wish, but does not depend on 
grass, but on importation libraries. 
pc 
Mon, Jun 13 2005 14:00:20    Request created by guest (as #3346)  
Subject: WISH.. DXF to GRASS Vector

grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: GRASS6.1

Ravi Kumar, WISH 
This is what we follow for 
Scanned Map --> Raster -->DXF -->ARC-INFO Vector.. Wish it is possible for
Qcad dxf to GRASS vector also ..
There is a very quick method,
>> > 1. where all the digitization is done by the not so
>> > computer savvy draftsmen using Qcad.
>> > 2. Then the Geologist imports it into ARC-INFO (after the WISH to GRASS)to
>> > convert into a digital data with a vital link
>> > attribute. The attribute is an inscribed text of a link attribute in a polygon.
>> > 3. The geologist then attaches an external database
>> > table using this link attribute.
>> >
>> > If U can make such a thing possible in grass, then we
>> > can use OGLed Qcad on linux, for the draftsmen and
>> > GRASS for the Geologists.
Tue, Jul 19 2005 22:57:34    Mail sent by guest (as #3346)  
See the related with for OGR:

 http://bugzilla.remotesensing.org/show_bug.cgi?id=227

Markus
Wed, Jul 20 2005 00:12:06    Mail sent by mneteler  
For DXF, see

 http://bugzilla.remotesensing.org/show_bug.cgi?id=227

Then there is "Google summer of Code" to get that into Inkscape.

Markus
Wed, Jul 20 2005 00:54:35    Mail sent by michael.barton@asu.edu  
Return-Path <Michael.Barton@asu.edu>
Delivered-To grass-bugs@lists.intevation.de
Date Tue, 19 Jul 2005 15:57:06 -0700
From Michael Barton <michael.barton@asu.edu>
Subject Re: [bug #2451] (grass) DXF import/export
In-reply-to <20050719221206.99E1E1006DA@lists.intevation.de>
To Paolo Cavallini via RT <grass-bugs@intevation.de>
Message-id <BF02D352.15FBC%michael.barton@asu.edu>
MIME-version 1.0
Content-type text/plain; charset=US-ASCII
Content-transfer-encoding 7bit
User-Agent Microsoft-Entourage/11.1.0.040913
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Well, I keep hoping...

MIchael
______________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton


> From: Markus Neteler via RT <grass-bugs@intevation.de>
> Reply-To: Markus Neteler via RT <grass-bugs@intevation.de>
> Date: Wed, 20 Jul 2005 00:12:06 +0200 (CEST)
> To: <michael.barton@asu.edu>
> Subject: [bug #2451] (grass) DXF import/export
> 
> For DXF, see
> 
> 
> 
>  http://bugzilla.remotesensing.org/show_bug.cgi?id=227
> 
> 
> 
> Then there is "Google summer of Code" to get that into Inkscape.
> 
> 
> 
> Markus
> 
> -------------------------------------------- Managed by Request Tracker


Wed, Jul 20 2005 23:59:26    Request 3346 merged into 2451 by mneteler (as #3346)  
Mon, Jan 2 2006 15:18:38    Comments added by guest  
I found also this 

http://dxf2svg.sourceforge.net/

but doesn't seem to be alive.
Thu, Mar 2 2006 20:08:01    Comments added by guest  
Qcad come with dxflib. May be it can help ?  
 
http://www.ribbonsoft.com/dxflib.html 
Mon, Mar 27 2006 12:07:29    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Mon, 27 Mar 2006 22:06:50 +1200
From Hamish <hamish_nospam@yahoo.com>
To RAVI KUMAR <ravivundavalli@yahoo.com>
Cc grasslist@baylor.edu, grass-bugs@intevation.de
Subject Re: [bug #2451] [GRASSLIST:391] Re: [GRASS5] v.in.dxf
Message-Id <20060327220650.51dc6036.hamish_nospam@yahoo.com>
In-Reply-To <20060327051201.55148.qmail@web60523.mail.yahoo.com>
References <C04AB7F6.915B%michael.barton@asu.edu> <20060327051201.55148.qmail@web60523.mail.yahoo.com>
X-Mailer Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
> is the latest GRASS CVS  has v.in.dxf.
> No more recompiling with source code.!!
> If answer is YES.. is great.

Yes. But note you probably will only be able to load older versions of
DXF (ie no newer than AutoCAD ver. 9 or 10). For anything newer you will
still need to use v.in.dwg or help the Free software world to reverse
engineer the propritary format.

To convert newer DXF to older DXF see the Lx-Viewer project:
  http://lx-viewer.sourceforge.net
but I see that uses "an ammended version of the GPL v2 so that we can
link to the OpenDWG libraries."  shrug.


note code to descramble AutoCAD 2004 DWG header info is here:
 http://www.opendesign.com/about/faq.htm#encrypted

copied here for educational purposes:
"The data starting at location 0x80 of the DWG file can be decrypted by
exclusive or'ing with the number sequence produced by the following
code:

OdUInt8* p = data.asArrayPtr();
OdUInt32 sz = 0x6c;
int randseed = 1;
while (sz--)
{
  randseed *= 0x343fd;
  randseed += 0x269ec3;
  *p++ = (OdUInt8)(randseed >> 0x10);
}

If you don't read C++, this code starts with 1, multiplies it by a
number, adds it to a number, bit-shifts it, saves 8-bits of the result,
and starts again. No, it's not a complex algorithm, but it's enough to
completely scramble a DWG file."

interesting.


see also:
  http://intevation.net/rt/webrt?serial_num=2451&display=History

labels:
 look for v.cadlabel in GRASS 5 and
http://grass.itc.it/pipermail/grassuser/1994-April/020692.html
  * note labels now do rotation, maybe the time has come?


> Similarly for E00 imports when will they be part of GRASS CVS ??

v.in.e00 is already installed by default. To use you just need to
install avcE00 and E00Compr from  http://avce00.maptools.org/avce00/

Debian pakages for both are now in Debian testing and unstable
thanks to Paul Wise and the DebianGIS team.

The situation is no different than needing GDAL to import GDAL/OGR
formats. IIRC, no one has funded E00 support in GDAL/OGR yet, so it
hasn't happened there. Hence the extra dependancy.



Hamish


Mon, Jul 17 2006 17:35:34    Mail sent by mneteler  
Hi,

v.in.dxf and v.out.dxf have made significant progress.
Can we close this report?

Markus
Mon, Jul 17 2006 19:37:24    Mail sent by mneteler  
closing
http://intevation.de/rt/webrt?serial_num=2451

Markus
Mon, Jul 17 2006 19:37:26    Status changed to resolved by mneteler  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request