Publishing Overview#
The publish command group provides workflows for publishing layers from various data sources to GeoServer.
Available Publishers#
PostGIS Publisher#
Publish vector layers from PostGIS databases.
| |
See PostGIS Publishing for details.
File Publisher#
Publish layers from files (Shapefiles, GeoTIFF) using GeoServer Importer extension.
| |
See File Import for details.
Common Workflow#
- Ensure Datastore Exists: Create or verify the datastore is configured
- Discover Resources: List available tables/files to publish
- Select Resources: Choose specific resources or use filters
- Publish: Create feature types/layers in GeoServer
- Configure: Set styles, enable, and advertise layers
Dry Run#
All publish commands support --dry-run to preview what would happen:
| |
Concurrency#
Publishing operations support concurrent execution for better performance:
| |
Idempotency#
Publishing is idempotent - existing layers are skipped automatically:
| |