Re: [gdal-dev] Layerstack multiple images, of different extents and variable number of bands

2024-01-24 Thread Michael Sumner via gdal-dev
I would start with gdalwarp out.tif set -ts to something small at first to get a visual like -ts 1024 0 (the y zero means the aspect ratio is figured out sanely from the x size - with no arguments you get best-preserving grid from all resolved inputs - set some or 3 of -t_srs -tr -te -ts for

Re: [gdal-dev] Inquiry about Elevation Values in DXF Conversion using ogr2ogr

2024-01-24 Thread Shahrukh Mirza Nawandish via gdal-dev
Hi Alan, Thank you so much for your quick help! The DXF issue is resolved with the configuration option. Once again, thanks a bunch for your assistance! 25.01.2024, 05:43, "Alan Thomas" :Hi Shahrukh, Have you tried using the DXF_WRITE_HATCH configuration option documented https://gdal.org/drivers/v

Re: [gdal-dev] How to use geokey CoordinateEpochGeoKey in Geotiff from Python

2024-01-24 Thread David Shean via gdal-dev
Hi Even, Thanks for the pointer to this resource, and for working to support this important functionality. Would it make sense to add the -a_coord_epoch option to gdal_edit.py, so users can directly update the GeoTiff header for a dataset with known epoch? -David -- David Shean Civil and Env

Re: [gdal-dev] Inquiry about Elevation Values in DXF Conversion using ogr2ogr

2024-01-24 Thread Alan Thomas via gdal-dev
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

Re: [gdal-dev] Inquiry about Elevation Values in DXF Conversion using ogr2ogr

2024-01-24 Thread Shahrukh Mirza Nawandish via gdal-dev
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" :If I remember correctly, DXF does not su

Re: [gdal-dev] Inquiry about Elevation Values in DXF Conversion using ogr2ogr

2024-01-24 Thread Javier Jimenez Shaw via gdal-dev
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

Re: [gdal-dev] Inquiry about Elevation Values in DXF Conversion using ogr2ogr

2024-01-24 Thread Abel Pau via gdal-dev
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

Re: [gdal-dev] Inquiry about Elevation Values in DXF Conversion using ogr2ogr

2024-01-24 Thread Shahrukh Mirza Nawandish via gdal-dev
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" :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 form

Re: [gdal-dev] Inquiry about Elevation Values in DXF Conversion using ogr2ogr

2024-01-24 Thread Abel Pau via gdal-dev
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 En nombre de Shahrukh Mirza Na

[gdal-dev] Inquiry about Elevation Values in DXF Conversion using ogr2ogr

2024-01-24 Thread Shahrukh Mirza Nawandish via gdal-dev
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, -- Sa