Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Geojson gibt array als string zurück #164

Open
calvinhnzr opened this issue Dec 9, 2024 · 2 comments
Open

[BUG] Geojson gibt array als string zurück #164

calvinhnzr opened this issue Dec 9, 2024 · 2 comments

Comments

@calvinhnzr
Copy link
Contributor

calvinhnzr commented Dec 9, 2024

Bei unclustered Points wird properties.involved_persons als string statt array zurück gegeben.

Screenshot 2024-12-06 at 15 52 49

@calvinhnzr
Copy link
Contributor Author

Anscheinend werden nested objects von mapbox noch nicht vollständig unterstützt.
mapbox/mapbox-gl-js#2434

@calvinhnzr
Copy link
Contributor Author

calvinhnzr commented Dec 9, 2024

getestet mit:
https://geojson.io/

Screenshot 2024-12-09 at 13 53 43
{
  "type": "FeatureCollection",
  "features": [
    {
      "type": "Feature",
      "geometry": {
        "type": "Point",
        "coordinates": [
          16.3667,
          48.2167
        ]
      },
      "properties": {
        "dating": "um 1502 - 1503",
        "img_src": "https://lucascranach.org/imageserver-2022/AT_AKBILD_GG-549_FR002/01_Overall/AT_AKBILD_GG-549_FR002_2009_Overall-s.jpg",
        "inventory_number": "AT_AKBILD_GG-549",
        "involved_persons": [
          "Lucas Cranach der Ältere",
          "Michael Wolgemuth"
        ],
        "location": "Wien",
        "medium": "Malerei auf Fichtenholz ",
        "owner": "Gemäldegalerie der Akademie der Bildenden Künste Wien",
        "title": "Der Hl. Valentin mit kniendem Stifter"
      },
      "id": 0
    }
  ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants