stores.rst 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. .. _data_webadmin_stores:
  2. Stores
  3. ======
  4. A store connects to a data source that contains raster or vector data. A data source can be a file or group of files, a table in a database, a single raster file, or a directory (for example, a Vector Product Format library). The store construct allows connection parameters to be defined once, rather than for each dataset in a source. As such, it is necessary to register a store before configuring datasets within it.
  5. .. figure:: img/data_stores.png
  6. Stores View
  7. Store types
  8. -----------
  9. While there are many potential formats for data sources, there are only four kinds of stores. For raster data, a store can be a file. For vector data, a store can be a file, database, or server.
  10. .. list-table::
  11. :widths: 15 85
  12. :header-rows: 1
  13. * - Type Icon
  14. - Description
  15. * - .. image:: img/data_stores_type1.png
  16. - raster data in a file
  17. * - .. image:: img/data_stores_type3.png
  18. - vector data in a file
  19. * - .. image:: img/data_stores_type2.png
  20. - vector data in a database
  21. * - .. image:: img/data_stores_type5.png
  22. - vector server (web feature server)
  23. Edit a Store
  24. ------------
  25. To view or edit a store, click the store name. A store configuration page will be displayed. The exact contents of this page depend on the specific format of the store. See the sections :ref:`data_vector`, :ref:`data_raster`, and :ref:`data_database` for information about specific data formats. The example shows the configuration for the ``nurc:ArcGridSample`` store.
  26. .. figure:: img/data_stores_edit.png
  27. Editing a raster data store
  28. Basic Store Info
  29. ^^^^^^^^^^^^^^^^
  30. The basic information is common for all formats.
  31. * **Workspace** - the store is assigned to the selected workspace
  32. * **Data Source Name** - the store name as listed on the view page
  33. * **Description** - (optional) a description that displays in the administration interface
  34. * **Enabled** - enables or disables access to the store, along with all datasets defined for it
  35. * **Auto disable on connection failure** - auto disables access to the store if any issue happens when geoserver tries to acquire access to the store
  36. Connection Parameters
  37. ^^^^^^^^^^^^^^^^^^^^^
  38. The connection parameters vary depending on data format.
  39. .. _data_webadmin_stores_add_a_store:
  40. Add a Store
  41. -----------
  42. The buttons for adding and removing a store can be found at the top of the Stores page.
  43. .. figure:: img/data_stores_add_remove.png
  44. Buttons to add and remove a Store
  45. To add a store, select the :guilabel:`Add new Store` button. You will be prompted to choose a data source. GeoServer natively supports many formats (with more available via extensions). Click the appropriate data source to continue.
  46. .. figure:: img/data_stores_chooser.png
  47. Choosing the data source for a new store
  48. The next page configures the store. Since connection parameters differ across data sources, the exact contents of this page depend on the store's specific format. See the sections :ref:`data_vector`, :ref:`data_raster`, and :ref:`data_database` for information on specific data formats.
  49. The example below shows the ArcGrid raster configuration page.
  50. .. figure:: img/data_stores_add.png
  51. Configuration page for an ArcGrid raster data source
  52. Remove a Store
  53. --------------
  54. To remove a store, click the checkbox next to the store. Multiple stores can be selected, or all can be selected by clicking the checkbox in the header.
  55. .. figure:: img/data_stores_delete.png
  56. Stores selected for removal
  57. Click the :guilabel:`Remove selected Stores` button. You will be asked to confirm the removal of the configuration for the store(s) and all resources defined under them. Clicking :guilabel:`OK` removes the selected store(s), and returns to the Stores page.
  58. .. figure:: img/data_stores_delete_confirm.png
  59. Confirm removal of stores