Project

General

Profile

Actions

Question #2315

closed

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

Added by Olivia Reichl 6 months ago. Updated 8 days ago.

Status:
Closed
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 6 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 #3

Updated by Alexander Watzinger about 1 month ago

  • Target version set to 8.9.0

I'm not sure what the status of this issue is, so I put it on the roadmap to keep track of it.
@Olivia Reichl - feel free to close it (and remove target version again) in case it is not relevant anymore or add some info in case it still is.

Actions #4

Updated by Alexander Watzinger 19 days ago

  • Status changed from In Progress to Closed
Actions #5

Updated by Alexander Watzinger 8 days ago

  • Target version deleted (8.9.0)
Actions

Also available in: Atom PDF