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

Adding exclusion flag --exclude -x #18

Open
SpatialDigger opened this issue May 19, 2022 · 0 comments
Open

Adding exclusion flag --exclude -x #18

SpatialDigger opened this issue May 19, 2022 · 0 comments

Comments

@SpatialDigger
Copy link

SpatialDigger commented May 19, 2022

  • gdal2tiles version: 0.1.9
  • GDAL version: 3.3.1
  • Python version: 3.8
  • Operating System: Windows

Description

Attempting to use gdal2tiles to generate tiles.

Unable to exclude the generation of blank tiles, this would normally be done using the --exclude or -x flags

What I Did

            gdal2tiles.generate_tiles(source_path, destination_path,
                                      zoom=[18, 20],
                                      nb_processes=4,
                                      resume=True,
                                      tile_size=256,
                                      srcnodata=0,
                                      verbose=True,
                                      webviewer=all
                                      )

Adding or enabling one of the following would be very helpful

exclude=True
exclude="--exclude"
exclude="-x"
flag="-x"

If I've misunderstood how the exclude works please let me know.

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

No branches or pull requests

1 participant