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

gdalbuildvrt: add page #4941

Merged
merged 10 commits into from
Nov 10, 2020
Merged

gdalbuildvrt: add page #4941

merged 10 commits into from
Nov 10, 2020

Conversation

RobinKohrs
Copy link
Contributor

@RobinKohrs RobinKohrs commented Nov 6, 2020

  • The page (if new), does not already exist in the repo.
  • The page is in the correct platform directory (common/, linux/, etc.)
  • The page has 8 or fewer examples.
  • The PR title conforms to the recommended templates.
  • The page follows the content guidelines.
  • The page description includes a link to documentation or a homepage (if applicable).

@CLAassistant
Copy link

CLAassistant commented Nov 6, 2020

CLA assistant check
All committers have signed the CLA.

@tldr-bot
Copy link

tldr-bot commented Nov 6, 2020

The build for this PR failed with the following error(s):

Error: Parse error on line 10:
...d in a directory :`gdalbuildvrt {{ out
---------------------^
Expecting 'TEXT', 'DASH', got 'BACKTICK'
pages/common/gdalbuildvrt.md:3: TLDR004 Command descriptions should end in a period
pages/common/gdalbuildvrt.md:4: TLDR002 A single space should precede a sentence
pages/common/gdalbuildvrt.md:5: TLDR004 Command descriptions should end in a period
pages/common/gdalbuildvrt.md:6: TLDR002 A single space should precede a sentence
pages/common/gdalbuildvrt.md:8: TLDR004 Command descriptions should end in a period

Please fix the error(s) and push again.

@tldr-bot
Copy link

tldr-bot commented Nov 6, 2020

The build for this PR failed with the following error(s):

Error: Parse error on line 5:
... existing datasets> More information: 
---------------------^
Expecting 'TEXT', 'DASH', 'BACKTICK', got 'GREATER_THAN'
pages/common/gdalbuildvrt.md:3: TLDR004 Command descriptions should end in a period

Please fix the error(s) and push again.

@tldr-bot
Copy link

tldr-bot commented Nov 6, 2020

The build for this PR failed with the following error(s):

Error: Parse error on line 5:
... existing datasets> More information: 
---------------------^
Expecting 'TEXT', 'DASH', 'BACKTICK', got 'GREATER_THAN'
pages/common/gdalbuildvrt.md:3: TLDR004 Command descriptions should end in a period

Please fix the error(s) and push again.

@RobinKohrs RobinKohrs changed the title ls: add page gdalbuildvrt: add page Nov 6, 2020
@navarroaxel
Copy link
Collaborator

@RobinKohrs Could you please sign the license/CLA to pass the check?

@navarroaxel navarroaxel added the new command Issues requesting creation of a new page or PRs adding a new page for a command. label Nov 7, 2020
@RobinKohrs
Copy link
Contributor Author

@navarroaxel Sure thing! sorry about that. I'm completely new to this and just wanted the help on the command line. Thanks for pointing out to that.

@tldr-bot
Copy link

tldr-bot commented Nov 7, 2020

The build for this PR failed with the following error(s):

Error: Parse error on line 5:
... existing datasets> More information: 
---------------------^
Expecting 'TEXT', 'DASH', 'BACKTICK', got 'GREATER_THAN'
pages/common/gdalbuildvrt.md:3: TLDR004 Command descriptions should end in a period

Please fix the error(s) and push again.

@tldr-bot
Copy link

tldr-bot commented Nov 7, 2020

The build for this PR failed with the following error(s):

Error: Parse error on line 5:
...existing datasets.> More information: 
---------------------^
Expecting 'TEXT', 'DASH', 'BACKTICK', got 'GREATER_THAN'

Please fix the error(s) and push again.


- Make a virtual mosaic from files whose name is specified in a text file:

`gdalbuildvrt -input_file_list {{ my_list.txt }} {{ output.vrt }}`
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
`gdalbuildvrt -input_file_list {{ my_list.txt }} {{ output.vrt }}`
`gdalbuildvrt -input_file_list {{path/to/list.txt}} {{path/to/output.vrt}}`


- Make a RGB virtual mosaic from 3 single-band input files:

`gdalbuildvrt -separate {{ rgb.vrt }} {{ red.tif green.tif blue.tif }}`
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
`gdalbuildvrt -separate {{ rgb.vrt }} {{ red.tif green.tif blue.tif }}`
`gdalbuildvrt -separate {{path/to/rgb.vrt}} {{path/to/red.tif}] {{path/to/green.tif}} {{path/to/blue.tif}}`


- Make a virtual mosaic with blue background colour (RGB: 0 0 255):

`gdalbuildvrt -hidenodata -vrtnodata "0 0 255" {{ output.vrt }} {{ input_folder/*.tif }}`
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
`gdalbuildvrt -hidenodata -vrtnodata "0 0 255" {{ output.vrt }} {{ input_folder/*.tif }}`
`gdalbuildvrt -hidenodata -vrtnodata "{{0 0 255}}" {{path/to/output.vrt}} {{path/to/input_directory/*.tif}}`

RobinKohrs and others added 4 commits November 8, 2020 12:55
Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
Copy link
Member

@sbrl sbrl left a comment

Choose a reason for hiding this comment

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

Thanks, @RobinKohrs! Looks ok to me. Welcome to tldr pages 😺

@sbrl sbrl merged commit d9df7a2 into tldr-pages:master Nov 10, 2020
@RobinKohrs
Copy link
Contributor Author

Thanks so much!:) I'm relatively new to this and didn't know how exactly how to accept the changes @navarroaxel made. But glad it somehow worked.

@navarroaxel
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new command Issues requesting creation of a new page or PRs adding a new page for a command.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants