Package org.geoserver.w3ds.types

Examples of org.geoserver.w3ds.types.W3DSLayerInfo


    if (aux == null) {
      throw new IllegalArgumentException(
          "Mandatory parameter LAYER is missing: "
              + rawKvp.toString());
    }
    W3DSLayerInfo layer = KVPUtils.parseTiledLayer(aux, catalog, LOGGER);
    aux = (String) rawKvp.get("STYLE");
    if (aux != null) {
      KVPUtils.parseStyle(layer, aux, catalog);
    }
    else {
View Full Code Here


  }

  public void run() throws IOException {
    Iterator<W3DSLayerInfo> layersIterator = request.getLayers().iterator();
    while(layersIterator.hasNext()) {
      W3DSLayerInfo layerInfo = layersIterator.next();
      FeatureTypeInfo feature = catalog.getFeatureTypeByName(layerInfo.getLayerInfo().getResource().getName());
      Query query = createQuery((SimpleFeatureSource)feature.getFeatureSource(null, null));
      scene.add(layerInfo, feature.getFeatureSource(null, null).getFeatures(query), catalog);
    }
  }
View Full Code Here

      } else {
        x3dInfoExtract.setLayerInfo(li);
        if (x3dInfoExtract.isAX3DLayer()) {
          if (x3dInfoExtract.isQueryable()) {
            if (!x3dInfoExtract.isTiled()) {
              layers.add(new W3DSLayerInfo(li, n));
            } else {
              LOGGER.warning("The layer [" + n + "] is tiled.");
            }
          } else {
            LOGGER.warning("The layer [" + n
View Full Code Here

    x3dInfoExtract.setLayerInfo(li);
    if (!x3dInfoExtract.isTiled()) {
      throw new IllegalArgumentException("The layer '" + layerstr
          + "' is not tiled, so the GetTile operation is unvailable");
    }
    return new W3DSLayerInfo(li, layerstr);
  }
View Full Code Here

    this.request = request;
    this.scene = new Scene();
  }

  public void run() throws IOException {
    W3DSLayerInfo layerInfo = request.getLayer();
    List<Style> styles = new ArrayList<Style>();
    for (StyleInfo si : layerInfo.getLayerInfo().getStyles()) {
      styles.add(si.getStyle());
    }
    String name = layerInfo.getLayerInfo().getResource().getName();
    FeatureTypeInfo feature = catalog.getFeatureTypeByName(layerInfo
        .getLayerInfo().getResource().getName());
    Query query = createQuery((SimpleFeatureSource) feature
        .getFeatureSource(null, null));
    scene.add(layerInfo,
        feature.getFeatureSource(null, null).getFeatures(query), styles, catalog);
View Full Code Here

  }

  public void run() throws IOException, IllegalFilterException, FactoryException {
    Iterator<W3DSLayerInfo> layersIterator = request.getLayers().iterator();
    while(layersIterator.hasNext()) {
      W3DSLayerInfo layerInfo = layersIterator.next();
      FeatureTypeInfo feature = catalog.getFeatureTypeByName(layerInfo.getLayerInfo().getName());
      Query query = createQuery((SimpleFeatureSource)feature.getFeatureSource(null, null));
      featureInfo.add(layerInfo, feature.getFeatureSource(null, null).getFeatures(query), catalog);
    }
    System.out.print("TESTE");
  }
View Full Code Here

TOP

Related Classes of org.geoserver.w3ds.types.W3DSLayerInfo

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.