<div dir="auto">Thank you!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 5 Mar 2024, 18:00 Even Rouault, <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
Hi Javier,<br>
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
<div>- GeoTIFF is using its own tags, not WKT<br>
</div>
</div>
</blockquote>
==> ESRI has actually an extension (supported by GDAL) where
they feed ESRI WKT in the PCSCitationGeoKey tag. cf
<a href="https://github.com/opengeospatial/geotiff/issues/56#issuecomment-451130281" target="_blank" rel="noreferrer">https://github.com/opengeospatial/geotiff/issues/56#issuecomment-451130281</a><br>
<blockquote type="cite">
<div dir="ltr">
<div>- Geopackage with this extension <a href="https://www.geopackage.org/guidance/extensions/wkt_for_crs.html" target="_blank" rel="noreferrer">https://www.geopackage.org/guidance/extensions/wkt_for_crs.html</a></div>
</div>
</blockquote>
==> WKT1 is part of the core standard. The extension is for
additional WKT:2015 support . And the latest GeoPackage 1.4 spec
also allows WKT:2019<br>
<blockquote type="cite">
<div dir="ltr">
<div>- PAM file in GDAL, but that is cheating ;)<br>
</div>
</div>
</blockquote>
<p> ==> almost an industry standard. It has been supported by
ArcGIS for decades
(<a href="https://desktop.arcgis.com/fr/arcmap/latest/manage-data/raster-and-images/auxiliary-files.htm" target="_blank" rel="noreferrer">https://desktop.arcgis.com/fr/arcmap/latest/manage-data/raster-and-images/auxiliary-files.htm</a>).</p>
<p>"grep -r exportToWkt frmts ogr/ogrsf_frmts" in GDAL also shows:</p>
<p>- netCDF. crs_wkt attribute to the CF CRS encoding<br>
- PDF: in GeoPDF (I don't remember if it is the ISO or OGC Best
Practice encoding. but it is the ESRI WKT variant I believe)<br>
- ArcInfo ASCII Grid: ESRI WKT in a .prj<br>
- Oracle GeoRaster: in their spatial_ref_sys table or equivalent.
Oracle WKT: an antique & unique sub-dialect of WKT1<br>
- BAG<br>
- SAGA<br>
- Erdas Imagine. ESRI WKT<br>
- TileDB. WKT1 if PROJJSON not available in a (likely GDAL
specific) attribute<br>
- MySQL. WKT1 in spatial_ref_sys table<br>
- PostGIS. WKT1 in spatial_ref_sys table<br>
- ESRI FileGeodatabase: ESRI WKT<br>
</p>
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
<div>See that I am looking for formats that store some geo-data,
and use WKT to define the CRS (inside or next to it)</div>
<div><br>
</div>
<div>Bonus for a "storage format" that uses/supports WKT2!<br>
</div>
</div>
</blockquote>
<p>- FlatGeoBuf, although I realize the spec at
<a href="https://github.com/flatgeobuf/flatgeobuf/blob/master/src/fbs/header.fbs#L63" target="_blank" rel="noreferrer">https://github.com/flatgeobuf/flatgeobuf/blob/master/src/fbs/header.fbs#L63</a>
isn't super explicit, but GDAL writes WKT:2019 into it</p>
<p>- Zarr. in a GDAL's extension for CRS support</p>
<p>Even</p>
<span style="white-space:pre-wrap">
</span>
<pre cols="72">--
<a href="http://www.spatialys.com" target="_blank" rel="noreferrer">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</div>
</blockquote></div>