Edward Betts
7a3cb474ac
Improve error handling
...
* Report errors to admin by e-mail
* Return details of error in JSON for API calls
* Show error details page for non-API calls
2021-10-22 08:02:46 +01:00
Edward Betts
db7b13b706
Skip more tags
2021-10-15 09:49:08 +01:00
Edward Betts
8efbc8a9c1
assembly plant (Q47509284) should match landuse=brownfield
2021-10-09 18:04:52 +02:00
Edward Betts
b4882a8e9f
Add some extra tags to consider
2021-10-09 13:00:43 +02:00
Edward Betts
d6f317e9bb
No mock uploads for now
2021-10-09 13:00:21 +02:00
Edward Betts
0e1df75725
'Part of' in item detail links to object on OSM
2021-10-06 19:14:47 +02:00
Edward Betts
bd808243f2
Show heritage designation in item detail
2021-10-06 19:13:34 +02:00
Edward Betts
8d5476bd43
Show aliases in item detail
2021-10-06 19:06:42 +02:00
Edward Betts
f6418da9a9
Add zoom to item button
2021-10-06 19:05:04 +02:00
Edward Betts
48e185260f
Item details switches to single column on narrow screen.
2021-10-06 19:02:18 +02:00
Edward Betts
b49d92b0bd
Include heritage designation in Wikidata item details
2021-10-06 18:43:37 +02:00
Edward Betts
71ac793101
Include duration in api_missing_wikidata_items response
2021-10-06 18:42:44 +02:00
Edward Betts
a18528d2f9
Incldue max_distance in api_find_osm_candidates response
2021-10-06 18:42:06 +02:00
Edward Betts
f8eeb4200c
Add Wikidata links to documentation
2021-08-05 08:44:13 +02:00
Edward Betts
c47590dd65
Switch save default from mock to live.
2021-08-05 08:43:15 +02:00
Edward Betts
6c46c3713a
All items filters selected by default, for now.
2021-08-05 08:32:06 +02:00
Edward Betts
b825bb68cc
Reduce maximum item count for map
2021-08-05 08:31:07 +02:00
Edward Betts
95a9d16564
More tags to check for
2021-07-30 16:05:18 +02:00
Edward Betts
9b7f6ee878
Add item type filter
2021-07-30 16:02:41 +02:00
Edward Betts
a791de7a24
Don't hide the loading spinner when an item is open
2021-07-24 12:28:34 +02:00
Edward Betts
8dcc353ccf
Add badges to show if existing Wikidata tag matches current item
2021-07-23 14:41:10 +02:00
Edward Betts
3d578680a9
Consider roads to be streets
2021-07-23 14:39:19 +02:00
Edward Betts
92dc8f4bb2
Update documentation
2021-07-23 14:38:46 +02:00
Edward Betts
641490f4ea
Library items don't need to look for the Key:office tag
2021-07-23 14:38:13 +02:00
Edward Betts
a1a3695857
Bug fix for items with multiple locations
2021-07-22 17:09:04 +02:00
Edward Betts
2760cdb940
Use sets in get_item_tags
2021-07-22 17:07:26 +02:00
Edward Betts
59ecb3f9fa
All item types ticked when qid is in URL
2021-07-22 17:04:37 +02:00
Edward Betts
f001ff2604
Add 'clear selection' button for item types
2021-07-22 17:03:56 +02:00
Edward Betts
f0e3a8bd4d
Increase number of items allowed
2021-07-22 17:03:31 +02:00
Edward Betts
3867c30429
Rename 'address nodes' to 'nodes within building'
2021-07-22 17:02:52 +02:00
Edward Betts
206f25b343
Add extra tags
2021-07-22 17:01:56 +02:00
Edward Betts
94e971c890
prevent default on IsA only
2021-07-22 15:30:18 +02:00
Edward Betts
9aa5cad9bc
start with no item types ticked
2021-07-22 15:29:44 +02:00
Edward Betts
8d8f16d757
Remove debugging output
2021-07-22 15:10:40 +02:00
Edward Betts
08de45c42e
No longer need to pass bounding box to nearby candidates API
2021-07-22 14:51:24 +02:00
Edward Betts
867e77ab7b
Switch to SQLAlchemy Core for OSM objects
...
osm2pgsql creates tables without primary keys. Some OSM objects are
split into multiple table rows to help with PostGIS index performance.
Adjust the code to be aware of this.
Also add name matching for streets.
2021-07-22 14:47:38 +02:00
Edward Betts
8b7ab45c73
Handle missing item in find nearby OSM API call
2021-07-22 09:49:24 +02:00
Edward Betts
480df60d24
A thoroughfare is a type of street
2021-07-22 09:48:28 +02:00
Edward Betts
d4488a8dfd
add padding when requesting nearby OSM candidates
2021-07-21 21:38:57 +02:00
Edward Betts
a17c3f7020
Bug fix
2021-07-21 21:30:21 +02:00
Edward Betts
96379c871b
Works better after upload complete
2021-07-19 22:11:01 +02:00
Edward Betts
19a9010aa7
Fix for OSM objects with multiple geometry
2021-07-19 22:07:41 +02:00
Edward Betts
6f30e1232a
rename function
2021-07-19 22:06:36 +02:00
Edward Betts
a87fe9eed2
Bug fix
2021-07-19 22:06:07 +02:00
Edward Betts
22c44aaced
Implement uploading to OSM database
2021-07-16 12:00:20 +02:00
Edward Betts
589751de2b
State can be empty
2021-07-16 11:59:28 +02:00
Edward Betts
98a0792a82
Update map after closing save panel
2021-07-16 11:59:07 +02:00
Edward Betts
5137acabfe
Store item.osm as object instead of array
2021-07-16 11:58:37 +02:00
Edward Betts
4c684b7b74
Don't restore IsA via onpopstate
2021-07-16 11:57:25 +02:00
Edward Betts
5b378c7bff
Fix size of map
2021-07-16 11:49:15 +02:00