Hello everyone.
I have a trouble about java-gdal when I process raster geotif data.
I want to convert Dataset type object to Byte array in order to return
HttpResponse.
But I dont know how to convert.
If I write file on disk firstly,then I read the file into FileInputStream,I
can convert to byte[],
Jesse,
you may want to look at https://gdal.org/programs/gdal_retile.html
Even
Le 12/04/2023 à 20:41, Meyer, Jesse R. (GSFC-618.0)[SCIENCE SYSTEMS AND
APPLICATIONS INC] via gdal-dev a écrit :
Hi,
I’d like to take a large raster image and chop it into XY tiles. I
see gdal2tiles.py, but thi
Hi,
I’d like to take a large raster image and chop it into XY tiles. I see
gdal2tiles.py, but this is specific to web hosting and inherits untenable
constraints (like byte only datatype).
Does such a program exist by the GDAL team, or do I need to implement this
manually? If the latter, I su
Le 12/04/2023 à 11:45, Michael Smith a écrit :
I guess I thought GTIFF_REPORT_COMPD_CS would only change the display
of the output, not change the interpretation of the SRS?
It is documented in https://gdal.org/drivers/raster/gtiff.html as:
"""GTIFF_REPORT_COMPD_CS : Can be set to TRUE to avoid
I guess I thought GTIFF_REPORT_COMPD_CS would only change the display
of the output, not change the interpretation of the SRS? I can confirm
that setting GTIFF_REPORT_COMPD_CS=FALSE does indeed allow the
vertical datum reprojection to happen but I guess I have a poor
understanding of just what GTIF
Michael,
it is well possible this might have worked in the past due to slightly
different behavior of GDAL and/or PROJ, but the current behavior seems
consistent to me. You're trying to transform between 2 compound CRS, the
source one with a unknown vertical datum and the target one with EGM20
I have a file with a projection shown, using REPORT_COMPD_CS=TRUE of:
COMPOUNDCRS["WGS 84 / UTM zone 17N + unknown",
PROJCRS["WGS 84 / UTM zone 17N",
BASEGEOGCRS["WGS 84",
DATUM["World Geodetic System 1984",
ELLIPSOID["WGS 84",6378137,298.257223563,