Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SimStadt
Germany Open-Data CityGML
Commits
56592f24
Commit
56592f24
authored
Nov 28, 2025
by
Eric Duminil
Browse files
FIXME
parent
a7f4ea9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
georss_download.py
View file @
56592f24
...
@@ -23,6 +23,7 @@ def parse_atom_georss(bundesland: Bundesland) -> list[ZipFile]:
...
@@ -23,6 +23,7 @@ def parse_atom_georss(bundesland: Bundesland) -> list[ZipFile]:
raise
ValueError
(
"No date has been found"
)
raise
ValueError
(
"No date has been found"
)
source_date
=
datetime
.
strptime
(
updated_date
,
"%Y-%m-%dT%H:%M:%SZ"
)
source_date
=
datetime
.
strptime
(
updated_date
,
"%Y-%m-%dT%H:%M:%SZ"
)
for
file_elem
in
root
.
findall
(
"atom:entry/atom:link"
,
ns
):
for
file_elem
in
root
.
findall
(
"atom:entry/atom:link"
,
ns
):
# FIXME: href can be relative too. To what?
href
=
file_elem
.
attrib
[
"href"
]
href
=
file_elem
.
attrib
[
"href"
]
# TODO: Check if source_date is specified for each ZipFile
# TODO: Check if source_date is specified for each ZipFile
if
href
.
endswith
(
".zip"
):
if
href
.
endswith
(
".zip"
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment