Package com.gi.engine.carto

Examples of com.gi.engine.carto.QueryParam


          int layerId = Integer.valueOf(layerIds.get(i));
          Layer layer = map.getLayer(i);
          if (layer != null && layer instanceof FeatureLayer) {
            FeatureLayer featureLayer = (FeatureLayer) layer;
            try {
              QueryParam queryParam = new QueryParam();
              queryParam.setWhere(where);
              FeatureCollection<? extends FeatureType, ? extends Feature> layerFeatureCollection = featureLayer
                  .query(queryParam);
              if (layerFeatureCollection != null
                  && !layerFeatureCollection.isEmpty()) {
                for (FeatureIterator<? extends Feature> itr = layerFeatureCollection
View Full Code Here


      }

      for (int i = 0, count = handleLayerIds.size(); i < count; i++) {
        Layer layer = map.getLayer(i);

        QueryParam queryParam = new QueryParam();
        queryParam.setGeometry(geometry);
        queryParam.setSpatialFilterType(SpatialFilterType.INTERSECTS);
        FeatureCollection<? extends FeatureType, ? extends Feature> layerFeatureCollection = layer
            .query(queryParam);
        if (layerFeatureCollection != null
            && !layerFeatureCollection.isEmpty()) {
          for (FeatureIterator<? extends Feature> itr = layerFeatureCollection
View Full Code Here

TOP

Related Classes of com.gi.engine.carto.QueryParam

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.