-
Notifications
You must be signed in to change notification settings - Fork 19
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
Missing propereties in create coverage type command #435
Comments
Currently there is no way to do this in the CLI form. I advise to use the e.g: [{
"bands": [
{
"definition": "http://www.opengis.net/def/property/OGC/0/Radiance",
"description": "Red Channel",
"gdal_interpretation": "RedBand",
"identifier": "red",
"name": "red",
"nil_values": [
{
"reason": "http://www.opengis.net/def/nil/OGC/0/unknown",
"value": 0
}
],
"uom": "W.m-2.Sr-1",
"significant_figures": 3,
"numbits": 3,
"allowed_value_ranges": [
[0, 255]
]
},
{
"definition": "http://www.opengis.net/def/property/OGC/0/Radiance",
"description": "Green Channel",
"gdal_interpretation": "GreenBand",
"identifier": "green",
"name": "green",
"nil_values": [
{
"reason": "http://www.opengis.net/def/nil/OGC/0/unknown",
"value": 0
}
],
"uom": "W.m-2.Sr-1",
"significant_figures": 3,
"numbits": 3,
"allowed_value_ranges": [
[0, 255]
]
},
{
"definition": "http://www.opengis.net/def/property/OGC/0/Radiance",
"description": "Blue Channel",
"gdal_interpretation": "BlueBand",
"identifier": "blue",
"name": "blue",
"nil_values": [
{
"reason": "http://www.opengis.net/def/nil/OGC/0/unknown",
"value": 0
}
],
"uom": "W.m-2.Sr-1",
"significant_figures": 3,
"numbits": 3,
"allowed_value_ranges": [
[0, 255]
]
}
],
"data_type": "Byte",
"name": "RGB"
}] Now do: python manage.py coveragetype import coveragetype.json |
Thanks for your quick response |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
How can i set "Significant figures", "Numbits", signed and float properties when i create a coverage type by command line ?
The man said
--field-type identifier description definition unit-of-measure wavelength
to describe properties associated with a coverage-type identifier, and i trie to add more options but it is not recognized.Thanks
The text was updated successfully, but these errors were encountered: