@@ -29,9 +29,9 @@ def __init__(self, collections_info):
2929 collections_info ["scala" ],
3030 collections_info ["spatial_extent" ],
3131 collections_info ["period" ],
32- collections_info ["is_public" ])
32+ collections_info ["is_public" ],
33+ collections_info ["deprecated" ])
3334
34- self .image = collections_info ["image" ]
3535 self .grid = collections_info ["grid" ]
3636 self .spatial_ref_system = collections_info ["spatial_reference_system" ]
3737 self .observations_properties = collections_info ["attributes_properties" ]
@@ -58,23 +58,24 @@ def trajectory(self, tj_attr, x, y, start_date, end_date, geometry):
5858 ds = self .get_datasource ()
5959
6060 for time in self .timeline :
61- args = {
62- "image" : self .image ,
63- "temporal" : self .temporal ,
64- "x" : x ,
65- "y" : y ,
66- "grid" : self .grid ,
67- "srid" : self .spatial_ref_system ["srid" ],
68- "start_date" : start_date ,
69- "end_date" : end_date ,
70- "time" : time ,
71- "classification_class" : self .classification_class ,
72- "geometry_flag" : geometry
73- }
61+ for att in self .observations_properties :
62+ args = {
63+ "image" : att ["image" ],
64+ "temporal" : self .temporal ,
65+ "x" : x ,
66+ "y" : y ,
67+ "grid" : self .grid ,
68+ "srid" : self .spatial_ref_system ["srid" ],
69+ "start_date" : start_date ,
70+ "end_date" : end_date ,
71+ "time" : time ,
72+ "classification_class" : self .classification_class ,
73+ "geometry_flag" : geometry
74+ }
7475
75- result = ds .get_trajectory (** args )
76-
77- if result is not None :
78- result ["collection" ] = self .get_name ()
79- tj_attr .append (result )
76+ result = ds .get_trajectory (** args )
77+
78+ if result is not None :
79+ result ["collection" ] = self .get_name ()
80+ tj_attr .append (result )
8081
0 commit comments