Examples of zone()


Examples of jaitools.media.jai.zonalstats.ZonalStats.zone()

                        if(classificationRaster != null) {
                            // if zonal stats we're going to build
                            for (Integer classZoneId : stats.getZones()) {
                                builder.addAll(zone.getAttributes());
                                builder.add(classZoneId);
                                addStatsToFeature(stats.zone(classZoneId));
                                features.add(builder.buildFeature(zone.getID()));
                            }
                        } else {
                            builder.addAll(zone.getAttributes());
                            addStatsToFeature(stats);
View Full Code Here

Examples of org.jaitools.media.jai.zonalstats.ZonalStats.zone()

                        if(classificationRaster != null) {
                            // if zonal stats we're going to build
                            for (Integer classZoneId : stats.getZones()) {
                                builder.addAll(zone.getAttributes());
                                builder.add(classZoneId);
                                addStatsToFeature(stats.zone(classZoneId));
                                features.add(builder.buildFeature(zone.getID()));
                            }
                        } else {
                            builder.addAll(zone.getAttributes());
                            addStatsToFeature(stats);
View Full Code Here

Examples of org.jclouds.googlecomputeengine.domain.InstanceTemplate.zone()

    */
   @Override
   public <R extends HttpRequest> R bindToRequest(R request, Map<String, Object> postParams) {
      InstanceTemplate template = (InstanceTemplate) checkNotNull(postParams.get("template"), "template");
      template.name(checkNotNull(postParams.get("name"), "name").toString());
      template.zone(zonesToURI.apply((String) checkNotNull(postParams.get("zone"), "zone")));

      if (template.getMachineTypeName() != null) {
         template.machineType(machineTypesToURI.apply(template.getMachineTypeName()));
      }
      template.zone((String) null);
View Full Code Here

Examples of org.jclouds.googlecomputeengine.domain.InstanceTemplate.zone()

      template.zone(zonesToURI.apply((String) checkNotNull(postParams.get("zone"), "zone")));

      if (template.getMachineTypeName() != null) {
         template.machineType(machineTypesToURI.apply(template.getMachineTypeName()));
      }
      template.zone((String) null);
      template.machineType((String) null);
      return bindToRequest(request, template);
   }

   /**
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.