[GRASSLIST:6481] import of dxf files in grass6.0

Good afternoon,

I've installed the grass 6.0 version. I was trying to import dxf files and I don't see any more v.in.dxf function. I don't find other solution to import dxf files. Is there another function available for that ?
Thanks for your help.
Gregoire Pigeon

--
Grégoire PIGEON
Moyens Mobiles de Mesures Météorologiques
Centre National de Recherches Métérologiques
tel +33 (0)561079765
gregoire.pigeon@meteo.fr

On Apr 15, 2005, at 7:04 AM, Grégoire Pigeon wrote:

Good afternoon,

I've installed the grass 6.0 version. I was trying to import dxf files and I don't see any more v.in.dxf function. I don't find other solution to import dxf files. Is there another function available for that ?

You have two options. Opendwg (http://www.opendesign.com/) or to use v.in.dxf in grass5, then convert the file to grass6.

Personally I use Opendwg, it is a bit of a pain to set up the first time and it is proprietary. That being said... it works. Others on this list have responded to this question that they use v.in.dxf in grass5 and convert and that it work as well.

Kirk

Thanks for your help.
Gregoire Pigeon

--
Grégoire PIGEON
Moyens Mobiles de Mesures Météorologiques
Centre National de Recherches Métérologiques
tel +33 (0)561079765
gregoire.pigeon@meteo.fr

Kirk R. Wythers
Dept. of Forest Resources
University of Minnesota
email: kwythers@umn.edu
tel: 612.625.2261
fax: 612.625.5212

Hello,

Anyway you answer is in GRASSLIST at post 6116:

v.in.dwg:

If you want DXF input you have to re-compile GRASS yourself with the
OpenDWG library. This library is not Free-software (although it costs no
money) and you may not redistribute GRASS binaries including it.

see the v.in.dwg help page for more info.
http://freegis.org/cgi-bin/viewcvs.cgi/*checkout*/grass6/vector/v.in.dwg/description.html

You can not use v.in.ogr to load DXF, as it isn't a supported format
that OGR knows.
http://gdal.org/ogr/ogr_formats.html

maybe someone will write the filter and give to OGR one day..?

DXF export is supported via v.out.dxf in GRASS 6.

There is v.in.dxf in GRASS 5.4, but it works only for older DXF files.
Maybe you could load with that and use v.convert to make it into GRASS
6.0.

It is hard to load new DXF files in to Free-software such as GRASS as
the format is proprietary. This situation will only get worse if
software patents and anti-reverse engineering laws continue to be passed
by world goverments.

Bye.

On 4/15/05, Grégoire Pigeon <gregoire.pigeon@meteo.fr> wrote:

Good afternoon,

I've installed the grass 6.0 version. I was trying to import dxf files
and I don't see any more v.in.dxf function. I don't find other solution
to import dxf files. Is there another function available for that ?
Thanks for your help.
Gregoire Pigeon

--
Grégoire PIGEON
Moyens Mobiles de Mesures Météorologiques
Centre National de Recherches Métérologiques
tel +33 (0)561079765
gregoire.pigeon@meteo.fr

--
Christian dos Santos Ferreira
Oceanographer. Msc.
Lab. de Tecnologia Pesqueira e Hidroacustica
Fundacao Universidade Federal do Rio Grande (FURG)
Rio Grande - RS - Brazil
Tel +55 (53) 2336528
Website: http://poseidon.furg.br

On Fri, Apr 15, 2005 at 02:04:24PM +0200, Grégoire Pigeon wrote:

Good afternoon,

I've installed the grass 6.0 version. I was trying to import dxf files
and I don't see any more v.in.dxf function. I don't find other solution
to import dxf files. Is there another function available for that ?
Thanks for your help.
Gregoire Pigeon

Please have a look here if you are missing a certain command:
http://grass.gdf-hannover.de/twiki/bin/view/GRASS/ModulePortingList
-> v.in.dxf - replaced by v.in.dwg (note: cannot be compiled by
                default or distributed in binary)
   -> http://grass.gdf-hannover.de/twiki/bin/view/GRASS/GrassSixTutorialFaq#2_DXF_and_DWG_files
      "DXF and DWG files"

Q: How to import DXF/DWG files?

A: There are legal conflicts between the required 'openDWG' library and the GRASS GPL. We are not allowed to distribute the library (so the module) along with the GRASS code. Please see the v.in.dwg HTML page for further details (or http://mpa.itc.it/markus/tmp/v.in.dwg.html )

Hope this helps

Markus

On Fri, Apr 15, 2005 at 11:38:35PM -0300, Christian Ferreira wrote:
...

maybe someone will write the filter and give to OGR one day..?

There is an open wish report for that:

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

Markus