-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
GeoRaster: Added GENSTATS options, security fixes, and prevent failing when password is near expiration #9290
Changes from 1 commit
fd40934
ebbfc7b
88b14b7
7e54cb3
46c5ac2
2ee5282
87ea7a3
a824e77
6cb773e
6a189bd
666a14a
0992659
cb968c1
f61d933
dde317f
b699da7
01f8b69
ac20c7f
1159a7e
ccd72f8
f547c8f
df499cc
7525bff
7835622
a129234
060755e
7ddfaff
f6f9bef
0551c5b
b9aa45f
4d5ea68
589c5a8
eed7b54
28d6c8f
ab12d50
f0fa59a
7a3e52d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -100,30 +100,30 @@ void GEORDriverSetCommonMetadata(GDALDriver *poDriver) | |||||
" </Option>" | ||||||
" <Option name='GENPYRLEVELS' type='int' description='Number of " | ||||||
"pyramid level to generate'/>" | ||||||
" <Option name='GENSTATS' type='boolean'" | ||||||
" <Option name='GENSTATS' type='boolean' " | ||||||
"description='Generate statistics from the given rasters'" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suspect missing spaces cause XML validation issues:
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're right, I might missed those when merging with the latest main changes, I'm going to make a commit with those fixes. |
||||||
"default='FALSE' />" | ||||||
" <Option name='GENSTATS_SAMPLINGFACTOR' type='int'" | ||||||
" <Option name='GENSTATS_SAMPLINGFACTOR' type='int' " | ||||||
"description='Number of cells skipped in both row and column " | ||||||
"dimensions when " | ||||||
"the statistics are computed'" | ||||||
"the statistics are computed' " | ||||||
"default='1' />" | ||||||
" <Option name='GENSTATS_SAMPLINGWINDOW' type='string'" | ||||||
" <Option name='GENSTATS_SAMPLINGWINDOW' type='string' " | ||||||
"description='Coordinates (4 numbers) of a rectangular " | ||||||
"window to be used to sample the raster when generating statistics' />" | ||||||
" <Option name='GENSTATS_HISTOGRAM' type='boolean'" | ||||||
" <Option name='GENSTATS_HISTOGRAM' type='boolean' " | ||||||
"description='Compute a histogram for the raster' default='FALSE' />" | ||||||
" <Option name='GENSTATS_LAYERNUMBERS' type='string'" | ||||||
" <Option name='GENSTATS_LAYERNUMBERS' type='string' " | ||||||
"description='Layer numbers and/or ranges for which to compute " | ||||||
"the statistics' />" | ||||||
" <Option name='GENSTATS_USEBIN' type='boolean'" | ||||||
" <Option name='GENSTATS_USEBIN' type='boolean' " | ||||||
"description='Specifies if the statistics should use the bin function " | ||||||
"provided by GENSTATS_USEBIN " | ||||||
"to compute the statistics' default='TRUE' />" | ||||||
" <Option name='GENSTATS_BINFUNCTION' type='string'" | ||||||
" <Option name='GENSTATS_BINFUNCTION' type='string' " | ||||||
"description='Array to specify the bin function (type, total number of " | ||||||
"bins, first bin number, minimum, cell value, maximum cell value)' />" | ||||||
" <Option name='GENSTATS_NODATA' type='boolean'" | ||||||
" <Option name='GENSTATS_NODATA' type='boolean' " | ||||||
"description='Whether or not to compare each cell values " | ||||||
"with NODATA values defined in the metadata'" | ||||||
" default='FALSE' />" | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hum I realize my suggestion to use CPLFetchBool might cause issues here as bGenStatsOptionsUsed = true will no longer be set.
But I also realize that autotest/gdrivers/georaster.py hasn't been updated. It could make sense for long-term maintenance to test that new functionality