Skip to content

Add ShpReader and ShxReader#398

Merged
JamesParrott merged 1 commit into
GeospatialPython:masterfrom
JamesParrott:shxReader
May 24, 2026
Merged

Add ShpReader and ShxReader#398
JamesParrott merged 1 commit into
GeospatialPython:masterfrom
JamesParrott:shxReader

Conversation

@JamesParrott
Copy link
Copy Markdown
Collaborator

Add ShxReader

Add ShpReader

Can combine ._shape too if rec length yielded/cached (as well as pos)

Is it still necessary to support out of spec shapefiles, with next_shape_pos?

Cache iterator in ShpReader

Use a cached generator

Passes pytest, mypy and ruff check

Reformat and run hooks

Update test_shapefile.py

Swap out Nones in MBox part of header

Update shapefile.py

Add ISDATA_LOWER_BOUND =-1e38 to differentiate from NODATA = -1e39 (as per legacy)

Add zbox and mbox properties

Add ShxReader

Add ShpReader

Can combine ._shape too if rec length yielded/cached (as well as pos)

Is it still necessary to support out of spec shapefiles, with next_shape_pos?

Cache iterator in ShpReader

Use a cached generator

Passes pytest, mypy and ruff check

Reformat and run hooks

Update test_shapefile.py

Swap out Nones in MBox part of header

Update shapefile.py

Add ISDATA_LOWER_BOUND =-1e38 to differentiate from NODATA = -1e39 (as per legacy)

Add zbox and mbox properties
@JamesParrott JamesParrott merged commit bf968a0 into GeospatialPython:master May 24, 2026
29 checks passed
@JamesParrott JamesParrott deleted the shxReader branch May 24, 2026 17:55
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