[GRASSLIST:56] Re: v.in.dxf

Laurent Courty lrntct at gmail.com
Mon Mar 13 15:11:37 EST 2006


Mauro Lacy wrote:
> (cc'ing to list)
> Carlos "Guâno" Grohmann wrote:
>
>> So you're trying to to export a "mesh", like a 3D vector grid of your 
>> surface?
>>  
>>
> Exactly. I can see that nviz generates this "mesh"(let's call it the 
> "Wire" nviz Surface/Grid Surface Panel mode). But I don't know how to 
> generate an equivalent vector map with this, from inside grass.
>
> Mauro
Hi,
Maybe you could try r.to.vect in point mode, v.delaunay then v.out.dxf.

Laurent


>>
>>
>> On 3/13/06, Mauro Lacy <mauro at lacy.com.ar> wrote:
>>  
>>
>>> Sorry for the cross-post, but I'm trying to do almost exactly the
>>> opposite. That is, export a (raster) DEM to dxf. I was browsing the
>>> diverse grass modules, and the problem is I couldn't find a way to
>>> convert a raster DEM to a vector "surface" or "3d" file. So I can later
>>> export it using v.out.dxf. I tried r.to.vect with horrible(and maybe
>>> simply "not applicable") results.
>>> I found some (non- free) programs that seem to do this (r2v, from
>>> ablesoft, by example) but it intrigues me if it can actually be done
>>> with grass(or with free software).
>>>
>>> Thanks,
>>>
>>> Mauro
>>>
>>> Carlos "Guâno" Grohmann wrote:
>>>
>>>   
>>>> Stefan, you might want to take a look at OrbisCAD (please search
>>>> Google, I don't remember the URL, but I know it is in Sourceforge).
>>>> According do the authors, it can read DXF and export shapefiles.
>>>>
>>>> Hope this helps
>>>>
>>>> Carlos
>>>>
>>>>
>>>>
>>>> On 3/13/06, RAVI KUMAR <ravivundavalli at yahoo.com> wrote:
>>>>
>>>>
>>>>     
>>>>> Stefan Gasser <stefang at dnet.it> wrote:
>>>>>
>>>>>
>>>>> Hi
>>>>> I`m using grass61 on windows and would like to import dxf and dwg 
>>>>> files, but
>>>>> it is only possible with dgn files using v.in.ogr.
>>>>> Is there any other possibility to do an import for AutoCad files?
>>>>>
>>>>>
>>>>>
>>>>> v.in.dwg requires OpenDWG toolkit. To get this toolkit you must 
>>>>> become at
>>>>> least "Associ! ate Member" of OpenDWG Alliance 
>>>>> (http://www.opendwg.org), it
>>>>> is free-of-charge (you have to fill one form).
>>>>> Then unpack library and copy to this directory:
>>>>> ad2.a ad2.h odio.h adinit.dat
>>>>> and compile this module.
>>>>>
>>>>> Ravi Kumar
>>>>>
>>>>>
>>>>>
>>>>> thanks
>>>>> Stefan Gasser
>>>>>
>>>>>
>>>>>
>>>>> ________________________________
>>>>> Yahoo! Mail
>>>>> Bring photos to life! New PhotoMail makes sharing a breeze.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>       
>>>> -- 
>>>> +-----------------------------------------------------------+
>>>>             Carlos Henrique Grohmann - Guano
>>>> Geologist M.Sc  - Doctorate Student at IGc-USP - Brazil
>>>> Linux User #89721  - carlos dot grohmann at gmail dot com
>>>> +-----------------------------------------------------------+
>>>> _________________
>>>> "Good morning, doctors. I have taken the liberty of removing Windows
>>>> 95 from my hard drive."
>>>> --The winning entry in a "What were HAL's first words" contest judged
>>>> by 2001: A SPACE ODYSSEY creator Arthur C. Clarke
>>>>
>>>>
>>>>
>>>>     
>>>   
>>
>>
>> -- 
>> +-----------------------------------------------------------+
>>              Carlos Henrique Grohmann - Guano
>>  Geologist M.Sc  - Doctorate Student at IGc-USP - Brazil
>> Linux User #89721  - carlos dot grohmann at gmail dot com
>> +-----------------------------------------------------------+
>> _________________
>> "Good morning, doctors. I have taken the liberty of removing Windows
>> 95 from my hard drive."
>> --The winning entry in a "What were HAL's first words" contest judged
>> by 2001: A SPACE ODYSSEY creator Arthur C. Clarke
>>
>>  
>>
>
>




More information about the grass-user mailing list