[GRASS-dev] [GRASS GIS] #1588: v.out.dxf of 3d-polyline is not complete

#1588: v.out.dxf of 3d-polyline is not complete
-------------------------+--------------------------------------------------
Reporter: khermann | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Default | Version: 6.4.0
Keywords: | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
the vertices of the created dxf have x,y,z values (groups 10,20,30) but
the polylines are not recognized as 3d-polylines because in the polylines
header the 3d-Flag (group 70) is not set to 8 or 9.
polyline header of a 3d-polyline exported with v.out.dxf is
0
POLYLINE
8
line
66
1
polyline header of an 3d-polyline should be
0
POLYLINE
8
line
66
1
70
8

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1588&gt;
GRASS GIS <http://grass.osgeo.org>

#1588: v.out.dxf of 3d-polyline is not complete
-------------------------+--------------------------------------------------
Reporter: khermann | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: Vector | Version: 6.4.0
Keywords: v.out.dxf | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by hamish):

  * keywords: => v.out.dxf
  * component: Default => Vector
  * milestone: => 6.4.3

Old description:

the vertices of the created dxf have x,y,z values (groups 10,20,30) but
the polylines are not recognized as 3d-polylines because in the polylines
header the 3d-Flag (group 70) is not set to 8 or 9.
polyline header of a 3d-polyline exported with v.out.dxf is
0
POLYLINE
8
line
66
1
polyline header of an 3d-polyline should be
0
POLYLINE
8
line
66
1
70
8

New description:

the vertices of the created dxf have x,y,z values (groups 10,20,30) but
the polylines are not recognized as 3d-polylines because in the polylines
header the 3d-Flag (group 70) is not set to 8 or 9.
polyline header of a 3d-polyline exported with v.out.dxf is
{{{
0
POLYLINE
8
line
66
1
}}}
polyline header of an 3d-polyline should be
{{{
0
POLYLINE
8
line
66
1
70
8
}}}

--

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1588#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1588: v.out.dxf of 3d-polyline is not complete
-------------------------+--------------------------------------------------
Reporter: khermann | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: Vector | Version: 6.4.0
Keywords: v.out.dxf | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------

Comment(by khermann):

The dxfout of an 3d-polyline from AutoCAD has also the groups 10,20,30
(xyz basepoint) in the header of the polyline element and in the vertex
element the group 70 is set to 32 (denotes that the vertex element is a
vertex of a 3d-curve). If the value of the 3d-flag (group 70) in the
header of the polyline element is set to 8 or 9 (9 denotes that the 3d-
curve is closed) indicates that the polyline element is a 3d-curve which
is solely composed by linesegments.

{{{
   0
POLYLINE
   5
5F
   8
LINE
  66
      1
  10
0.0
  20
0.0
  30
0.0
  70
      8
   0
VERTEX
   5
60
   8
LINE
  10
-40515.308075257002
  20
250483.00971815339
  30
520.0
  70
     32
   0
VERTEX
   5
61
   8
LINE
  10
-41145.820788586323
  20
246328.31580022111
  30
550.0
  70
     32
   0
VERTEX
   5
62
   8
LINE
  10
-42010.755092771949
  20
244397.9313291047
  30
570.0
  70
     32
   0
SEQEND
   5
63
   8
LINE
}}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1588#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>