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
17f78c88
Commit
17f78c88
authored
3 months ago
by
Eric Duminil
Browse files
Options
Download
Email Patches
Plain Diff
Make sure paths also work on Windows
parent
c52fa558
master
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
download_files_from_LGL_BW.py
+3
-3
download_files_from_LGL_BW.py
with
3 additions
and
3 deletions
+3
-3
download_files_from_LGL_BW.py
+
3
-
3
View file @
17f78c88
...
...
@@ -151,13 +151,13 @@ def extract_region(output_dir: Path, location_name: str, wkt: str) -> None:
with
open
(
params_path
,
'w'
)
as
f
:
f
.
write
(
"--input
\n
"
)
f
.
write
(
','
.
join
(
f
"
{
gml
}
"
for
gml
in
gml_inputs
))
f
.
write
(
','
.
join
(
f
"
{
gml
.
as_posix
()
}
"
for
gml
in
gml_inputs
))
f
.
write
(
"
\n
"
)
f
.
write
(
"--output
\n
"
)
f
.
write
(
f
'"
{
output_file
}
"
\n
'
)
f
.
write
(
f
'"
{
output_file
.
as_posix
()
}
"
\n
'
)
f
.
write
(
'--local
\n
'
)
f
.
write
(
"--wkt
\n
"
)
f
.
write
(
f
'"
{
wkt_path
}
"
\n
'
)
f
.
write
(
f
'"
{
wkt_path
.
as_posix
()
}
"
\n
'
)
result
=
subprocess
.
run
([
'java'
,
'-classpath'
,
f
'
{
region_chooser_libs
}
'
,
'eu.simstadt.regionchooser.RegionChooserCLI'
,
...
...
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