Skip to content

Add ShpWriter and ShxWriter. Reduce clutter from tests, by using temp dirs for writing shapefiles.#402

Merged
JamesParrott merged 2 commits into
GeospatialPython:masterfrom
JamesParrott:ShxWriter
May 27, 2026
Merged

Add ShpWriter and ShxWriter. Reduce clutter from tests, by using temp dirs for writing shapefiles.#402
JamesParrott merged 2 commits into
GeospatialPython:masterfrom
JamesParrott:ShxWriter

Conversation

@JamesParrott
Copy link
Copy Markdown
Collaborator

Add ShpWriter and ShxWriter. Reduce clutter from tests, by using temp dirs for writing shapefiles.

Create ShpWriter as well as ShxWriter

Bug fixes

Delete merge & edit. Move test shapefiles out of test into parent dir (shapefiles)

Update name of _replace_remote_url_with_localhost

Restore _replace_remote_url_with_localhost as it's used by test_shapefiles.py

Add clear_globs=True to doctest runner .run

Quote replaced localhost URLs in doctests

Close all Reader handles to shapefiles/tests, and reorder jobs to fail faster

Don't close Reader before it's read from

Add ShpWriter and ShxWriter.  Reduce clutter from tests, by using temp dirs for writing shapefiles.

Create ShpWriter as well as ShxWriter

Bug fixes

Delete merge & edit.  Move test shapefiles out of test into parent dir (shapefiles)

Update name of _replace_remote_url_with_localhost

Restore _replace_remote_url_with_localhost as it's used by test_shapefiles.py

Add clear_globs=True to doctest runner .run

Quote replaced localhost URLs in doctests

Close all Reader handles to shapefiles/tests, and reorder jobs to fail faster

Don't close Reader before it's read from
@JamesParrott JamesParrott merged commit 5cf41f2 into GeospatialPython:master May 27, 2026
38 of 77 checks passed
@JamesParrott JamesParrott deleted the ShxWriter branch May 27, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant