Package gov.nasa.worldwind.ogc.wms

Examples of gov.nasa.worldwind.ogc.wms.WMSLayerCapabilities


           List<WMSLayerCapabilities> lstCapsLayerFolder
           ) throws Exception
   {
      for (int i=0; i<lstCapsLayerFolder.size(); i++)
      {
         WMSLayerCapabilities capLayerFolderCur = lstCapsLayerFolder.get(i);
         String strIdParentFolderCur = lstIdFolders.get(i);
         List<WMSLayerCapabilities> lstCapLayersCur = capLayerFolderCur.getLayers();
        
         for (WMSLayerCapabilities capLayerCur: lstCapLayersCur)
         {
            boolean blnGotChildLeaf = false;
           
            for (int j=0; j<lstCapLayersLeaf.size(); j++)
            {
               WMSLayerCapabilities capLayerLeafCur = lstCapLayersLeaf.get(j);
              
               if (capLayerLeafCur != capLayerCur)
                  continue;
              
               String strIdLayerLeafCur = lstIdLeaves.get(j);
               GfrMdlDatIdObjTloOgcWms.getInstance().setParentFolderIdLayerLeaf(strIdLayerLeafCur, strIdParentFolderCur);
               blnGotChildLeaf = true;
               break;
            }
           
            if (blnGotChildLeaf)
               continue;
           
            for (int j=0; j<lstCapsLayerFolder.size(); j++)
            {
               WMSLayerCapabilities capLayerFolderChildCur = lstCapsLayerFolder.get(j);
              
               if (capLayerFolderChildCur == capLayerFolderCur)
                  continue;
              
               if (capLayerFolderChildCur != capLayerCur)
View Full Code Here


        Double extremeMin = null;
        Double extremeMax = null;

        for (String name : layerNames)
        {
            WMSLayerCapabilities layer = caps.getLayerByName(name);
           
            if (layer == null)
                continue;

            Double min = layer.getExtremeElevationMin();
           
            if (min != null && (extremeMin == null || min.compareTo(min) > 0))
                extremeMin = min;

            Double max = layer.getExtremeElevationMax();
           
            if (max != null && (extremeMax == null || max.compareTo(max) > 0))
                extremeMax = max;
        }
View Full Code Here

        String lastUpdate = null;

        for (String name : layerNames)
        {
            WMSLayerCapabilities layer = this.getLayerByName(name);
            if (layer == null)
                continue;

            String update = layer.getLastUpdate();
            if (update != null && update.length() > 0 && (lastUpdate == null || update.compareTo(lastUpdate) > 0))
                lastUpdate = update;
        }

        if (lastUpdate != null)
View Full Code Here

        {
            if (sb.length() > 0)
                sb.append(", ");

            String layerName = strsLayerNames[i];
            WMSLayerCapabilities lc = caps.getLayerByName(layerName);
            String layerTitle = lc.getTitle();
            sb.append(layerTitle != null ? layerTitle : layerName);

            if (strsStyleNames == null || strsStyleNames.length <= i)
                continue;

            String styleName = strsStyleNames[i];
            WMSLayerStyle style = lc.getStyleByName(styleName);
           
            if (style == null)
                continue;

            sb.append(" : ");
View Full Code Here

            {
                sb.append(", ");
            }

            String layerName = lNames[i];
            WMSLayerCapabilities layer = caps.getLayerByName(layerName);
            String layerTitle = layer.getTitle();
            sb.append(layerTitle != null ? layerTitle : layerName);

            if (sNames == null || sNames.length <= i)
            {
                continue;
            }

            String styleName = sNames[i];
            WMSLayerStyle style = layer.getStyleByName(styleName);
           
            if (style == null)
            {
                continue;
            }
View Full Code Here

TOP

Related Classes of gov.nasa.worldwind.ogc.wms.WMSLayerCapabilities

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.