You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the start of tifeature/timvt/tipg, we designed the application with having a list of the available collections/layers stored in the application State:
The problem then (as explained in developmentseed/eoAPI#55 (comment)) is when you have changed in the DB (e.g new table) it won't show up in the application because the catalog is now updated.
Proposal
remove collection_catalog
create a clean SQL function which will list the collections
the function should accept id (to return only one collection), limit, offset, spatial_filter and temporal_filter
Since the start of tifeature/timvt/tipg, we designed the application with having a list of the available collections/layers stored in the application
State
:tipg/tipg/db.py
Line 83 in 489f024
This gave some advantages:
tipg/tipg/dependencies.py
Lines 40 to 43 in 489f024
The
collection_catalog
is created at application startuptipg/tipg/main.py
Lines 65 to 80 in 489f024
The problem then (as explained in developmentseed/eoAPI#55 (comment)) is when you have changed in the DB (e.g new table) it won't show up in the application because the catalog is now updated.
Proposal
collection_catalog
id
(to return only one collection),limit
,offset
,spatial_filter
andtemporal_filter
cc @bitner
The text was updated successfully, but these errors were encountered: