Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
Get Baden-Württemberg CityGML Opendata
Commits
b2b2b958
Commit
b2b2b958
authored
6 months ago
by
Eric Duminil
Browse files
Options
Download
Email Patches
Plain Diff
Clearer name
parent
093c886f
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
download_files_from_LGL_BW.py
+2
-2
download_files_from_LGL_BW.py
with
2 additions
and
2 deletions
+2
-2
download_files_from_LGL_BW.py
+
2
-
2
View file @
b2b2b958
...
...
@@ -182,14 +182,14 @@ def main(polygons: dict[str, str]) -> None:
print
()
def
show
_coordinates
(
match
):
def
convert
_coordinates
(
match
):
longitude
,
latitude
=
match
.
groups
()
x
,
y
=
TO_LOCAL_CRS
.
transform
(
longitude
,
latitude
)
return
f
"
{
x
}
{
y
}
"
def
convert_wkt_to_local
(
wkt
):
return
COORDINATES_REGEX
.
sub
(
show
_coordinates
,
wkt
)
return
COORDINATES_REGEX
.
sub
(
convert
_coordinates
,
wkt
)
if
__name__
==
'__main__'
:
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets