Hi Shahrukh, Have you tried using the DXF_WRITE_HATCH configuration option documented https://gdal.org/drivers/vector/dxf.html?
For me, the following command creates a DXF that includes the elevations of individual vertices on the linestring: ogr2ogr HKNW.dxf HKNW.kml --config DXF_WRITE_HATCH FALSE This is a common pain point for users of the DXF driver. We might need to improve this part of the documentation, or consider changing the default value of DXF_WRITE_HATCH from TRUE to FALSE. Regards, Alan Thomas From: gdal-dev <gdal-dev-boun...@lists.osgeo.org> On Behalf Of Shahrukh Mirza Nawandish via gdal-dev Sent: Thursday, January 25, 2024 2:59 AM To: Javier Jimenez Shaw <j...@jimenezshaw.com>; Abel Pau <a....@creaf.uab.cat> Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Inquiry about Elevation Values in DXF Conversion using ogr2ogr Hi, Thank you for your feedback. I appreciate your efforts in troubleshooting. When using Global Mapper and MicroStation, the elevation values were correctly preserved in the DXF conversion, while GDAL and QGIS didn’t. 24.01.2024, 18:47, "Javier Jimenez Shaw" <j...@jimenezshaw.com<mailto:j...@jimenezshaw.com>>: If I remember correctly, DXF does not support multipolygons with different elevations. On Wed, 24 Jan 2024 at 16:15, Abel Pau via gdal-dev <gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osgeo.org>> wrote: HI, I’ve checked that your file is correct but for some reason DXF does not get this capacity of variable elevation. Sorry for not being more helpful. Exporting with QGis also doesn’t work. Perhaps is a matter of the format itself. Have you tried with other files and did it worked sometime? De: Shahrukh Mirza Nawandish <mirza.nawand...@haritaevi.com<mailto:mirza.nawand...@haritaevi.com>> Enviado el: dimecres, 24 de gener de 2024 15:19 Para: Abel Pau <a....@creaf.uab.cat<mailto:a....@creaf.uab.cat>> CC: gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osgeo.org> Asunto: Re: [gdal-dev] Inquiry about Elevation Values in DXF Conversion using ogr2ogr Hi, Thank you for your prompt response. I'm attaching the data file to this email for your convenience. Appreciate your assistance. 24.01.2024, 17:02, "Abel Pau" <a....@creaf.uab.cat<mailto:a....@creaf.uab.cat>>: Hi, can you send us the file but not attached because it’s not allowed too much size in attachments. Have you converted to another format to see if it’s a matter of KML or it’s general? I’ll try to convert to MiraMon to test the elevations. Thanks De: gdal-dev <gdal-dev-boun...@lists.osgeo.org<mailto:gdal-dev-boun...@lists.osgeo.org>> En nombre de Shahrukh Mirza Nawandish via gdal-dev Enviado el: dimecres, 24 de gener de 2024 14:13 Para: gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osgeo.org> Asunto: [gdal-dev] Inquiry about Elevation Values in DXF Conversion using ogr2ogr Dear GDAL Team, I hope this email finds you well. I'm encountering an issue when converting GeoJSON or KML files to DXF using ogr2ogr—specifically, the generated DXF file assigns a uniform elevation to all coordinates. Your assistance in resolving this matter is highly appreciated. Thank you, -- Saygılarımla / Kind Regards Shahrukh Mirza NAWANDISH Havacılık Bilgi Sistemleri / Aeronautical Information Systems Yazılım Geliştirme Uzm. Yrd. / Software Development Assist. Specialist Bilgisayar Programcısı / Computer Programmer MCA T:+90 312 266 66 98<https://www.haritaevi.com/en/> M:+90 538 519 72 67<https://www.haritaevi.com/en/> E:mirza.nawand...@haritaevi.com<https://www.haritaevi.com/en/> ▶: Ankara-Istanbul-Bucharest<https://www.haritaevi.com/en/> www.haritaevi.com<https://www.haritaevi.com/en/> www.obstacleanalyze.com<https://www.haritaevi.com/en/> www.aixm.haritaevi.com<https://www.haritaevi.com/en/> www.aerodatamarket.com<https://www.haritaevi.com/en/> <https://www.haritaevi.com/en/> -- Saygılarımla / Kind Regards Shahrukh Mirza NAWANDISH Havacılık Bilgi Sistemleri / Aeronautical Information Systems Yazılım Geliştirme Uzm. Yrd. / Software Development Assist. Specialist Bilgisayar Programcısı / Computer Programmer MCA Cumhuriyetimizin 100. Yılı Kutlu Olsun Happy 100th Anniversary of Our Republic. <https://www.haritaevi.com/en/> T:+90 312 266 66 98 M:+90 538 519 72 67 E:mirza.nawand...@haritaevi.com<mailto:mirza.nawand...@haritaevi.com> ▶: Ankara-Istanbul-Bucharest<https://www.haritaevi.com/en/about-us/contact> www.haritaevi.com<http://www.haritaevi.com/> www.obstacleanalyze.com<http://www.obstacleanalyze.com/> www.aixm.haritaevi.com<https://aixm.haritaevi.com/> www.aerodatamarket.com<http://www.aerodatamarket.com/> <https://www.instagram.com/haritaevi/?hl=tr> _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osgeo.org> https://lists.osgeo.org/mailman/listinfo/gdal-dev -- Saygılarımla / Kind Regards Shahrukh Mirza NAWANDISH Havacılık Bilgi Sistemleri / Aeronautical Information Systems Yazılım Geliştirme Uzm. Yrd. / Software Development Assist. Specialist Bilgisayar Programcısı / Computer Programmer MCA Cumhuriyetimizin 100. Yılı Kutlu Olsun Happy 100th Anniversary of Our Republic. [https://www.haritaevi.com/wp-content/uploads/2023/10/Hevi100.png]<https://www.haritaevi.com/en/> T:+90 312 266 66 98 M:+90 538 519 72 67 E:mirza.nawand...@haritaevi.com ▶: Ankara-Istanbul-Bucharest<https://www.haritaevi.com/en/about-us/contact> www.haritaevi.com<http://www.haritaevi.com/> www.obstacleanalyze.com<http://www.obstacleanalyze.com/> www.aixm.haritaevi.com<https://aixm.haritaevi.com/> www.aerodatamarket.com<http://www.aerodatamarket.com/> [https://avatars.mds.yandex.net/get-mail-signature/2434044/d24bf65965f2be07edc47ff3c25b0348/orig]<https://www.instagram.com/haritaevi/?hl=tr>[https://avatars.mds.yandex.net/get-mail-signature/200369/c75763261eac7fb671922d147573080b/orig]<https://www.linkedin.com/company/haritaevi-havac%C4%B1l%C4%B1k-m%C3%BChendislik-a-%C5%9F/>[https://avatars.mds.yandex.net/get-mail-signature/2434044/1cd6e615d44979bf9b0d6b0ea9c47182/orig]<https://twitter.com/haritaevi>[https://avatars.mds.yandex.net/get-mail-signature/232821/ec6941b191f27730d3a5f92fd846beb4/orig]<https://www.youtube.com/channel/UCZHA_PmyMLg__KOfNgOLJYg?view_as=subscriber>[https://avatars.mds.yandex.net/get-mail-signature/232821/0545b2da2dc9f49f532774615ec45e51/orig]<https://www.facebook.com/haritaevi/>[https://www.haritaevi.com/wp-content/uploads/2022/02/disclaimer_1.png]<https://www.haritaevi.com/disclaimer> [https://avatars.mds.yandex.net/get-mail-signature/2434044/58c47a3a908e28fdb209656734002f36/orig] <https://fidic.org/> [https://avatars.mds.yandex.net/get-mail-signature/2423644/1ccfc2184635533811e43aeeae4bf6c1/orig] <https://www.efcanet.org/> [https://avatars.mds.yandex.net/get-mail-signature/2423644/405b95fb41fb8db77dcee35ff542f333/orig] <https://www.haritaevi.com/en/about-us/quality-policy> [https://avatars.mds.yandex.net/get-mail-signature/1539903/c89e02562564f32028015473ea475742/orig] <https://www.haritaevi.com/en/about-us/information-security-policy>
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev