Page 1 of 1

Wrong hemisphere in geotiffs EPSG code for HLS data

Posted: Mon Jan 12, 2026 8:06 am America/New_York
by amigdala999
Hi,
I wonder if it's a bug.
I'm downloading a tile 50HLG which according to MGRS is in south hemisphere. It's in Australia or near it.

wget -v https://data.lpdaac.earthdatacloud.nasa.gov/lp-prod-protected/HLSS30.020/HLS.S30.T50HLG.2025080T021209.v2.0/HLS.S30.T50HLG.2025080T021209.v2.0.B08.tif

The I'm looking in its SRS data with:

gdalsrsinfo HLS.S30.T50HLG.2025080T021209.v2.0.B08.tif

and it outputs:

PROJ.4 : +proj=utm +zone=50 +datum=WGS84 +units=m +no_defs

OGC WKT2:2019 :
PROJCRS["WGS 84 / UTM zone 50N",
<.......>
AREA["Between 114°E and 120°E, northern hemisphere between equator and 84°N, onshore and offshore. Brunei. China. Hong Kong. Indonesia. Malaysia - East Malaysia - Sarawak. Mongolia. Philippines. Russian Federation. Taiwan."],
BBOX[0,114,84,120]],
ID["EPSG",32650]]


It has EPSG 32650 while I would expect 32750 and 50S in this file.
This affects all (at least S30) data in southern hemisphere.

Is this a bug or by design?

Re: Wrong hemisphere in geotiffs EPSG code for HLS data

Posted: Mon Jan 12, 2026 8:32 am America/New_York
by amigdala999
Additionally tiffinfo prints mismatching details:

$ tiffinfo HLS.S30.T50HLG.2025080T021209.v2.0.B08.tif
....
Tag 34737: UTM Zone 50, Northern Hemisphere|WGS 84|
GDAL Metadata: <GDALMetadata>
...
<Item name="HORIZONTAL_CS_CODE">EPSG:32750</Item>
<Item name="HORIZONTAL_CS_NAME">WGS84 / UTM zone 50S</Item>
....

Re: Wrong hemisphere in geotiffs EPSG code for HLS data

Posted: Tue Jan 13, 2026 9:21 am America/New_York
by LP DAAC - lien
Hello,
Thanks for bringing this to our attention. We are looking into this, and as soon as I have more information, I will let you know.
Brett

Re: Wrong hemisphere in geotiffs EPSG code for HLS data

Posted: Tue Jan 20, 2026 4:23 am America/New_York
by amigdala999
Hi, any news regarding this?
It seems this could cause 'ERROR: transform: Point outside of projection domain (2050) ' errors when processing such GeoTiffs with latest PostGIS. Im considering to reprojecting all files to SRID 4326