首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >基于缩放电平的地物仪图像拼接中纬度和经度分辨率的应用

基于缩放电平的地物仪图像拼接中纬度和经度分辨率的应用
EN

Stack Overflow用户
提问于 2022-11-21 05:51:35
回答 1查看 24关注 0票数 1

我们如何能够跳过光栅层中的点(使用图像拼接创建),基于缩放?我认为这被称为纬度/经度分辨率或有时网格步长。

在SLD中尝试过点符号/过滤器,但不确定如何使用过滤器跳过点。

编辑-我创建了存储和层,如下面提到的链接https://geoserver.geo-solutions.it/multidim/multidim/mosaic_config/netcdf_mosaic.html

一切都很好。现在的问题是所有的数据都显示出来了。默认的netcdf空间分辨率是0.4,我想按照缩放级别来更改这一点。对于ex for缩放1-5=1,缩放5-10=0.75等等。

EN

回答 1

Stack Overflow用户

发布于 2022-11-23 04:16:51

找到了解决办法,这不是我需要的,但仍然解决了问题。解决方案是使用wms_scale_denominator &类别。

SLD街区-

代码语言:javascript
复制
<ogc:Function name="parameter">
    <ogc:Literal>scale</ogc:Literal>
    <ogc:Function name="Categorize">
        <ogc:Function name="env">
            <ogc:Literal>wms_scale_denominator</ogc:Literal>
        </ogc:Function>
        <ogc:Literal>16</ogc:Literal>
        <ogc:Literal>100000</ogc:Literal>
        <ogc:Literal>8</ogc:Literal>
        <ogc:Literal>500000</ogc:Literal>
        <ogc:Literal>2</ogc:Literal>
        <ogc:Literal>1000000</ogc:Literal>
        <ogc:Literal>0.5</ogc:Literal>
        <ogc:Literal>5000000</ogc:Literal>
        <ogc:Literal>0.2</ogc:Literal>
        <ogc:Literal>10000000</ogc:Literal>
        <ogc:Literal>0.1</ogc:Literal>
        <ogc:Literal>20000000</ogc:Literal>
        <ogc:Literal>0.05</ogc:Literal>
        <ogc:Literal>60000000</ogc:Literal>
        <ogc:Literal>0.02</ogc:Literal>
    </ogc:Function>
</ogc:Function>
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/74514751

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档