Skip to content

Commit

Permalink
Update ogcapi-features.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis authored Oct 1, 2024
1 parent fa53fa9 commit 81b183f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/source/data-publishing/ogcapi-features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ To publish an ESRI `Feature Service`_ or `Map Service`_ specify the URL for the

* ``id_field`` will often be ``OBJECTID``, ``objectid``, or ``FID``.
* If the map or feature service is not shared publicly, the ``username`` and ``password`` fields can be set in the
configuration to authenticate into the service.
configuration to authenticate to the service.
* If the map or feature service is self-hosted and not shared publicly, the ``token_service`` and optional ``referer`` fields
can be set in the configuration to authenticate into the service.
can be set in the configuration to authenticate to the service.

To publish from a ArcGIS online hosted service:
To publish from an ArcGIS online hosted service:

.. code-block:: yaml
Expand All @@ -162,10 +162,10 @@ To publish from a ArcGIS online hosted service:
crs: 4326 # Optional crs (default is EPSG:4326)
username: username # Optional ArcGIS username
password: password # Optional ArcGIS password
token_service: https://your.server.com/arcgis/sharing/rest/generateToken # Optional url to your generateToken service
referer: https://your.server.com # Optional referer, defaults to https://www.arcgis.com if not set
token_service: https://your.server.com/arcgis/sharing/rest/generateToken # optional URL to your generateToken service
referer: https://your.server.com # optional referer, defaults to https://www.arcgis.com if not set
To publish from a self-hosted service that is not publicly accessible the ``token_service`` field is required:
To publish from a self-hosted service that is not publicly accessible, the ``token_service`` field is required:

.. code-block:: yaml
Expand Down

0 comments on commit 81b183f

Please sign in to comment.