Skip to content

Commit

Permalink
Merge pull request #146 from mapycz/gdal-options
Browse files Browse the repository at this point in the history
Add missing options of the GDAL datasource
  • Loading branch information
talaj committed Aug 12, 2018
2 parents 8ecc2f8 + ff564a8 commit 8a7d829
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 0 deletions.
28 changes: 28 additions & 0 deletions 3.0.0/datasources.json
Expand Up @@ -87,6 +87,34 @@
"default-value": "utf-8",
"default-meaning": "UTF8 will be the assumed encoding for string attribute values",
"required": false
},
"band": {
"type": "integer",
"doc": "A particular raster band to work with.",
"default-value": "-1",
"default-meaning": "No particular raster band set, working with all bands.",
"required": false
},
"nodata": {
"type": "float",
"doc": "Overrides nodata value from the raster.",
"default-value": "none",
"default-meaning": "Nodata value from the raster is used.",
"required": false
},
"nodata_tolerance": {
"type": "float",
"doc": "Make pixels in this tolerance around nodata value transparent.",
"default-value": "1e-12",
"default-meaning": "The tolerance is effectively zero.",
"required": false
},
"shared": {
"type": "boolean",
"doc": "Allows to share the GDAL dataset handle with other GDAL datasources with the same file path.",
"default-value": false,
"default-meaning": "The datasource will use unique dataset instance.",
"required": false
}
},
"geojson": {
Expand Down
28 changes: 28 additions & 0 deletions 3.0.20/datasources.json
Expand Up @@ -94,6 +94,34 @@
"default-value": 13107200,
"default-meaning": "50Mb",
"required":false
},
"band": {
"type": "integer",
"doc": "A particular raster band to work with.",
"default-value": "-1",
"default-meaning": "No particular raster band set, working with all bands.",
"required": false
},
"nodata": {
"type": "float",
"doc": "Overrides nodata value from the raster.",
"default-value": "none",
"default-meaning": "Nodata value from the raster is used.",
"required": false
},
"nodata_tolerance": {
"type": "float",
"doc": "Make pixels in this tolerance around nodata value transparent.",
"default-value": "1e-12",
"default-meaning": "The tolerance is effectively zero.",
"required": false
},
"shared": {
"type": "boolean",
"doc": "Allows to share the GDAL dataset handle with other GDAL datasources with the same file path.",
"default-value": false,
"default-meaning": "The datasource will use unique dataset instance.",
"required": false
}
},
"geojson": {
Expand Down
28 changes: 28 additions & 0 deletions 3.0.3/datasources.json
Expand Up @@ -87,6 +87,34 @@
"default-value": "utf-8",
"default-meaning": "UTF8 will be the assumed encoding for string attribute values",
"required": false
},
"band": {
"type": "integer",
"doc": "A particular raster band to work with.",
"default-value": "-1",
"default-meaning": "No particular raster band set, working with all bands.",
"required": false
},
"nodata": {
"type": "float",
"doc": "Overrides nodata value from the raster.",
"default-value": "none",
"default-meaning": "Nodata value from the raster is used.",
"required": false
},
"nodata_tolerance": {
"type": "float",
"doc": "Make pixels in this tolerance around nodata value transparent.",
"default-value": "1e-12",
"default-meaning": "The tolerance is effectively zero.",
"required": false
},
"shared": {
"type": "boolean",
"doc": "Allows to share the GDAL dataset handle with other GDAL datasources with the same file path.",
"default-value": false,
"default-meaning": "The datasource will use unique dataset instance.",
"required": false
}
},
"geojson": {
Expand Down
28 changes: 28 additions & 0 deletions 3.0.6/datasources.json
Expand Up @@ -87,6 +87,34 @@
"default-value": "utf-8",
"default-meaning": "UTF8 will be the assumed encoding for string attribute values",
"required": false
},
"band": {
"type": "integer",
"doc": "A particular raster band to work with.",
"default-value": "-1",
"default-meaning": "No particular raster band set, working with all bands.",
"required": false
},
"nodata": {
"type": "float",
"doc": "Overrides nodata value from the raster.",
"default-value": "none",
"default-meaning": "Nodata value from the raster is used.",
"required": false
},
"nodata_tolerance": {
"type": "float",
"doc": "Make pixels in this tolerance around nodata value transparent.",
"default-value": "1e-12",
"default-meaning": "The tolerance is effectively zero.",
"required": false
},
"shared": {
"type": "boolean",
"doc": "Allows to share the GDAL dataset handle with other GDAL datasources with the same file path.",
"default-value": false,
"default-meaning": "The datasource will use unique dataset instance.",
"required": false
}
},
"geojson": {
Expand Down

0 comments on commit 8a7d829

Please sign in to comment.