@@ -153,48 +153,48 @@ def and_queries(queries):
153153
154154 @staticmethod
155155 def distance_equal (attribute , values , distance , meters = True ):
156- return str (Query ("distanceEqual" , attribute , [values , distance , meters ]))
156+ return str (Query ("distanceEqual" , attribute , [[ values , distance , meters ] ]))
157157
158158 @staticmethod
159159 def distance_not_equal (attribute , values , distance , meters = True ):
160- return str (Query ("distanceNotEqual" , attribute , [values , distance , meters ]))
160+ return str (Query ("distanceNotEqual" , attribute , [[ values , distance , meters ] ]))
161161
162162 @staticmethod
163163 def distance_greater_than (attribute , values , distance , meters = True ):
164- return str (Query ("distanceGreaterThan" , attribute , [values , distance , meters ]))
164+ return str (Query ("distanceGreaterThan" , attribute , [[ values , distance , meters ] ]))
165165
166166 @staticmethod
167167 def distance_less_than (attribute , values , distance , meters = True ):
168- return str (Query ("distanceLessThan" , attribute , [values , distance , meters ]))
168+ return str (Query ("distanceLessThan" , attribute , [[ values , distance , meters ] ]))
169169
170170 @staticmethod
171171 def intersects (attribute , values ):
172- return str (Query ("intersects" , attribute , values ))
172+ return str (Query ("intersects" , attribute , [ values ] ))
173173
174174 @staticmethod
175175 def not_intersects (attribute , values ):
176- return str (Query ("notIntersects" , attribute , values ))
176+ return str (Query ("notIntersects" , attribute , [ values ] ))
177177
178178 @staticmethod
179179 def crosses (attribute , values ):
180- return str (Query ("crosses" , attribute , values ))
180+ return str (Query ("crosses" , attribute , [ values ] ))
181181
182182 @staticmethod
183183 def not_crosses (attribute , values ):
184- return str (Query ("notCrosses" , attribute , values ))
184+ return str (Query ("notCrosses" , attribute , [ values ] ))
185185
186186 @staticmethod
187187 def overlaps (attribute , values ):
188- return str (Query ("overlaps" , attribute , values ))
188+ return str (Query ("overlaps" , attribute , [ values ] ))
189189
190190 @staticmethod
191191 def not_overlaps (attribute , values ):
192- return str (Query ("notOverlaps" , attribute , values ))
192+ return str (Query ("notOverlaps" , attribute , [ values ] ))
193193
194194 @staticmethod
195195 def touches (attribute , values ):
196- return str (Query ("touches" , attribute , values ))
196+ return str (Query ("touches" , attribute , [ values ] ))
197197
198198 @staticmethod
199199 def not_touches (attribute , values ):
200- return str (Query ("notTouches" , attribute , values ))
200+ return str (Query ("notTouches" , attribute , [ values ] ))
0 commit comments