-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f3f7606
commit 634fbd1
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,8 @@ def test_merge_geom_download(self): | |
""" | ||
|
||
# Example test values | ||
gdf1 = up.download.nominatim_osm(query="Jesús María, Lima, Peru") | ||
gdf2 = up.download.nominatim_osm(query="Lince, Lima, Peru") | ||
gdf1 = up.download.nominatim_osm(query="Jesús María, Lima, Peru", email="[email protected]") | ||
gdf2 = up.download.nominatim_osm(query="Lince, Lima, Peru", email="[email protected]") | ||
|
||
# Merged | ||
merged_geom = up.geom.merge_geom_downloads([gdf1, gdf2]) | ||
|
@@ -44,7 +44,7 @@ def test_filter_population(self): | |
# Example test values | ||
datasets_df = up.download.search_hdx_dataset("bolivia") | ||
pop_df = up.download.get_hdx_dataset(datasets_df, 0) | ||
polygon_gdf = up.download.nominatim_osm("La Paz, Bolivia", 1) | ||
polygon_gdf = up.download.nominatim_osm("La Paz, Bolivia", 1, email="[email protected]") | ||
|
||
# Filter pop | ||
filtered_points_gdf = up.geom.filter_population(pop_df, polygon_gdf) | ||
|