Hi Alan,
 
Thanks for your help with the DXF configuration. I've noticed a problem when converting multipolygon GeoJSON files using this method ogr2ogr HKNW.dxf HKNW.kml --config DXF_WRITE_HATCH FALSE they're turning into linestrings instead of polygons. Do you have any insights on this issue?
 
Thanks for your assistance,
 
25.01.2024, 05:43, "Alan Thomas" <atho...@thinkspatial.com.au>:

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>:

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> 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>
Enviado el: dimecres, 24 de gener de 2024 15:19
Para: Abel Pau <
a....@creaf.uab.cat>
CC:
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>:

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> 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
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

 

M:+90 538 519 72 67

 E:mirza.nawand...@haritaevi.com

: Ankara-Istanbul-Bucharest

www.haritaevi.com

www.obstacleanalyze.com

www.aixm.haritaevi.com

www.aerodatamarket.com

 

 

 

 

-- 

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.

 

T:+90 312 266 66 98

M:+90 538 519 72 67

 E:mirza.nawand...@haritaevi.com

: Ankara-Istanbul-Bucharest

www.haritaevi.com

www.obstacleanalyze.com

www.aixm.haritaevi.com

www.aerodatamarket.com

 

 

_______________________________________________
gdal-dev mailing list
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.

T:+90 312 266 66 98

M:+90 538 519 72 67

 E:mirza.nawand...@haritaevi.com

: Ankara-Istanbul-Bucharest

www.haritaevi.com

www.obstacleanalyze.com

www.aixm.haritaevi.com

www.aerodatamarket.com

 

 

 
 
-- 
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
M:+90 538 519 72 67
www.haritaevi.comwww.obstacleanalyze.comwww.aixm.haritaevi.comwww.aerodatamarket.com
 
 
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to