Package org.geotools.map

Examples of org.geotools.map.MapLayer.query()


        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
              .features(); itr.hasNext();) {
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.