Commit graph

100 commits

Author SHA1 Message Date
ea2b3c18d8 Show Nominatim 403 error to user in Web UI
Closes #5

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-18 19:41:31 +00:00
72063f2e2b Bug fix expand_street_name 2024-06-19 14:54:24 +01:00
4d64ac212d Bug fix for calling get_commons_image with 'null' 2024-06-19 14:43:23 +01:00
938f79ba19 Bug fix refresh_item 2024-06-19 14:23:20 +01:00
6b558086c1 Fix error handling 2024-05-04 11:44:44 +03:00
2302809364 Add types and docstrings 2024-05-04 06:48:22 +00:00
757f9822b7 Type hints and a docstring. 2023-05-20 06:35:48 +00:00
212a4f4ec3 Remove unused code and add types and a docstring. 2023-05-14 20:21:28 +00:00
2424fe0fdf Various updates. 2023-05-14 17:25:35 +00:00
ff41bb21d2 Add types and docstrings. 2023-05-14 16:05:19 +00:00
b1625115ad Adjust lxml import. 2023-05-14 16:04:53 +00:00
be2de5dc1a Remove broken error handling code. 2023-05-14 16:04:23 +00:00
977f83779a Type hint and docstring. 2023-05-14 15:46:38 +00:00
39b2a3c469 Remove duplicate code. 2023-05-14 14:23:37 +00:00
6ce8b30fcc Merge branch 'main' of github.com:EdwardBetts/owl-map 2023-05-14 10:30:15 +00:00
88a0b9f897 Code doesn't work with python 3.9 2023-05-14 11:17:30 +02:00
c607351699 Update 2023-05-13 15:01:28 +02:00
87005dea18 New API call to get items in a place 2022-04-18 12:24:45 +01:00
40effe4548 Various improvements 2022-04-08 10:37:43 +01:00
e3d825c48f Fix user location crash 2021-11-16 12:22:17 +00:00
84a2cfa5ad Add API method to return osm2pgsql polygon as geojson. 2021-11-13 16:43:30 +00:00
7c5253b15b Include tags for IsA item page. 2021-11-13 16:42:46 +00:00
e7f8884b7b Add support for changing Wikidata tag on OSM object 2021-10-22 11:32:26 +01:00
e8b1b411e5 Watercouses are also linear features 2021-10-22 11:31:34 +01:00
2c8ac7259c Look for more variations of street names 2021-10-22 11:30:27 +01:00
badef91b97 No need for user object. Grab item if needed. 2021-10-22 11:27:50 +01:00
bd9323006b Start work on IsA page 2021-10-22 10:02:52 +01:00
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
71ac793101 Include duration in api_missing_wikidata_items response 2021-10-06 18:42:44 +02:00
a18528d2f9 Incldue max_distance in api_find_osm_candidates response 2021-10-06 18:42:06 +02:00
c47590dd65 Switch save default from mock to live. 2021-08-05 08:43:15 +02:00
9b7f6ee878 Add item type filter 2021-07-30 16:02:41 +02:00
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
8b7ab45c73 Handle missing item in find nearby OSM API call 2021-07-22 09:49:24 +02:00
19a9010aa7 Fix for OSM objects with multiple geometry 2021-07-19 22:07:41 +02:00
6f30e1232a rename function 2021-07-19 22:06:36 +02:00
a87fe9eed2 Bug fix 2021-07-19 22:06:07 +02:00
22c44aaced Implement uploading to OSM database 2021-07-16 12:00:20 +02:00
7649afa526 Add a documentation page 2021-07-14 15:57:21 +02:00
5a42e100c7 Improve OSM search 2021-07-11 17:19:21 +02:00
7c075227d7 Don't visit index after login or logout 2021-07-11 17:17:29 +02:00
d4eb60fe33 No need to drop geotext from search output 2021-07-11 17:16:54 +02:00
31431ecdcb Remove old unused code 2021-07-08 15:05:32 +02:00
c4f284031c Improve search API output 2021-07-08 14:35:32 +02:00
4ebe992919 Bug fix for redirect after logout 2021-07-08 14:34:55 +02:00
f60aa70472 Switch to maxminddb for user location. 2021-07-06 17:24:14 +02:00
9e5236c387 New API method to get details of single item 2021-07-03 13:40:26 +02:00
22cfe64896 Include more detail in OSM tags API call 2021-07-03 13:39:37 +02:00
34b2d0fa05 Split API logic out of web_view.py 2021-06-25 14:52:42 +02:00
e25aaa5ec6 Admin page for checking skip IsA list 2021-06-25 14:52:06 +02:00