require 'voruby/resources/sia/loader' require 'voruby/resources/voresource/voresource_v0_9' require 'voruby/resources/vodataservice/vodataservice_v0_3' include VORuby::Resources::VOResource::V0_9 include VORuby::Resources::VODataService::V0_3 module VORuby module Resources module SIA module V0_6 # Forward declarations class SimpleImageAccessType < Capability; end class SimpleImageAccess < SimpleImageAccessType; end class MaxRecords; end class MaxFileSize; end class MaxQueryRegionSize; end class MaxImageExtent; end class MaxImageSize; end class ImageServiceType; end # The capabilities of an SIA implementation. It includes # the listing of the columns that appear in image query # output VOTable and SIA-specific metadata. class SimpleImageAccess; end class SimpleImageAccessType object_node :image_service_type, 'ImageServiceType', :class => ImageServiceType, :optional => false object_node :max_query_region_size, 'MaxQueryRegionSize', :class => MaxQueryRegionSize, :optional => false object_node :max_image_extent, 'MaxImageExtent', :class => MaxImageExtent, :optional => false object_node :max_image_size, 'MaxImageSize', :class => MaxImageSize, :optional => false object_node :max_file_size, 'MaxFileSize', :class => MaxFileSize, :optional => false object_node :max_records, 'MaxRecords', :class => MaxRecords, :optional => false end # The largest number of records that the Image Query web method will return. class MaxRecords include XML::Mapping numeric_node :value, '', :optional => false end # The maximum image file size in bytes. class MaxFileSize include XML::Mapping numeric_node :value, '', :optional => false end # The maximum image query region size, expressed in decimal # degrees. A value of 360 degrees indicates that there is no limit # and the entire data collection (entire sky) can be queried. class MaxQueryRegionSize include XML::Mapping numeric_node :long, 'long', :optional => false numeric_node :lat, 'lat', :optional => false end # The maximum image query region size, expressed in decimal # degrees. A value of 360 degrees indicates that there is no limit # and the entire data collection (entire sky) can be requested. class MaxImageExtent include XML::Mapping numeric_node :long, 'long', :optional => false numeric_node :lat, 'lat', :optional => false end # The largest image (in terms of pixels) that can be requested. class MaxImageSize include XML::Mapping numeric_node :long, 'long', :optional => false numeric_node :lat, 'lat', :optional => false end # The class of image service: Cutout, Mosaic, Atlas, Pointed. class ImageServiceType include XML::Mapping text_enumeration_node :value, '', :optional => false, :choices => ['Cutout', 'Mosaic', 'Atlas', 'Pointed'] end end end end end