<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Michael,</p>
<p>can you paste the definition of such STAC Json item ? Guess:
"proj:epsg" is present, but "proj:bbox" or "proj:transform" are
using WGS84 coordinates ?<br>
</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 11/09/2024 à 15:59, Michael Smith
via gdal-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:2680A3CD-831F-48CF-89FF-9C7C5D688CFE@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator"
content="Microsoft Word 15 (filtered medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;}div.WordSection1
{page:WordSection1;}</style>
<div class="WordSection1">
<p class="MsoNormal">Using gdal 3.9.2:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m using pystac to create stac json item
collections. I’m setting the srs of using the projection
extension and gdalinfo returns the correct srs that I am
setting.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">gdalinfo STACIT:13459.json<o:p></o:p></p>
<p class="MsoNormal">Driver: VRT/Virtual Raster<o:p></o:p></p>
<p class="MsoNormal">Files:
/vsicurl/<a class="moz-txt-link-freetext" href="https://noaa-nos-coastal-lidar-pds.s3.us-east-1.amazonaws.com/dem/WA_King_DEM_2016_8589/./kingcounty_delivery4_block2_be.tif">https://noaa-nos-coastal-lidar-pds.s3.us-east-1.amazonaws.com/dem/WA_King_DEM_2016_8589/./kingcounty_delivery4_block2_be.tif</a><o:p></o:p></p>
<p class="MsoNormal">
/vsicurl/<a class="moz-txt-link-freetext" href="https://noaa-nos-coastal-lidar-pds.s3.us-east-1.amazonaws.com/dem/WA_King_DEM_2016_8589/./kingcounty_delivery4_block1_be.tif">https://noaa-nos-coastal-lidar-pds.s3.us-east-1.amazonaws.com/dem/WA_King_DEM_2016_8589/./kingcounty_delivery4_block1_be.tif</a><o:p></o:p></p>
<p class="MsoNormal">Size is 74182, 79467<o:p></o:p></p>
<p class="MsoNormal">Coordinate System is:<o:p></o:p></p>
<p class="MsoNormal">COMPOUNDCRS["NAD83(HARN) / Washington North
(ftUS) + NAVD88 height (ftUS)",<o:p></o:p></p>
<p class="MsoNormal"> PROJCRS["NAD83(HARN) / Washington North
(ftUS)",<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But when I look at the origin / pixel size
/ bounding box, its in geodetic coordinates. Is this how it
should be reported? I was also doing some conversions from
stac to vrt to support arcpro users and the vrt then inherits
the bbox/pixel size/origin of the geodetic values from stac.
Trying to see how I can get these values in actual projected
coordinates.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Mike<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="mso-ligatures:none">-- <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="mso-ligatures:none">Michael
Smith<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ligatures:none">Remote
Sensing/GIS Center<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-ligatures:none">US
Army Corps of Engineers</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>