I had a quick look at the log file.

The problem is that the java image library cannot decode the image data
fetched from postgis raster.

Can you send the output of

gdalinfo myimage

Perhaps your image format is not supported.

Cheers
Christian




On Thu, Sep 5, 2013 at 7:45 AM, Vineendra Sriramoju <
vineendra.sriram...@amigooptima.in> wrote:

>
>
> ---------- Forwarded message ----------
> From: Vineendra Sriramoju <vineendra.sriram...@amigooptima.in>
> Date: Wed, Sep 4, 2013 at 7:13 PM
> Subject: Re: publish postgis table which has a raster
> To: Frederik Haefker <fhaef...@uni-bonn.de>
>
>
> Hi Frederik,
>
> Thanks for the reply.
>
> I have followed the tutorial to add a postgis raster to geoserver(which
> was suggested by you), but i am getting an error.
>
> "Could not list layers for this store, an error occurred retrieving them:
> Argument "value" should not be null."
>
> I have followed the tutorial as it is.  Every thing went well. But at the
> end, when i try to use the Image Mosaic JDBC store
>
> Am attaching the screen shot of that error and geoserver log. Please do
> check them.
>
>
>
>
> On Tue, Sep 3, 2013 at 7:09 PM, Frederik Haefker <fhaef...@uni-bonn.de>wrote:
>
>> Hi Vineendra,
>>
>> you will have to use a Image Mosaic JDBC store:
>>
>> http://docs.geoserver.org/**stable/en/user/data/raster/**
>> postgisraster.html<http://docs.geoserver.org/stable/en/user/data/raster/postgisraster.html>
>>
>> Best Regards
>>
>>  ------------------------------**------------------------------**
>>> ----------
>>>
>>> Message: 1
>>> Date: Tue, 3 Sep 2013 04:43:44 -0700 (PDT)
>>> From: Vineendra 
>>> <vineendra.sriramoju@**amigooptima.in<vineendra.sriram...@amigooptima.in>
>>> >
>>> Subject: [Geoserver-users] publish postgis table which has a raster
>>>         image using rest API services
>>> To: 
>>> geoserver-users@lists.**sourceforge.net<geoserver-users@lists.sourceforge.net>
>>> Message-ID: 
>>> <1378208624143-5075792.post@**n6.nabble.com<1378208624143-5075792.p...@n6.nabble.com>
>>> >
>>> Content-Type: text/plain; charset=us-ascii
>>>
>>> I am storing a thumbnail of an image which represent a large image in the
>>> postgresql database. The size of the image is 1 to 2MB. Now i want to
>>> display the image in the database on the map in order to
>>> represent the large image. I want to do this using geoserver REST API
>>> services.
>>>
>>> Previously i have published the postgis table which has vector data. How
>>> to
>>> do it with raster data in table
>>>
>>>
>>>
>>>
>
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
DI Christian Mueller MSc (GIS), MSc (IT-Security)
OSS Open Source Solutions GmbH
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to