目前geoserver支持以下的数据源。
I usually use GeoTIFF and Shapefile the most, and I have done it through the PostGIS database, and I will write this in the future. Let's write about it and publish images through geoserver.
1. Create a new workspace
选择左侧栏的工作区,点击添加新的工作区。
Enter the name of the workspace, and the namespace, and submit. The name of the workspace must be composed of letters, numbers and underscores, and must start with a letter.
2. Create a new data store
选择左侧栏的数据存储,点击添加新的数据存储。
GeoTIFF is commonly used now, choose GeoTIFF.
Select the workspace, enter the name, click Browse, upload the file, and click Save.
3. Add layers
选择左侧栏的图层,点击添加新的资源。
First select the layer to be published, which is the data storage in the second step, and click Publish.
On the release page, you must choose to define the SRS, which is usually EPSG4326. The border click is calculated from the data. Click save.
4. Explore the layers
选择左侧栏的Layer Preview,选择要游览的图像,点击OpenLayers进行游览。
Below is the image of the tour.