GeoServer操作文档

一、安装GeoServer

可参考:https://gitee.com/jgerzq/docker-geoserver

mkdir -p ~/geoserver_data && chmod -R a+rwx ~/geoserver_data
docker run -d -v $HOME/geoserver_data:/opt/geoserver/data_dir kartoza/geoserver

二、前期数据准备

1、docker部署带postgis扩展的postgresql数据库
# 例如:拉取 postgresql 9.6 版本以及postgis 2.4 版本
docker pull kartoza/postgis:9.6-2.4

# 运行
docker run -d -p 5432:5432 --name postgresql_server --restart always -e POSTGRES_USER=root -e POSTGRES_PASS='root' -e ALLOW_IP_RANGE=0.0.0.0/0 -v /home/postgresql/data:/var/lib/postgresql -v /home/postgresql/tmp:/tmp/tmp -t kartoza/postgis:9.6-2.4

-e ALLOW_IP_RANGE=0.0.0.0/0,这个表示允许所有ip访问,如果不加,则非本机 ip 访问不了
-e POSTGRES_USER=root 用户名
-e POSTGRES_PASS=‘root’ 指定密码
2、psql 部分了解知识
本地 - 服务端中连接命令
psql -U postgres # postgres为用户名
远程 - 服务端中连接命令
psql -U postgres -h 192.168.10.223 -p 5432
psql配置文件存放位置 - 包含账号、密码、加密方式等信息

温馨小提示:这里是从容器中映射到宿主机中的存放位置

/home/postgresql/data/9.6/main/pg_hba.conf

在这里插入图片描述

3、Navicat远程连接数据库

在这里插入图片描述

4、连接好之后就是导入数据所需数据,新建关联视图等

温馨小提示:这里数据根据自己的业务来处理即可~
在这里插入图片描述

视图命令

SELECT
	emap_bazhong_emission_3km.grid_id,
	emap_bazhong_emission_3km.q_value,
	emap_bazhong_emission_3km.hc_value,
	emap_bazhong_emission_3km.h_value,
	emap_bazhong_emission_3km.d_value,
	emap_bazhong_emission_3km.s_value,
	emap_bazhong_emission_3km.dv_value,
	emap_bazhong_emission_3km.cat_value,
	emap_bazhong_emission_3km.area,
	emap_bazhong_emission_3km.sd_value,
	emap_bazhong_emission_3km.pollutant_id,
	bazhong_grid_new_900913.the_geom 
FROM
	bazhong_grid_new_900913,
	emap_bazhong_emission_3km 
WHERE
(emap_bazhong_emission_3km.grid_id = bazhong_grid_new_900913.gid)

bazhong_grid_900913.the_geom 代表 网格表里面的经纬度字段

grid_id 是每个网格的编号,这个编号是唯一的,txt数据文件中每条数据中都有网格编号和排放量,用txt数据中的grid_id 与网格数据中的grid_id 匹配起来,那么排放量数据就对应到每个网格中了

三、geoserver发布视图数据

1、新建工作区 - 类型新建一个项目空间

在这里插入图片描述

2、新建样式

在这里插入图片描述

在这里插入图片描述

这里贴一个参考样式

<?xml version="1.0" encoding="ISO-8859-1"?>
<sld:StyledLayerDescriptor xmlns:sld="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc"
                           xmlns:gml="http://www.opengis.net/gml" version="1.0.0">
    <sld:NamedLayer>
        <sld:Name>emap_bazhong_emission_3km_layer</sld:Name>
        <sld:UserStyle>
            <sld:FeatureTypeStyle>
                <sld:Rule>
                    <sld:Name>rule1</sld:Name>
                    <sld:Title>0-5.17</sld:Title>
                    <sld:Abstract>Abstract</sld:Abstract>
                    <ogc:Filter>
                        <ogc:And>
                            <ogc:PropertyIsGreaterThanOrEqualTo>
                                <ogc:PropertyName>q_value</ogc:PropertyName>
                                <ogc:Literal>0</ogc:Literal>
                            </ogc:PropertyIsGreaterThanOrEqualTo>
                            <ogc:PropertyIsLessThan>
                                <ogc:PropertyName>q_value</ogc:PropertyName>
                                <ogc:Literal>5.1701</ogc:Literal>
                            </ogc:PropertyIsLessThan>
                        </ogc:And>
                    </ogc:Filter>
                    <sld:PolygonSymbolizer>
                        <sld:Fill>
                            <sld:CssParameter name="fill">
                                <ogc:Literal>#3300cc</ogc:Literal>
                            </sld:CssParameter>
                            <sld:CssParameter name="fill-opacity">
                                <ogc:Literal>0.3</ogc:Literal>
                            </sld:CssParameter>
                        </sld:Fill>
                        <sld:Stroke>
                            <sld:CssParameter name="stroke">
                                <ogc:Literal>#3300cc</ogc:Literal>
                            </sld:CssParameter>
                            <sld:CssParameter name="stroke-opacity">
                                <ogc:Literal>0.3</ogc:Literal>
                            </sld:CssParameter>
                            <sld:CssParameter name="stroke-dashoffset">
                                <ogc:Literal>0.0</ogc:Literal>
                            </sld:CssParameter>
                            <sld:CssParameter name="stroke-width">
                                <ogc:Literal>0.0001</ogc:Literal>
                            </sld:CssParameter>
                        </sld:Stroke>
                    </sld:PolygonSymbolizer>
                </sld:Rule>
                <sld:Rule>
                    <sld:Name>rule2</sld:Name>
                    <sld:Title>5.17-10.34</sld:Title>
                    <sld:Abstract>Abstract</sld:Abstract>
                    <ogc:Filter>
                        <ogc:And>
                            <ogc:PropertyIsGreaterThanOrEqualTo>
                                <ogc:PropertyName>q_value</ogc:PropertyName>
                                <ogc:Literal>5.17</ogc:Literal>
                            </ogc:PropertyIsGreaterThanOrEqualTo>
                            <ogc:PropertyIsLessThan>
                                <ogc:PropertyName>q_value</ogc:PropertyName>
                                <ogc:Literal>10.3401</ogc:Literal>
                            </ogc:PropertyIsLessThan>
                        </ogc:And>
                    </ogc:Filter>
                    <sld:PolygonSymbolizer>
                        <sld:Fill>
                            <sld:CssParameter name="fill">
                                <ogc:Literal>#33ccff</ogc:Literal>
                            </sld:CssParameter>
                            <sld:CssParameter name="fill-opacity">
                                <ogc:Literal>0.3</ogc:Literal>
                            </sld:CssParameter>
                        </sld:Fill>
                        <sld:Stroke>
                            <sld:CssParameter name="stroke">
                                <ogc:Literal>#33ccff</ogc:Literal>
                            </sld:CssParameter>
                            <sld:CssParameter name="stroke-opacity">
                                <ogc:Literal>0.3</ogc:Literal>
                            </sld:CssParameter>
                            <sld:CssParameter name="stroke-dashoffset">
                                <ogc:Literal>0.0</ogc:Literal>
                            </sld:CssParameter>
                            <sld:CssParameter name="stroke-width">
                                <ogc:Literal>0.0001</ogc:Literal>
                            </sld:CssParameter>
                        </sld:Stroke>
                    </sld:PolygonSymbolizer>
                </sld:Rule>
            </sld:FeatureTypeStyle>
        </sld:UserStyle>
    </sld:NamedLayer>
</sld:StyledLayerDescriptor>
3、新建数据存储

选择从psql数据库中导入数据
在这里插入图片描述
选择工作区、填写数据源名称、将连接参数配置好即可
在这里插入图片描述

4、新增图层

上面步骤2中数据存储保存后会自动跳转到图层页面,然后选择我们已经在数据库中配置好的视图数据发布~
在这里插入图片描述

1. 数据

在这里插入图片描述

依次点击下图中标识地理坐标信息
在这里插入图片描述

2. 发布

在这里插入图片描述
选择新增样式
在这里插入图片描述

选择后信息如下:
在这里插入图片描述

4、到Layer Preview中打开查看最终效果

在这里插入图片描述
在这里插入图片描述

四、如果没有数据库数据,可进行离线数据测试,可参考下面这篇文章

GeoServer基础教程(三):部署发布Shapefile地图数据

1 Introduction 3 1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Getting involved . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.4 License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 Installation 7 2.1 Windows installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.2 Windows binary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.3 Mac OS X installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2.4 Mac OS X binary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.5 Linux binary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.6 Web archive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.7 Upgrading existing versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3 Getting Started 23 3.1 Web Administration Interface Quickstart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.2 Publishing a Shapefile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.3 Publishing a PostGIS Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 4 GeoServer Data Directory 43 4.1 Creating a New Data Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 4.2 Setting the Data Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 4.3 Structure of the Data Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 4.4 Migrating a Data Directory between different versions . . . . . . . . . . . . . . . . . . . . . . 49 5 Web Administration Interface 53 5.1 Interface basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 5.2 Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 5.3 Layer Preview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 5.4 Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 5.5 Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 5.6 Tile Caching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 5.7 Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 5.8 Demos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 6 Working with Vector Data 155 6.1 Shapefile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 6.2 Directory of spatial files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 i 6.3 Java Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 6.4 GML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 6.5 VPF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 6.6 Pregeneralized Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 7 Working with Raster Data 165 7.1 GeoTIFF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 7.2 GTOPO30 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166 7.3 WorldImage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 7.4 ImageMosaic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168 7.5 ArcGrid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169 7.6 GDAL Image Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 7.7 Oracle Georaster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 7.8 Postgis Raster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 7.9 ImagePyramid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 7.10 Image Mosaic JDBC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 7.11 Custom JDBC Access for image data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 7.12 Coverage Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 8 Working with Databases 187 8.1 PostGIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 8.2 H2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192 8.3 ArcSDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194 8.4 DB2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 8.5 MySQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 8.6 Oracle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204 8.7 Microsoft SQL Server and SQL Azure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208 8.8 Teradata . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210 8.9 Database Connection Pooling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218 8.10 JNDI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 8.11 SQL Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220 8.12 Controlling feature ID generation in spatial databases . . . . . . . . . . . . . . . . . . . . . . 224 8.13 Custom SQL session start/stop scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226 8.14 Using SQL session scripts to control authorizations at the database level . . . . . . . . . . . . 226 9 Working with Application Schemas 229 9.1 Complex Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229 9.2 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 9.3 WFS Service Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 9.4 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 9.5 Mapping File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235 9.6 Application Schema Resolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243 9.7 Supported GML Versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 9.8 Secondary Namespaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246 9.9 CQL functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248 9.10 Property Interpolation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252 9.11 Data Stores . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253 9.12 Feature Chaining . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259 9.13 Polymorphism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266 9.14 Data Access Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272 9.15 WMS Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274 9.16 WFS 2.0 Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278 9.17 Joining Support For Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279 9.18 Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280 ii 10 Working with Cascaded Services 289 10.1 External Web Feature Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289 10.2 Cascaded Web Feature Service Stored Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . 291 10.3 External Web Map Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 11 Filtering in GeoServer 297 11.1 Supported filter languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297 11.2 Filter Encoding Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298 11.3 ECQL Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303 11.4 Filter functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306 11.5 Filter Function Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308 12 Styling 317 12.1 Introduction to SLD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317 12.2 Working with SLD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 12.3 SLD Cookbook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321 12.4 SLD Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378 12.5 SLD Extensions in GeoServer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419 12.6 SLD Tips and Tricks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463 13 Services 473 13.1 Web Feature Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473 13.2 Web Map Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 489 13.3 Web Coverage Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517 13.4 Virtual OWS Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 520 14 REST configuration 525 14.1 REST configuration API reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525 14.2 REST configuration examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551 15 Advanced GeoServer Configuration 575 15.1 Coordinate Reference System Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 575 15.2 Advanced log configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585 15.3 WMS Decorations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 586 16 Security 589 16.1 Role system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589 16.2 Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598 16.3 Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 608 16.4 Root account . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611 16.5 Service Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611 16.6 Layer security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 614 16.7 REST Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 617 16.8 Disabling security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 619 16.9 Tutorials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 619 17 Running in a Production Environment 659 17.1 Java Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 659 17.2 Container Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 662 17.3 Configuration Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663 17.4 Data Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 665 17.5 Linux init scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 667 17.6 Other Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 668 17.7 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 668 17.8 Make cluster nodes identifiable from the GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . 674 iii 18 Caching with GeoWebCache 675 18.1 Using GeoWebCache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 675 18.2 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678 18.3 Seeding and refreshing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 683 18.4 HTTP Response Headers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 683 18.5 GeoWebCache REST API . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 686 18.6 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 696 19 Google Earth 699 19.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699 19.2 Quickstart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 699 19.3 KML Styling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 701 19.4 Tutorials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 716 19.5 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 730 20 Extensions 741 20.1 Control flow module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 741 20.2 CSS Styling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 744 20.3 Catalog Services for the Web (CSW) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 879 20.4 DXF OutputFormat for WFS and WPS PPIO . . . . . . . . . . . . . . . . . . . . . . . . . . . . 885 20.5 Excel WFS Output Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 888 20.6 GeoSearch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 889 20.7 Imagemap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 891 20.8 Importer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 892 20.9 INSPIRE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 925 20.10 JP2K Plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 929 20.11 libjpeg-turbo Map Encoder Extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 929 20.12 Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 932 20.13 OGR based WFS Output Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 948 20.14 OGR based WPS Output Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 951 20.15 GeoServer Printing Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 952 20.16 Cross-layer filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 978 20.17 Web Processing Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 982 20.18 XSLT WFS output format module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 998 20.19 Web Coverage Service 2.0 Earth Observation extensions . . . . . . . . . . . . . . . . . . . . . 1003 21 Tutorials 1015 21.1 Freemarker Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1015 21.2 GeoRSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1017 21.3 GetFeatureInfo Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1020 21.4 Paletted Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1026 21.5 Serving Static Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1033 21.6 WMS Reflector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1033 21.7 WMS Animator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1036 21.8 CQL and ECQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1039 21.9 Using the ImageMosaic plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1045 21.10 Using the ImageMosaic plugin for raster time-series data . . . . . . . . . . . . . . . . . . . . . 1058 21.11 Using the ImageMosaic plugin for raster with time and elevation data . . . . . . . . . . . . . 1070 21.12 Using the ImageMosaic plugin with footprint mangement . . . . . . . . . . . . . . . . . . . . 1073 21.13 Building and using an image pyramid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1080 21.14 Storing a coverage in a JDBC database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1083 21.15 Using the GeoTools feature-pregeneralized module . . . . . . . . . . . . . . . . . . . . . . . . 1090 21.16 Setting up a JNDI connection pool with Tomcat . . . . . . . . . . . . . . . . . . . . . . . . . . 1097 21.17 geoserver on JBoss . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1102 iv 22 Community 1105 22.1 Key authentication module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1105 22.2 DDS/BIL(World Wind Data Formats) Extension . . . . . . . . . . . . . . . . . . . . . . . . . . 1108 22.3 NetCDF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1110 22.4 Python . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1112 22.5 Scripting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1116 22.6 SpatiaLite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1136 22.7 NetCDF Output format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1139 22.8 Dynamic colormap generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1141 22.9 JDBCConfig . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1145 22.10 MBTiles Extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1147 22.11 GeoPackage Extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1149 22.12 GRIB format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1154 22.13 REST PathMapper Plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1155 22.14 PGRaster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1156 22.15 WPS download community module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1158 22.16 JMS based Clustering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1160 22.17 SOLR data store . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1173 22.18 SLD REST Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1181 22.19 Resumable REST Upload Plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1188 22.20 GeoMesa data store . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1190 22.21 GWC Distributed Caching community module . . . . . . . . . . . . . . . . . . . . . . . . . . 1190 22.22 Geofence Internal Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1191 22.23 GDAL based WCS Output Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1196 22.24 GWC S3 BlobStore plugin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1200
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

郑清

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值