<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Georgia;
        panose-1:2 4 5 2 5 4 5 2 3 3;}
@font-face
        {font-family:futura;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.Shkpostityyli19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-ligatures:none;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FI" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">By reading the documentation
</span><span style="mso-fareast-language:EN-US"><a href="https://gdal.org/drivers/vector/dxf.html#dxf-writer"><span lang="EN-US">https://gdal.org/drivers/vector/dxf.html#dxf-writer</span></a></span><span style="mso-fareast-language:EN-US">
<span lang="EN-US">what you see is expected. </span></span><span lang="EN-US">--config DXF_WRITE_HATCH FALSE is writing polylines and polylines have vertices with different Z coordinates. --config DXF_WRITE_HATCH TRUE writes polygons. The polygons have same
 elevation value at each vertex, and that is also documented:<br>
“You may need to do this [to use DXF_WRITE_HATCH FALSE] if your geometries do not have a constant elevation, as the DXF HATCH entity cannot represent such geometries.”<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">-Jukka Rahkonen-<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Lähettäjä:</b> gdal-dev <gdal-dev-bounces@lists.osgeo.org>
<b>Puolesta </b>Shahrukh Mirza Nawandish via gdal-dev<br>
<b>Lähetetty:</b> maanantai 22. huhtikuuta 2024 13.26<br>
<b>Vastaanottaja:</b> gdal-dev@lists.osgeo.org<br>
<b>Aihe:</b> [gdal-dev] Issue with 3D GeoJSON to 3D DXF Conversion<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Dear GDAL Team,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I hope this email finds you well. I'm encountering an issue converting 3D GeoJSON polygons to DXF format using ogr2ogr. During conversion, the elevation data becomes uniform for all points within the polygon. Additionally, when using "DXF_WRITE_HATCH,"
 the geometry becomes a polyline instead of a polygon.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Attached are the GeoJSON data and conversion code for your reference. Could you please assist in resolving this discrepancy?<o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">ogr2ogr -f "DXF" output.dxf input.geojson -t_srs EPSG:32737 --config DXF_WRITE_HATCH FALSE<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal">Thank you for your attention to this matter.<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-- <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Saygılarımla / Kind Regards<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="634" style="width:475.5pt;background:white">
<tbody>
<tr style="height:10.5pt">
<td style="padding:0cm 0cm 0cm 0cm;height:10.5pt">
<div>
<p class="MsoNormal"><strong><span style="font-size:12.0pt;font-family:"futura",serif;color:#F37320">Shahrukh Mirza NAWANDISH</span></strong><span style="font-size:12.0pt;font-family:"futura",serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"futura",serif;color:#878787">Havacılık Bilgi Sistemleri / Aeronautical Information Systems</span><span style="font-size:12.0pt;font-family:"futura",serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"futura",serif;color:#878787;background:white">Yazılım Geliştirme Uzm. Yrd. / Software Development Assist. Specialist</span><span style="font-size:12.0pt;font-family:"futura",serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"futura",serif;color:#878787;background:white">Bilgisayar Programcısı / Computer Programmer MCA</span><span style="font-size:12.0pt;font-family:"futura",serif;color:black"><o:p></o:p></span></p>
</div>
</td>
<td style="padding:0cm 0cm 0cm 0cm;height:10.5pt">
<p class="MsoNormal" align="right" style="text-align:right"><span style="font-size:12.0pt;font-family:"futura",serif;color:black"> <o:p></o:p></span></p>
</td>
</tr>
<tr style="height:2.25pt">
<td colspan="2" style="padding:.5pt 0cm .5pt 0cm;height:2.25pt;overflow:auto">
<table class="MsoNormalTable" border="0" cellspacing="3" cellpadding="0" width="631" style="width:473.25pt">
<tbody>
<tr>
<td width="128" style="width:96.0pt;padding:.75pt .75pt .75pt .75pt;overflow:auto">
<table class="MsoNormalTable" border="0" cellspacing="3" cellpadding="0" width="643" style="width:482.25pt">
<tbody>
<tr>
<td width="130" style="width:97.5pt;padding:.75pt .75pt .75pt .75pt">
<table class="MsoNormalTable" border="0" cellspacing="3" cellpadding="0" width="653" style="width:489.75pt">
<tbody>
<tr>
<td width="130" style="width:97.5pt;padding:.75pt .75pt .75pt .75pt">
<div>
<p class="MsoNormal"><strong><span style="font-family:"Georgia",serif;color:#444444">T</span></strong><strong><span style="font-family:"Calibri",sans-serif;color:#444444">:</span></strong><span style="font-size:8.5pt;color:#555555">+90 312 266 66 98</span><o:p></o:p></p>
</div>
</td>
<td width="130" style="width:97.5pt;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="right" style="text-align:right"><strong><span style="font-family:"Georgia",serif;color:#444444">M</span></strong><strong><span style="font-family:"Arial",sans-serif;color:#444444">:</span></strong><span style="font-size:8.5pt;font-family:"Arial",sans-serif;color:#555555">+</span><span style="font-size:8.5pt;color:#555555">90
 538 519 72 67</span><o:p></o:p></p>
</td>
<td width="167" style="width:125.25pt;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="right" style="text-align:right"><strong><span style="font-size:10.5pt;font-family:"Georgia",serif;color:#444444"> E</span></strong><strong><span style="font-family:"Calibri",sans-serif;color:#444444">:</span></strong><span style="font-size:8.5pt;color:#555555">mirza.nawandish@haritaevi.com</span><o:p></o:p></p>
</td>
<td width="195" style="width:146.25pt;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="right" style="text-align:right"><strong><span style="font-size:9.0pt;font-family:"Cambria Math",serif;color:#2C2C2C">▶</span></strong><strong><span style="font-size:9.0pt;font-family:"Arial",sans-serif">:</span></strong><span style="font-size:9.0pt"> </span><a href="https://www.haritaevi.com/en/about-us/contact" target="_blank"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#555555">Ankara</span><span style="font-size:9.0pt">-</span><span style="font-size:9.0pt;color:#555555">Istanbul</span><span style="font-size:9.0pt">-</span><span style="font-size:9.0pt;color:#555555">Bucharest</span></a><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr style="height:5.25pt">
<td colspan="2" style="padding:.5pt 0cm .5pt 0cm;height:5.25pt;overflow:auto">
<table class="MsoNormalTable" border="0" cellspacing="3" cellpadding="0" width="631" style="width:473.25pt">
<tbody>
<tr>
<td width="206" style="width:154.5pt;padding:.75pt .75pt .75pt .75pt;overflow:auto">
<table class="MsoNormalTable" border="0" cellspacing="3" cellpadding="0" width="652" style="width:489.0pt">
<tbody>
<tr>
<td width="206" style="width:154.5pt;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><strong><span style="font-size:9.0pt;font-family:"futura",serif;color:#F37320"><a href="http://www.haritaevi.com/" target="_blank"><span style="color:#F37320">www.haritaevi.com</span></a></span></strong><o:p></o:p></p>
</td>
<td width="206" style="width:154.5pt;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="text-align:center"><strong><span style="font-size:9.0pt;font-family:"futura",serif;color:#F37320"><a href="http://www.obstacleanalyze.com/" target="_blank"><span style="color:#F37320">www.obstacleanalyze.com</span></a></span></strong><o:p></o:p></p>
</td>
<td width="206" style="width:154.5pt;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="text-align:center"><strong><span style="font-size:9.0pt;font-family:"futura",serif;color:#F37320"><a href="https://aixm.haritaevi.com/" target="_blank"><span style="color:#F37320">www.aixm.haritaevi.com</span></a></span></strong><o:p></o:p></p>
</td>
<td width="206" style="width:154.5pt;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="right" style="text-align:right"><strong><span style="font-size:9.0pt;font-family:"futura",serif;color:#F37320"><a href="http://www.aerodatamarket.com/" target="_blank"><span style="color:#F37320">www.aerodatamarket.com</span></a></span></strong><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr style="height:27.0pt">
<td colspan="2" style="padding:.5pt 0cm 7.5pt 0cm;height:27.0pt;overflow:auto">
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%;background:#7B7B7B">
<tbody>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" align="center" style="text-align:center"><span style="color:black"><a href="https://www.instagram.com/haritaevi/?hl=tr" target="_blank"><span style="text-decoration:none"><img border="0" width="33" height="33" style="width:.3437in;height:.3437in" id="_x0000_i1034" src="https://avatars.mds.yandex.net/get-mail-signature/2434044/d24bf65965f2be07edc47ff3c25b0348/orig"></span></a><a href="https://www.linkedin.com/company/haritaevi-havac%C4%B1l%C4%B1k-m%C3%BChendislik-a-%C5%9F/" target="_blank"><span style="text-decoration:none"><img border="0" width="33" height="33" style="width:.3437in;height:.3437in" id="_x0000_i1033" src="https://avatars.mds.yandex.net/get-mail-signature/200369/c75763261eac7fb671922d147573080b/orig"></span></a><a href="https://twitter.com/haritaevi" target="_blank"><span style="text-decoration:none"><img border="0" width="33" height="33" style="width:.3437in;height:.3437in" id="_x0000_i1032" src="https://avatars.mds.yandex.net/get-mail-signature/2434044/1cd6e615d44979bf9b0d6b0ea9c47182/orig"></span></a><a href="https://www.youtube.com/channel/UCZHA_PmyMLg__KOfNgOLJYg?view_as=subscriber" target="_blank"><span style="text-decoration:none"><img border="0" width="33" height="33" style="width:.3437in;height:.3437in" id="_x0000_i1031" src="https://avatars.mds.yandex.net/get-mail-signature/232821/ec6941b191f27730d3a5f92fd846beb4/orig"></span></a><a href="https://www.facebook.com/haritaevi/" target="_blank"><span style="text-decoration:none"><img border="0" width="33" height="33" style="width:.3437in;height:.3437in" id="_x0000_i1030" src="https://avatars.mds.yandex.net/get-mail-signature/232821/0545b2da2dc9f49f532774615ec45e51/orig"></span></a><a href="https://www.haritaevi.com/disclaimer" target="_blank"><span style="text-decoration:none"><img border="0" width="316" height="45" style="width:3.2916in;height:.4687in" id="_x0000_i1029" src="https://www.haritaevi.com/wp-content/uploads/2022/02/disclaimer_1.png"></span></a> <a href="https://fidic.org/" target="_blank"><span style="text-decoration:none"><img border="0" width="33" height="33" style="width:.3437in;height:.3437in" id="_x0000_i1028" src="https://avatars.mds.yandex.net/get-mail-signature/2434044/58c47a3a908e28fdb209656734002f36/orig"></span></a><a href="https://www.efcanet.org/" target="_blank"><span style="text-decoration:none"><img border="0" width="33" height="33" style="width:.3437in;height:.3437in" id="_x0000_i1027" src="https://avatars.mds.yandex.net/get-mail-signature/2423644/1ccfc2184635533811e43aeeae4bf6c1/orig"></span></a><a href="https://www.haritaevi.com/en/about-us/quality-policy" target="_blank"><span style="text-decoration:none"><img border="0" width="33" height="33" style="width:.3437in;height:.3437in" id="_x0000_i1026" src="https://avatars.mds.yandex.net/get-mail-signature/2423644/405b95fb41fb8db77dcee35ff542f333/orig"></span></a><a href="https://www.haritaevi.com/en/about-us/information-security-policy" target="_blank"><span style="text-decoration:none"><img border="0" width="33" height="33" style="width:.3437in;height:.3437in" id="_x0000_i1025" src="https://avatars.mds.yandex.net/get-mail-signature/1539903/c89e02562564f32028015473ea475742/orig"></span></a></span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
</body>
</html>