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

[processing][feature] Enhance the GDAL "Vector information" alg and add a new GDAL "Vector information (JSON)" alg (Request in QGIS) #9170

Closed
qgis-bot opened this issue Jul 16, 2024 · 0 comments · Fixed by #9338
Assignees
Labels
3.40 Processing Alg (Features of) An algorithm. Use the Help button in the application to find the page.
Milestone

Comments

@qgis-bot
Copy link
Collaborator

Request for documentation

From pull request qgis/QGIS#57976
Author: @agiudiceandrea
QGIS version: 3.40

[processing][feature] Enhance the GDAL "Vector information" alg and add a new GDAL "Vector information (JSON)" alg

PR Description:

Description

  • Enhancements of the "Vector information" (gdal:ogrinfo) GDAL processing algorithm:
    The checkbox parameter ALL_LAYERS "Enable listing of all layer information", False by default, is added in order for the layer name to not be added to the ogrinfo command-line so it will output the info of all the layers in the dataset (see also Add parameter to skip layername in gdal:convertformat QGIS#45955).
    The advanced parameter EXTRA "Additional command-line parameters" (optional) is added in order to provide additional command-line options to the ogrinfo command (to be consistent with the "Raster information" (gdal:gdalinfo) GDAL processing algorithm (see also [processing] allow passing additional command line parameters to GDAL algorithms QGIS#30377).

    image

  • New "Vector information (JSON)" (gdal:ogrinfojson) GDAL processing algorithm (only available with GDAL >= 3.7):
    This algorithm will use the -json option of ogrinfo in order to create a JSON file containing the layer or dataset information.
    It has the same parameters as "Vector information" (gdal:ogrinfo), except for the parameter SUMMARY_ONLY "Summary output only" (-so option), which is replaced by FEATURES "Enable listing of features" (-features option), False by default.
    The algorithm output is a JSON file.
    I think this new algorithm fixes add -json option in ogrinfo outputs QGIS#57945.

    image

Commits tagged with [need-docs] or [FEATURE]

"[processing][feature] Enhance gdal:ogrinfo - Add gdal:ogrinfojson" "[processing][feature] Add tests for gdal:ogrinfo and gdal:ogrinfojson"

@selmaVH1 selmaVH1 added the Processing Alg (Features of) An algorithm. Use the Help button in the application to find the page. label Jul 24, 2024
@DelazJ DelazJ added the 3.40 label Aug 7, 2024
@DelazJ DelazJ added this to the QGIS 3.40 milestone Aug 7, 2024
@DelazJ DelazJ self-assigned this Oct 30, 2024
DelazJ added a commit to DelazJ/QGIS-Documentation that referenced this issue Oct 31, 2024
@DelazJ DelazJ closed this as completed in c1f05fc Nov 1, 2024
qgis-bot pushed a commit that referenced this issue Nov 1, 2024
DelazJ added a commit that referenced this issue Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.40 Processing Alg (Features of) An algorithm. Use the Help button in the application to find the page.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants