STC-S parser ?

David Berry d.berry at jach.hawaii.edu
Thu Nov 10 00:09:57 PST 2011


On 9 November 2011 21:00, David Berry <d.berry at jach.hawaii.edu> wrote:
> On 9 November 2011 20:12, Patrick Dowler <patrick.dowler at nrc-cnrc.gc.ca> wrote:
>> On 2011-11-09 09:12:38 Thomas Boch wrote:
>>> Dear all,
>>>
>>> STC-S regions in SIAP query response are becoming more and more common,
>>> and I'd like to take advantage of this information to display the FoV of
>>> the image in Aladin.
>>> As you know, I am a lazy guy and was wondering if someone had already
>>> developed an STC-S parser (ideally in Java, but another language would
>>> be fine).
>
> The AST library can read STC-S and create objects from them that can
> be used in all sorts of ways. AST is written in C but Mark Taylor has
> written a JNI interface for it (JNIAST). See
> http://starlink.jach.hawaii.edu/starlink/AST for general info on AST
> and  http://starlink.jach.hawaii.edu/starlink/AST#stcdemo for
> specifics about the STC-S support.

Having said that, I think JNIAST does not currently include a wrapper
for the relevant clas in AST (StcsChan) class. Let me know if it is
something you may be interested in using, and I'll update JNIAST (Mark
is busy with other things).

David


More information about the apps mailing list