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

Detailansicht zusätzliche Felder #25

Closed
thomas-munichways opened this issue Nov 1, 2020 · 3 comments
Closed

Detailansicht zusätzliche Felder #25

thomas-munichways opened this issue Nov 1, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@thomas-munichways
Copy link
Member

thomas-munichways commented Nov 1, 2020

Ist:

  • Name
  • Strecke
  • Ist-Zustand
  • Soll-Zustand
  • Kategorie
  • Link

Wunsch (wie Carto):

  • Straßenansicht klick mich! (Feld Bild, ggf. nur als Text mit Mapillary-Link. ggf. ohne "klick mich" weil in der App intuitiv erkennbar)
  • Name
  • Strecke
  • IST - Situation
  • Happy Bike Level (1. Streichkandidat, falls es zu viel wird)
  • SOLL - Maßnahmen
  • Maßnahmen-Kategorie
  • Beschreibung (2. Streichkandidat, falls es zu viel wird)
  • munichways_id
  • Status-Umsetzung
  • Bezirk (Feld BA)
  • Links
@thomas-munichways thomas-munichways added the enhancement New feature or request label Nov 1, 2020
@svendroid
Copy link
Contributor

svendroid commented Nov 1, 2020

Bzgl. Straßenansicht:
Im geojson sieht ein bild Parameter so aus:
<a href=\"https://www.mapillary.com/map/im/P7IkXXG1E6K01H7C6BQAjI\" target=\"_blank\">\n<img src=\"https://www.munichways.com/img/Standard_Mapillary.jpg\" width=175></a>
Als Bild wird häufig ein Standardbild oder der Odeonsplatz angezeigt, z.B. auch in Gräfelfing. Ist das beabsichtigt oder habe ich nur schlechte Beispiele rausgesucht?

Hier könnte ich automatisiert das passende Bild für die geklickte Position über die Mapillary API abfragen. Siehe:
https://www.mapillary.com/developer/api-documentation/#images
https://www.mapillary.com/developerpolicy
Problem ist natürlich dass eine Strasse mehrere Bilder hat. Entweder nimmt man immer das Ende oder Anfang, oder wie beschrieben, dynamisch das Bild von der Position wo geklickt wurde. Allerdings ist das evtl. wenig intuitiv wenn es sich immer ändert.

Bzw. ist im href-Attribut meist schon die img id enthalten: P7IkXXG1E6K01H7C6BQAjI. Dann könnte ich ggf. auch diese nehmen. Allerdings ist es ja auch gewaltig aufwand für jede Strasse per Hand eine id einzupflegen, evtl. wäre hier der Abfrageansatz von oben einfacher.

@thomas-munichways
Copy link
Member Author

thomas-munichways commented Nov 2, 2020 via email

@svendroid
Copy link
Contributor

Straßenansicht fehlt noch. Da das eine größere Aufgabe ist, habe ich es in ein seperates Ticke gelegt. siehe #36

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

No branches or pull requests

2 participants