Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add existing layer test #15

Merged
merged 6 commits into from
Jan 1, 2024
Merged

Add existing layer test #15

merged 6 commits into from
Jan 1, 2024

Conversation

philiporlando
Copy link
Owner

@philiporlando philiporlando commented Jan 1, 2024

Add test to check behavior when layer already exists in gpkg and overwrite is set to false.

Adds type hinting to input params.

Fixes bug with checking for fc in gpkg. Need to compare against list of layers instead.

Could be improved by avoiding duplicate fiona.listlayers(gpkg) calls (one for each fc in fc_list.

@philiporlando philiporlando added the bug Something isn't working label Jan 1, 2024
@philiporlando philiporlando self-assigned this Jan 1, 2024
@philiporlando philiporlando merged commit 57c0e2e into main Jan 1, 2024
11 checks passed
@philiporlando philiporlando deleted the add-existing-layer-test branch January 1, 2024 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant