[GRASS-dev] Re: v.in.dxf: support for 3DFACE?

Huidae Cho grass4u at gmail.com
Tue Jun 6 12:24:06 EDT 2006


On Tue, Jun 06, 2006 at 08:48:56AM -0700, Michael Barton wrote:
> I haven't kept up with v.in.dxf since initially testing it and cheering its
> incorporation into GRASS 6. But I'll be needing it soon and some of my
> colleagues are using it quite a bit.
> 
> Is there a way to maintain a dxf entity attribute as a cat/attribute for
> areas? The object it to avoid going through the complication of converting
> lines to boundaries, adding centroids, adding cats, and linking cats with
> attributes.

I'll add the ENTITY column some time later.

Huidae Cho

> 
> Michael
> __________________________________________
> Michael Barton, Professor of Anthropology
> School of Human Evolution & Social Change
> Center for Social Dynamics & Complexity
> Arizona State University
> 
> phone: 480-965-6213
> fax: 480-965-7671
> www: http://www.public.asu.edu/~cmbarton
> 
> 
> 
> > From: Huidae Cho <grass4u at gmail.com>
> > Date: Tue, 6 Jun 2006 10:16:03 -0500
> > To: Hamish <hamish_nospam at yahoo.com>
> > Cc: grass5 <grass-dev at grass.itc.it>
> > Subject: [GRASS-dev] Re: v.in.dxf: support for 3DFACE?
> > 
> > Hamish,
> > 
> > On Wed, Jun 07, 2006 at 02:23:22AM +1200, Hamish wrote:
> >> Hi,
> >> 
> >> all excited to try out v.in.dxf :) but 3DFACE isn't implemented yet :(
> >> 
> >> I can convert the DXF to a polyline version, and import with the new -f
> >> flag, but I need to run v.build before I can display it. After that I
> > 
> > I fixed this bug.
> > 
> >> can do g.region v=, display with d.vect, & display in NVIZ (3D vector).
> >> 
> >> Looking in v.info the x,y,z ranges are all 0,0.
> >> Note the final x,y ranges are both negative. (?)
> >> 
> >> after import:
> >>  |            N: 0.000         S: 0.000                      |
> >>  |            E: 0.000         W: 0.000                      |
> >>  |            B: 0.000         T: 0.000                      |
> >> after v.build:
> >>  |            N: -4816.565     S: -5951.313                  |
> >>  |            E: -1943.884     W: -3092.723                  |
> >>  |            B: -11.644        T: 54.011                    |
> >> 
> > 
> > Well, I think usual coordinates in DXF are not geographic coordinates, but it
> > depends on DXF files.
> > 
> >> ??
> >> 
> >> 
> >> Also it exits with "No DXF layers found!" for the 3DFACE import.
> >> This had me really puzzled as the layer does exist, it is just all
> >> of unknown feature types. Could the error message be improved?
> >> "... with data!"
> >> "Layers found with no features"
> >> "No features in layer"
> >> ???
> > 
> > v.in.dxf does not count layers it cannot import.
> > 
> >> 
> >> 
> >> Any plans for 3DFACE support? The wireframe is good stuff, but just a
> >> skeleton. :)
> >> 
> >>  http://www.autodesk.com/techpubs/autocad/acad2000/dxf/3dface_dxf_06.htm
> >> 
> >>  
> >> http://freegis.org/cgi-bin/viewcvs.cgi/grass6/vector/v.in.dwg/entity.c?rev=HE
> >> AD&content-type=text/vnd.viewcvs-markup
> > 
> > Could you send me a sample DXF for 3DFACE and its screenshot?
> > 
> > Thank you.
> > Huidae Cho
> > 
> > 
> 




More information about the grass-dev mailing list