Skip to content

Comments

Updated tree import with planting year#127

Open
barooney wants to merge 1 commit intomainfrom
feature/updated-city-tree-data-import
Open

Updated tree import with planting year#127
barooney wants to merge 1 commit intomainfrom
feature/updated-city-tree-data-import

Conversation

@barooney
Copy link
Contributor

@barooney barooney commented Dec 6, 2025

Added columns for planting year and object numbers.
Fixed typo in migration comment for trees table.
Modified existing columns to match new export format. :(
Modified import script to match new export format.

Fixed typo in migration comment for trees table.
Modified existing columns to match new export format. :(
Modified import script to match new export format.
@barooney barooney requested a review from HelenBielawa December 6, 2025 20:45
Copy link
Contributor

@HelenBielawa HelenBielawa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Durchmesser ist ja der doppelte Radius, also nicht derselbe Wert. Scheinbar gibt's in den Daten beides (und scheinbar war im alten Import der Radius und nun haben wir den Durchmesser). Daher Änderungsvorschlag: Neue Spalten für Durchmesser anlegen, Radius leer lassen -> dann gerne mergen.

  • Optionaler Vorschlag: das Skript würde sicher stabiler, wenn überall fallback Werte eingetragen wären, wie du sie jetzt bei einigen Fällen ergänzt hast.

@HelenBielawa
Copy link
Contributor

Für das planting_year sollte None statt 0 als fallback gewählt werden

Entscheidung: Wir vertagen den Merge, bis wir ein Interface mit dem Umweltbetrieb abgestimmt haben, um künftige Datenank-Struktur-Änderungen zu vermeiden

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

Successfully merging this pull request may close these issues.

2 participants