Edward Betts
9b7f6ee878
Add item type filter
2021-07-30 16:02:41 +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
8d8f16d757
Remove debugging output
2021-07-22 15:10:40 +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
3e5dc908fa
Adjust distance and limit for nearby OSM
2021-07-16 11:10:37 +02:00
Edward Betts
dfed99a8bc
Include centroids in nearby OSM list
2021-07-16 11:09:59 +02:00
Edward Betts
6d4a416f5a
no need to include OSM URL in OSM with wikidata tag API reply
2021-07-16 11:09:52 +02:00
Edward Betts
df2e514b02
More detail for part_of, not just name
2021-07-11 17:14:50 +02:00
Edward Betts
fd76bcaa37
Include candidate OSM type and ID in nearby search
2021-07-11 17:14:31 +02:00
Edward Betts
22cfe64896
Include more detail in OSM tags API call
2021-07-03 13:39:37 +02:00
Edward Betts
c404c9a752
New check_is_street_number_first function
2021-07-03 13:38:37 +02:00
Edward Betts
1ab09a2864
Consider more Wikidata properties when looking for OSM tags
2021-07-03 13:37:30 +02:00
Edward Betts
e62dd4d1d6
Improve OSM name handling
2021-07-02 11:14:37 +02:00
Edward Betts
72c32f38ce
Also skip Key:addr and Key:lit
2021-07-02 11:04:43 +02:00
Edward Betts
f76ace2a98
Switch from Geography to Geometry meant distances were wrong.
2021-06-28 11:51:11 +02:00
Edward Betts
238fbeef05
Avoid matching tram stops with buildings
2021-06-28 11:50:37 +02:00
Edward Betts
1fc822c152
Bug fix lat/lon order
2021-06-28 11:48:02 +02:00
Edward Betts
08684fd9c4
Ignore Key:lit to get better matches for streetlamps
2021-06-25 15:04:33 +02:00
Edward Betts
3f18ea2816
Key:lit should not match lit=no
2021-06-25 14:59:48 +02:00
Edward Betts
34b2d0fa05
Split API logic out of web_view.py
2021-06-25 14:52:42 +02:00