-
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
RGB with 3 bands failed #428
Comments
This may be due to the fact that the values are scaled quite differently. Pure RGB values are between 0 and 255, but Landsat has a Uint 16 data type which has a very different range of values. You can adjust the rendering range using the values range parameter in the browse type fields. For this to work you need to properly set up a coverage type, a product type with a browse type: To create a product type do the following (link it to the RGB coverage type as-well):
Now create a browse type (with default name):
You can adjust the ranges in the admin client afterwards to play around and see what appropriate values are. Now create a product with the aforementioned product type:
When you re-register your coverage
Now you should be able to see the rendered product in the Web Client. |
Ok i see the idea.
RGB coverage type is from json file in autotest, i just change "red" identifier to "Red", ect.... And i still get a white image, i just notice some pink or blue pixels at the border. PS : i also tried to adjust max range in browsetype according to max values get by gdalinfo -mm, without succeed. |
Does the name of the properties in browsetype ( |
Yes, this has to be the exact identifier. So it should be You are using the web client interface, so I'm not sure if you actually see the correct layers. Maybe you can try to use QGis or a similar client? |
Hi |
I'm sorry for your troubles setting this up. Currently both the webclient and the services documentation are in transition, so I guess it is frustrating to get the service running. First off: the webclient images you show are from the old version. This lacks some features and you will likely not get any decent results from that. Using the QGIS as a WMS client is more suitable, as you can actually select all the available layers so it is better to use that. To help out I think I need more information of what you actually did. I'll try to quickly explain the concepts involved, so maybe you have a better understanding of how to solve the issue. I'll begin top down with the "Type" models: there is the The The
Example:Say for instance you have a For the
Now you register a In WMS you should now see the root layer P1 with a couple of sub layers: If you access one of these: You can now also create a Please let me know if was helpful. |
Sorry to spam issues recently.
I have a problem to display an RGB GTiff. Docs i can found talks about "range type", and coverage type seems to replace it but options are not exactly the same....
I created an "RGB" coverage type with field 0 as "Red" (UInt16), 1 as "Green" (UInt16) , 2 as "Blue" (UInt16). I tried with fields index 1,2,3 also, without succeed.
I merged 3 Landsat bands (4 3 2) with gdalmerge to have an RGB Gtiff with 3 bands.
I register this Gtiff as coverage with coverage type "RGB". In admin panel, i can see "bands count = 3", "field index =0", "bands interpretation = fields".
When i open it with openev, it's in RGB as expected, but when i open it in Web Client, it's only a white image :(
Whad did i miss ?
Thanks again
The text was updated successfully, but these errors were encountered: