From arots@head.cfa.harvard.edu Mon Dec  5 15:55:34 2005
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on noao.edu
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=4.5 tests=AWL,BAYES_00 
	autolearn=unavailable version=3.1.0
X-TFF-CGPSA-Version: 1.4f1
X-TFF-CGPSA-Filter: Scanned
X-Real-To: <seaman@noao.edu>
Return-Path: <owner-voevent@eso.org>
Received: from rocky.hq.eso.org ([134.171.42.43] verified)
  by noao.edu (CommuniGate Pro SMTP 5.0.2)
  with ESMTP id 22064868; Mon, 05 Dec 2005 15:55:34 -0700
Received: from mercury.hq.eso.org (mercury.hq.eso.org [134.171.7.20])
	by rocky.hq.eso.org (8.12.10+Sun/8.12.10) with ESMTP id jB5Mt2fm008177;
	Mon, 5 Dec 2005 23:55:03 +0100 (CET)
Received: from mercury.hq.eso.org (localhost [127.0.0.1])
	by mercury.hq.eso.org (8.12.10+Sun/8.12.10) with ESMTP id jB5MqdiV010158
	for <voevent-outgoing@mercury.hq.eso.org>; Mon, 5 Dec 2005 23:52:39 +0100 (MET)
Received: (from majordomo@localhost)
	by mercury.hq.eso.org (8.12.10+Sun/8.12.10/Submit) id jB5MqdpP010157
	for voevent-outgoing; Mon, 5 Dec 2005 23:52:39 +0100 (MET)
X-Authentication-Warning: mercury.hq.eso.org: majordomo set sender to owner-voevent@eso.org using -f
Received: from apollo.hq.eso.org (apollo.hq.eso.org [134.171.42.42])
	by mercury.hq.eso.org (8.12.10+Sun/8.12.10) with ESMTP id jB5MqYiV010137
	for <voevent@ivoa.net>; Mon, 5 Dec 2005 23:52:34 +0100 (MET)
Received: from head.cfa.harvard.edu (head.cfa.harvard.edu [131.142.41.8])
	by apollo.hq.eso.org (8.12.10+Sun/8.12.10) with ESMTP id jB5MqWHA012852
	for <voevent@ivoa.net>; Mon, 5 Dec 2005 23:52:32 +0100 (CET)
Received: from xebec.cfa.harvard.edu (xebec [131.142.52.100])
	by head.cfa.harvard.edu (d/w) with ESMTP id jB5MqP1u015492;
	Mon, 5 Dec 2005 17:52:25 -0500 (EST)
From: Arnold Rots <arots@head.cfa.harvard.edu>
Received: (from arots@localhost)
	by xebec.cfa.harvard.edu (8.12.8p1/8.12.8) id jB5MqPtl023600;
	Mon, 5 Dec 2005 17:52:25 -0500 (EST)
Message-Id: <200512052252.jB5MqPtl023600@xebec.cfa.harvard.edu>
Subject: WhereWhen with Regions
In-Reply-To: <37F55652-A147-40D4-B299-9404C0AE080B@noao.edu>
To: Rob Seaman <seaman@noao.edu>
Date: Mon, 5 Dec 2005 17:52:25 -0500 (EST)
CC: IVOA List VOEvent <voevent@ivoa.net>, Kathy Glockner <glockner@noao.edu>
X-Mailer: ELM [version 2.4ME+ PL99 (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
X-Scanned-By: MIMEDefang 2.35
X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.1.0.0, Antispam-Data: 2005.12.5.27
X-Virus-Scanned: by amavisd-new
Sender: owner-voevent@eso.org
Precedence: bulk
Reply-To: Arnold Rots <arots@head.cfa.harvard.edu>

Appended is more or less the same example I showed with a region
specification added.  The region is specified in the AstroCoordArea
element, not the Error part of the coordinate element itself.
I used a polygon.
Errors, btw, may be specified as a circle, rectangular box, or ellipse.
I would suggest still putting an error radius in the Error element to
provide a sensible number for clients who are not interested in the
exact details of the region.

  - Arnold

--------------------------------------------------------------------------
Arnold H. Rots                                Chandra X-ray Science Center
Smithsonian Astrophysical Observatory                tel:  +1 617 496 7701
60 Garden Street, MS 67                              fax:  +1 617 495 7356
Cambridge, MA 02138                             arots@head.cfa.harvard.edu
USA                                     http://hea-www.harvard.edu/~arots/
--------------------------------------------------------------------------


<?xml version="1.0" encoding="UTF-8"?>
<ObsDataLocation xmlns="http://www.ivoa.net/xml/STC/stc-v1.23.xsd"
    xmlns:crd="http://www.ivoa.net/xml/STC/STCcoords/v1.23"
    xmlns:reg="http://www.ivoa.net/xml/STC/STCregion/v1.23"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xsi:schemaLocation="http://www.ivoa.net/xml/STC/stc-v1.23.xsd
    http://hea-www.harvard.edu/~arots/nvometa/v1.23/stc-v1.23.xsd">

  <ObservatoryLocation id="KPNO" xlink:type="simple"
       xlink:href="ivo://STClib/Observatories.xml#KPNO"/>

  <ObservationLocation>
    <AstroCoordSystem id="UTC-FK5-TOPO" xlink:type="simple"
       xlink:href="ivo://STClib/AstroCoordSystems.xml#UTC-FK5-TOPO"/>
    <crd:AstroCoords coord_system_id="UTC-FK5-TOPO">
      <crd:Time unit="s">
        <crd:TimeInstant>
          <crd:ISOTime>2005-04-15T23:59:59</crd:ISOTime>
        </crd:TimeInstant>
        <crd:Error>2</crd:Error>
      </crd:Time>
      <crd:Position2D unit="deg">
        <crd:Value2>141.1024 69.3064</crd:Value2>
        <crd:Error2Radius>0.1</crd:Error2Radius>
      </crd:Position2D>
    </crd:AstroCoords>
    <AstroCoordArea coord_system_id="UTC-FK5-TOPO">
      <Region>
        <reg:Polygon unit="deg">
          <reg:Vertex>
            <reg:Position>141.1 69.2</reg:Position>
          </reg:Vertex>
          <reg:Vertex>
            <reg:Position>140.9 69.3</reg:Position>
          </reg:Vertex>
          <reg:Vertex>
            <reg:Position>141.1 69.4</reg:Position>
          </reg:Vertex>
          <reg:Vertex>
            <reg:Position>141.3 69.3</reg:Position>
          </reg:Vertex>
        </reg:Polygon>
      </Region>
    </AstroCoordArea>
  </ObservationLocation>
</ObsDataLocation>
