我们如何能够跳过光栅层中的点(使用图像拼接创建),基于缩放?我认为这被称为纬度/经度分辨率或有时网格步长。
在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等等。
发布于 2022-11-23 04:16:51
找到了解决办法,这不是我需要的,但仍然解决了问题。解决方案是使用wms_scale_denominator &类别。
SLD街区-
<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>https://stackoverflow.com/questions/74514751
复制相似问题