Publishing Commands#
Publish layers from various data sources to GeoServer. The publishing commands handle the complete workflow from data source to published layer.
Available Publishers#
PostGIS Publisher#
Publish vector layers from PostGIS spatial databases.
- PostGIS Publishing - Discover and publish PostGIS tables as layers
File Publisher#
Publish layers from files using GeoServer Importer extension.
- File Import - Import Shapefiles and GeoTIFF files
Common Features#
All publishing commands support:
- Dry Run: Preview what would be published without making changes
- Idempotency: Existing layers are automatically skipped
- Concurrency: Parallel publishing for better performance
- Workspace Selection: Specify target workspace
Workflow#
- Prepare Data Source: Ensure your data source is accessible
- Configure Datastore: Create or verify datastore exists (PostGIS publisher creates automatically)
- Select Resources: Choose specific resources or use filters
- Publish: Create feature types/layers in GeoServer
- Configure Layers: Set styles, enable, and advertise layers
Examples#
PostGIS Publishing#
| |
File Import#
| |
See Also#
- Publishing Overview - Detailed publishing workflows
- Layer Commands - Configure published layers
- Style Commands - Create and apply styles