Skip to content

Commit

Permalink
update docs [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Sep 20, 2022
1 parent 4f8bb8e commit 018c7f8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/en/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,22 @@ OGC API - Records - Part 1: Core 1.0
>>> my_catalogue_cql_json_query['features'][0]['properties']['title']
u'Roadrunner ambush locations'

>>> import json

>>> record_data = 'sample-geojson-record.json'

>>> with open(record_data) as fh:
.. data = json.load(fh)

>>> identifier = data['id']

>>> w.collection_item_create('my-catalogue', data)

>>> w.collection_item_update('my-catalogue', identifier, data)

>>> w.collection_item_delete('my-catalogue', identifier)



OGC API - Features - Part 4: Create, Replace, Update and Delete
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 018c7f8

Please sign in to comment.