Adding spatial data

Before adding some data to GeoServer, let's create a new workspace for it. This way, the data will be safely separated, and we will be able to access the content by using a virtual endpoint:

  1. Open Data | Workspaces.
  2. Select Add new workspace.
  3. Specify a name for the workspace in the Name field.
  4. Give a namespace for the workspace in the Namespace URI field. The namespace must be a URI (that is, a URL or a URN). It does not have to point to an existing resource, only its uniqueness is what matters (compared to the URIs of the other workspaces). For example, a URL can be http://practical-gis.com/geoserver, while a URN can be urn:practical-gis:geoserver:
There is a great article about URIs at https://blog.4psa.com/url-urn-uri-iri-why-so-many/ ...

Get Practical GIS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.