Skip to content

Adds a toggle to allow shape files with no dbf#41

Merged
MauricioFauth merged 2 commits into
phpmyadmin:3.1.xfrom
JoolsMcFly:feature/36-allow-no-dbf
Dec 8, 2024
Merged

Adds a toggle to allow shape files with no dbf#41
MauricioFauth merged 2 commits into
phpmyadmin:3.1.xfrom
JoolsMcFly:feature/36-allow-no-dbf

Conversation

@JoolsMcFly

Copy link
Copy Markdown
Contributor

Hi.

This PR fixes #36 as it gives users the ability to process a shape file with no matching dbf file.
A call to $shp->setAllowNoDbf(true); does the trick.

I left open the PR targeting master because 3.1.x and master branches are different enough (no psalm, use of ShapeFile enum etc) to have me change code from my first PR to make it work in 3.1.x.

Thanks for reviewing.

@JoolsMcFly
JoolsMcFly marked this pull request as draft November 19, 2024 21:47
@JoolsMcFly
JoolsMcFly force-pushed the feature/36-allow-no-dbf branch from fa57fb1 to 09610f5 Compare November 19, 2024 22:00
@JoolsMcFly
JoolsMcFly marked this pull request as ready for review November 19, 2024 22:04
Comment thread src/ShapeFile.php
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
@MauricioFauth MauricioFauth self-assigned this Dec 8, 2024
@MauricioFauth MauricioFauth added this to the 3.1.0 milestone Dec 8, 2024
@MauricioFauth
MauricioFauth merged commit a21b619 into phpmyadmin:3.1.x Dec 8, 2024
MauricioFauth added a commit that referenced this pull request Dec 8, 2024
[ci skip]

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
@JoolsMcFly
JoolsMcFly deleted the feature/36-allow-no-dbf branch December 9, 2024 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants