Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
ZHV Tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OPENER
ZHV Tools
Commits
16a5f80d
Commit
16a5f80d
authored
May 06, 2020
by
Thomas Graichen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use and test for Saxony only
parent
b27c4d40
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.idea/runConfigurations/ZHV_Converter.xml
.idea/runConfigurations/ZHV_Converter.xml
+1
-1
zhv_parser/ZHV_Converter.py
zhv_parser/ZHV_Converter.py
+1
-1
No files found.
.idea/runConfigurations/ZHV_Converter.xml
View file @
16a5f80d
...
...
@@ -13,7 +13,7 @@
<option
name=
"ADD_SOURCE_ROOTS"
value=
"true"
/>
<EXTENSION
ID=
"PythonCoverageRunConfigurationExtension"
runner=
"coverage.py"
/>
<option
name=
"SCRIPT_NAME"
value=
"$PROJECT_DIR$/zhv_parser/ZHV_Converter.py"
/>
<option
name=
"PARAMETERS"
value=
"../data/examples_zhv/example_
single_station
.xml"
/>
<option
name=
"PARAMETERS"
value=
"../data/examples_zhv/example_
multiple_stations
.xml"
/>
<option
name=
"SHOW_COMMAND_LINE"
value=
"false"
/>
<option
name=
"EMULATE_TERMINAL"
value=
"false"
/>
<option
name=
"MODULE_MODE"
value=
"false"
/>
...
...
zhv_parser/ZHV_Converter.py
View file @
16a5f80d
...
...
@@ -106,7 +106,7 @@ class ZhvConverter:
stop_place_class
=
ZHV_Classes
.
StopPlace
stop_place
=
stop_place_class
.
factory
()
stop_place
.
build
(
elem
)
if
not
self
.
is_stop_place_in_region
(
RegionCode
.
BRANDENBURG
,
stop_place
):
if
not
self
.
is_stop_place_in_region
(
RegionCode
.
SACHSEN
,
stop_place
):
continue
(
stop_place_relation
,
nodes
)
=
self
.
stop_place_to_osm
(
stop_place
,
context
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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