Examples of decodeFeatureCollection()


Examples of org.geotools.GML.decodeFeatureCollection()

      log.debug("getFeaturesByLocation: {} {} {} {}",
          new Object[] {layerCoordinate, layerScale, pixelTolerance, url});
      GML gml = new GML(Version.GML3);

      stream = httpService.getStream(url, getAuthentication());
      FeatureCollection<?, SimpleFeature> collection = gml.decodeFeatureCollection(stream);
      FeatureIterator<SimpleFeature> it = collection.features();

      while (it.hasNext()) {
        features.add(toDto(it.next()));
      }
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.