]> ToastFreeware Gitweb - philipp/winterrodeln/wrpylib.git/log
philipp/winterrodeln/wrpylib.git
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.

3 years agoAdd script update_wiki_wrgeojson_add_simplified.py.
Philipp Spitzer [Tue, 30 Aug 2022 20:14:57 +0000 (22:14 +0200)]
Add script update_wiki_wrgeojson_add_simplified.py.

3 years agoMake use of new function format_json().
Philipp Spitzer [Tue, 30 Aug 2022 19:19:56 +0000 (21:19 +0200)]
Make use of new function format_json().

3 years agoAdd function format_json to ensure consistent formatting.
Philipp Spitzer [Tue, 30 Aug 2022 19:09:45 +0000 (21:09 +0200)]
Add function format_json to ensure consistent formatting.

3 years agoSpecify map properties "under_construction" and "simplified".
Philipp Spitzer [Tue, 30 Aug 2022 19:09:12 +0000 (21:09 +0200)]
Specify map properties "under_construction" and "simplified".

3 years agoAdd script to update almenrausch.at links.
Philipp Spitzer [Tue, 30 Aug 2022 18:56:03 +0000 (20:56 +0200)]
Add script to update almenrausch.at links.

3 years agoAdd script to convert wrmap to geojson.
Philipp Spitzer [Tue, 30 Aug 2022 18:55:25 +0000 (20:55 +0200)]
Add script to convert wrmap to geojson.

3 years agoAdd missing point features.
Philipp Spitzer [Tue, 30 Aug 2022 18:54:35 +0000 (20:54 +0200)]
Add missing point features.

3 years agoAdd further description to wrgeojson format.
Philipp Spitzer [Tue, 30 Aug 2022 18:53:46 +0000 (20:53 +0200)]
Add further description to wrgeojson format.

3 years agoThe script can now assign staette_id values to guetesiegel.
Philipp Spitzer [Mon, 22 Aug 2022 18:54:59 +0000 (20:54 +0200)]
The script can now assign staette_id values to guetesiegel.

3 years agoPut rev_id in wrsledrunjsoncache.
Philipp Spitzer [Mon, 22 Aug 2022 18:53:19 +0000 (20:53 +0200)]
Put rev_id in wrsledrunjsoncache.

3 years agoWork on script to update the Gütesiegel information.
Philipp Spitzer [Sun, 21 Aug 2022 13:13:34 +0000 (15:13 +0200)]
Work on script to update the Gütesiegel information.

3 years agoFix typo.
Philipp Spitzer [Sun, 21 Aug 2022 13:13:10 +0000 (15:13 +0200)]
Fix typo.

3 years agoRename scripts to make naming more consistant.
Philipp Spitzer [Sat, 20 Aug 2022 16:59:23 +0000 (18:59 +0200)]
Rename scripts to make naming more consistant.

3 years agoStart to consitenly call Winterrodeln geojson wrgeojson.
Philipp Spitzer [Fri, 19 Aug 2022 21:05:28 +0000 (23:05 +0200)]
Start to consitenly call Winterrodeln geojson wrgeojson.

3 years agoRename files so that the geojson based Winterrodeln map format is called wrgeojson.
Philipp Spitzer [Fri, 19 Aug 2022 21:00:21 +0000 (23:00 +0200)]
Rename files so that the geojson based Winterrodeln map format is called wrgeojson.

3 years agoConvert wrgeojson map to wrgeojson map or wrmap.
Philipp Spitzer [Wed, 17 Aug 2022 21:15:19 +0000 (23:15 +0200)]
Convert wrgeojson map to wrgeojson map or wrmap.

3 years agoIf ways are simplified, the default accuracy of 15 m is now the default.
Philipp Spitzer [Wed, 17 Aug 2022 21:14:42 +0000 (23:14 +0200)]
If ways are simplified, the default accuracy of 15 m is now the default.

3 years agoSimplify sledrun when converting from geojson.
Philipp Spitzer [Tue, 16 Aug 2022 19:26:42 +0000 (21:26 +0200)]
Simplify sledrun when converting from geojson.

3 years agoFix handling of no simplification.
Philipp Spitzer [Tue, 16 Aug 2022 19:26:23 +0000 (21:26 +0200)]
Fix handling of no simplification.

3 years agocreate script osm_to_geojson.py
Philipp Spitzer [Tue, 16 Aug 2022 19:25:36 +0000 (21:25 +0200)]
create script osm_to_geojson.py

3 years agoList points before ways.
Philipp Spitzer [Tue, 16 Aug 2022 18:56:21 +0000 (20:56 +0200)]
List points before ways.

3 years agoPEP8 improvements.
Philipp Spitzer [Tue, 16 Aug 2022 18:56:00 +0000 (20:56 +0200)]
PEP8 improvements.

3 years agoCreate a .gitignore file.
Philipp Spitzer [Tue, 16 Aug 2022 18:48:05 +0000 (20:48 +0200)]
Create a .gitignore file.

3 years agoAdd some used packages to the requirements file.
Philipp Spitzer [Tue, 16 Aug 2022 18:47:49 +0000 (20:47 +0200)]
Add some used packages to the requirements file.

3 years agoIntroduce DeRefError exception when unable to de-reference elements.
Philipp Spitzer [Tue, 16 Aug 2022 18:47:21 +0000 (20:47 +0200)]
Introduce DeRefError exception when unable to de-reference elements.

3 years agoSome PEP8 improvements.
Philipp Spitzer [Tue, 16 Aug 2022 18:46:49 +0000 (20:46 +0200)]
Some PEP8 improvements.

3 years agoRestructure osm_to_wrmap.py
Philipp Spitzer [Tue, 16 Aug 2022 18:16:19 +0000 (20:16 +0200)]
Restructure osm_to_wrmap.py

3 years agoAdd function bool_type to library.
Philipp Spitzer [Mon, 15 Aug 2022 16:22:37 +0000 (18:22 +0200)]
Add function bool_type to library.

3 years agoAdd type hints.
Philipp Spitzer [Mon, 15 Aug 2022 13:52:01 +0000 (15:52 +0200)]
Add type hints.

3 years agoFurther improve formatting.
Philipp Spitzer [Mon, 15 Aug 2022 13:23:39 +0000 (15:23 +0200)]
Further improve formatting.

3 years agoConvert some formatted strings to f-strings.
Philipp Spitzer [Mon, 15 Aug 2022 10:56:09 +0000 (12:56 +0200)]
Convert some formatted strings to f-strings.

3 years agoAvoid warnings and PEP errors.
Philipp Spitzer [Mon, 15 Aug 2022 10:54:51 +0000 (12:54 +0200)]
Avoid warnings and PEP errors.

3 years agoCopy osm_to_wrmap from gis project (http://www.winterrodeln.org/svn/gis/trunk/osm_to_...
Philipp Spitzer [Mon, 15 Aug 2022 10:39:31 +0000 (12:39 +0200)]
Copy osm_to_wrmap from gis project (http://www.winterrodeln.org/svn/gis/trunk/osm_to_map/osm_to_wrmap.py)

3 years agoCreate script query_sledrun_list.
Philipp Spitzer [Sun, 14 Aug 2022 11:03:45 +0000 (13:03 +0200)]
Create script query_sledrun_list.

3 years agoNähere Details zu Rodelverleihs.
Philipp Spitzer [Sun, 7 Aug 2022 21:00:27 +0000 (23:00 +0200)]
Nähere Details zu Rodelverleihs.

3 years agoAdd days of night light to sledrun description.
Philipp Spitzer [Sat, 30 Jul 2022 19:18:44 +0000 (21:18 +0200)]
Add days of night light to sledrun description.

3 years agoDon't omit walkup_note in Rodelbahnbox.
Philipp Spitzer [Thu, 21 Jul 2022 20:56:17 +0000 (22:56 +0200)]
Don't omit walkup_note in Rodelbahnbox.

3 years agoAdd script to remove unnecessary night light and sledrun rental descriptions.
Philipp Spitzer [Thu, 21 Jul 2022 20:55:48 +0000 (22:55 +0200)]
Add script to remove unnecessary night light and sledrun rental descriptions.

3 years agoUpdate structure of sledrun_json_edit.
Philipp Spitzer [Thu, 21 Jul 2022 20:55:11 +0000 (22:55 +0200)]
Update structure of sledrun_json_edit.

3 years agoShow note regarding phone.
Philipp Spitzer [Wed, 20 Jul 2022 21:24:23 +0000 (23:24 +0200)]
Show note regarding phone.

3 years agoParse "sledrun list" even if heading is not quoted.
Philipp Spitzer [Sat, 16 Jul 2022 07:30:12 +0000 (09:30 +0200)]
Parse "sledrun list" even if heading is not quoted.

3 years agoParse "see also" links even if heading is not quoted.
Philipp Spitzer [Sat, 16 Jul 2022 07:22:37 +0000 (09:22 +0200)]
Parse "see also" links even if heading is not quoted.

3 years agoAvoid having the public transport line label printed twice next to each other.
Philipp Spitzer [Fri, 15 Jul 2022 16:18:50 +0000 (18:18 +0200)]
Avoid having the public transport line label printed twice next to each other.

3 years agoImprove automatic parsing of car-distances.
Philipp Spitzer [Fri, 15 Jul 2022 16:18:23 +0000 (18:18 +0200)]
Improve automatic parsing of car-distances.

3 years agoFix typo in filename.
Philipp Spitzer [Fri, 15 Jul 2022 16:17:51 +0000 (18:17 +0200)]
Fix typo in filename.

3 years agoRemove NoRedirectBot as parent to prevent a deprecation warning.
Philipp Spitzer [Wed, 13 Jul 2022 21:02:59 +0000 (23:02 +0200)]
Remove NoRedirectBot as parent to prevent a deprecation warning.

3 years agoTake field "nightlight_weekdays" into account.
Philipp Spitzer [Tue, 12 Jul 2022 21:29:37 +0000 (23:29 +0200)]
Take field "nightlight_weekdays" into account.

3 years agoPrint "Nein" if there is no operator.
Philipp Spitzer [Tue, 12 Jul 2022 19:48:03 +0000 (21:48 +0200)]
Print "Nein" if there is no operator.

3 years agoAllow bus stops with name instead of municipality and name_local.
Philipp Spitzer [Tue, 12 Jul 2022 19:41:38 +0000 (21:41 +0200)]
Allow bus stops with name instead of municipality and name_local.

3 years agoWhitespace changes.
Philipp Spitzer [Mon, 11 Jul 2022 20:03:40 +0000 (22:03 +0200)]
Whitespace changes.

3 years agoPrevent empty sled rental with comment.
Philipp Spitzer [Mon, 11 Jul 2022 20:03:27 +0000 (22:03 +0200)]
Prevent empty sled rental with comment.

3 years agoUse a default description if no public transport is possible.
Philipp Spitzer [Mon, 11 Jul 2022 16:24:04 +0000 (18:24 +0200)]
Use a default description if no public transport is possible.

3 years agoAdd more context to the diff.
Philipp Spitzer [Sun, 3 Jul 2022 21:44:18 +0000 (23:44 +0200)]
Add  more context to the diff.

3 years agoIf a gastronomy has a link without text, put the link below the name.
Philipp Spitzer [Sun, 3 Jul 2022 21:44:05 +0000 (23:44 +0200)]
If a gastronomy has a link without text, put the link below the name.

3 years agoIf a sled rental has a link without text, put the link below the name.
Philipp Spitzer [Sun, 3 Jul 2022 21:43:50 +0000 (23:43 +0200)]
If a sled rental has a link without text, put the link below the name.

3 years agoInclude wr_page and weblink in template.
Philipp Spitzer [Sun, 3 Jul 2022 21:00:57 +0000 (23:00 +0200)]
Include wr_page and weblink in template.

3 years agoInclude gastronomy_description in output.
Philipp Spitzer [Sun, 3 Jul 2022 20:59:36 +0000 (22:59 +0200)]
Include gastronomy_description in output.

3 years agoUpdate summary text.
Philipp Spitzer [Thu, 16 Jun 2022 15:42:27 +0000 (17:42 +0200)]
Update summary text.

3 years agoFine-tune parsing of "see also".
Philipp Spitzer [Thu, 16 Jun 2022 15:18:34 +0000 (17:18 +0200)]
Fine-tune parsing of "see also".

3 years agoFine-tune parsing of gastronomy.
Philipp Spitzer [Tue, 14 Jun 2022 21:25:26 +0000 (23:25 +0200)]
Fine-tune parsing of gastronomy.

3 years agoAdd 'tiroler_naturrodelbahn_gütesiegel' to 'Buttonleiste'.
Philipp Spitzer [Sun, 12 Jun 2022 14:28:43 +0000 (16:28 +0200)]
Add 'tiroler_naturrodelbahn_gütesiegel' to 'Buttonleiste'.

3 years agoFine-tune parsing of 'Tiroler Naturrodelbahn Gütesiegel'.
Philipp Spitzer [Sun, 12 Jun 2022 14:28:14 +0000 (16:28 +0200)]
Fine-tune parsing of 'Tiroler Naturrodelbahn Gütesiegel'.

3 years agoShow more info for public transport lines.
Philipp Spitzer [Sun, 12 Jun 2022 13:27:14 +0000 (15:27 +0200)]
Show more info for public transport lines.

3 years agoConsider sled_rental_direct == true as having a sled rental.
Philipp Spitzer [Sat, 11 Jun 2022 14:12:21 +0000 (16:12 +0200)]
Consider sled_rental_direct == true as having a sled rental.

3 years agoAdd comment for walkup time to template.
Philipp Spitzer [Sat, 11 Jun 2022 14:11:48 +0000 (16:11 +0200)]
Add comment for walkup time to template.

3 years agoCreate script update_sledrun_json_from_wikitext_walkup_time_note.py.
Philipp Spitzer [Sat, 11 Jun 2022 12:38:35 +0000 (14:38 +0200)]
Create script update_sledrun_json_from_wikitext_walkup_time_note.py.

3 years agoParse public transport SVV.
Philipp Spitzer [Sat, 11 Jun 2022 12:19:25 +0000 (14:19 +0200)]
Parse public transport SVV.

3 years agoParse "freizeitticket_tyrol" and "regio_card_tyrol".
Philipp Spitzer [Sat, 11 Jun 2022 12:04:58 +0000 (14:04 +0200)]
Parse "freizeitticket_tyrol" and "regio_card_tyrol".

3 years agoCorrectly use whitespace between parts of gastronomy info.
Philipp Spitzer [Sat, 11 Jun 2022 12:04:29 +0000 (14:04 +0200)]
Correctly use whitespace between parts of gastronomy info.

3 years agoConsider existing "operator" as has_operator.
Philipp Spitzer [Sat, 11 Jun 2022 12:03:51 +0000 (14:03 +0200)]
Consider existing "operator" as has_operator.

3 years agoOmit forum_id if it is not given.
Philipp Spitzer [Sat, 11 Jun 2022 12:03:27 +0000 (14:03 +0200)]
Omit forum_id if it is not given.

3 years agoDetails for sled rental and newline tuning for public transport.
Philipp Spitzer [Thu, 9 Jun 2022 21:48:42 +0000 (23:48 +0200)]
Details for sled rental and newline tuning for public transport.

3 years agoContinuation is supported - all sledrun JSON is now stored in the table.
Philipp Spitzer [Wed, 8 Jun 2022 21:13:01 +0000 (23:13 +0200)]
Continuation is supported - all sledrun JSON is now stored in the table.

3 years agoStart to create updatewrsledrunjsoncache.py (currently just adds 3 sledruns).
Philipp Spitzer [Wed, 8 Jun 2022 19:46:36 +0000 (21:46 +0200)]
Start to create updatewrsledrunjsoncache.py (currently just adds 3 sledruns).

3 years agoAdd correction_name in output.
Philipp Spitzer [Tue, 7 Jun 2022 21:51:34 +0000 (23:51 +0200)]
Add correction_name in output.

3 years agoAdjust whitespace for public transport.
Philipp Spitzer [Tue, 7 Jun 2022 21:51:16 +0000 (23:51 +0200)]
Adjust whitespace for public transport.

3 years agoAdd functionality to parse feratel data.
Philipp Spitzer [Mon, 6 Jun 2022 21:54:59 +0000 (23:54 +0200)]
Add functionality to parse feratel data.

3 years agoAdd temporary script to update correction data from wikitext.
Philipp Spitzer [Mon, 6 Jun 2022 21:43:33 +0000 (23:43 +0200)]
Add temporary script to update correction data from wikitext.

3 years agoTemporary helper scripts that won't be needed for long...
Philipp Spitzer [Mon, 6 Jun 2022 21:18:45 +0000 (23:18 +0200)]
Temporary helper scripts that won't be needed for long...

3 years agoParse webcams.
Philipp Spitzer [Mon, 6 Jun 2022 20:20:21 +0000 (22:20 +0200)]
Parse webcams.

3 years agoAdd webcam to Buttonleiste.
Philipp Spitzer [Mon, 6 Jun 2022 20:18:32 +0000 (22:18 +0200)]
Add webcam to Buttonleiste.

3 years agoFix bug preventing gastronomy from being added.
Philipp Spitzer [Mon, 6 Jun 2022 20:17:52 +0000 (22:17 +0200)]
Fix bug preventing gastronomy from being added.

3 years agoMove some functions to lib_sledrun_wikitext_to_json.py
Philipp Spitzer [Mon, 6 Jun 2022 20:15:55 +0000 (22:15 +0200)]
Move some functions to lib_sledrun_wikitext_to_json.py

3 years agoCreate "Buttonleiste" with key_value_template.
Philipp Spitzer [Mon, 6 Jun 2022 15:37:59 +0000 (17:37 +0200)]
Create "Buttonleiste" with key_value_template.

3 years agoOmit empty parameters in key/value templates.
Philipp Spitzer [Mon, 6 Jun 2022 15:36:30 +0000 (17:36 +0200)]
Omit empty parameters in key/value templates.

3 years agoAdjust some newlines/spacings.
Philipp Spitzer [Sun, 5 Jun 2022 16:35:20 +0000 (18:35 +0200)]
Adjust some newlines/spacings.