Opened 15 years ago
Closed 15 years ago
#3072 closed defect (fixed)
[GEORASTER] CreateCopy can't Compress Data?
Reported by: | bicealyh | Owned by: | ilucena |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | 1.6.1 |
Severity: | normal | Keywords: | georaster |
Cc: | tamas |
Description
I use C# languge methods --CreateCopy(pszDest, ds, 0, papszCreateOptions, pfnProgress, null) to import raster data to georaster. I have confirmed that I use the Parameters -co "COMPRESS=DEFLATE", but when I use GeorasterView to see the MetaData. It give me that the Compression type is NONE.
but if I use the gdal_tranlate methods,it can give me the right result)--the Compression type is DEFLATE.
So I think the CreateCopy methods maybe have some problems.I use the data which I have given you.
Change History (4)
comment:1 by , 15 years ago
Owner: | changed from | to
---|---|
Priority: | highest → normal |
Summary: | CreateCopy can't Compress Data? → [GEORASTER] CreateCopy can't Compress Data? |
comment:2 by , 15 years ago
Cc: | added |
---|---|
Owner: | removed |
comment:3 by , 15 years ago
Keywords: | georaster added |
---|---|
Owner: | set to |
comment:4 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
We didn't get any feedback from the user but it seams that the problem was located on the call to CreateCopy on the C# user code. It could be that the create-option COMPRESS with value "DEFLATE" was missing or misspell.
Sorry for bugging you Ivan. Apparently, I read the ticket description too fast
Here are a few follow-ups sent by Ivan Lucena and Frank Warmerdam in my mail box :
CC'ing Tamas in case he might have an idea about the C# part of it.