Commit 16a5f80d authored by Thomas Graichen's avatar Thomas Graichen

Use and test for Saxony only

parent b27c4d40
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<option name="ADD_SOURCE_ROOTS" value="true" /> <option name="ADD_SOURCE_ROOTS" value="true" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" /> <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/zhv_parser/ZHV_Converter.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="SHOW_COMMAND_LINE" value="false" />
<option name="EMULATE_TERMINAL" value="false" /> <option name="EMULATE_TERMINAL" value="false" />
<option name="MODULE_MODE" value="false" /> <option name="MODULE_MODE" value="false" />
......
...@@ -106,7 +106,7 @@ class ZhvConverter: ...@@ -106,7 +106,7 @@ class ZhvConverter:
stop_place_class = ZHV_Classes.StopPlace stop_place_class = ZHV_Classes.StopPlace
stop_place = stop_place_class.factory() stop_place = stop_place_class.factory()
stop_place.build(elem) 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 continue
(stop_place_relation, nodes) = self.stop_place_to_osm(stop_place, context) (stop_place_relation, nodes) = self.stop_place_to_osm(stop_place, context)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment