Class RESTStructuredCoverageIndexSchema

  • All Implemented Interfaces:
    java.lang.Iterable<RESTStructuredCoverageIndexSchema.RESTStructuredCoverageIndexAttribute>

    public class RESTStructuredCoverageIndexSchema
    extends java.lang.Object
    implements java.lang.Iterable<RESTStructuredCoverageIndexSchema.RESTStructuredCoverageIndexAttribute>
    This decode turns index format for a GeoServer StructuredGridCoverageReader into something useful, giving access to the definition of the single attributes.

    This is the XML REST representation:

     
     <Schema>
      <attributes>
        <Attribute>
          <name>the_geom</name>
          <minOccurs>0</minOccurs>
          <maxOccurs>1</maxOccurs>
          <nillable>true</nillable>
          <binding>com.vividsolutions.jts.geom.Polygon</binding>
        </Attribute>
        <Attribute>
          <name>location</name>
          <minOccurs>0</minOccurs>
          <maxOccurs>1</maxOccurs>
          <nillable>true</nillable>
          <binding>java.lang.String</binding>
        </Attribute>
        <Attribute>
          <name>imageindex</name>
           <minOccurs>0</minOccurs>
           <maxOccurs>1</maxOccurs>
           <nillable>true</nillable>
          <binding>java.lang.Integer</binding>
         </Attribute>
         <Attribute>
           <name>time</name>
           <minOccurs>0</minOccurs>
           <maxOccurs>1</maxOccurs>
           <nillable>true</nillable>
           <binding>java.sql.Timestamp</binding>
         </Attribute>
         <Attribute>
           <name>elevation</name>
           <minOccurs>0</minOccurs>
           <maxOccurs>1</maxOccurs>
           <nillable>true</nillable>
           <binding>java.lang.Double</binding>
         </Attribute>
         <Attribute>
           <name>fileDate</name>
           <minOccurs>0</minOccurs>
           <maxOccurs>1</maxOccurs>
           <nillable>true</nillable>
           <binding>java.sql.Timestamp</binding>
         </Attribute>
         <Attribute>
           <name>updated</name>
           <minOccurs>0</minOccurs>
           <maxOccurs>1</maxOccurs>
           <nillable>true</nillable>
           <binding>java.sql.Timestamp</binding>
         </Attribute>
       </attributes>
       <atom:link xmlns:atom="http://www.w3.org/2005/Atom" rel="alternate" href="http://localhost:8080/geoserver/rest/workspaces/it.geosolutions/coveragestores/polyphemus/coverages/V/index/granules.xml" type="application/xml"/>
     </Schema>
     
    Version:
    $Id: $
    Author:
    Simone Giannecchini, GeoSolutions SAS