Package org.geoserver.wms

Examples of org.geoserver.wms.MapProducerCapabilities


            IOException {
        return new PythonWebMap(mapContent, adapter);
    }
   
    public MapProducerCapabilities getCapabilities(String format) {
        return new MapProducerCapabilities(false, false, false, true, null);
    }
View Full Code Here


            throw new ServiceException(e);
        }
    }

    public MapProducerCapabilities getCapabilities(String format) {
        return new MapProducerCapabilities(false, false, false, true, null);
    }
View Full Code Here

    public WebMap produceMap(WMSMapContent mapContent) throws ServiceException, IOException {
        return new PythonWebMap(mapContent, adapter);
    }

    public MapProducerCapabilities getCapabilities(String format) {
        return new MapProducerCapabilities(false, false, false, true, null);
    }
View Full Code Here

            return null;
        }

        @Override
        public MapProducerCapabilities getCapabilities(String format) {
            return new MapProducerCapabilities(false, false, false, false, "fake/mime");
        }
View Full Code Here

        // the capabilities of this produce are actually linked to the map response that is going to
        // be used, this class just generates a rendered image
        final Collection<RenderedImageMapResponse> responses = this.wmsConfiguration.getAvailableMapResponses();
        for(RenderedImageMapResponse response: responses){
            if (response.getOutputFormats().contains(outFormat)) {
                MapProducerCapabilities cap=response.getCapabilities(outFormat);
                if(cap!=null && cap.getFramesMimeType()!=null) {
                    frameRequest.setFormat(cap.getFramesMimeType());
                } else {
                    frameRequest.setFormat(GIF_FORMAT);
                }
            }
        }
View Full Code Here

   * DXT3 does support transparency, unless alpha is pre-multiplied
   */
  @Override
  public MapProducerCapabilities getCapabilities(String outputFormat) {
    // FIXME Become more capable
    return new MapProducerCapabilities(false, false, false, true, null);
  }
View Full Code Here

   * This is not really an image map
   */
  @Override
  public MapProducerCapabilities getCapabilities(String outputFormat) {
    // FIXME become more capable
    return new MapProducerCapabilities(false, false, false, false, null);
  }
View Full Code Here

        this.extension = extension;
    }

    @Override
    public MapProducerCapabilities getCapabilities(String format) {
        return new MapProducerCapabilities(false, false, false, true, null);
    }
View Full Code Here

        // be used, this class just generates a rendered image
        final Collection<RenderedImageMapResponse> responses = this.wms.getAvailableMapResponses();
        for (RenderedImageMapResponse response : responses) {
            for (String outFormat : outputFormats) {
                if (response.getOutputFormats().contains(outFormat)) {
                    MapProducerCapabilities cap = response.getCapabilities(outFormat);
                    if (cap != null) {
                        capabilities.put(outFormat, cap);
                    }
                }
            }
View Full Code Here

TOP

Related Classes of org.geoserver.wms.MapProducerCapabilities

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.