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
In Python I am manually searching through features to find the one I want:
def find_geometry(self, attribute, value):
for fid in self.get_fids():
feature = self.get_geom(fid)
if value == self.get_attribute(fid, attribute):
return self.get_geom(fid)
return None
But I'm wondering if it's possible to do this more efficiently within gippy.
The text was updated successfully, but these errors were encountered:
Yes if I understand correctly. Open up your db or shapely with gippy.GeoVector
Then you can use the where member function to filter based on any attribute and value. It's much faster than retrieving all values and filtering in python.
In Python I am manually searching through features to find the one I want:
But I'm wondering if it's possible to do this more efficiently within gippy.
The text was updated successfully, but these errors were encountered: