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

OGR_GRASS: fix regression after switch to GetGDALDriverManager #28

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

nilason
Copy link
Collaborator

@nilason nilason commented Jul 27, 2023

OGR_GRASS driver was broken with 1f6a624 as it was not working as it was, by registering with GetGDALDriverManager.

The unneeded OGRGRASSDriver class is removed and its use is replaced with GDALDriver.

In related code 'bool', 'false' ,'true', 'nullptr' is used where appropriate.

@nilason nilason added the bug Something isn't working label Jul 27, 2023
@nilason nilason added this to the 1.0.3 milestone Jul 27, 2023
@nilason nilason force-pushed the fix_ogr_grass_driver branch from 5a9a1de to b484c2a Compare July 27, 2023 08:20
OGR_GRASS driver was broken with 1f6a624
as it was not working as it was, by registering with GetGDALDriverManager.

The unneeded OGRGRASSDriver class is removed and its use is replaced with
GDALDriver.

In related code 'bool', 'false' ,'true', 'nullptr' is used where appropriate.
@nilason nilason force-pushed the fix_ogr_grass_driver branch from b484c2a to 317aefd Compare July 27, 2023 11:38
@nilason nilason mentioned this pull request Aug 16, 2023
@nilason
Copy link
Collaborator Author

nilason commented Sep 16, 2023

Lacking experience with GDAL code, I’d be grateful for review for this PR. Perhaps @rouault could jump in?

Copy link
Member

@rouault rouault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !

@nilason
Copy link
Collaborator Author

nilason commented Sep 16, 2023

LGTM !

Thanks Even!
I’ll merge this soon if there are no objections raised.

@nilason nilason merged commit da14159 into OSGeo:main Sep 18, 2023
@nilason nilason deleted the fix_ogr_grass_driver branch September 18, 2023 11:41
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.

2 participants