Package org.geoserver.wms.dimension

Examples of org.geoserver.wms.dimension.DefaultValueConfiguration


                UNITS, UNIT_SYMBOL);
        setupVectorDimension(ResourceInfo.TIME, "time", DimensionPresentation.LIST, null, null,
                null);
        setupDynamicDimensions(
                "TimeElevation",
                new DefaultValueConfiguration(ResourceInfo.ELEVATION,
                        DefaultValuePolicy.LIMIT_DOMAIN),
                new DefaultValueConfiguration(ResourceInfo.TIME,
                        "Concatenate('2011-05-0', round(elevation + 1))"));

        BufferedImage image = getAsImage(baseGetMap, "image/png");

        // this select the first feature
View Full Code Here


        // setup both dimensions, there is no match records to the static defaults
        setupVectorDimension(ResourceInfo.ELEVATION, "elevation", DimensionPresentation.LIST, null,
                UNITS, UNIT_SYMBOL);
        setupVectorDimension(ResourceInfo.TIME, "time", DimensionPresentation.LIST, null, null,
                null);
        setupDynamicDimensions("TimeElevation", new DefaultValueConfiguration(ResourceInfo.TIME,
                "Concatenate('2011-05-0', round(elevation + 1))"));

        BufferedImage image = getAsImage(baseGetMap + "&elevation=1.0", "image/png");

        // elevation = 1.0 -> second feature
View Full Code Here

        // setup both dimensions, there is no match records to the static defaults
        setupVectorDimension(ResourceInfo.ELEVATION, "elevation", DimensionPresentation.LIST, null,
                UNITS, UNIT_SYMBOL);
        setupVectorDimension(ResourceInfo.TIME, "time", DimensionPresentation.LIST, null, null,
                null);
        setupDynamicDimensions("TimeElevation", new DefaultValueConfiguration(
                ResourceInfo.ELEVATION, DefaultValuePolicy.LIMIT_DOMAIN));

        BufferedImage image = getAsImage(baseGetMap + "&time=2011-05-02", "image/png");

        assertPixel(image, 20, 10, Color.WHITE);
View Full Code Here

        // setup both dimensions, there is no match records to the static defaults
        setupVectorDimension(ResourceInfo.ELEVATION, "elevation", DimensionPresentation.LIST, null,
                UNITS, UNIT_SYMBOL);
        setupVectorDimension(ResourceInfo.TIME, "time", DimensionPresentation.LIST, null, null,
                null);
        setupDynamicDimensions("TimeElevation", new DefaultValueConfiguration(ResourceInfo.TIME,
                DefaultValuePolicy.LIMIT_DOMAIN));

        BufferedImage image = getAsImage(baseGetMap + "&elevation=1.0&time=current", "image/png");

        assertPixel(image, 20, 10, Color.WHITE);
View Full Code Here

        // setup both dimensions, there is no match records to the static defaults
        setupVectorDimension(ResourceInfo.ELEVATION, "elevation", DimensionPresentation.LIST, null,
                UNITS, UNIT_SYMBOL);
        setupVectorDimension(ResourceInfo.TIME, "time", DimensionPresentation.LIST, null, null,
                null);
        setupDynamicDimensions("TimeElevation", new DefaultValueConfiguration(
                ResourceInfo.ELEVATION, DefaultValuePolicy.LIMIT_DOMAIN));

        BufferedImage image = getAsImage(baseGetMap + "&elevation=&time=2011-05-03", "image/png");

        assertPixel(image, 20, 10, Color.WHITE);
View Full Code Here

        // setup both dimensions, there is no match records to the static defaults
        setupVectorDimension(ResourceInfo.ELEVATION, "elevation", DimensionPresentation.LIST, null,
                UNITS, UNIT_SYMBOL);
        setupVectorDimension(ResourceInfo.TIME, "time", DimensionPresentation.LIST, null, null,
                null);
        setupDynamicDimensions("TimeElevation", new DefaultValueConfiguration(ResourceInfo.TIME,
                DefaultValuePolicy.LIMIT_DOMAIN));

        String request = baseFeatureInfo + "&elevation=1.0";

        assertNull(getFeatureAt(request, 20, 10));
View Full Code Here

                UNITS, UNIT_SYMBOL);
        setupVectorDimension(ResourceInfo.TIME, "time", DimensionPresentation.LIST, null, null,
                null);
        setupDynamicDimensions(
                "TimeElevation",
                new DefaultValueConfiguration(ResourceInfo.ELEVATION,
                        DefaultValuePolicy.LIMIT_DOMAIN),
                new DefaultValueConfiguration(ResourceInfo.TIME,
                        "Concatenate('2011-05-0', round(elevation + 1))"));

        assertEquals("TimeElevation.0", getFeatureAt(baseFeatureInfo, 20, 10));
        assertNull(getFeatureAt(baseFeatureInfo, 60, 10));
        assertNull(getFeatureAt(baseFeatureInfo, 20, 30));
View Full Code Here

TOP

Related Classes of org.geoserver.wms.dimension.DefaultValueConfiguration

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.