Docs Console guides

neoserver 0.3.0

Publish a STAC catalog

Enable a workspace STAC catalog, describe an existing layer, import Item metadata, and search footprints.

This guide continues the console tutorial workspace. It publishes the places layer as a dataset Collection, imports a set of sample scene Items, and searches them on a map. For configuration limits, search parameters, and access rules, see the STAC reference.

Enable the catalog

STAC is disabled by default on the server. Set [STAC] Enabled = true and a separate DatabasePath in the configuration, then restart. Until then, the STAC page only reports that STAC is disabled on the server.

  1. Open STAC → Settings in the workspace.
  2. Select Enable this workspace catalog.
  3. Enter a Catalog title and Catalog description, then choose Save settings.

Leave Allow public access off unless anonymous clients should list the catalog. Each Collection also has its own visibility, and Collections linked to a layer follow that layer’s access rules.

Workspace STAC settings with the catalog enabled and the client access URL
Enable the workspace catalog. The client access section shows the STAC root and a PySTAC example.

Create Collections

Open Collections and choose New Collection. Enter a Collection ID, Title, Description, and License, then choose Save Collection. Create two Collections for this guide:

Collection ID Title Used for
city-places City places Describing the published places layer
sample-scenes Sample scenes Holding imported Items that reference GeoTIFFs

New Collections are restricted. Select Public Collection only when the workspace catalog is also public and anonymous clients should see it.

Publish an existing layer

  1. Open Publish existing data.
  2. Select City places as the Collection and the places layer as the Published layer or coverage.
  3. Keep Dataset discovery (Collection only) as the Publication mode.
  4. Choose Preview publication and review the generated Collection.
  5. Choose Publish. Progress appears under Jobs.
Publish existing data form with the places layer selected and a Collection preview
Preview the generated Collection, with links to the layer’s enabled services, before publishing it.

Dataset discovery adds no Items. It describes the dataset and links clients to its OGC services. To publish one Item per row instead, choose Mapped asset records and map a stable ID, an acquisition time, and an asset URL property. The STAC reference explains each mode.

neoserver refreshes the Collection when the layer changes, and removes it when the layer is deleted.

Import Item metadata

  1. Open Import metadata and select Sample scenes.
  2. Choose a Collection, Item, FeatureCollection, or NDJSON file in Metadata file. The screenshots use the 300 synthetic scenes from the neoserver checkout’s testing/fixtures/stac/items.ndjson, with their collection changed to sample-scenes.
  3. Choose Upload and validate. Each record is checked against the STAC core schemas.
  4. Review the record count and preview, then choose Publish import.
Import metadata form showing 300 validated records ready to publish
Imported records stay invisible to clients until you publish them.

Records with an ID that already exists are rejected unless you select Replace existing Items with matching IDs (upsert). Unpublished imports expire after 24 hours.

Review Collections

Collections now lists both Collections, with their mode or Item count and visibility. Use Edit metadata to change descriptive fields, Refresh source to rescan a linked layer, and Delete to remove STAC metadata. Deleting a Collection never deletes the source data.

STAC Collections list with the City places dataset Collection and 300 Sample scenes Items
Dataset Collections link to existing services. Asset Collections contain searchable Items.

Search Items

Open Items, select Sample scenes, and choose Search. Narrow the results with a Datetime or interval, a Bounding box, or Item IDs. Choose Show footprints to draw the current page on a map, and Use map bounds in search to copy the visible area into the bounding box.

Item search results for Sample scenes with footprints drawn on a map
Search a Collection and inspect Item footprints before connecting a client.

Inspect Item shows the full JSON. Items you imported can be edited or deleted here. Items generated from a layer belong to their source: change the publication mapping instead.

Connect a client

The catalog root is /workspaces/{workspace}/stac/. STAC clients such as PySTAC and STAC Browser authenticate with an API key or bearer token while the catalog is private. See search and clients for an example.

Search documentation

Type to search guides and reference pages.