<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Javier,</p>
<p>digging a bit, there's a bit of back & forth history
involved.</p>
<p>Originally, PROJ returned the short name as the extent
description . But then
<a class="moz-txt-link-freetext" href="https://github.com/OSGeo/PROJ/commit/3ed9a613d8da9874f45d2a069686f1fa38c72ad9">https://github.com/OSGeo/PROJ/commit/3ed9a613d8da9874f45d2a069686f1fa38c72ad9</a>
came: "Database: use extended description for extent/area of use,
as done by epsg.org WKT export"</p>
<p>EPSG apparently changed again their mind later since I see now
that in their WKT output there's no longer any USAGE[] node.</p>
<p>So basically the object model of osgeo::proj::metadata::Extent
should likely be extended with a shortName() getter (the
corresponding GeoAPI class that serves as the inspiration,
<a class="moz-txt-link-freetext" href="http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/metadata/extent/Extent.html">http://www.geoapi.org/3.0/javadoc/org.opengis.geoapi/org/opengis/metadata/extent/Extent.html</a>,
has a single getDescription()), a C binding to get it (likely
proj_get_area_of_use_ex2()), and
AuthorityFactory::Private::createPropertiesSearchUsages() be
modified to populate it.</p>
<p>Even</p>
<div class="moz-cite-prefix">Le 18/07/2023 à 00:52, Javier Jimenez
Shaw a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CADRrdKso9VSsbQnatLTp6HR0RjZD-KZYj3zR8fE2mXgvn06R8g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi</div>
<div><br>
</div>
<div>I have realized that extents have a name and a description.
For instance NAVD88 has a short name "<span
style="color:rgb(48,48,48);font-family:Arial,Helvetica,sans-serif;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">North
America - Mexico and USA - onshore" and a long description:</span></div>
<div><span
style="color:rgb(48,48,48);font-family:Arial,Helvetica,sans-serif;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">"</span><span
style="color:rgb(48,48,48);font-family:Arial,Helvetica,sans-serif;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">Mexico
- onshore. United States (USA) - CONUS and Alaska - onshore
- Alabama; Alaska; Arizona; Arkansas; California; Colorado;
Connecticut; Delaware; Florida; Georgia; Idaho; Illinois;
Indiana; Iowa; Kansas; Kentucky; Louisiana; Maine; Maryland;
Massachusetts; Michigan; Minnesota; Mississippi; Missouri;
Montana; Nebraska; Nevada; New Hampshire; New Jersey; New
Mexico; New York; North Carolina; North Dakota; Ohio;
Oklahoma; Oregon; Pennsylvania; Rhode Island; South
Carolina; South Dakota; Tennessee; Texas; Utah; Vermont;
Virginia; Washington; West Virginia; Wisconsin; Wyoming.</span><span
style="color:rgb(48,48,48);font-family:Arial,Helvetica,sans-serif;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">"<br>
</span></div>
<div><span
style="color:rgb(48,48,48);font-family:Arial,Helvetica,sans-serif;font-size:13px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;white-space:normal;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none"><br>
</span></div>
<div><a href="https://epsg.org/crs_5703/NAVD88-height.html"
moz-do-not-send="true" class="moz-txt-link-freetext">https://epsg.org/crs_5703/NAVD88-height.html</a></div>
<div><br>
</div>
<div>In PROJ I can find only the description in
"osgeo::proj::metadata::Extent::description" or in
"osgeo::proj::io::AuthorityFactory::CRSInfo::areaName" (yes,
this is the description, not the name)<br>
</div>
<div><br>
</div>
<div>Is there a way to get the (short) name?</div>
<div><br>
</div>
<div>Thanks.<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>.___ ._ ..._ .. . ._. .___ .. __ . _. . __.. ...
.... ._ .__</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
PROJ mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PROJ@lists.osgeo.org">PROJ@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/proj">https://lists.osgeo.org/mailman/listinfo/proj</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>