Commit Graph

35 Commits

Author SHA1 Message Date
Edward Betts 7603b33b2b Fix some bugs 2023-11-02 09:11:11 +00:00
Edward Betts 5e8d1a99b0 Add types and docstrings + upgrade to SQLAlchmey 2 2023-11-01 20:54:19 +00:00
Edward Betts 2e9ea504f0 Add types and docstrings 2023-10-31 14:40:55 +00:00
Edward Betts d4350cd888 Types 2023-05-19 06:56:21 +00:00
Edward Betts dd9078f258 Adjust Base class to make mypy happy. 2023-05-15 19:37:53 +00:00
Edward Betts 26b47a5dd3 Type hints and docstrings. 2023-05-15 15:31:32 +00:00
Edward Betts 0ed3d3c761 Type hints and docstrings. 2023-05-14 20:29:09 +00:00
Edward Betts 503280cfc1 Add docstrings and types 2023-05-14 10:40:59 +00:00
Edward Betts 90b83e93ad Add methods to get item identifiers 2022-04-18 12:51:44 +01:00
Edward Betts c95b58fde9 Reformat with black 2022-04-18 12:51:02 +01:00
Edward Betts d0ddd5204c Various improvements 2022-04-08 10:41:18 +01:00
Edward Betts 1771f19f56 Alert admin about unsupported time precision 2021-11-13 16:41:15 +00:00
Edward Betts 9c426b2918 Item methods to work out if it is a linear feature 2021-10-22 09:54:04 +01:00
Edward Betts 38e23ec8cc New method to get IsA details for item 2021-10-22 09:53:40 +01:00
Edward Betts f291ce993e New table to store extra tags/keys
We get the OSM tags/keys for matching from the item types in Wikidata.

Sometimes we want to check extra tags/keys without adding them to
Wikidata.

This new table is a place to store them, instead of having them in the
source code.

In the future normal users will be able to add or remove extra
tags/keys.
2021-10-22 09:44:53 +01:00
Edward Betts c47590dd65 Switch save default from mock to live. 2021-08-05 08:43:15 +02:00
Edward Betts 3d578680a9 Consider roads to be streets 2021-07-23 14:39:19 +02:00
Edward Betts 480df60d24 A thoroughfare is a type of street 2021-07-22 09:48:28 +02:00
Edward Betts a56387c4d9 Add get_osm method to Line class 2021-07-16 11:14:49 +02:00
Edward Betts 66904c061a Add per user mock upload toggle with warnings 2021-07-16 11:14:05 +02:00
Edward Betts 5a42e100c7 Improve OSM search 2021-07-11 17:19:21 +02:00
Edward Betts 0658976246 Handle items with no label 2021-07-06 17:24:57 +02:00
Edward Betts e62dd4d1d6 Improve OSM name handling 2021-07-02 11:14:37 +02:00
Edward Betts 0aa2bfc4b7 Show date close date (P3999) in item detail 2021-07-02 11:08:53 +02:00
Edward Betts 238fbeef05 Avoid matching tram stops with buildings 2021-06-28 11:50:37 +02:00
Edward Betts e25aaa5ec6 Admin page for checking skip IsA list 2021-06-25 14:52:06 +02:00
Edward Betts b03ae32a9e Add EditSession table 2021-06-24 18:39:23 +02:00
Edward Betts c563d440fc Fix typo in commented out code 2021-06-24 18:39:09 +02:00
Edward Betts 7ca1229380 Switch type from Geography to Geometry
Use Geometry type for item location. Improves performance.
2021-06-24 18:37:23 +02:00
Edward Betts 7aaa18cf24 Add Changeset class 2021-06-20 15:01:23 +02:00
Edward Betts b4a948e9ef shopping street (Q21000333) is a type of street 2021-06-16 17:51:47 +02:00
Edward Betts 735e833fc9 Add OSM login 2021-06-16 15:42:25 +02:00
Edward Betts d407224f35 Add two methods to Item class 2021-06-15 00:08:24 +02:00
Edward Betts fa3a2880bf Column property for EWKT 2021-05-14 17:04:01 +02:00
Edward Betts 95366a76dd Add missing code 2021-05-12 16:00:51 +02:00