<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hello DAL/Apps,</p>
<p><span style="font-size: 12pt;"><br>
</span></p>
<p><span style="font-size: 12pt;">Speaking as a TAP data service provider at MAST, we have put considerable effort into implementing footprints based on STC-S.&nbsp; For CAOM/ObsTAP, e</span><span style="font-size: 12pt;">ven our database-</span><span style="font-size: 12pt;">internal
 geometric search functions under the hood</span><span style="font-size: 12pt;">&nbsp;use it as input. Adding to this would be considerable effort. We're also planning replacement of some other standard services with a TAP layer, so my concern extends to how those
 would work as well.</span></p>
<p><br>
</p>
<p>I'm confused as to what is being proposed here; am I correct that some data providers are currently responding with footprints in a style that is not defined by any of our standards? Or is it another known, defined standard that can be referenced? Are we
 suggesting this alternate format should be accepted in client queries so that other data providers have to deal with it as well, or is the onus entirely on clients to understand either method and take the server's lead? I'm not&nbsp;happy with either of these ideas
 but admit I might just not understand the use case.</p>
<p><br>
</p>
<p>Thanks for your time,</p>
<p>--Theresa Dower</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> apps-bounces@ivoa.net &lt;apps-bounces@ivoa.net&gt; on behalf of Felix Stoehr &lt;fstoehr@eso.org&gt;<br>
<b>Sent:</b> Monday, November 27, 2017 10:29 AM<br>
<b>To:</b> apps@ivoa.net; dal@ivoa.net; François Bonnarel<br>
<b>Subject:</b> Re: s_region problem</font>
<div>&nbsp;</div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Dear all,<br>
<br>
as far as ALMA is concerned, we are using STC-S and have indeed quite<br>
complex notations with UNION, POLYGON, CIRCLE as well as NOT for holes<br>
in the footprints. While I can not judge whether or not an<br>
additional/modified standard of STC-S is really required (for us at<br>
least STC-S works very well) I can safely say that changing the notation<br>
would entail non-negligible costs.<br>
<br>
In general, of course, the less standards evolve (without backwards<br>
compatibility), the more stable our systems can be, the less effort it<br>
is to maintain them and probably also the easier it is for new players<br>
to take these standards up.<br>
<br>
Best regards,<br>
<br>
Felix<br>
<br>
On 27.11.2017 13:12, François Bonnarel wrote:<br>
&gt; Dear all,<br>
&gt; <br>
&gt; My understanding of this context as a DAL chair involved in several of<br>
&gt; the specifications as author and (supposed to be) aware of the others.<br>
&gt; <br>
&gt; Most of this stuff is extracted from a discussion we had in a more<br>
&gt; limited group.<br>
&gt; <br>
&gt; 1 ) Obscore<br>
&gt; <br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; The discussion here is actually invloving at least 3 DAL standards &#43;<br>
&gt; Obscore (which is DM oficially but actually &quot;DM-DAL&quot;) : TAP, ADQL, DALI<br>
&gt; and Obscore. The DAL dillemma is the following : as it encompasses a<br>
&gt; vast variety of situations and use cases and various interface shapes,<br>
&gt; DAL technology cannot be defined by a single &quot;SPEC_OF_EVERYTHING&quot;. DAL<br>
&gt; has defined a great deal of different protocols, which of them evolving<br>
&gt; its own rythm. We have to be carefull all this keep consistent and to be<br>
&gt; carefull also we do not break everything<br>
&gt; <br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Each of the 4 standards involved here have two versions : TAP 1.0,<br>
&gt; 1.1, ADQL 2.0, 2.1, DALI 1.0, 1.1. Obscore 1.1 and DALI 1.1 are IVOA<br>
&gt; recommendations since 2017 May the 17th. TAP1.1 and ADQL 1.1 are still<br>
&gt; in discussion.<br>
&gt; <br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 ) For s_region what does Obscore spec says ? ObsCore is a model<br>
&gt; (or a view of a larger model) each class/attribute is perfectly defined.<br>
&gt; To map such a model in a TAP service one has to express it in a TAP<br>
&gt; schema. The OBscore spec defines precisely this TAP schema. &#43; xtypes for<br>
&gt; each TAP schema column. In OBscore 1.0 the xtype for s_region is<br>
&gt; &quot;adql:REGION&quot;. Obscore 1.1 maintains the same definitions for s_region<br>
&gt; (and other ObsCore attributes) than 1.0. But it adds that the definition<br>
&gt; given in the spec is consistent with TAP 1.0 (the only valid one at the<br>
&gt; moement it was defined) but that the situation may evolve after the<br>
&gt; release of TAP 1.1.<br>
&gt; <br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 ) So what does TAP says about xtypes ? 1.0 was defining a couple<br>
&gt; of them, all bound to adql functions, including adql:Region. adql:REGION<br>
&gt; WAS AT THE TIME OF WRITING OF 1.0&nbsp; considered as STC-S. TAP 1.1 gets rid<br>
&gt; of this and claims that as far as possible xtype should map to the<br>
&gt; definitions given in DALI. It says &quot;SHOULD&quot; and not MUST of course. You<br>
&gt; are still allowed to define or use other xtypes if really necessary.<br>
&gt; <br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3 ) DALI 1.0 didn't say anything about xtypes. DALI 1.1 defines a<br>
&gt; couple of them. xtypes CIRCLE and POLYGON are defined as arrays of<br>
&gt; doubles. This has also been discussed to be xtypes of some of SODA input<br>
&gt; parameters (together witn interval). These xtypes are those refered by<br>
&gt; TAP 1.1&nbsp; as those&nbsp;&nbsp; that SHOULD be used if no other xtype is required by<br>
&gt; the use case.<br>
&gt; <br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4 ) ADQL 2.0 Defined a couple of functions which TAP was mapping to<br>
&gt; xtypes: Among them REGION. ADQL 2.1 is considering dropping string-typed<br>
&gt; REGION and keep more double array oriented CIRCLE and POLYGON. This has<br>
&gt; consequences for querying. This has no consequence on adql:REGION xtype<br>
&gt; which can remain defined as in ADQL 2.0 if necessary.<br>
&gt; <br>
&gt; <br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Discussion :<br>
&gt; <br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With the main goal of keeping the defintions and<br>
&gt; formats stable for a while in the vO in a given context ( the<br>
&gt; ObsCore/OBstap one here) I think nothing prevent us to keep adql:REGION<br>
&gt; (equivalent to STC-S string) as an xtype for the s_region attribute in<br>
&gt; ObsCore.<br>
&gt; <br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I don't know how DACHS is implemented but I<br>
&gt; assume it generates xtypes in the VOTABLE response of the services from<br>
&gt; the TAP schemata. So if the the ObsCore TAP schema keeps adql:REGION as<br>
&gt; the xtype of s_region instead of xtype=polygon, clients like Aladin<br>
&gt; could still recognize and parse it immediatly.<br>
&gt; <br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Actually it makes more sense than it may appear.<br>
&gt; The data/metadata (coord system and whatever) distinction is not an<br>
&gt; issue for Obscore. Everything is ICRS in there. So the STC-S string is<br>
&gt; unambiguously a polygon, a circle, or any of other stc flavors of space<br>
&gt; area perfectly understandable. s_region is not only a space area. It's<br>
&gt; the support of the observation (as defibed by ObsCore and<br>
&gt; characterisation) expressed as a space area. So it's not that strange to<br>
&gt; have a spoecific xtype for it, and to keep the historical<br>
&gt; adql:REGION/STC-S then.<br>
&gt; <br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For POlygon or CIRCLES in general, which have<br>
&gt; plenty of usages different from &quot;dataset support&quot; (exemply gratia<br>
&gt; &quot;region of interest&quot;, &quot;survey or catalog coverages&quot; , &quot;cross match<br>
&gt; search regions&quot; ,etc... and which may require different coordinate<br>
&gt; systems than ICRS going to the POLYGON/CIRCLE xtypes with arrays is the<br>
&gt; most standard option for the future...<br>
&gt; <br>
&gt; Lets' go to Pierre questions in detail<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Le 24/11/2017 à 12:26, Pierre Fernique a écrit :<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Dear DAL and Apps members,<br>
&gt;&gt;<br>
&gt;&gt; It seems that we have a problem concerning the *s**_region* usage.<br>
&gt;&gt;<br>
&gt;&gt; Recently, we discover that some data providers have changed their<br>
&gt;&gt; syntax, moving from the regular STC-S string to a new one which seems<br>
&gt;&gt; to be an array of doubles, alternating long and lat. Both Aladin V10<br>
&gt;&gt; and Aladin Lite fail to manage a such new syntax, and we had<br>
&gt;&gt; complaints from final users which do no longer see the FoV of their<br>
&gt;&gt; observations.<br>
&gt;&gt;<br>
&gt;&gt; After investigating about this unexpected evolution, it appears that<br>
&gt;&gt; this new syntax is generated by some versions of DaCHS testing TAP1.1<br>
&gt;&gt; future possible recommendation.<br>
&gt;&gt;<br>
&gt;&gt; So, I have several questions for TAP 1.1 authors and DAL members :<br>
&gt;&gt;<br>
&gt;&gt;&nbsp; 1. Is is really true that STC-S s_region should be removed from<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; VOTable results ? Personally, I did not see this consequence in<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; the TAP 1.1 document. or ?<br>
&gt;&gt;<br>
&gt; No. Nothing prevent us to have string field in VOTable<br>
&gt;&gt;<br>
&gt;&gt; 1.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&nbsp; 2. And if yes : is it only in TAP ? or also in SIA2 or SSA ?<br>
&gt;&gt;<br>
&gt; TAP itself doens't prevent to use string-typed FIELDS in the&nbsp; response.<br>
&gt; IT only recommands usage of fIELDS with wtype.<br>
&gt; In the case of s_region the basic thing is not TAP or SIAV2, the<br>
&gt; discovery protocol, but ObsCOre. ObsCore has to be stabilized.<br>
&gt; Common discovery metadata in the case of ADQL queries and the case of<br>
&gt; Parameter query language has been a major progress recently...<br>
&gt; We should not break it/<br>
&gt; <br>
&gt; For SSA si next answer.<br>
&gt;&gt;<br>
&gt;&gt;&nbsp; 1. How the client can know the logic (lon/lat or lat/lon,<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; counter-clock or anti-counterclock, ...), the frame and other<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; coordinate parameters for such array of double ?<br>
&gt;&gt;<br>
&gt; I think xtype=POLYGON assumes it's lon/lat. At the moment coordsystem<br>
&gt; can aonly be given by the de-deprecated COOSYS. So reference to a<br>
&gt; COOSSYS element seems to be the only solution.<br>
&gt;&gt;<br>
&gt;&gt;&nbsp; 1. How providers who already generated complex s_region will do now ?<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; (for instance ESO)<br>
&gt;&gt;<br>
&gt; I think they should not change that. ObsCore has been designed and<br>
&gt; discussed durin a long time to be a stable basis.<br>
&gt;&gt;<br>
&gt;&gt; 1.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&nbsp; 2. How we will manage the transition period ?<br>
&gt;&gt;<br>
&gt; In my opinion no transition period is needed for the specific case of<br>
&gt; s_region which is STCS ICRS.<br>
&gt; <br>
&gt; DAL &quot;build up&quot; is always a balance between stability and backward<br>
&gt; compatibility and controlled progress in the definitions.<br>
&gt; <br>
&gt; Cheers<br>
&gt; François<br>
&gt;&gt;<br>
&gt;&gt; Best regards<br>
&gt;&gt; Pierre Fernique<br>
</div>
</span></font></div>
</div>
</body>
</html>