]> ToastFreeware Gitweb - philipp/winterrodeln/wrpylib.git/log
philipp/winterrodeln/wrpylib.git
21 months agoPrevent update of sqlalchemy.
Philipp Spitzer [Wed, 29 Nov 2023 22:35:26 +0000 (23:35 +0100)]
Prevent update of sqlalchemy.

21 months agoRemove question whether to replace the page.
Philipp Spitzer [Fri, 24 Nov 2023 17:56:31 +0000 (18:56 +0100)]
Remove question whether to replace the page.

21 months agoCreate script to replace all sledrun wikitext with wrsledrunjson tag.
Philipp Spitzer [Fri, 24 Nov 2023 17:02:57 +0000 (18:02 +0100)]
Create script to replace all sledrun wikitext with wrsledrunjson tag.

21 months agoImplement parameter "all".
Philipp Spitzer [Thu, 9 Nov 2023 21:41:37 +0000 (22:41 +0100)]
Implement parameter "all".

23 months agoRemove non-existing column "page_restrictions" from page table model.
Philipp Spitzer [Fri, 22 Sep 2023 20:31:00 +0000 (22:31 +0200)]
Remove non-existing column "page_restrictions" from page table model.

2 years agoAdd test_vao_ext_id_to_ifopt_stop_id().
Philipp Spitzer [Tue, 18 Jul 2023 22:08:29 +0000 (00:08 +0200)]
Add test_vao_ext_id_to_ifopt_stop_id().

2 years agoMake vao_ext_id_to_ifopt_stop_id( working for whole Austria.
Philipp Spitzer [Tue, 18 Jul 2023 22:08:08 +0000 (00:08 +0200)]
Make vao_ext_id_to_ifopt_stop_id( working for whole Austria.

2 years agoAdd options --no-schedules and --missing.
Philipp Spitzer [Tue, 18 Jul 2023 22:07:35 +0000 (00:07 +0200)]
Add options --no-schedules and --missing.

2 years agoSort departure and arrival by time.
Philipp Spitzer [Tue, 18 Jul 2023 19:58:20 +0000 (21:58 +0200)]
Sort departure and arrival by time.

2 years agoAdd ifopt_stop_id.
Philipp Spitzer [Tue, 18 Jul 2023 19:39:26 +0000 (21:39 +0200)]
Add ifopt_stop_id.

2 years agoReplace "begin" and "minutes" with "service_date" in schedules.
Philipp Spitzer [Tue, 18 Jul 2023 19:39:05 +0000 (21:39 +0200)]
Replace "begin" and "minutes" with "service_date" in schedules.

2 years agoMake use of new function vao_ext_id_to_ifopt_stop_id().
Philipp Spitzer [Tue, 18 Jul 2023 19:38:18 +0000 (21:38 +0200)]
Make use of new function vao_ext_id_to_ifopt_stop_id().

2 years agoFix typo in edit summary.
Philipp Spitzer [Tue, 18 Jul 2023 19:37:46 +0000 (21:37 +0200)]
Fix typo in edit summary.

2 years agoAdd function vao_ext_id_to_ifopt_stop_id().
Philipp Spitzer [Tue, 18 Jul 2023 19:37:20 +0000 (21:37 +0200)]
Add function vao_ext_id_to_ifopt_stop_id().

2 years agoAdd script to update public transport times.
Philipp Spitzer [Tue, 18 Jul 2023 18:54:51 +0000 (20:54 +0200)]
Add script to update public transport times.

2 years agoRecipies for working with GeoJSON.
Philipp Spitzer [Sun, 16 Jul 2023 07:42:56 +0000 (09:42 +0200)]
Recipies for working with GeoJSON.

2 years agoMake parsing of "Fahrplan Abfahrtsmonitor VVT" without VVT stop ID possible.
Philipp Spitzer [Sun, 16 Jul 2023 07:35:59 +0000 (09:35 +0200)]
Make parsing of "Fahrplan Abfahrtsmonitor VVT" without VVT stop ID possible.

2 years agoUse the "Fahrplan Abfahrtsmonitor VVT" to derive ifopt_stop_id.
Philipp Spitzer [Sat, 15 Jul 2023 22:00:11 +0000 (00:00 +0200)]
Use the "Fahrplan Abfahrtsmonitor VVT" to derive ifopt_stop_id.

2 years agoCreate script to update the public transport stops.
Philipp Spitzer [Sat, 15 Jul 2023 21:45:21 +0000 (23:45 +0200)]
Create script to update the public transport stops.

2 years agoCreate TypedDict of sledrun.
Philipp Spitzer [Sat, 15 Jul 2023 21:19:23 +0000 (23:19 +0200)]
Create TypedDict of sledrun.

2 years agoDeal with "empty" gastronomy after removing dead links.
Philipp Spitzer [Fri, 14 Jul 2023 21:24:34 +0000 (23:24 +0200)]
Deal with "empty" gastronomy after removing dead links.

2 years agoAdd script to remove dead links.
Philipp Spitzer [Fri, 14 Jul 2023 20:53:42 +0000 (22:53 +0200)]
Add script to remove dead links.

2 years agoAdd script to replace a wrgeojson from the command line.
Philipp Spitzer [Tue, 11 Jul 2023 22:06:07 +0000 (00:06 +0200)]
Add script to replace a wrgeojson from the command line.

2 years agoDon't quit if more than one map candidate is found.
Philipp Spitzer [Tue, 11 Jul 2023 19:42:04 +0000 (21:42 +0200)]
Don't quit if more than one map candidate is found.

2 years agoOnly print page title in log.
Philipp Spitzer [Mon, 10 Jul 2023 21:07:50 +0000 (23:07 +0200)]
Only print page title in log.

2 years agoIgnore error caused by "empty" sledrun relation.
Philipp Spitzer [Mon, 10 Jul 2023 21:07:23 +0000 (23:07 +0200)]
Ignore error caused by "empty" sledrun relation.

2 years agoCreate batch script to convert sledrun maps to high resolution.
Philipp Spitzer [Sun, 9 Jul 2023 21:42:02 +0000 (23:42 +0200)]
Create batch script to convert sledrun maps to high resolution.

2 years agoBugfixes for update_sledrun_wrgeojson_to_highres().
Philipp Spitzer [Thu, 6 Jul 2023 21:22:19 +0000 (23:22 +0200)]
Bugfixes for update_sledrun_wrgeojson_to_highres().

2 years agoupdate_wrgeojson_to_highres.py now supports more than one ways.
Philipp Spitzer [Wed, 5 Jul 2023 21:43:21 +0000 (23:43 +0200)]
update_wrgeojson_to_highres.py now supports more than one ways.

2 years agoAdd function geojson_lon_lat_to_metric to LanToToMetricTransformer.
Philipp Spitzer [Wed, 5 Jul 2023 21:42:18 +0000 (23:42 +0200)]
Add function geojson_lon_lat_to_metric to LanToToMetricTransformer.

2 years agoUpdate wrmwmarkup.py and wrosm.py to use wr_properties instead of properties in wrgeo...
Philipp Spitzer [Wed, 5 Jul 2023 20:17:11 +0000 (22:17 +0200)]
Update wrmwmarkup.py and wrosm.py to use wr_properties instead of properties in wrgeojson.

2 years agoAdd test case for get_geometry_center and get_geometry_bbox.
Philipp Spitzer [Tue, 4 Jul 2023 16:34:36 +0000 (18:34 +0200)]
Add test case for get_geometry_center and get_geometry_bbox.

2 years agoAdd function geojson_lon_lat_to_metric().
Philipp Spitzer [Mon, 3 Jul 2023 21:40:03 +0000 (23:40 +0200)]
Add function geojson_lon_lat_to_metric().

2 years agoRename find_center to get_geometry_center and return Point.
Philipp Spitzer [Mon, 3 Jul 2023 21:38:51 +0000 (23:38 +0200)]
Rename find_center to get_geometry_center and return Point.

2 years agoDescribe useful Python packages.
Philipp Spitzer [Mon, 3 Jul 2023 21:36:26 +0000 (23:36 +0200)]
Describe useful Python packages.

2 years agoAdd an example GeoJSON file that can be used for testing.
Philipp Spitzer [Mon, 3 Jul 2023 21:35:46 +0000 (23:35 +0200)]
Add an example GeoJSON file that can be used for testing.

2 years agoMake update_wrgeojson_to_highres.py work with more sledruns.
Philipp Spitzer [Sat, 1 Jul 2023 16:57:35 +0000 (18:57 +0200)]
Make update_wrgeojson_to_highres.py work with more sledruns.

2 years agoAvoid warning to use a deprecated API.
Philipp Spitzer [Sat, 1 Jul 2023 14:51:56 +0000 (16:51 +0200)]
Avoid warning to use a deprecated API.

2 years agoOne-time script to rename properties to wr_properties in GeoJSON.
Philipp Spitzer [Sat, 1 Jul 2023 14:46:25 +0000 (16:46 +0200)]
One-time script to rename properties to wr_properties in GeoJSON.

2 years agoWrGeoJson definition: rename properties in wr_properties and add vbox.
Philipp Spitzer [Sat, 1 Jul 2023 14:45:31 +0000 (16:45 +0200)]
WrGeoJson definition: rename properties in wr_properties and add vbox.

2 years agoRemove "simplified" property after changing to high resolution.
Philipp Spitzer [Fri, 30 Jun 2023 21:46:16 +0000 (23:46 +0200)]
Remove "simplified" property after changing to high resolution.

2 years agoWork on script to replace map ways with higher resolutions (currently only works...
Philipp Spitzer [Fri, 30 Jun 2023 21:43:56 +0000 (23:43 +0200)]
Work on script to replace map ways with higher resolutions (currently only works with Alt Bärnbad).

2 years agoFix bug in joining ways (in join_wrgeojson_ways()).
Philipp Spitzer [Fri, 30 Jun 2023 16:47:28 +0000 (18:47 +0200)]
Fix bug in joining ways (in join_wrgeojson_ways()).

2 years agoUpdate default_query_date() to consider the second Sunday in December.
Philipp Spitzer [Tue, 27 Jun 2023 18:29:38 +0000 (20:29 +0200)]
Update default_query_date() to consider the second Sunday in December.

2 years agoAdd function day_of_time_table_change().
Philipp Spitzer [Tue, 27 Jun 2023 18:11:53 +0000 (20:11 +0200)]
Add function day_of_time_table_change().

2 years agoUse explicit template parameter for walkup time to prepare deprecation of Variables...
Philipp Spitzer [Mon, 26 Jun 2023 21:09:57 +0000 (23:09 +0200)]
Use explicit template parameter for walkup time to prepare deprecation of Variables extension.

2 years agoUse explicit template parameter for sledrun length to prepare deprecation of Variable...
Philipp Spitzer [Mon, 26 Jun 2023 21:08:33 +0000 (23:08 +0200)]
Use explicit template parameter for sledrun length to prepare deprecation of Variables extension.

2 years agoUse explicit template parameter for "Höhenunterschied" to prepare deprecation of...
Philipp Spitzer [Mon, 26 Jun 2023 21:05:27 +0000 (23:05 +0200)]
Use explicit template parameter for "Höhenunterschied" to prepare deprecation of Variables extension.

2 years agoDeal with undefined "top" and "bottom".
Philipp Spitzer [Mon, 26 Jun 2023 20:39:42 +0000 (22:39 +0200)]
Deal with undefined "top" and "bottom".

2 years agoUse explicit template parameter to prepare deprecation of Variables extension.
Philipp Spitzer [Sun, 25 Jun 2023 21:43:41 +0000 (23:43 +0200)]
Use explicit template parameter to prepare deprecation of Variables extension.

2 years agoAvoid error when processing non-simplified maps.
Philipp Spitzer [Sun, 25 Jun 2023 21:03:41 +0000 (23:03 +0200)]
Avoid error when processing non-simplified maps.

2 years agoAdd parameter date in update_public_transport.py.
Philipp Spitzer [Sun, 25 Jun 2023 20:29:11 +0000 (22:29 +0200)]
Add parameter date in update_public_transport.py.

2 years agoRemove some outdated version information.
Philipp Spitzer [Sun, 25 Jun 2023 19:30:23 +0000 (21:30 +0200)]
Remove some outdated version information.

2 years agoFix calculating the center coordinates when directly producing geojson.
Philipp Spitzer [Sun, 25 Jun 2023 19:30:10 +0000 (21:30 +0200)]
Fix calculating the center coordinates when directly producing geojson.

2 years agoSimplify function format_bus_stop() (no functional change).
Philipp Spitzer [Sat, 24 Jun 2023 20:05:20 +0000 (22:05 +0200)]
Simplify function format_bus_stop() (no functional change).

2 years agoNow showing walk distance and walk time for bus stops.
Philipp Spitzer [Wed, 1 Feb 2023 22:18:44 +0000 (23:18 +0100)]
Now showing walk distance and walk time for bus stops.

2 years agoMake public transport information more compact.
Philipp Spitzer [Wed, 1 Feb 2023 21:28:07 +0000 (22:28 +0100)]
Make public transport information more compact.

2 years agoAdd bus frequency to public transport info.
Philipp Spitzer [Wed, 18 Jan 2023 22:54:03 +0000 (23:54 +0100)]
Add bus frequency to public transport info.

2 years agoImplement displaying time table templates for VVV.
Philipp Spitzer [Wed, 11 Jan 2023 21:53:49 +0000 (22:53 +0100)]
Implement displaying time table templates for VVV.

2 years agoIgnore more files.
Philipp Spitzer [Thu, 5 Jan 2023 21:24:48 +0000 (22:24 +0100)]
Ignore more files.

2 years agoMake used sledrun a command line parameter.
Philipp Spitzer [Thu, 5 Jan 2023 21:22:23 +0000 (22:22 +0100)]
Make used sledrun a command line parameter.

2 years agoPrevent error for nonexistent stopLocationOrCoordLocation.
Philipp Spitzer [Thu, 5 Jan 2023 21:22:05 +0000 (22:22 +0100)]
Prevent error for nonexistent stopLocationOrCoordLocation.

2 years agoUse "line" instead of "name" and "display_number" in LineInfo.
Philipp Spitzer [Wed, 4 Jan 2023 22:25:44 +0000 (23:25 +0100)]
Use "line" instead of "name" and "display_number" in LineInfo.

2 years agoAllow empty arrival/departure board.
Philipp Spitzer [Wed, 4 Jan 2023 21:11:44 +0000 (22:11 +0100)]
Allow empty arrival/departure board.

2 years agoMove command line tools to dedicated module.
Philipp Spitzer [Wed, 4 Jan 2023 21:11:21 +0000 (22:11 +0100)]
Move command line tools to dedicated module.

2 years agoWorking on update public transport script.
Philipp Spitzer [Wed, 4 Jan 2023 19:39:45 +0000 (20:39 +0100)]
Working on update public transport script.

2 years agoAdd some whitespace.
Philipp Spitzer [Wed, 28 Dec 2022 23:19:31 +0000 (00:19 +0100)]
Add some whitespace.

2 years agoImprove displaying public transport line origin/direction.
Philipp Spitzer [Wed, 28 Dec 2022 23:19:17 +0000 (00:19 +0100)]
Improve displaying public transport line origin/direction.

2 years agoCreate Jinja filter "prepend".
Philipp Spitzer [Wed, 28 Dec 2022 23:18:46 +0000 (00:18 +0100)]
Create Jinja filter "prepend".

2 years agoCreate function public_transport_massage_stops with test
Philipp Spitzer [Wed, 28 Dec 2022 23:18:19 +0000 (00:18 +0100)]
Create function public_transport_massage_stops with test

2 years agoFirst attempt to better format public transport line information.
Philipp Spitzer [Wed, 28 Dec 2022 21:58:39 +0000 (22:58 +0100)]
First attempt to better format public transport line information.

2 years agoList lines in bus stops.
Philipp Spitzer [Wed, 14 Dec 2022 21:01:57 +0000 (22:01 +0100)]
List lines in bus stops.

2 years agoProvide bus stop templates for VVT from JSON.
Philipp Spitzer [Wed, 14 Dec 2022 19:51:14 +0000 (20:51 +0100)]
Provide bus stop templates for VVT from JSON.

2 years agoAvoid too long line.
Philipp Spitzer [Fri, 2 Dec 2022 22:50:18 +0000 (23:50 +0100)]
Avoid too long line.

2 years agoAvoid semicolon in sled rental description in Rodelbahnbox.
Philipp Spitzer [Fri, 2 Dec 2022 22:50:05 +0000 (23:50 +0100)]
Avoid semicolon in sled rental description in Rodelbahnbox.

2 years agoUpdate requirements.txt.
Philipp Spitzer [Wed, 26 Oct 2022 18:52:44 +0000 (20:52 +0200)]
Update requirements.txt.

2 years agoImplement own input function.
Philipp Spitzer [Wed, 26 Oct 2022 18:52:32 +0000 (20:52 +0200)]
Implement own input function.

2 years agoImplement own diff function.
Philipp Spitzer [Wed, 26 Oct 2022 18:40:09 +0000 (20:40 +0200)]
Implement own diff function.

2 years agoShow colored sledrun title.
Philipp Spitzer [Wed, 26 Oct 2022 17:25:43 +0000 (19:25 +0200)]
Show colored sledrun title.

2 years agoMove map simplification to wrmwmarkup.py.
Philipp Spitzer [Fri, 21 Oct 2022 16:40:27 +0000 (18:40 +0200)]
Move map simplification to wrmwmarkup.py.

2 years agoCreate new script that only updates the changed pages.
Philipp Spitzer [Fri, 21 Oct 2022 16:37:41 +0000 (18:37 +0200)]
Create new script that only updates the changed pages.

2 years agoAdd some sledruns to exception list.
Philipp Spitzer [Thu, 13 Oct 2022 20:49:46 +0000 (22:49 +0200)]
Add some sledruns to exception list.

2 years agoImplement retry for VAO.
Philipp Spitzer [Thu, 13 Oct 2022 20:45:44 +0000 (22:45 +0200)]
Implement retry for VAO.

2 years agoReduce number of queries to get the car distance list.
Philipp Spitzer [Mon, 10 Oct 2022 06:14:47 +0000 (08:14 +0200)]
Reduce number of queries to get the car distance list.

2 years agoReset spatial filter to prevent side-effects.
Philipp Spitzer [Wed, 5 Oct 2022 07:12:21 +0000 (09:12 +0200)]
Reset spatial filter to prevent side-effects.

2 years agoOptimize existing car distances as well.
Philipp Spitzer [Mon, 3 Oct 2022 21:25:25 +0000 (23:25 +0200)]
Optimize existing car distances as well.

2 years agoAdd missing requirement.
Philipp Spitzer [Tue, 27 Sep 2022 22:13:02 +0000 (00:13 +0200)]
Add missing requirement.

2 years agoUpdate script names in setup.py.
Philipp Spitzer [Tue, 27 Sep 2022 22:11:48 +0000 (00:11 +0200)]
Update script names in setup.py.

2 years agoFinish script to update car distances.
Philipp Spitzer [Tue, 27 Sep 2022 22:11:33 +0000 (00:11 +0200)]
Finish script to update car distances.

2 years agoFix typo in filename.
Philipp Spitzer [Tue, 27 Sep 2022 17:32:03 +0000 (19:32 +0200)]
Fix typo in filename.

2 years agoImprove checking for alternative names.
Philipp Spitzer [Thu, 22 Sep 2022 19:17:19 +0000 (21:17 +0200)]
Improve checking for alternative names.

2 years agoMatch more cities.
Philipp Spitzer [Thu, 22 Sep 2022 18:50:57 +0000 (20:50 +0200)]
Match more cities.

2 years agoAdd script to fill column geonames of table wrcity.
Philipp Spitzer [Thu, 22 Sep 2022 18:23:12 +0000 (20:23 +0200)]
Add script to fill column geonames of table wrcity.

3 years agoExtract trip information from VAO response.
Philipp Spitzer [Wed, 7 Sep 2022 21:20:34 +0000 (23:20 +0200)]
Extract trip information from VAO response.

3 years agoCall VAO.
Philipp Spitzer [Wed, 7 Sep 2022 20:44:16 +0000 (22:44 +0200)]
Call VAO.

3 years agoStart to wrap VAO.
Philipp Spitzer [Wed, 7 Sep 2022 20:43:45 +0000 (22:43 +0200)]
Start to wrap VAO.

3 years agoOnly open database once.
Philipp Spitzer [Wed, 7 Sep 2022 19:49:00 +0000 (21:49 +0200)]
Only open database once.

3 years agoWorking on script to update car distances.
Philipp Spitzer [Wed, 7 Sep 2022 19:33:02 +0000 (21:33 +0200)]
Working on script to update car distances.

3 years agoOnly simplify seldrun maps that are not already simplified.
Philipp Spitzer [Tue, 30 Aug 2022 21:02:47 +0000 (23:02 +0200)]
Only simplify seldrun maps that are not already simplified.

3 years agoMake use of new wrpylib.mwapi library.
Philipp Spitzer [Tue, 30 Aug 2022 20:19:11 +0000 (22:19 +0200)]
Make use of new wrpylib.mwapi library.