Edward Betts
|
98d11b62a6
|
Record errors in the database
Closes: #12
|
2024-02-25 21:42:56 +00:00 |
|
Edward Betts
|
274ac0574c
|
errormail: adjust flask import
|
2024-02-25 21:09:19 +00:00 |
|
Edward Betts
|
89fe3404aa
|
Retry failed Wikidata SPARQL queries
Closes: #11
|
2024-02-25 18:56:46 +00:00 |
|
Edward Betts
|
413a6e4851
|
Catch Wikidata API errors and retry
Retry API error calls with exponential backoff.
Send mail to admin if errors continue after retries.
Includes a test.
|
2024-02-13 11:04:32 +00:00 |
|
Edward Betts
|
747e9dec48
|
Avoid crash for lat/lon in UK EEZ
Handle Wiidata items without a Commons sitelink
|
2024-01-17 11:48:33 +00:00 |
|
Edward Betts
|
1625f3d5d1
|
Show SPARQL query on details page with link to WDQS
Closes: #23
|
2024-01-10 16:24:54 +00:00 |
|
Edward Betts
|
9112c685c4
|
Replace psycopg2 use with sqlalchemy
Closes: #19
|
2023-12-27 10:38:35 +00:00 |
|
Edward Betts
|
d001ec1155
|
Pass lat/lon as floats
Closes: #18
|
2023-12-12 09:43:57 +00:00 |
|
Edward Betts
|
e65f85becb
|
Start logging response time ms
|
2023-12-10 10:41:36 +00:00 |
|
Edward Betts
|
e8c60e9f9b
|
r.json() doesn't throw simplejson error any more
|
2023-12-04 21:26:09 +00:00 |
|
Edward Betts
|
b6825564c7
|
Send error mail to admin
Closes: #8
|
2023-11-25 11:41:53 +00:00 |
|
Edward Betts
|
231cab309d
|
Log FQDN
|
2023-11-24 15:35:54 +00:00 |
|
Edward Betts
|
4720814e1f
|
Log usage
Closes: #6
|
2023-11-24 15:13:00 +00:00 |
|
Edward Betts
|
3b81bc0d96
|
Correct spelling mistakes
|
2023-11-17 11:56:21 -03:00 |
|
Edward Betts
|
3bad50cb27
|
Check topic's main category (P910)
Closes: #3
|
2023-11-04 21:50:48 +00:00 |
|
Edward Betts
|
cde9d09eb0
|
More samples
|
2023-11-04 21:23:15 +00:00 |
|
Edward Betts
|
b700f88da6
|
boundary=place is valid
Example: 51.4564, -0.6486 -> Windsor (Q464955)
|
2023-11-04 21:22:09 +00:00 |
|
Edward Betts
|
5dbb50ed34
|
Bristol example returns Hotwells, Bristol
Closes: #2
|
2023-11-04 20:50:13 +00:00 |
|
Edward Betts
|
a6286cb05f
|
Show map on details page
Includes pin and polygon
Closes: #4
|
2023-11-03 10:32:18 +00:00 |
|
Edward Betts
|
d24744bc29
|
Various improvements
|
2023-10-13 19:11:02 +01:00 |
|
Edward Betts
|
2519ea74b8
|
Match on boundary=political
|
2023-10-13 16:48:56 +01:00 |
|
Edward Betts
|
e975e86af5
|
Add types and docstrings.
|
2023-10-12 20:34:42 +01:00 |
|
Edward Betts
|
5c01d9aebf
|
Format code with black
|
2023-10-10 10:08:59 +01:00 |
|
Edward Betts
|
faa0b3cb4e
|
Bug fixes and improvements.
|
2023-10-10 07:27:25 +00:00 |
|
Edward Betts
|
529611b42c
|
Update model
|
2022-05-18 14:11:51 +01:00 |
|
Edward Betts
|
c5a66abb25
|
Move code around
|
2021-04-17 19:29:09 +02:00 |
|
Edward Betts
|
44241751b2
|
Query database instead of overpass
|
2021-04-17 18:31:58 +02:00 |
|
Edward Betts
|
54b280655f
|
Moving code around
|
2021-04-17 18:02:53 +02:00 |
|
Edward Betts
|
dc24e3f7e7
|
split out more code
|
2021-04-16 22:24:59 +02:00 |
|
Edward Betts
|
cec535ee7e
|
Split up some code
|
2021-04-16 20:24:23 +01:00 |
|