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

WIP: Add -G to main_group #1347

Closed
wants to merge 2 commits into from

Conversation

sgillies
Copy link
Member

@sgillies sgillies commented May 19, 2018

This option puts the file_in_arg handler into legacy filename mode: /vsi*/ paths will work and so will database connection strings that would not otherwise pass validation.

This resolves #871 and may possibly make obsolete #1079.

To be merged after #1346.

Example:

$ rio -G info /vsizip/tests/data/white-gemini-iv.zip/white-gemini-iv.vrt
/Users/sean/code/rasterio/rasterio/__init__.py:226: NotGeoreferencedWarning: Dataset has no geotransform set. Default transform will be applied (Affine.identity())
  s = DatasetReader(fp, driver=driver, **kwargs)
{"blockxsize": 128, "blockysize": 128, "bounds": [0.0, 768.0, 1024.0, 0.0], "colorinterp": ["grey", "grey", "grey"], "count": 3, "crs": null, "descriptions": [null, null, null], "driver": "VRT", "dtype": "uint8", "height": 768, "indexes": [1, 2, 3], "mask_flags": [["all_valid"], ["all_valid"], ["all_valid"]], "nodata": null, "res": [1.0, -1.0], "shape": [768, 1024], "tiled": true, "transform": [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0], "units": [null, null, null], "width": 1024}

This option puts the file_in_arg handler into legacy mode.

This resolves #871 and may possibly make obsolete #1079.
@sgillies sgillies requested a review from geowurster May 19, 2018 05:15
@sgillies sgillies changed the title Add -G to main_group WIP: Add -G to main_group May 19, 2018
@sgillies
Copy link
Member Author

#1351 makes this one unnecessary. Closing.

@sgillies sgillies closed this May 23, 2018
@sgillies sgillies deleted the legacy-gdal-filenames-opt branch May 23, 2018 17:02
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

Successfully merging this pull request may close these issues.

None yet

1 participant