diff --git a/generator/movfeat.py b/generator/movfeat.py index 849aed6..7d97c4b 100644 --- a/generator/movfeat.py +++ b/generator/movfeat.py @@ -78,8 +78,10 @@ {"path": "/collections/{collectionId}/items", "method": "get", "operationId": "listItems", "meos": None, "summary": "List moving-feature items in a collection."}, + # The temporal geometry of an item is an MF-JSON MovingPoint, the token + # ``temporalTypes`` states for ``tgeompoint``, read by its public reader. {"path": "/collections/{collectionId}/items", "method": "post", - "operationId": "createItem", "meos": "temporal_from_mfjson", + "operationId": "createItem", "meos": "tgeompoint_from_mfjson", "summary": "Create a moving-feature item from an MF-JSON payload."}, {"path": "/collections/{collectionId}/items/{featureId}", "method": "get", "operationId": "getItem", "meos": "temporal_as_mfjson", diff --git a/tests/test_movfeat.py b/tests/test_movfeat.py index d6c7bc7..348fd81 100644 --- a/tests/test_movfeat.py +++ b/tests/test_movfeat.py @@ -36,7 +36,7 @@ def serialized(name, ctype, decode): }, }, { - "name": "temporal_from_mfjson", "category": "io", + "name": "tgeompoint_from_mfjson", "category": "io", "network": {"exposable": True}, "wire": { "params": [{"name": "json", "kind": "json", "json": "string"}],