Project

General

Profile

Actions

Question #2315

open

API: Unable to distinguish between end and start locations of a move entity

Added by Olivia Reichl 3 months ago. Updated 3 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
API
Target version:
-
Start date:
2024-06-17
Estimated time:

Description

To be able show a directed move, it would be important to know what is the start point and what the endpoint.

For example: https://mamems.openatlas.eu/api/query/?show=geometry&show=when&centroid=true&system_classes=place&system_classes=move&limit=0

"@context": "https://raw.githubusercontent.com/LinkedPasts/linked-places/master/linkedplaces-context-v1.1.jsonld",
      "type": "FeatureCollection",
      "features": [
        {
          "@id": "https://mamems.openatlas.eu/api/entity/6451",
          "type": "Feature",
          "crmClass": "crm:E9 Move",
          "systemClass": "move",
          "viewClass": "event",
          "properties": {
            "title": "Bracle's journey to Istanbul" 
          },
          "descriptions": null,
          "when": {
            "timespans": [
              {
                "start": {
                  "earliest": "1570-04-18T00:00:00",
                  "latest": null,
                  "comment": "Departure from Vienna" 
                },
                "end": {
                  "earliest": "1570-05-31T00:00:00",
                  "latest": null,
                  "comment": "Arrival in Istanbul" 
                }
              }
            ]
          },
          "geometry": {
            "type": "GeometryCollection",
            "geometries": [
              {
                "type": "Point",
                "coordinates": [
                  28.94966,
                  41.01384
                ],
                "title": "Istanbul",
                "description": "Istanbul (745044), imported from GeoNames",
                "shapeType": "centerpoint" 
              },
              {
                "type": "Point",
                "coordinates": [
                  16.373107785,
                  48.206371336
                ],
                "title": "Vienna",
                "description": "Capital of Holy Roman Empire",
                "shapeType": "centerpoint" 
              }
            ]
          }
        }
      ]
    },
Actions #2

Updated by Alexander Watzinger 3 months ago

  • Tracker changed from Bug to Question
  • Status changed from Acknowledged to In Progress
  • Assignee set to Olivia Reichl
  • Target version deleted (8.7.0)
  • Found in version deleted (8.5.0)

Thank you Olivia for reporting and Bernhard for providing additional info.
Waiting for feedback from Olivia and I turned it into a question for now.

Actions

Also available in: Atom PDF