Re: [Geoserver-users] Fwd: publish postgis table which has a raster
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.dewrote: Hi Vineendra, you will have to use a Image Mosaic JDBC store: http://docs.geoserver.org/**stable/en/user/data/raster/** postgisraster.htmlhttp://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.invineendra.sriram...@amigooptima.in Subject: [Geoserver-users] publish postgis table which has a raster image using rest API services To: geoserver-users@lists.**sourceforge.netgeoserver-users@lists.sourceforge.net Message-ID: 1378208624143-5075792.post@**n6.nabble.com1378208624143-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=58041391iu=/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=58041391iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Fwd: publish postgis table which has a raster
Hi Christian, This is the gdalinfo of the image Driver: GTiff/GeoTIFF Files: test.tif test.tfw Size is 750, 750 Coordinate System is: GEOGCS[WGS 84, DATUM[WGS_1984, SPHEROID[WGS 84,6378137,298.257223563, AUTHORITY[EPSG,7030]], AUTHORITY[EPSG,6326]], PRIMEM[Greenwich,0], UNIT[degree,0.0174532925199433], AUTHORITY[EPSG,4326]] Origin = (79.999583817610983,25.000417126729928) Pixel Size = (0.007,-0.007) Metadata: AREA_OR_POINT=Area Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( 79.9995838, 25.0004171) ( 79d59'58.50E, 25d 0' 1.50N) Lower Left ( 79.9995838, 20.0004171) ( 79d59'58.50E, 20d 0' 1.50N) Upper Right ( 84.9995838, 25.0004171) ( 84d59'58.50E, 25d 0' 1.50N) Lower Right ( 84.9995838, 20.0004171) ( 84d59'58.50E, 20d 0' 1.50N) Center ( 82.4995838, 22.5004171) ( 82d29'58.50E, 22d30' 1.50N) Band 1 Block=750x5 Type=Int16, ColorInterp=Gray On Thu, Sep 5, 2013 at 7:14 PM, Christian Mueller christian.muel...@os-solutions.at wrote: 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.dewrote: Hi Vineendra, you will have to use a Image Mosaic JDBC store: http://docs.geoserver.org/**stable/en/user/data/raster/** postgisraster.htmlhttp://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.invineendra.sriram...@amigooptima.in Subject: [Geoserver-users] publish postgis table which has a raster image using rest API services To: geoserver-users@lists.**sourceforge.netgeoserver-users@lists.sourceforge.net Message-ID: 1378208624143-5075792.post@**n6.nabble.com1378208624143-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=58041391iu=/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=58041391iu=/4140/ostg.clktrk___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Fwd: publish postgis table which has a raster
Do you have the possibility to write a tiny java program reading the image from the file system and writing it back for testing. If not, can you send me a small sample image extracted with the gdal utilities. I can make the test. Christian On Thu, Sep 5, 2013 at 4:55 PM, Vineendra Sriramoju vineendra.sriram...@amigooptima.in wrote: Hi Christian, This is the gdalinfo of the image Driver: GTiff/GeoTIFF Files: test.tif test.tfw Size is 750, 750 Coordinate System is: GEOGCS[WGS 84, DATUM[WGS_1984, SPHEROID[WGS 84,6378137,298.257223563, AUTHORITY[EPSG,7030]], AUTHORITY[EPSG,6326]], PRIMEM[Greenwich,0], UNIT[degree,0.0174532925199433], AUTHORITY[EPSG,4326]] Origin = (79.999583817610983,25.000417126729928) Pixel Size = (0.007,-0.007) Metadata: AREA_OR_POINT=Area Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( 79.9995838, 25.0004171) ( 79d59'58.50E, 25d 0' 1.50N) Lower Left ( 79.9995838, 20.0004171) ( 79d59'58.50E, 20d 0' 1.50N) Upper Right ( 84.9995838, 25.0004171) ( 84d59'58.50E, 25d 0' 1.50N) Lower Right ( 84.9995838, 20.0004171) ( 84d59'58.50E, 20d 0' 1.50N) Center ( 82.4995838, 22.5004171) ( 82d29'58.50E, 22d30' 1.50N) Band 1 Block=750x5 Type=Int16, ColorInterp=Gray On Thu, Sep 5, 2013 at 7:14 PM, Christian Mueller christian.muel...@os-solutions.at wrote: 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.dewrote: Hi Vineendra, you will have to use a Image Mosaic JDBC store: http://docs.geoserver.org/**stable/en/user/data/raster/** postgisraster.htmlhttp://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.invineendra.sriram...@amigooptima.in Subject: [Geoserver-users] publish postgis table which has a raster image using rest API services To: geoserver-users@lists.**sourceforge.netgeoserver-users@lists.sourceforge.net Message-ID: 1378208624143-5075792.post@**n6.nabble.com1378208624143-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=58041391iu=/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 -- 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!