Display palette (coloramp) imagery in GeoServerWFS via Geoserver - Proxy or MapDocument Issues?Problem...

copy and scale one figure (wheel)

Why is it that I can sometimes guess the next note?

"Spoil" vs "Ruin"

What if a revenant (monster) gains fire resistance?

What is Cash Advance APR?

Non-trope happy ending?

Longest common substring in linear time

How to implement a feedback to keep the DC gain at zero for this conceptual passive filter?

Is there a name for this algorithm to calculate the concentration of a mixture of two solutions containing the same solute?

If a character has darkvision, can they see through an area of nonmagical darkness filled with lightly obscuring gas?

How to bake one texture for one mesh with multiple textures blender 2.8

Open a doc from terminal, but not by its name

Is the U.S. Code copyrighted by the Government?

Is there any references on the tensor product of presentable (1-)categories?

How can Trident be so inexpensive? Will it orbit Triton or just do a (slow) flyby?

Offered money to buy a house, seller is asking for more to cover gap between their listing and mortgage owed

Why Shazam when there is already Superman?

Does a 'pending' US visa application constitute a denial?

Electoral considerations aside, what are potential benefits, for the US, of policy changes proposed by the tweet recognizing Golan annexation?

lightning-datatable row number error

Did Swami Prabhupada reject Advaita?

Fear of getting stuck on one programming language / technology that is not used in my country

Did arcade monitors have same pixel aspect ratio as TV sets?

Store Credit Card Information in Password Manager?



Display palette (coloramp) imagery in GeoServer


WFS via Geoserver - Proxy or MapDocument Issues?Problem serving clean transparency with mbtiles in GeoServerwhite outlying tiles in GeoServer MBTiles layerGeoserver not showing compressed rasters?Geoserver layer from the ArcGIS image mosaicDesigning my own icon for use in OpenLayers implementationGeoserver Dynamic Data InterpolationGeoServer ImageMosaic coming out blank with overlapping images [solved]Loading WFS data using Leaflet?Loading WFS GeoJSON from Geoserver in Openlayers













1















I have a data set of palette imagery. These are basically RGB imagery that have been converted to 1 band color map imagery using ArcGIS.



I am loading the images to GeoServer as GeoTIFFs but nothing is being displayed in OpenLayers, it is just blank white page. I was wondering if this has to do with their style file, or am I missing something else?










share|improve this question
















bumped to the homepage by Community 1 min ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • How are you attempting to view the images with OpenLayers? I mean are you trying to view a TIFF in a browser? or do you have a WMS using the GeoTIFF as a datasource. What request is sent to GeoServer from your OpenLayers client?

    – nmtoken
    Apr 18 '18 at 17:52











  • In GeoServer's "Layer Preview" there is an option of OpenLayes.. That's what I was referring to. And When I cache a Tiff file using GeoWebCache and create a WMTS, the result is still white and blank.

    – JackB
    Apr 18 '18 at 18:01













  • You should edit your question to add those details. There is still a request being sent to the GeoServer server, which you can capture. I'm still not clear from your response whether you are requesting a TIFF or not. TIFFs generally don't display in a browser, doesn't matter what the palette is.

    – nmtoken
    Apr 18 '18 at 18:51






  • 1





    how did you add the tiff to geoserver, what style did you apply? Does the coverage band info on the layer page show that it is palletted?

    – Ian Turton
    Apr 19 '18 at 8:27











  • Try to change WMS style. From Layers--> Publishing Tab--> WMS style.

    – Oscar Campo
    Apr 22 '18 at 8:14
















1















I have a data set of palette imagery. These are basically RGB imagery that have been converted to 1 band color map imagery using ArcGIS.



I am loading the images to GeoServer as GeoTIFFs but nothing is being displayed in OpenLayers, it is just blank white page. I was wondering if this has to do with their style file, or am I missing something else?










share|improve this question
















bumped to the homepage by Community 1 min ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • How are you attempting to view the images with OpenLayers? I mean are you trying to view a TIFF in a browser? or do you have a WMS using the GeoTIFF as a datasource. What request is sent to GeoServer from your OpenLayers client?

    – nmtoken
    Apr 18 '18 at 17:52











  • In GeoServer's "Layer Preview" there is an option of OpenLayes.. That's what I was referring to. And When I cache a Tiff file using GeoWebCache and create a WMTS, the result is still white and blank.

    – JackB
    Apr 18 '18 at 18:01













  • You should edit your question to add those details. There is still a request being sent to the GeoServer server, which you can capture. I'm still not clear from your response whether you are requesting a TIFF or not. TIFFs generally don't display in a browser, doesn't matter what the palette is.

    – nmtoken
    Apr 18 '18 at 18:51






  • 1





    how did you add the tiff to geoserver, what style did you apply? Does the coverage band info on the layer page show that it is palletted?

    – Ian Turton
    Apr 19 '18 at 8:27











  • Try to change WMS style. From Layers--> Publishing Tab--> WMS style.

    – Oscar Campo
    Apr 22 '18 at 8:14














1












1








1








I have a data set of palette imagery. These are basically RGB imagery that have been converted to 1 band color map imagery using ArcGIS.



I am loading the images to GeoServer as GeoTIFFs but nothing is being displayed in OpenLayers, it is just blank white page. I was wondering if this has to do with their style file, or am I missing something else?










share|improve this question
















I have a data set of palette imagery. These are basically RGB imagery that have been converted to 1 band color map imagery using ArcGIS.



I am loading the images to GeoServer as GeoTIFFs but nothing is being displayed in OpenLayers, it is just blank white page. I was wondering if this has to do with their style file, or am I missing something else?







geoserver openlayers sld






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 18 '18 at 17:40









nmtoken

8,05642866




8,05642866










asked Apr 18 '18 at 17:21









JackBJackB

61




61





bumped to the homepage by Community 1 min ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 1 min ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • How are you attempting to view the images with OpenLayers? I mean are you trying to view a TIFF in a browser? or do you have a WMS using the GeoTIFF as a datasource. What request is sent to GeoServer from your OpenLayers client?

    – nmtoken
    Apr 18 '18 at 17:52











  • In GeoServer's "Layer Preview" there is an option of OpenLayes.. That's what I was referring to. And When I cache a Tiff file using GeoWebCache and create a WMTS, the result is still white and blank.

    – JackB
    Apr 18 '18 at 18:01













  • You should edit your question to add those details. There is still a request being sent to the GeoServer server, which you can capture. I'm still not clear from your response whether you are requesting a TIFF or not. TIFFs generally don't display in a browser, doesn't matter what the palette is.

    – nmtoken
    Apr 18 '18 at 18:51






  • 1





    how did you add the tiff to geoserver, what style did you apply? Does the coverage band info on the layer page show that it is palletted?

    – Ian Turton
    Apr 19 '18 at 8:27











  • Try to change WMS style. From Layers--> Publishing Tab--> WMS style.

    – Oscar Campo
    Apr 22 '18 at 8:14



















  • How are you attempting to view the images with OpenLayers? I mean are you trying to view a TIFF in a browser? or do you have a WMS using the GeoTIFF as a datasource. What request is sent to GeoServer from your OpenLayers client?

    – nmtoken
    Apr 18 '18 at 17:52











  • In GeoServer's "Layer Preview" there is an option of OpenLayes.. That's what I was referring to. And When I cache a Tiff file using GeoWebCache and create a WMTS, the result is still white and blank.

    – JackB
    Apr 18 '18 at 18:01













  • You should edit your question to add those details. There is still a request being sent to the GeoServer server, which you can capture. I'm still not clear from your response whether you are requesting a TIFF or not. TIFFs generally don't display in a browser, doesn't matter what the palette is.

    – nmtoken
    Apr 18 '18 at 18:51






  • 1





    how did you add the tiff to geoserver, what style did you apply? Does the coverage band info on the layer page show that it is palletted?

    – Ian Turton
    Apr 19 '18 at 8:27











  • Try to change WMS style. From Layers--> Publishing Tab--> WMS style.

    – Oscar Campo
    Apr 22 '18 at 8:14

















How are you attempting to view the images with OpenLayers? I mean are you trying to view a TIFF in a browser? or do you have a WMS using the GeoTIFF as a datasource. What request is sent to GeoServer from your OpenLayers client?

– nmtoken
Apr 18 '18 at 17:52





How are you attempting to view the images with OpenLayers? I mean are you trying to view a TIFF in a browser? or do you have a WMS using the GeoTIFF as a datasource. What request is sent to GeoServer from your OpenLayers client?

– nmtoken
Apr 18 '18 at 17:52













In GeoServer's "Layer Preview" there is an option of OpenLayes.. That's what I was referring to. And When I cache a Tiff file using GeoWebCache and create a WMTS, the result is still white and blank.

– JackB
Apr 18 '18 at 18:01







In GeoServer's "Layer Preview" there is an option of OpenLayes.. That's what I was referring to. And When I cache a Tiff file using GeoWebCache and create a WMTS, the result is still white and blank.

– JackB
Apr 18 '18 at 18:01















You should edit your question to add those details. There is still a request being sent to the GeoServer server, which you can capture. I'm still not clear from your response whether you are requesting a TIFF or not. TIFFs generally don't display in a browser, doesn't matter what the palette is.

– nmtoken
Apr 18 '18 at 18:51





You should edit your question to add those details. There is still a request being sent to the GeoServer server, which you can capture. I'm still not clear from your response whether you are requesting a TIFF or not. TIFFs generally don't display in a browser, doesn't matter what the palette is.

– nmtoken
Apr 18 '18 at 18:51




1




1





how did you add the tiff to geoserver, what style did you apply? Does the coverage band info on the layer page show that it is palletted?

– Ian Turton
Apr 19 '18 at 8:27





how did you add the tiff to geoserver, what style did you apply? Does the coverage band info on the layer page show that it is palletted?

– Ian Turton
Apr 19 '18 at 8:27













Try to change WMS style. From Layers--> Publishing Tab--> WMS style.

– Oscar Campo
Apr 22 '18 at 8:14





Try to change WMS style. From Layers--> Publishing Tab--> WMS style.

– Oscar Campo
Apr 22 '18 at 8:14










1 Answer
1






active

oldest

votes


















0














It's hard to answer this without access to your data file, but when I add a palleted geotif to GeoServer I see the following on the layer page under coverage parameters:



enter image description here



I use a simple style to just set a minimum and maximum scale to display at and everything works just fine:



<?xml version="1.0" encoding="UTF-8"?>
<StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd" version="1.0.0">
<NamedLayer>
<Name>ras250</Name>
<UserStyle>
<Title>A raster style</Title>
<FeatureTypeStyle>
<Rule>
<MinScaleDenominator>15001</MinScaleDenominator>
<MaxScaleDenominator>300000</MaxScaleDenominator>
<RasterSymbolizer>
<Opacity>1.0</Opacity>
</RasterSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>





share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "79"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f279962%2fdisplay-palette-coloramp-imagery-in-geoserver%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    It's hard to answer this without access to your data file, but when I add a palleted geotif to GeoServer I see the following on the layer page under coverage parameters:



    enter image description here



    I use a simple style to just set a minimum and maximum scale to display at and everything works just fine:



    <?xml version="1.0" encoding="UTF-8"?>
    <StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sld
    http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd" version="1.0.0">
    <NamedLayer>
    <Name>ras250</Name>
    <UserStyle>
    <Title>A raster style</Title>
    <FeatureTypeStyle>
    <Rule>
    <MinScaleDenominator>15001</MinScaleDenominator>
    <MaxScaleDenominator>300000</MaxScaleDenominator>
    <RasterSymbolizer>
    <Opacity>1.0</Opacity>
    </RasterSymbolizer>
    </Rule>
    </FeatureTypeStyle>
    </UserStyle>
    </NamedLayer>
    </StyledLayerDescriptor>





    share|improve this answer




























      0














      It's hard to answer this without access to your data file, but when I add a palleted geotif to GeoServer I see the following on the layer page under coverage parameters:



      enter image description here



      I use a simple style to just set a minimum and maximum scale to display at and everything works just fine:



      <?xml version="1.0" encoding="UTF-8"?>
      <StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sld
      http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd" version="1.0.0">
      <NamedLayer>
      <Name>ras250</Name>
      <UserStyle>
      <Title>A raster style</Title>
      <FeatureTypeStyle>
      <Rule>
      <MinScaleDenominator>15001</MinScaleDenominator>
      <MaxScaleDenominator>300000</MaxScaleDenominator>
      <RasterSymbolizer>
      <Opacity>1.0</Opacity>
      </RasterSymbolizer>
      </Rule>
      </FeatureTypeStyle>
      </UserStyle>
      </NamedLayer>
      </StyledLayerDescriptor>





      share|improve this answer


























        0












        0








        0







        It's hard to answer this without access to your data file, but when I add a palleted geotif to GeoServer I see the following on the layer page under coverage parameters:



        enter image description here



        I use a simple style to just set a minimum and maximum scale to display at and everything works just fine:



        <?xml version="1.0" encoding="UTF-8"?>
        <StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sld
        http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd" version="1.0.0">
        <NamedLayer>
        <Name>ras250</Name>
        <UserStyle>
        <Title>A raster style</Title>
        <FeatureTypeStyle>
        <Rule>
        <MinScaleDenominator>15001</MinScaleDenominator>
        <MaxScaleDenominator>300000</MaxScaleDenominator>
        <RasterSymbolizer>
        <Opacity>1.0</Opacity>
        </RasterSymbolizer>
        </Rule>
        </FeatureTypeStyle>
        </UserStyle>
        </NamedLayer>
        </StyledLayerDescriptor>





        share|improve this answer













        It's hard to answer this without access to your data file, but when I add a palleted geotif to GeoServer I see the following on the layer page under coverage parameters:



        enter image description here



        I use a simple style to just set a minimum and maximum scale to display at and everything works just fine:



        <?xml version="1.0" encoding="UTF-8"?>
        <StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sld
        http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd" version="1.0.0">
        <NamedLayer>
        <Name>ras250</Name>
        <UserStyle>
        <Title>A raster style</Title>
        <FeatureTypeStyle>
        <Rule>
        <MinScaleDenominator>15001</MinScaleDenominator>
        <MaxScaleDenominator>300000</MaxScaleDenominator>
        <RasterSymbolizer>
        <Opacity>1.0</Opacity>
        </RasterSymbolizer>
        </Rule>
        </FeatureTypeStyle>
        </UserStyle>
        </NamedLayer>
        </StyledLayerDescriptor>






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 24 '18 at 16:57









        Ian TurtonIan Turton

        49.9k547115




        49.9k547115






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f279962%2fdisplay-palette-coloramp-imagery-in-geoserver%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Щит и меч (фильм) Содержание Названия серий | Сюжет |...

            is 'sed' thread safeWhat should someone know about using Python scripts in the shell?Nexenta bash script uses...

            Meter-Bus Содержание Параметры шины | Стандартизация |...