STC-S parser ?

David Berry d.berry at jach.hawaii.edu
Wed Nov 9 13:00:12 PST 2011


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.

David


More information about the apps mailing list