Option to just get the 'count' of buildings, but not actually download the results. #30
Labels
enhancement
New feature or request
get_buildings
Issues related to the get_buildings operations
good first issue
Good for newcomers
Milestone
It'd be nice to be able to quickly see how many buildings a request would result in, instead of downloading all the buildings. This can be done by just doing a
select count (*)
(instead ofselect *
) in DuckDB, and then just printing that out and not downloading anything.To add this just start with
--verbose
to see what type of queries DuckDB will issue, and then try out a similar query that will just get the count and make sure it works. Then try just changing the core 'download' command to do a count and print that out. Once that is working then you just need to add the flag, to the cli.py and pass in the count flag to the download function indownload_buildings
.If you want to take this on and have more questions feel free to comment here and I can explain more.
The text was updated successfully, but these errors were encountered: