ESRIC: Add write (CreateCopy()) support#14362
Open
HusamMohammad wants to merge 33 commits intoOSGeo:masterfrom
Open
ESRIC: Add write (CreateCopy()) support#14362HusamMohammad wants to merge 33 commits intoOSGeo:masterfrom
HusamMohammad wants to merge 33 commits intoOSGeo:masterfrom
Conversation
…e compact cache V2 spec
… use common gdal logic
Build a warped VRT for each LOD, encode non-empty tiles, and write them into the matching bundle writer for each bundle block
…in preperation for zipping
… 1 band sources to RGB before resampling. Expand paletted 1-band sources to RGB(A) so that resampling operates on colour values instead of palette indices
… OpenFileGDB driver
Each output LOD now warps from the coarsest source overview that does not exceed the target resolution, avoiding unnecessary downsampling from full resolution. Uses nearest-neighbour resampling when resolutions match
Quality is applicable for JPEG only and has a default of 75. MIN_LOD and MAX_LOD must be in the range [0, 23] and the default is 0 and 1 to match arcgis pro. Summary is a string and Tags are user comma separated tags
ArcGIS sets RGB(253, 253, 253) as the NoData for JPEG and RGBA(NoData, NoData, NoData, 0) for PNG
Since disabling deflate compression to match arcgis pro, need to also disable SOZIP
…mplicit conversions between variables and set the default TILE_FORMAT to PNG to match ArcGIS Pro
…nder GDALRegister_ESRIC
Member
|
CC @lucianpls |
…ad of loading the MEM driver and using GDALCreate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Added write support for the ESRIC driver through the
CreateCopy()pattern. The writer only supports writing the zipped.tpkxcache with JSON metadata, not the exploded directory cache characterized by the XML metadataconf.xml.What are related issues/pull requests?
N/A
AI tool usage
Tasklist
Environment
Provide environment details, if relevant: