Skip to content

Support reading encodings from .cpg files#441

Merged
JamesParrott merged 4 commits into
GeospatialPython:masterfrom
JamesParrott:Encoding_from_cpg_file
Jul 25, 2026
Merged

Support reading encodings from .cpg files#441
JamesParrott merged 4 commits into
GeospatialPython:masterfrom
JamesParrott:Encoding_from_cpg_file

Conversation

@JamesParrott

Copy link
Copy Markdown
Collaborator

Completes #247. Includes test for default shapefile reading route (zipfiles, urls and .load_ methods still to test)

Add test_read_latin1_shapefile and fixture: tmp_latin1_shapefile_shp

Update test_shapefile.py

Xfail cpg file test and exclude utf8 raises (dbfFileError) case from it
@JamesParrott
JamesParrott merged commit 7708b60 into GeospatialPython:master Jul 25, 2026
39 checks passed
@JamesParrott
JamesParrott deleted the Encoding_from_cpg_file branch July 25, 2026 16:45
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