Package org.geoforge.bsoogc.boundingbox

Examples of org.geoforge.bsoogc.boundingbox.GfrBbxLyrImgWms


         double dblMinY = this.getValueMinimumYBoundingBoxFromLayerFolder(strIdBbxCur);
         double dblMaxY = this.getValueMaximumYBoundingBoxFromLayerFolder(strIdBbxCur);
         double dblResX = this.getValueResolutionXBoundingBoxFromLayerFolder(strIdBbxCur);
         double dblResY = this.getValueResolutionYBoundingBoxFromLayerFolder(strIdBbxCur);

         GfrBbxLyrImgWms bbox = new GfrBbxLyrImgWms(
                 strIdBbxCur,
                 strIdLayer,
                 strKindCrs,
                 dblMinX,
                 dblMaxX,
View Full Code Here


         double dblMinY = this.getValueMinimumYBoundingBoxFromLayerLeaf(strIdBbxCur);
         double dblMaxY = this.getValueMaximumYBoundingBoxFromLayerLeaf(strIdBbxCur);
         double dblResX = this.getValueResolutionXBoundingBoxFromLayerLeaf(strIdBbxCur);
         double dblResY = this.getValueResolutionYBoundingBoxFromLayerLeaf(strIdBbxCur);

         GfrBbxLyrImgWms bbox = new GfrBbxLyrImgWms(
                 strIdBbxCur,
                 strIdLayer,
                 strKindCrs,
                 dblMinX,
                 dblMaxX,
View Full Code Here

          // ---
          // ie. brasil
          if (strKindCrs==null || strKindCrs.length()<1)
             continue;
         
          GfrBbxLyrImgWms bbxSameKindCrs = _getBoundingBoxSharingCrsKind_(altBbxs, strKindCrs);
         
          // done in a hurry !!!!!!!!!!
          // not sure if for eg "EPSG:26915"
          if (bbxSameKindCrs != null)
          {
             boolean blnShouldReset = false;
            
             if (dblMinX > bbxSameKindCrs.getMinimumX())
             {
                blnShouldReset = true;
             }
            
             else if (dblMinY > bbxSameKindCrs.getMinimumY())
             {
                blnShouldReset = true;
             }
            
             else if (dblMaxX < bbxSameKindCrs.getMaximumX())
             {
                blnShouldReset = true;
             }
            
             else if (dblMaxY < bbxSameKindCrs.getMaximumY())
             {
                blnShouldReset = true;
             }
            
             if (! blnShouldReset)
                continue;
            
             bbxSameKindCrs.setMinimumX(dblMinX);
             bbxSameKindCrs.setMinimumY(dblMinY);
             bbxSameKindCrs.setMaximumX(dblMaxX);
             bbxSameKindCrs.setMaximumY(dblMaxY);
             bbxSameKindCrs.setResolutionX(dblResX);
             bbxSameKindCrs.setResolutionY(dblResY);
            
             continue;
          }
         
          // ---
         
         
         
          GfrBbxLyrImgWms bbxImgCur = new GfrBbxLyrImgWms(
                  "dummy-strId", // assigned in wrapper
                  "dummy-strIdOwnerLayer", // assigned in wrapper
                  strKindCrs,
                  dblMinX,
                  dblMaxX,
View Full Code Here

TOP

Related Classes of org.geoforge.bsoogc.boundingbox.GfrBbxLyrImgWms

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.